TL;DR
Dataset distillation compresses massive datasets into tiny synthetic versions, but state-of-the-art long-range trajectory matching methods suffer from overfitting due to rigid, fixed-length trajectory alignment. This paper introduces Automatic Training Trajectories (ATT), a method that dynamically and adaptively adjusts trajectory lengths to minimize matching errors. ATT significantly boosts cross-architecture generalization and training stability without adding computational overhead.
What Problem Does This Paper Address?
Training deep learning models requires massive datasets, incurring substantial computational costs. Dataset Distillation (DD) aims to solve this by creating a tiny, highly informative synthetic dataset (e.g., just 1 to 50 images per class) that can train a network to nearly the same accuracy as the full dataset.
One SOTA approach is Long-range matching Dataset Distillation (LDD). LDD works by forcing a "student" network trained on synthetic data to match the parameter trajectories of an "expert" network trained on real data. However, conventional LDD methods rely on a Fixed Trajectory Length (FTL), forcing the student to match the expert at a rigid, predetermined number of steps ($N_S$).
Because expert trajectories vary wildly based on initialization and training stages, this rigid constraint forces student trajectories to unnaturally stretch or compress to fit. The authors identify this as the Accumulated Mismatching Problem (AMP). AMP causes the synthetic dataset to overfit to the specific expert trajectories it saw during distillation, leading to poor generalization when those same synthetic images are used to train entirely different network architectures.
Methods
To eliminate the rigid constraints of FTL, the authors propose Automatic Training Trajectories (ATT). Instead of blindly matching the student network's parameters to the expert's target at a fixed final step, ATT dynamically searches for the closest matching point along the student's path.
The algorithm unrolls the student trajectory on the synthetic dataset up to a maximum number of steps ($N_S$). At each intermediate step $t$, it computes the squared $L_2$ distance between the student's current parameters and the target expert parameters. ATT then applies a minimum distance policy: it selects the specific step ($N_{opt}$) that yields the smallest error and performs backpropagation only at that optimal step.
By dynamically adjusting the trajectory length at each iteration, ATT prevents mismatch errors from compounding into the synthetic data.
Datasets
The authors evaluated ATT across several standard computer vision benchmarks:
- CIFAR-10 and CIFAR-100: Standard 32x32 datasets with 10 and 100 classes, respectively.
- 64x64 Tiny ImageNet: A higher-resolution dataset with 200 classes.
- ImageNet Subsets (128x128): ImageNette (assorted objects), ImageWoof (dog breeds), ImageFruit (fruits), and ImageMeow (cats), each containing 10 subclasses.
Key Insights and Ideas
- Rigid Alignment Distorts Synthetic Data: Forcing a fixed step size compels student trajectories to artificially conform to seen expert paths, sacrificing the generality of the distilled images.
- AMP is Accumulative: Mismatch errors don't just persist; they compound with each update to the synthetic dataset, directly driving up the Accumulated Trajectory Error (ATE).
- Implicit Curriculum Learning: Empirically, ATT naturally favors smaller step sizes in the initial distillation phases and dynamically scales up as distillation progresses. This adaptive behavior acts as an implicit curriculum, stabilizing early learning.
Key Results
Cross-Architecture Generalization
ATT shines brightest when the distilled dataset is evaluated on architectures different from the one used during distillation (ConvNet). For CIFAR-10 at 10 Images Per Class (IPC=10), ATT outperforms previous methods significantly:
- +1.3% on ResNet18 (reaching 54.5%)
- +7.2% on VGG11 (reaching 54.2%)
- +7.7% on AlexNet (reaching 43.6%)
Standard Benchmarks
ATT consistently sets new performance baselines across various datasets on the distilled architecture:
- Tiny ImageNet (IPC=10): Achieves 25.8% accuracy, a 1.3% improvement over the previous best method (FTD).
- ImageNet Subsets (IPC=10): Shows notable accuracy gains across all subsets, including a +2.2% boost on ImageMeow and +1.6% on ImageNette.
Hyperparameter Robustness & Efficiency
ATT demonstrates superior stability against variations in sensitive tuning parameters, such as the learning rates for pixels and step sizes. Crucially, despite evaluating multiple steps to find the minimum distance, ATT maintains a runtime identical to vanilla LDD (~0.8s per iteration) because it allows for early backpropagation and avoids unnecessary tail-end computations.
Limitations and Future Work
- Storage Overhead: Like all trajectory-matching methods, ATT requires pre-computing and storing large expert trajectory buffers (e.g., ~60MB per CIFAR expert and ~120MB per ImageNet expert), which can challenge memory-constrained environments.
- Orthogonal Enhancements: To ensure a fair baseline comparison, the authors did not combine ATT with other advanced DD techniques like soft labels, network pruning, or data factorization. Exploring how ATT pairs with these complementary methods remains an open direction for future research.
Summary updated