Prioritize Alignment in Dataset Distillation

Zekai Li, Ziyao Guo, Wangbo Zhao, Tianle Zhang, Zhi-Qi Cheng, Samir Khaki, Kaipeng Zhang, Ahmad Sajedi, Konstantinos N. Plataniotis, Kai Wang, Yang You · DOI

Abstract

Dataset Distillation (DD) aims to condense large-scale datasets into a small set of synthetic images that retain the original's performance. However, current matching-based methods suffer from information misalignment. We propose Prioritize Alignment in Dataset Distillation (PAD), which introduces two filtering modules: Filtering Information Extraction (FIEX) and Filtering Information Embedding (FIEM). By pruning training data based on difficulty and masking noisy low-level model parameters, PAD achieves state-of-the-art performance, including near-lossless distillation on CIFAR-10.

Introduction

Dataset Distillation is a critical technique for reducing the computational burden of training deep learning models. The goal is to create a tiny synthetic dataset (e.g., 1 to 50 images per class, IPC) that allows a model to achieve performance comparable to training on the full source dataset.

The authors identify a core flaw in existing "matching-based" distillation methods: Information Misalignment. This occurs in two forms:

  1. Extraction Misalignment: Using the entire source dataset for distillation can be counterproductive. For low IPC budgets, complex "hard" examples introduce noise, while for high IPC budgets, "easy" samples become redundant.
  2. Embedding Misalignment: Standard methods match internal model states across all layers. However, shallow layers often capture generic low-level noise that distracts from the high-level semantic features necessary for classification.

Methodology

PAD introduces two alignment modules to refine the distillation process:

  • Filtering Information Extraction (FIEX): This module prunes the source dataset based on sample difficulty, measured by the EL2N (Error L2-Norm) score. The selection strategy is IPC-dependent: for low IPC, the scheduler prioritizes "easy" samples; for high IPC, it gradually incorporates "hard" samples and eventually removes "easy" ones to maximize the utility of the limited synthetic capacity.
  • Filtering Information Embedding (FIEM): PAD masks out a percentage of the shallowest layers during the matching process. By focusing the agent model on deeper, semantic layers, the resulting synthetic images develop finer-grained, recognizable features rather than coarse textures.
Figure 1: Overview of the PAD framework, illustrating the FIEX data selection strategy and the FIEM layer masking process.

Key Insights and Results

The "Less is More" Paradox

Empirical results support the counter-intuitive finding that providing the distillation model with less information—by pruning the source dataset and ignoring shallow layers—leads to superior synthetic images. As shown in Figure 6, removing easy samples at high IPC (500) and hard samples at low IPC (1) consistently improves accuracy across different distillation families, including Gradient Matching, Distribution Matching, and Trajectory Matching.

Figure 6: Performance impact of removing easy vs. hard samples across three distillation paradigms: (a) Matching gradients, (b) Matching distributions, and (c) Matching trajectories.

State-of-the-Art Performance

PAD consistently outperforms previous state-of-the-art (SOTA) methods like DATM and MTT across standard benchmarks:

  • CIFAR-10 (IPC 10): 67.4% accuracy (vs. 66.8% previous SOTA).
  • CIFAR-100 (IPC 50): 55.9% accuracy (vs. 55.0% previous SOTA).
  • Tiny ImageNet (IPC 50): 41.6% accuracy (vs. 39.7% previous SOTA).

Notably, on CIFAR-10 with 500 IPC (representing only 10% of the original data), PAD achieved 84.6% accuracy, nearly matching the 84.8% performance of the full dataset. This demonstrates that "lossless" distillation is achievable by correctly aligning the extracted information.

Conclusion

PAD addresses the fundamental issue of information misalignment in dataset distillation. By strategically filtering both the source data and the model layers used for embedding, PAD significantly improves the quality and generalizability of synthetic datasets. While the method requires some hyperparameter tuning for layer masking and pruning ratios, its ability to reach near-lossless performance on CIFAR-10 marks a significant milestone in the field.

Summary updated

BibTeX
@misc{li2024prioritize,
  author = {Zekai Li and Ziyao Guo and Wangbo Zhao and Tianle Zhang and Zhi-Qi Cheng and Samir Khaki and Kaipeng Zhang and Ahmad Sajedi and Konstantinos N. Plataniotis and Kai Wang and Yang You},
  title = {{Prioritize Alignment in Dataset Distillation}},
  year = {2024},
  eprint = {2408.03360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.03360},
}
Figure