arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.05401cs.LGstat.ML
收藏

Entropy-MCMC:轻松从平坦盆地中采样

Entropy-MCMC: Sampling from Flat Basins with Ease

Purdue University(普渡大学)

Bolian Li, Ruqi Zhang

AI总结:

本文提出Entropy-MCMC方法,通过引入辅助引导变量将后验采样偏向泛化误差低的平坦盆地,以最小计算开销实现高效采样,在分类、校准和分布外检测等基准上优于所有基线。

摘要:

贝叶斯深度学习依赖于后验分布估计的质量。然而,深度神经网络的后验本质上具有高度多模态性,且局部众数表现出不同的泛化性能。在给定的实际预算下,以原始后验为目标可能会导致次优性能,因为某些样本可能会被困在“坏”的众数中并遭受过拟合。利用泛化误差低的“好”众数通常位于能量景观的平坦盆地中这一观察结果,我们提出将后验上的采样偏向这些平坦区域。具体而言,我们引入了一个辅助引导变量,其平稳分布类似于没有尖锐众数的平滑后验,以引导MCMC采样器到达平坦盆地。通过将该引导变量与模型参数相结合,我们创建了一个简单的联合分布,使得能够以最小的计算开销进行高效采样。我们证明了我们方法的收敛性,并进一步表明在强凸设置下,它比几种现有的感知平坦性的方法收敛得更快。实证结果表明,我们的方法能够成功地从后验的平坦盆地中采样,并且在包括分类、校准和分布外检测在内的多个基准上优于所有比较的基线。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑