English

Flat Seeking Bayesian Neural Networks

Machine Learning 2023-11-15 v5 Information Theory math.IT

Abstract

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 model sampled from the posterior distribution can be used for providing ensemble predictions and quantifying prediction uncertainty. It is well-known that deep learning models with lower sharpness have better generalization ability. However, existing posterior inferences are not aware of sharpness/flatness in terms of formulation, possibly leading to high sharpness for the models sampled from them. In this paper, we develop theories, the Bayesian setting, and the variational inference approach for the sharpness-aware posterior. Specifically, the models sampled from our sharpness-aware posterior, and the optimal approximate posterior estimating this sharpness-aware posterior, have better flatness, hence possibly possessing higher generalization ability. We conduct experiments by leveraging the sharpness-aware posterior with state-of-the-art Bayesian Neural Networks, showing that the flat-seeking counterparts outperform their baselines in all metrics of interest.

Keywords

Cite

@article{arxiv.2302.02713,
  title  = {Flat Seeking Bayesian Neural Networks},
  author = {Van-Anh Nguyen and Tung-Long Vuong and Hoang Phan and Thanh-Toan Do and Dinh Phung and Trung Le},
  journal= {arXiv preprint arXiv:2302.02713},
  year   = {2023}
}

Comments

Accepted at NeurIPS 2023

R2 v1 2026-06-28T08:32:52.864Z