Variational Bayesian Pseudo-Coreset

Hyungi Lee, Seungyoo Lee, Juho Lee

Introduction

Deep learning's reliance on massive datasets presents significant challenges in terms of computational cost and memory, particularly in scenarios like continual learning where "catastrophic forgetting" is a risk. Pseudo-coresets, or dataset distillation, address this by creating a tiny synthetic dataset that retains the essential information of the original. However, applying this to Bayesian Neural Networks (BNNs)—crucial for uncertainty estimation in safety-critical tasks—has been difficult. Previous Bayesian Pseudo-Coreset (BPC) methods relied on slow, memory-intensive Stochastic Gradient Markov Chain Monte Carlo (SGMCMC) techniques.

The VBPC Framework

Variational Bayesian Pseudo-Coreset (VBPC) shifts the distillation paradigm from sampling-based MCMC to optimization-based Variational Inference (VI). The method employs several key innovations to ensure efficiency and scalability:

  1. Last-Layer Variational Inference: The authors treat only the final layer of the network as Bayesian, using the preceding layers as a deterministic feature extractor.
  2. The Gaussian Likelihood Detour: By adopting a Gaussian likelihood for the coreset training (even for classification tasks), the authors enable a closed-form solution for the inner optimization problem. Utilizing the Woodbury matrix identity, they bypass the need to "unroll" optimization steps or store expensive expert trajectories.
  3. Bilevel Optimization and Model Pooling: The coreset is optimized to ensure its posterior distribution matches that of the full dataset across a pool of different models, enhancing the generalizability of the synthetic images.
Visual representation of synthetic images generated by VBPC for Fashion-MNIST, CIFAR-10, and CIFAR-100.

Experimental Results

VBPC was evaluated against several baselines across benchmarks including MNIST, CIFAR-10/100, and Tiny-ImageNet. The method demonstrates superior performance in both predictive accuracy and uncertainty quantification.

Quantitative comparison of VBPC against BPC baselines across multiple datasets and images-per-class (ipc) settings.

As shown in the table above, VBPC consistently achieves state-of-the-art results. Notably, on CIFAR-10 with 10 images per class (ipc), VBPC reaches 69.8% accuracy, a significant improvement over the 56.4% achieved by the best BPC baseline. Furthermore, the Negative Log-Likelihood (NLL)—a key metric for uncertainty—is drastically improved; for MNIST (1 ipc), VBPC achieves an NLL of 0.11, compared to 1.53 for the best baseline.

Efficiency and Scalability

Beyond accuracy, VBPC offers massive gains in speed and memory efficiency. Inference on CIFAR-10 is approximately 8x faster than SGMCMC-based methods because VBPC’s variational formulation allows for Bayesian Model Averaging (BMA) in a single forward pass. Additionally, VBPC is the first BPC method capable of scaling to high-resolution datasets like ImageNet1k on standard consumer hardware (e.g., an RTX 3090), where previous methods failed due to memory constraints.

Conclusion and Future Work

VBPC represents a significant step forward in making Bayesian dataset distillation practical. By leveraging the mathematical efficiency of variational inference and closed-form solutions, it provides a scalable way to generate high-quality synthetic datasets that preserve both accuracy and uncertainty. Future research may explore extending this framework to full-weight Bayesian inference and applying it to domains like healthcare where reliable uncertainty estimation is paramount.

Summary updated

BibTeX
@inproceedings{lee2025variational,
  author = {Hyungi Lee and Seungyoo Lee and Juho Lee},
  title = {{Variational Bayesian Pseudo-Coreset}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=0NAVeUm7sk},
}
Figure