Table of Contents
Fetching ...

Bayesian Pseudo-Coresets via Contrastive Divergence

Piyush Tiwary, Kumar Shubham, Vivek V. Kashyap, Prathosh A. P

TL;DR

The paper tackles slow Bayesian inference on large datasets by proposing Bayesian Pseudo-Coresets (BPC) learned via contrastive divergence. This approach eliminates the need to approximate the pseudo-coreset posterior and enables finite-step MCMC during learning, improving efficiency and posterior fidelity. Empirical results across six datasets show substantial improvements over state-of-the-art BPC methods in accuracy, NLL, and posterior calibration, including robustness to distribution shifts and cross-architecture generalization. The work advances scalable, privacy-friendly Bayesian inference with practical impact for large-scale probabilistic modeling.

Abstract

Bayesian methods provide an elegant framework for estimating parameter posteriors and quantification of uncertainty associated with probabilistic models. However, they often suffer from slow inference times. To address this challenge, Bayesian Pseudo-Coresets (BPC) have emerged as a promising solution. BPC methods aim to create a small synthetic dataset, known as pseudo-coresets, that approximates the posterior inference achieved with the original dataset. This approximation is achieved by optimizing a divergence measure between the true posterior and the pseudo-coreset posterior. Various divergence measures have been proposed for constructing pseudo-coresets, with forward Kullback-Leibler (KL) divergence being the most successful. However, using forward KL divergence necessitates sampling from the pseudo-coreset posterior, often accomplished through approximate Gaussian variational distributions. Alternatively, one could employ Markov Chain Monte Carlo (MCMC) methods for sampling, but this becomes challenging in high-dimensional parameter spaces due to slow mixing. In this study, we introduce a novel approach for constructing pseudo-coresets by utilizing contrastive divergence. Importantly, optimizing contrastive divergence eliminates the need for approximations in the pseudo-coreset construction process. Furthermore, it enables the use of finite-step MCMC methods, alleviating the requirement for extensive mixing to reach a stationary distribution. To validate our method's effectiveness, we conduct extensive experiments on multiple datasets, demonstrating its superiority over existing BPC techniques.

Bayesian Pseudo-Coresets via Contrastive Divergence

TL;DR

The paper tackles slow Bayesian inference on large datasets by proposing Bayesian Pseudo-Coresets (BPC) learned via contrastive divergence. This approach eliminates the need to approximate the pseudo-coreset posterior and enables finite-step MCMC during learning, improving efficiency and posterior fidelity. Empirical results across six datasets show substantial improvements over state-of-the-art BPC methods in accuracy, NLL, and posterior calibration, including robustness to distribution shifts and cross-architecture generalization. The work advances scalable, privacy-friendly Bayesian inference with practical impact for large-scale probabilistic modeling.

Abstract

Bayesian methods provide an elegant framework for estimating parameter posteriors and quantification of uncertainty associated with probabilistic models. However, they often suffer from slow inference times. To address this challenge, Bayesian Pseudo-Coresets (BPC) have emerged as a promising solution. BPC methods aim to create a small synthetic dataset, known as pseudo-coresets, that approximates the posterior inference achieved with the original dataset. This approximation is achieved by optimizing a divergence measure between the true posterior and the pseudo-coreset posterior. Various divergence measures have been proposed for constructing pseudo-coresets, with forward Kullback-Leibler (KL) divergence being the most successful. However, using forward KL divergence necessitates sampling from the pseudo-coreset posterior, often accomplished through approximate Gaussian variational distributions. Alternatively, one could employ Markov Chain Monte Carlo (MCMC) methods for sampling, but this becomes challenging in high-dimensional parameter spaces due to slow mixing. In this study, we introduce a novel approach for constructing pseudo-coresets by utilizing contrastive divergence. Importantly, optimizing contrastive divergence eliminates the need for approximations in the pseudo-coreset construction process. Furthermore, it enables the use of finite-step MCMC methods, alleviating the requirement for extensive mixing to reach a stationary distribution. To validate our method's effectiveness, we conduct extensive experiments on multiple datasets, demonstrating its superiority over existing BPC techniques.
Paper Structure (26 sections, 8 equations, 7 figures, 12 tables, 1 algorithm)

This paper contains 26 sections, 8 equations, 7 figures, 12 tables, 1 algorithm.

Figures (7)

  • Figure 1: Visualizations of pseudo-coreset generated from our method with one image per class (top) and ten images per class (bottom) for MNIST, FMNIST, SVHN and CIFAR10. It can be seen that the class labels are identifiable to a large extent.
  • Figure 2: Computing GPU memory costs along with training time for different image per class.
  • Figure 3: Visualizations of pseudo-coresets for CIFAR100 with 1 ipc.
  • Figure 4: Visualizations of pseudo-coresets for Tiny ImageNet with 1 ipc.
  • Figure 5: Visualizations for pseudo-coresets for CIFAR100 with 10 ipc
  • ...and 2 more figures