Lune

ICLR2024Top-tier venue

Entropy-MCMC: Sampling from Flat Basins with Ease

Bolian Li, Ruqi Zhang

Abstract

Bayesian deep learning counts on the quality of posterior distribution estimation. However, the posterior of deep neural networks is highly multi-modal in nature, with local modes exhibiting varying generalization performance. Given a practical budget, targeting at the original posterior can lead to suboptimal performance, as some samples may become trapped in "bad" modes and suffer from overfitting. Leveraging the observation that "good" modes with low generalization error often reside in flat basins of the energy landscape, we propose to bias sampling on the posterior toward these flat regions. Specifically, we introduce an auxiliary guiding variable, the stationary distribution of which resembles a smoothed posterior free from sharp modes, to lead the MCMC sampler to flat basins. By integrating this guiding variable with the model parameter, we create a simple joint distribution that enables efficient sampling with minimal computational overhead. We prove the convergence of our method and further show that it converges faster than several existing flatness-aware methods in the strongly convex setting. Empirical results demonstrate that our method can successfully sample from flat basins of the posterior, and outperforms all compared baselines on multiple benchmarks including classification, calibration, and out-of-distribution detection.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Entropic gradient descent algorithms and wide flat minima cites Fantastic Generalization Measures and Where to Find Them
  • What Are Bayesian Neural Network Posteriors Really Like? cites Cyclical Stochastic Gradient MCMC for Bayesian Deep Learning
  • Flatness-Aware Stochastic Gradient Langevin Dynamics cites Fantastic Generalization Measures and Where to Find Them
  • Flatness-Aware Stochastic Gradient Langevin Dynamics cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-aware Minimization for Efficiently Improving Generalization cites Fantastic Generalization Measures and Where to Find Them
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Flatness-Aware Stochastic Gradient Langevin DynamicsStefano Bruno, Youngsik Hwang, JaeHyeon An, Sotirios Sabanis et al.ICML 2026

Builds on9

  1. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  2. Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan et al.ICLR 2020 · 705 citations
  3. What Are Bayesian Neural Network Posteriors Really Like?Pavel Izmailov, Sharad Vikram, Matthew D. Hoffman, Andrew Gordon WilsonICML 2021 · 458 citations
  4. Cyclical Stochastic Gradient MCMC for Bayesian Deep LearningRuqi Zhang, Chunyuan Li, Jianyi Zhang, Changyou Chen et al.ICLR 2020 · 292 citations
  5. Entropic gradient descent algorithms and wide flat minimaFabrizio Pittorino, Carlo Lucibello, Christoph Feinauer, Gabriele Perugini et al.ICLR 2021 · 38 citations

Related papers

  1. Flat Seeking Bayesian Neural NetworksVan-Anh Nguyen, Tung-Long Vuong, Hoang Phan, Thanh-Toan Do et al.NeurIPS 2023 · 14 citations
  2. SAM as an Optimal Relaxation of BayesThomas Möllenhoff, Mohammad Emtiyaz KhanICLR 2023 · 3 citations
  3. Sharpness-Aware Minimization Enhances Feature Quality via Balanced LearningJacob Mitchell Springer, Vaishnavh Nagarajan, Aditi RaghunathanICLR 2024 · 13 citations
  4. Learning to Explore for Stochastic Gradient MCMCSeunghyun Kim, Seohyeon Jung, Seonghyeon Kim, Juho LeeICML 2024 · 2 citations
  5. Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 citations
Dusk over the sea between two cliffs drawn in fine vertical lines