Abstract
Dataset distillation aims to synthesize small datasets with little information loss from original large-scale ones for reducing storage and training costs. Recent state-of-the-art methods mainly constrain the sample synthesis process by matching synthetic images and the original ones regarding gradients, embedding distributions, or training trajectories. Although there are various matching objectives, currently the strategy for selecting original images is limited to naive random sampling. We argue that random sampling overlooks the evenness of the selected sample distribution, which may result in noisy or biased matching targets. These factors together lead to optimization instability in the distilling process and degrade the training efficiency. Accordingly, we propose a novel matching strategy named as Dataset distillation by REpresentAtive Matching (DREAM), where only representative original images are selected for matching. DREAM is able to be easily plugged into popular dataset distillation frameworks and reduce the distilling iterations by more than 8 times without performance drop. Given sufficient training time, DREAM further provides significant improvements and achieves state-of-the-art performances.
Introduction
Dataset distillation (DD) is a critical technique for condensing massive datasets into tiny, high-quality synthetic versions, enabling efficient model training and neural architecture search. However, traditional optimization-based DD methods suffer from extreme training slowness. The authors identify that the standard practice of random sampling for matching synthetic and real images is a primary bottleneck.
Random batches often include "boundary samples"—outliers near decision boundaries that generate large, noisy gradients. As shown in Figure 1, these samples cause the optimization process to fluctuate, requiring thousands of iterations to stabilize. Furthermore, random sampling does not guarantee a diverse or even representation of the underlying data distribution.
Methodology: Representative Matching
To address these instabilities, the authors propose DREAM (Dataset distillation by REpresentAtive Matching). DREAM introduces two core components:
- Representative Matching: Instead of matching to random real images, DREAM uses K-Means clustering within each class of the original dataset. The cluster centers are selected as the "representative" targets for matching. These centers provide smoother, more consistent gradient signals compared to noisy boundary samples.
- Clustering-based Initialization: Synthetic images are initialized directly from these sub-cluster centers rather than from random noise. This ensures the synthetic data starts in a meaningful region of the feature space, further accelerating convergence.
DREAM is a "plug-and-play" module compatible with various distillation frameworks, such as IDC (Information Intensive Dataset Condensation) and DSA (Differentiable Siamese Augmentation).
Experimental Results
The authors evaluated DREAM across several benchmarks, including CIFAR-10/100, TinyImageNet, and ImageNet-1K.
Efficiency and Convergence
A key highlight of DREAM is its training efficiency. As illustrated in Figure 2, DREAM reaches the baseline accuracy of standard methods in approximately 150 iterations, whereas random sampling requires 1,000 iterations—a speedup of over 8x.
State-of-the-Art Performance
Beyond speed, DREAM achieves superior accuracy:
- CIFAR-100 (10 IPC): DREAM achieved 46.8% accuracy, outperforming the previous best of 45.1%.
- ImageNet-1K (10 IPC): DREAM reached 18.5% accuracy, surpassing the SOTA TESLA method (17.8%).
- Robustness: Synthetic datasets generated by DREAM showed strong cross-architecture generalization, performing well when transferred from ConvNet-3 to ResNet-10 and DenseNet-121.
Conclusion
DREAM demonstrates that the strategy for selecting matching targets is as important as the matching objective itself in dataset distillation. By focusing on representative samples through clustering, DREAM stabilizes the optimization process, leading to significant gains in both training speed and final model performance.
Summary updated