대규모 이미지 분류를 위한 베이지안 추론
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 방법과 최적화 방법 간의 유사성에도 불구하고, 대규모 심층 학습 작업에서 샘플링 방법의 성능은 여전히 최적화 방법을 따라가지 못해 왔습니다. 우리는 이러한 격차를 메우기 위해 ATMC, 즉 신경망의 후분포를 추정하고 샘플링할 수 있는 적응형 노이즈 MCMC 알고리즘을 소개합니다. ATMC 는 확률적 기울기의 사용을 보상하기 위해 각 파라미터 업데이트에 적용되는 운동량과 노이즈의 양을 동적으로 조정합니다. 우리는 배치 정규화가 없는 ResNet 아키텍처를 사용하여 ATMC 를 Cifar10 벤치마크와 대규모 ImageNet 벤치마크에서 테스트하였으며, 배치 정규화가 부재함에도 불구하고 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.