第18章ガウス過程
18.2.5. The Neural Network Kernel18.2.5 ニューラルネットワークのカーネル
Research on Gaussian processes in machine learning was triggered by research on neural networks. Radford Neal was pursuing ever larger Bayesian neural networks, ultimately showing in 1994 (later published in 1996, as it was one of the most infamous NeurIPS rejections) that such networks with an infinite number of hidden units become Gaussian processes with particular kernel functions (Neal, 1996). Interest in this derivation has re-surfaced, with ideas like the neural tangent kernel being used to investigate the generalization properties of neural networks (Matthews et al., 2018) (Novak et al., 2018). We can derive the neural network kernel as follows.
英語のヒント
機械学習でのガウス過程の研究は、ニューラルネットワークの研究がきっかけとなって始まった。Radford Nealはますます大きなベイズニューラルネットワークを追究し、ついに1994年に、無限個の隠れユニットをもつそうしたネットワークが、特定のカーネル関数をもつガウス過程になることを示した(論文は、NeurIPSで最も悪名高い不採録の一つとなったため、後に1996年に出版された)(Neal, 1996)。この導出への関心は再び高まっており、ニューラルタンジェントカーネルのような考え方が、ニューラルネットワークの汎化の性質を調べるのに使われている(Matthews et al., 2018)(Novak et al., 2018)。ニューラルネットワークのカーネルは次のように導出できる。
Consider a neural network function with one hidden layer:
英語のヒント
隠れ層が一つのニューラルネットワークの関数を考えよう。
(18.2.8)
is a bias, are the hidden to output weights, is any bounded hidden unit transfer function, are the input to hidden weights, and is the number of hidden units. Let and be independent with zero mean and variances and , respectively, and let the have independent identical distributions. We can then use the central limit theorem to show that any collection of function values has a joint multivariate Gaussian distribution.
英語のヒント
はバイアス、は隠れ層から出力への重み、は任意の有界な隠れユニットの伝達関数、は入力から隠れ層への重み、は隠れユニットの数である。とは、平均0でそれぞれ分散とをもつ独立な変数とし、は独立に同一の分布に従うとする。すると、中心極限定理を使って、関数の値の任意の集まりが同時多変量ガウス分布をもつことを示せる。
The mean and covariance function of the corresponding Gaussian process are:
英語のヒント
対応するガウス過程の平均関数と共分散関数は次のとおりである。
(18.2.9)
(18.2.10)
In some cases, we can essentially evaluate this covariance function in closed form. Let , where , and . Then .
英語のヒント
場合によっては、この共分散関数を本質的に閉じた形で評価できる。とし、ここで、とする。するととなる。
The RBF kernel is stationary, meaning that it is translation invariant, and therefore can be written as a function of . Intuitively, stationarity means that the high-level properties of the function, such as rate of variation, do not change as we move in input space. The neural network kernel, however, is non-stationary. Below, we show sample functions from a Gaussian process with this kernel. We can see that the function looks qualitatively different near the origin.
英語のヒント
RBFカーネルは定常である。つまり、平行移動に対して不変であり、したがっての関数として書ける。直観的には、定常性とは、変化の速さのような関数の高水準の性質が、入力空間の中を動いても変わらないことを意味する。しかし、ニューラルネットワークのカーネルは非定常である。以下に、このカーネルをもつガウス過程からの見本の関数を示す。原点の近くでは、関数が質的に異なって見えることがわかる。