Learning to Explore for Stochastic Gradient MCMC
About
Bayesian Neural Networks(BNNs) with high-dimensional parameters pose a challenge for posterior inference due to the multi-modality of the posterior distributions. Stochastic Gradient MCMC(SGMCMC) with cyclical learning rate scheduling is a promising solution, but it requires a large number of sampling steps to explore high-dimensional multi-modal posteriors, making it computationally expensive. In this paper, we propose a meta-learning strategy to build \gls{sgmcmc} which can efficiently explore the multi-modal target distributions. Our algorithm allows the learned SGMCMC to quickly explore the high-density region of the posterior landscape. Also, we show that this exploration property is transferrable to various tasks, even for the ones unseen during a meta-training stage. Using popular image classification benchmarks and a variety of downstream tasks, we demonstrate that our method significantly improves the sampling efficiency, achieving better performance than vanilla \gls{sgmcmc} without incurring significant computational overhead.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Out-of-Distribution Detection | CIFAR100 (ID) vs SVHN (OOD) (test) | AUROC78.6 | 71 | |
| Out-of-Distribution Detection | CIFAR-100 in-distribution TinyImageNet out-of-distribution (test) | AUROC79.1 | 52 | |
| Out-of-Distribution Detection | CIFAR-100 (In-distribution) vs CIFAR-10 (OOD) (test) | AUROC74.3 | 44 | |
| Image Classification | CIFAR-10 | Accuracy92.6 | 33 | |
| Robustness under covariate shift | CIFAR-10-C | Accuracy84.6 | 24 | |
| Out-of-Distribution Detection | CIFAR-10 (In-distribution) vs SVHN (OOD) (test) | AUROC94.4 | 20 | |
| Text Classification | IMDB (test) | Accuracy0.873 | 19 | |
| Out-of-Distribution Detection | CIFAR-10 (in-dist) CIFAR-100 (out-dist) | AUROC0.857 | 14 | |
| Out-of-Distribution Detection | CIFAR-10 (In-dist) vs Tiny-ImageNet (OOD) (test) | AUROC88.4 | 4 | |
| Convergence Analysis | CIFAR-10 | ESS/s82.97 | 3 |