大規模画像分類のためのベイズ推論
Bayesian Inference for Large Scale Image Classification
Bayesian Inference for Large Scale Image Classification
@misc{heek2019bayesian,
title = {Bayesian Inference for Large Scale Image Classification},
author = {Jonathan Heek and Nal Kalchbrenner},
year = {2019},
eprint = {1908.03491},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/1908.03491}
}
Heek, J., & Kalchbrenner, N. (2019). Bayesian Inference for Large Scale Image Classification [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.03491
HEEK J, KALCHBRENNER N. Bayesian Inference for Large Scale Image Classification[EB/OL]. (2019-08-09)[2026-11-30]. https://arxiv.org/abs/1908.03491.
要旨
ベイズ推論は、深層ニューラルネットワークの性能の基礎化と向上を約束しており、過学習への頑健性、トレーニング手順およびハイパーパラメータ空間の簡素化、そして意思決定、エージェントの探索、予測の公平性を強化できる確率測度の提供を約束する。マルコフ連鎖モンテカルロ(MCMC)手法は、モデルパラメータの事後分布からサンプルを生成することでベイズ推論を可能にする。ベイズ推論の理論的優位性と MCMC 手法と最適化手法の類似性にもかかわらず、大規模な深層学習タスクにおいてサンプリング手法の性能は、これまで最適化手法に比べて遅れ続けてきた。本研究では、このギャップを埋め、ニューラルネットワークの事後分布を推定し、そこからサンプリング可能な適応的ノイズ MCMC 手法である ATMC を導入する。ATMC は、確率的勾配の使用を補償するために、各パラメータ更新に適用される運動量とノイズの量を動的に調整する。本研究では、バッチ正規化を用いない ResNet アーキテクチャを用いて、Cifar10 ベンチマークおよび大規模な ImageNet ベンチマークにおいて ATMC を評価し、バッチ正規化が欠如しているにもかかわらず、ATMC が分類精度およびテスト対数尤度という両面において強力な最適化ベースラインを上回ることを示す。さらに、ATMC はトレーニングデータに対して本質的に過学習に頑健であり、最適化ベースラインと比較してより良好に校正された不確実性の測度を提供することを示す。
Bayesian inference promises to ground and improve the performance of deep neural networks. It promises to be robust to overfitting, to simplify the training procedure and the space of hyperparameters, and to provide a calibrated measure of uncertainty that can enhance decision making, agent exploration and prediction fairness. Markov Chain Monte Carlo (MCMC) methods enable Bayesian inference by generating samples from the posterior distribution over model parameters. Despite the theoretical advantages of Bayesian inference and the similarity between MCMC and optimization methods, the performance of sampling methods has so far lagged behind optimization methods for large scale deep learning tasks. We aim to fill this gap and introduce ATMC, an adaptive noise MCMC algorithm that estimates and is able to sample from the posterior of a neural network. ATMC dynamically adjusts the amount of momentum and noise applied to each parameter update in order to compensate for the use of stochastic gradients. We use a ResNet architecture without batch normalization to test ATMC on the Cifar10 benchmark and the large scale ImageNet benchmark and show that, despite the absence of batch normalization, ATMC outperforms a strong optimization baseline in terms of both classification accuracy and test log-likelihood. We show that ATMC is intrinsically robust to overfitting on the training data and that ATMC provides a better calibrated measure of uncertainty compared to the optimization baseline.