Dataset distillation aims to "compress" a massive dataset into a tiny synthetic "coreset." Ideally, training a model on this tiny set should yield nearly the same performance as training on the full original data. This is incredibly useful for saving storage, speeding up neural architecture search, and preserving privacy.
The previous gold standard for this task, Kernel Inducing Points (KIP), utilizes the correspondence between infinite-width neural networks and kernel ridge regression. However, KIP is painfully slow. Its computational complexity scales quadratically ($O(|S|^2)$) with the size of the synthetic set because it requires calculating an exact "Neural Tangent Kernel" (NTK) matrix. For large tasks, this often required hundreds of GPUs working in parallel.
To solve this, researchers have introduced RFAD (Random Feature Approximation Distillation), a new algorithm that achieves a massive 100x to 190x speedup over previous state-of-the-art methods. By approximating complex neural kernels with random features, it makes distilling large-scale datasets practical on a single GPU while simultaneously improving classification accuracy.
How RFAD Breaks the Bottleneck
The authors introduce three key innovations to bypass the $O(|S|^2)$ computational wall:
- Kernel Approximation: They swap the expensive NTK for the simpler Neural Network Gaussian Process (NNGP) kernel. Crucially, they don't compute the exact NNGP; they approximate it using Random Feature Approximation (RFA). By instantiating a small number of random, finite-width neural networks, they can approximate the kernel in a way that scales linearly ($O(|S|)$) with the coreset size.
- Platt Scaling: Standard kernel regression uses Mean Squared Error (MSE) loss. The authors argue MSE is poorly suited for distillation because it over-penalizes "too correct" predictions (e.g., predicting a '5' when the label is '1'). They replace this with a cross-entropy loss via Platt scaling, which significantly boosts classification performance.
- Transfer Tricks: To ensure synthetic images work well when training standard "finite" neural networks (not just kernels), they use "centering" (subtracting the network's initial output) and "label scaling."
Key Insights and Results
The authors evaluated RFAD on five standard benchmarks: MNIST, Fashion-MNIST, SVHN, CIFAR-10/100, and CelebA.
- Massive Speedup: RFAD is roughly 191.6 times faster per iteration than KIP. What used to take hundreds of GPU hours can now be done in a fraction of the time on a single card.
- Higher Accuracy: On CIFAR-10 (10 images per class), RFAD achieved 73.1% accuracy, a 6.1% gain over KIP's 67%.
- Linear Scaling: Because of the RFA approach, RFAD's training time stays manageable and scales linearly as the coreset size grows, whereas KIP's time explodes quadratically.
Beyond raw metrics, the paper highlights several interesting properties of the distilled data:
- Random Features are "Good Enough": You don't need the mathematical perfection of an infinite-width network. A handful of random, finite-width convolutional layers provide a sufficient "feature map" to guide the distillation process.
- Privacy via "Noise": The paper demonstrates that you can create "corrupted" distilled sets that look like pure white noise to a human but still allow a machine learning model to reach high accuracy (e.g., ~92% accuracy on CelebA using just 2 distilled images).
- Interpretability: The authors used "influence functions" on their distilled sets to find which synthetic images most impacted specific test predictions, providing a fast way to debug model behavior.
Limitations and Future Work
While RFAD is a major leap forward, it has a few limitations. Currently, it does not support networks using Instance Normalization because there isn't a clean infinite-width kernel analog for it, limiting transferability to some modern architectures. Additionally, on very easy datasets (like MNIST) or when the coreset is relatively large, the Platt scaling loss can lead to overfitting. Finally, the authors note that while their loss function is excellent for high compression (tiny coresets), it might be less optimal as the coreset size approaches the size of the original dataset.
Summary updated