Contrastive Learning-Enhanced Trajectory Matching for Small-Scale Dataset Distillation
Wenmin Li, Shunsuke Sakai, Tatsuhito Hasegawa
TL;DR
This work tackles dataset distillation under extreme data scarcity by enhancing trajectory-matching with supervised contrastive learning. The proposed DATM-CLR integrates a SimCLR-style contrastive loss into the inner optimization loop, producing more informative and discriminative synthetic samples and improving the alignment of training dynamics with real data. By jointly optimizing trajectory matching and contrastive objectives through Contrastive Fusion and Contrastive Update strategies, the method achieves state-of-the-art performance on CIFAR-10, CIFAR-100, and Tiny-ImageNet, especially at IPC=1, and demonstrates robust generalization across architectures. The approach offers practical impact for deploying compact, high-quality synthetic datasets in edge or rapid-prototyping scenarios, while noting additional computational costs and hyperparameter considerations as trade-offs.
Abstract
Deploying machine learning models in resource-constrained environments, such as edge devices or rapid prototyping scenarios, increasingly demands distillation of large datasets into significantly smaller yet informative synthetic datasets. Current dataset distillation techniques, particularly Trajectory Matching methods, optimize synthetic data so that the model's training trajectory on synthetic samples mirrors that on real data. While demonstrating efficacy on medium-scale synthetic datasets, these methods fail to adequately preserve semantic richness under extreme sample scarcity. To address this limitation, we propose a novel dataset distillation method integrating contrastive learning during image synthesis. By explicitly maximizing instance-level feature discrimination, our approach produces more informative and diverse synthetic samples, even when dataset sizes are significantly constrained. Experimental results demonstrate that incorporating contrastive learning substantially enhances the performance of models trained on very small-scale synthetic datasets. This integration not only guides more effective feature representation but also significantly improves the visual fidelity of the synthesized images. Experimental results demonstrate that our method achieves notable performance improvements over existing distillation techniques, especially in scenarios with extremely limited synthetic data.
