paper-with-me

Papers

Flat Posterior Does Matter For Bayesian Model Averaging

2024-06-21 · Sungjun Lim, Jeyoon Yeom, Sooyon Kim, Hoyoon Byun, Jinho Kang, Yohan Jung, Jiyoung Jung, Kyungwoo Song

Bayesian neural network (BNN) approximates the posterior distribution of model parameters and utilizes the posterior for prediction via Bayesian Model Averaging (BMA). The quality of the posterior approximation is critical for achieving accurate and robust predictions. It is known that flatness in the loss landscape is strongly associated with generalization performance, and it necessitates consideration to improve the quality of the posterior approximation. In this work, we empirically demonstrate that BNNs often struggle to capture the flatness. Moreover, we provide both experimental and theoretical evidence showing that BMA can be ineffective without ensuring flatness. To address this, we propose Sharpness-Aware Bayesian Model Averaging (SA-BMA), a novel optimizer that seeks flat posteriors by calculating divergence in the parameter space. SA-BMA aligns with the intrinsic nature of BNN and the generalized version of existing sharpness-aware optimizers for DNN. In addition, we suggest a Bayesian Transfer Learning scheme to efficiently leverage pre-trained DNN. We validate the efficacy of SA-BMA in enhancing generalization performance in few-shot classification and distribution shift by ensuring flat posterior.

📄 PDF Abstract BibTeX arXiv:2406.15664

Code (1)

mlai-yonsei/sa-bma 공식 구현 pytorch

Tasks

modelTransfer LearningUncertainty Quantification

Similar Papers 제목 키워드 기반

Graphical posterior predictive classifier: Bayesian model averaging with particle Gibbs

2017-07-21 · Tatjana Pavlenko, Felix Leopoldo Rios

In this study, we present a multi-class graphical Bayesian predictive classifier that incorporates the uncertainty in the model selection into the standard Bayesian formalism. For each class, the dependence structure und…

Model Selection

Learning under Model Misspecification: Applications to Variational and Ensemble methods

2019-12-18 · NeurIPS 2020 12 · Andres R. Masegosa

Virtually any model we use in machine learning to make predictions does not perfectly represent reality. So, most of the learning happens under model misspecification. In this work, we present a novel analysis of the gen…

Why flatness does and does not correlate with generalization for deep neural networks

2021-03-10 · Shuofeng Zhang, Isaac Reid, Guillermo Valle Pérez, Ard Louis

The intuition that local flatness of the loss landscape is correlated with better generalization for deep neural networks (DNNs) has been explored for decades, spawning many different flatness measures. Recently, this li…

image-classificationImage Classification

Flat Seeking Bayesian Neural Networks

2023-02-06 · NeurIPS 2023 11

Bayesian Neural Networks (BNNs) provide a probabilistic interpretation for deep learning models by imposing a prior distribution over model parameters and inferring a posterior distribution based on observed data. The mo…

Deep LearningVariational Inference

Dangers of Bayesian Model Averaging under Covariate Shift

2021-06-22 · NeurIPS 2021 12 · Pavel Izmailov, Patrick Nicholson, Sanae Lotfi, Andrew Gordon Wilson

Approximate Bayesian inference for neural networks is considered a robust alternative to standard training, often providing good performance on out-of-distribution data. However, Bayesian neural networks (BNNs) with high…

Bayesian Inferencemodel