統計的学習理論2

PAC-Bayes

Author

司馬 博文

Published

3/02/2024

Modified

3/06/2024

概要
PAC-Bayes は現実的に有用な鋭い PAC bound を得る新たな技術である.最適化の問題に帰着する点が研究を盛り上げている.Vapnik-Chervonenkis 理論の一般化であり,推定量上の確率分布を返すようなより一般的なアルゴリズムに対しても適用できる.

1 PAC-Bayes

通常の機械学習の枠組みでは,仮説集合 HL(X;Y) を固定し,この中で最適な推定量 hH を探すことに集中する.

一方で,PAC-Bayes では,仮説集合 H 上の確率分布を学習し,最終的に投票 (vote) などの確率的な操作によって決めることを考え,これにも対応する理論を構築する.

これは () によって創始され, () によって最初の定理が示された.(), () も金字塔であり,後者は情報統計力学との関連を推し進めている.

1.1 枠組み

データにより決まる確率測度 ρ^:(X×Y)nP(H) を考え,推定量をランダムに h~ρ^ とサンプリングする.これを ランダム推定量 (randomized estimator) という.

例えば Y=2 においては,Gibbs 判別器と呼ばれる.

また,最終的な推定量を積分により hρ^:=(ρ^|h) と決定しても良い.これを 集合推定量 (aggregated predictor) という.

これらの

  • 経験バウンド (empirical bound):R(h^)R^n(h)
  • 超過リスクバウンド (excess risk / oracle PAC bound):R(hρ^)R(h)

を調べるのが PAC-Bayes である.

1.2 KL-乖離度

すると,logM の項に KL-乖離度が現れる.

Tip

定義 1 (Kullback-Leibler divergence) μ,νP(H)Kullback-Leibler 乖離度 とは, KL(μ|ν):={Hlog(dμdν(θ))μ(dθ)μν,otherwise. をいう.

1.3 McAllester バウンド

1.3.1 応用

SGD で訓練されたニューラルネットワークに対しても適用されている ()

PAC-Bayes による汎化バウンド ()

事後分布からサンプリングをすることで鋭い評価を得ている ()

References

Alquier, P. (2024). User-friendly introduction to PAC-bayes bounds. Foundations and Trends in Machine Learning, 17(2), 174–303.
Catoni, O. (2007). PAC-bayesian supervised classification: The thermodynamics of statistical learning,Vol. 56. Institute of Mathematical Statistics.
Clerico, E., Farghly, T., Deligiannidis, G., Guedj, B., and Doucet, A. (2023). Generalisation under gradient descent via deterministic PAC-bayes.
Dziugaite, G. K., and Roy, D. M. (2017). Computing nonvacuous generalization bounds for deep (stochastic) neural networks with many more parameters than training data.
McAllester, D. A. (1999). Some PAC-bayesian theorems. Machine Learning, 37, 355–363.
Schölkopf, B., and Smola, A. J. (2002). Learning with kernels: Support vector machines, regularization, optimization, and beyond. MIT Press.
Seeger, M. (2002). PAC-bayesian generalisation error bounds for gaussian process classification. Journal of Machine Learning Research, 3, 233–269.
Shawe-Taylor, J., and Williamson, R. C. (1997). A PAC analysis of a bayesian estimator. In Proceedings of the tenth annual conference on computational learning theory, pages 2–9.
Ujváry, S., Flamich, G., Fortuin, V., and Hernández-Lobato, J. M. (2023). Estimating optimal PAC-bayes bounds with hamiltonian monte carlo. In NeurIPS 2023 workshop on mathematics of modern machine learning.

Footnotes

  1. () Introduction より.↩︎

  2. () 定義12.23.↩︎