Abstract
Deep learning typically requires massive datasets and extensive training time. This paper introduces Dataset Distillation, a method that compresses the knowledge of a large training set into a small number of synthetic "distilled images." By optimizing these images to maximize model performance on the original data, the authors demonstrate that a network can reach 94% accuracy on MNIST using only 10 synthetic images.
Introduction
While traditional model distillation focuses on shrinking large neural networks into smaller ones, Dataset Distillation addresses the orthogonal problem of data efficiency. The authors explore whether it is possible to synthesize a tiny set of "hyper-informative" data points that are mathematically optimized to "load" a network with knowledge as quickly as possible. This approach has significant implications for fast model training, privacy-preserving data sharing, and understanding the fundamental information density of standard benchmarks.
Methodology
The core idea is to treat synthetic data as a hyperparameter optimized via gradient descent. The process involves two nested loops:
- The Inner Loop: A neural network starts with initial weights $\theta_0$. It performs one or more gradient descent steps using a small set of synthetic images $\tilde{x}$ and a learnable learning rate $\tilde{\eta}$, resulting in updated weights $\theta_1$.
- The Outer Loop: The loss of the updated weights $\theta_1$ is calculated on the original, large training dataset.
- Optimization: The algorithm backpropagates through the entire training step to update the pixel values of the synthetic images $\tilde{x}$ and the learning rate $\tilde{\eta}$.
To ensure the distilled images capture general features rather than hacking a specific set of weights, the authors optimize them to work across a distribution of random initializations.
Key Results and Applications
The authors evaluate their method across several standard computer vision benchmarks, including MNIST and CIFAR-10.
On MNIST, 10 distilled images (one per class) achieved 94% accuracy in just a few steps. On the more complex CIFAR-10 dataset, 100 distilled images achieved 54% accuracy, significantly outperforming baselines such as K-means centroids or random real image subsets.
Dataset Poisoning
The method can also be inverted for adversarial purposes. By distilling images that encourage a model to misclassify a specific category, an attacker could "poison" a training pipeline.
As shown in the figure above, just 300 attack images can cause a model to catastrophically forget a class (e.g., "plane") in a single update, dropping accuracy from 82% to 7%.
Discussion and Insights
- Non-Realistic Prototypes: Distilled images do not need to look "real." When optimized for random initializations, they evolve into recognizable "prototypes" highlighting discriminative features, such as the silhouette of a bird.
- Learning Rate Optimization: Optimizing the learning rate alongside pixels is crucial. Synthetic data often requires a much larger learning rate to "force" knowledge into weights in minimal steps.
- Superiority over Coresets: Unlike coreset methods that select existing images, distillation synthesizes new ones, allowing it to exceed the performance of any real image subset of the same size.
Limitations and Future Work
The "meta-learning" process is computationally expensive, as backpropagating through gradient descent steps requires computing Hessian-vector products. Furthermore, while the method works for random initializations, it remains sensitive to the distribution of those initializations. Scaling this approach to ImageNet-level complexity and expanding to other modalities like audio or text remain key challenges for future research.
Summary updated