BACON: Bayesian Optimal Condensation Framework for Dataset Distillation
Zheng Zhou, Hongbo Zhao, Guangliang Cheng, Xiangtai Li, Shuchang Lyu, Wenquan Feng, Qi Zhao
TL;DR
Dataset distillation seeks to compress large training sets into small synthetic sets without sacrificing test accuracy. This paper introduces BACON, a Bayesian optimal condensation framework that treats DD as minimizing an expected risk $R(\phi)$ over joint output distributions and derives a numerically feasible lower bound via a spherical-integral formulation. It provides a practical approximate solution using Monte Carlo sampling, a Gaussian likelihood, and a TV-CLIP prior, resulting in an overall loss $\mathcal{L}_{TOTAL}$ with a tunable parameter $\lambda$ and a plug-in Algorithm 1. Extensive experiments across MNIST to TinyImageNet show BACON consistently outperforms state-of-the-art methods (e.g., IDM/DM) under various IPC regimes, validating both the theory and its practical effectiveness and revealing clear directions for future scaling to high-resolution data. Overall, BACON establishes a principled Bayesian foundation for DD and offers a scalable, effective approach that integrates with existing methods to boost distillation performance.
Abstract
Dataset Distillation (DD) aims to distill knowledge from extensive datasets into more compact ones while preserving performance on the test set, thereby reducing storage costs and training expenses. However, existing methods often suffer from computational intensity, particularly exhibiting suboptimal performance with large dataset sizes due to the lack of a robust theoretical framework for analyzing the DD problem. To address these challenges, we propose the BAyesian optimal CONdensation framework (BACON), which is the first work to introduce the Bayesian theoretical framework to the literature of DD. This framework provides theoretical support for enhancing the performance of DD. Furthermore, BACON formulates the DD problem as the minimization of the expected risk function in joint probability distributions using the Bayesian framework. Additionally, by analyzing the expected risk function for optimal condensation, we derive a numerically feasible lower bound based on specific assumptions, providing an approximate solution for BACON. We validate BACON across several datasets, demonstrating its superior performance compared to existing state-of-the-art methods. For instance, under the IPC-10 setting, BACON achieves a 3.46% accuracy gain over the IDM method on the CIFAR-10 dataset and a 3.10% gain on the TinyImageNet dataset. Our extensive experiments confirm the effectiveness of BACON and its seamless integration with existing methods, thereby enhancing their performance for the DD task. Code and distilled datasets are available at BACON.
