第18章ガウス過程
18.3.3. Interpreting Equations for Learning and Predictions18.3.3 学習と予測の式を解釈する
There are some key points to note about the predictive distributions for Gaussian processes:
英語のヒント
ガウス過程の予測分布については、注意すべき鍵となる点がいくつかある。
- Despite the flexibility of the model class, it is possible to do exact Bayesian inference for GP regression in closed form. Aside from learning the kernel hyperparameters, there is no training. We can write down exactly what equations we want to use to make predictions. Gaussian processes are relatively exceptional in this respect, and it has greatly contributed to their convenience, versatility, and continued popularity.
英語のヒント
この種類のモデルは柔軟であるにもかかわらず、GP回帰では正確なベイズ推論を閉じた形で行える。カーネルのハイパーパラメータの学習を別にすれば、訓練はない。予測をするのにどの式を使いたいかを正確に書き下せる。ガウス過程はこの点で比較的例外的であり、それがガウス過程の便利さ、汎用性、そして続く人気に大きく寄与してきた。 - The predictive mean is a linear combination of the training targets , weighted by the kernel . As we will see, the kernel (and its hyperparameters) thus plays a crucial role in the generalization properties of the model.
英語のヒント
予測平均は、カーネルで重みづけした訓練の目標値の線形結合である。後で見るように、したがってカーネル(とそのハイパーパラメータ)は、モデルの汎化の性質で決定的な役割を果たす。 - The predictive mean explicitly depends on the target values but the predictive variance does not. The predictive uncertainty instead grows as the test input moves away from the target locations , as governed by the kernel function. However, uncertainty will implicitly depend on the values of the targets through the kernel hyperparameters , which are learned from the data.
英語のヒント
予測平均は目標値に明示的に依存するが、予測分散は依存しない。予測の不確かさは代わりに、カーネル関数に支配されるとおり、テスト入力が目標の場所から離れるにつれて大きくなる。しかし、不確かさは、データから学習されるカーネルのハイパーパラメータを通じて、目標値に暗黙のうちに依存する。 - The marginal likelihood compartmentalizes into model fit and model complexity (log determinant) terms. The marginal likelihood tends to select for hyperparameters that provide the simplest fits that are still consistent with the data.
英語のヒント
周辺尤度は、モデルの当てはまりの項とモデルの複雑さ(対数行列式)の項に分かれる。周辺尤度は、データとまだ整合する最も単純な当てはまりを与えるハイパーパラメータを選ぶ傾向がある。 - The key computational bottlenecks come from solving a linear system and computing a log determinant over an symmetric positive definite matrix for training points. Naively, these operations each incur computations, as well as storage for each entry of the kernel (covariance) matrix, often starting with a Cholesky decomposition. Historically, these bottlenecks have limited GPs to problems with fewer than about 10,000 training points, and have given GPs a reputation for “being slow” that has been inaccurate now for almost a decade. In advanced topics, we will discuss how GPs can be scaled to problems with millions of points.
英語のヒント
計算の主なボトルネックは、個の訓練点についてのの対称正定値行列で、線形方程式系を解き、対数行列式を計算することから生じる。素朴には、これらの演算はたいていコレスキー分解から始まり、それぞれの計算と、カーネル(共分散)行列の各要素のためのの記憶領域を要する。歴史的には、これらのボトルネックのせいで、GPは訓練点がおよそ10,000個未満の問題に限られ、「遅い」という評判を得てきたが、その評判はもう10年近く不正確である。高度な話題の中で、GPを数百万の点をもつ問題にどう大規模化できるかを論じる。 - For popular choices of kernel functions, is often close to singular, which can cause numerical issues when performing Cholesky decompositions or other operations intended to solve linear systems. Fortunately, in regression we are often working with , such that the noise variance gets added to the diagonal of , significantly improving its conditioning. If the noise variance is small, or we are doing noise free regression, it is common practice to add a small amount of “jitter” to the diagonal, on the order of , to improve conditioning.
英語のヒント
よく使われるカーネル関数では、はしばしば特異に近く、コレスキー分解や、線形方程式系を解くためのほかの演算を行うときに数値的な問題を起こしうる。幸い、回帰ではしばしばを扱うので、ノイズの分散がの対角成分に加わり、その条件が大幅に改善する。ノイズの分散が小さいときや、ノイズのない回帰を行っているときは、条件を改善するために、程度の小さな量の「ジッター」を対角成分に加えるのがよくある慣行である。