Overview
Training modern AI models requires staggering amounts of data, leading to massive computational costs. Dataset Distillation (DD) attempts to solve this by creating a "concentrated" version of a dataset—for instance, turning 1.2 million ImageNet images into just 10 or 50 synthetic ones per class—that yields similar model performance.
Historically, DD relied on bi-level optimization, which is computationally expensive and often fails to scale to high-resolution, large-scale datasets. Recent "disentangled" methods bypassed this by using generative models to match data distributions in a latent space. However, these methods were largely heuristic; they worked well in practice but lacked a solid theoretical foundation explaining why or if they would ever truly represent the original data as the synthetic set grew.
This paper reframes Dataset Distillation as a classical mathematical problem called Optimal Quantization. By performing clustering in the latent space of diffusion models and assigning specific weights to synthetic images, the authors introduce DDOQ (Dataset Distillation by Optimal Quantization), a method that achieves state-of-the-art performance on ImageNet-1K while providing the first rigorous theoretical proof that these distilled datasets actually converge to the true data distribution.
The DDOQ Methodology
The authors propose a four-step "Encoder-Cluster-Decoder" pipeline to distill the dataset:
- Encoding: High-dimensional training images are mapped into a low-dimensional latent space using a pre-trained Latent Diffusion Model (LDM).
- Clustering (The Quantization Step): The method uses Competitive Learning Vector Quantization (CLVQ)—essentially a streaming version of $k$-means—to find $K$ representative points (centroids) in the latent space.
- Weighting: Unlike previous methods that treat every synthetic image as equally important, DDOQ calculates companion weights for each point based on the density of the original data it represents (the size of its Voronoi cell).
- Decoding: These latent points are passed through a diffusion decoder (like Stable Diffusion or a Diffusion Transformer) to generate the final synthetic images.
The Theoretical Leap
The most profound insight of this work is that dataset distillation isn't just an optimization trick; it's a search for the best finite set of points to represent a continuous probability measure.
The authors provide the first theoretical guarantee (Theorem 1) that distilled datasets from diffusion priors are "consistent." This means if you approximate a distribution in latent space and pass it through a generative diffusion process, the resulting images remain a consistent approximation of the original image distribution. This links DD to the $O(K^{-1/d})$ convergence rates of classical quantization theory. Furthermore, because quantization error depends on the dimension ($d$) of the space, distilling in a low-dimensional latent space ($d=4$ or $8$) rather than pixel space ($d=150,000+$) achieves much higher efficiency and better convergence.
Key Results
The study focuses on the gold standard for scaling: ImageNet-1K (1.2 million images across 1,000 classes), alongside smaller subsets like ImageNette and ImageWoof. Evaluation was performed across a wide range of "student" models, including ResNet, MobileNet-V2, EfficientNet-B0, and Swin-Transformer.
- State-of-the-Art Performance: On ImageNet-1K with 200 images per class (IPC), DDOQ achieved 68.6% top-1 accuracy (using ResNet-101), coming remarkably close to the 69.8% performance of the full dataset.
- The Impact of Weights: Most DD methods ignore the "mass" of the data. By including weights, DDOQ significantly reduces the Wasserstein-2 distance between the synthetic and real data by roughly 15-16% compared to unweighted clustering, directly translating to better classification accuracy.
- Superior Generalization: DDOQ outperformed the previous leading method ($D^4M$) across almost all architectures. Notably, data distilled using a ResNet-18 "teacher" generalized better to "student" models like MobileNet and EfficientNet.
- Efficiency: Because it avoids backpropagation through the training process, DDOQ has constant memory usage regardless of how many images per class are being distilled.
Limitations and Future Directions
While theoretically sound, the authors found that raw cluster weights were sometimes too extreme for stable neural network training. They introduced a square-root scaling heuristic to "tame" the weights, suggesting the relationship between quantization theory and SGD dynamics isn't yet perfectly mapped. Additionally, while DDOQ excelled on convolutional networks, it showed slightly lower performance on the Swin-Transformer compared to $D^4M$, suggesting that transformers might require more precise hyperparameter tuning for weighted loss functions.
Future work may explore the "Manifold Hypothesis" to find even tighter bounds on distillation error and investigate how these weights relate to the "hardness" of specific training examples.
Summary updated