Unifying Dataset Pruning and Distillation for Efficient Large-scale Compression

Lingao Xiao, Songhua Liu, Yang He, Xinchao Wang

Introduction: The Soft-Label Paradox

In the ongoing quest to train massive machine learning models more efficiently, researchers typically rely on two primary strategies for Dataset Compression (DC): Dataset Pruning (DP), which selects the most critical subset of original images, and Dataset Distillation (DD), which synthesizes small batches of images that condense the knowledge of a massive dataset.

Historically, these two fields have operated in silos, utilizing different evaluation metrics and training settings. Dataset Distillation methods, in particular, have increasingly relied on "soft labels"—complex probability distributions generated by a teacher model. However, a glaring issue has emerged: these soft labels can consume up to 40 times more storage than the images themselves. This raises a critical question: if we strip away these storage-heavy labels and evaluate both methods fairly, does distillation still outperform simple pruning?

Recent investigations reveal a "soft-label paradox." The high performance of synthetic datasets is frequently attributable to these massive soft labels rather than the synthetic images themselves. To address this, researchers have introduced a unified benchmark and a novel framework known as PCA (Prune, Combine, and Augment), which abandons soft labels in favor of high-quality real image subsets, achieving state-of-the-art compression with drastically reduced storage overhead.

A Unified Dataset Compression Benchmark

To fairly compare DP and DD, researchers established a Unified DC Benchmark. This standardized evaluation protocol, based on a Curriculum Data Augmentation (CDA) setting, tests both approaches under identical conditions (e.g., batch sizes, augmentations).

The benchmark yielded several key insights:

  • The Soft-Label Paradox: Many state-of-the-art distillation methods actually perform worse than a random subset of original images when both are provided with soft labels. The "magic" of distillation is largely hidden in the labels, not the synthetic pixels.
  • Image Quality Over Label Complexity: When forced to use traditional "hard labels" (one-hot labels with no extra storage overhead), pruning methods consistently outperform distillation. For large-scale compression, prioritizing the integrity of the original image data is far more effective.
  • The Danger of Cropping: The authors provide a mathematical proof demonstrating that while selective cropping might lower initial training loss, it often increases entropy and destroys the "entropy advantage" once standard training augmentations are applied. Scaling images, rather than aggressively cropping them, is a safer bet for information retention.

The PCA Framework

Building on these insights, the authors propose the PCA framework, a hard-label dataset compression approach that emphasizes image quality and storage efficiency. PCA stands for:

  1. Prune: Instead of generating synthetic noise, PCA selects "easy" and representative samples from the original dataset using the EL2N (Error L2 Norm) metric. Crucially, this step maintains perfect class balance, a property often lost in traditional pruning methods.
  2. Combine: Rather than using random patches or aggressive cropping—which discards vital information—PCA scales and combines multiple pruned images into a single canvas. This preserves the global contextual information necessary for hard-label supervision to function effectively.
  3. Augment: The framework introduces Constrained Augmentation. Standard data-scaling laws suggest that for very small datasets, simpler images are better. PCA restricts random cropping to stay within a single image patch, preventing the model from being overwhelmed by overly complex, fragmented views during training.

By relying exclusively on hard labels, PCA eliminates the need for a teacher model and massive label storage.

Key Results and Performance

PCA was evaluated across major datasets, including ImageNet-1K for large-scale image classification and PASCAL VOC (2007+2012) for object detection. It set new records for hard-label dataset compression:

  • Superior Accuracy: On ImageNet-1K at 10 images per class (IPC10), PCA achieves 25.6% accuracy using a ResNet-18 architecture. By comparison, the popular distillation method SRe2L drops to a mere 1.5% when stripped of its soft labels.
  • Massive Storage Efficiency: By avoiding soft labels entirely, PCA achieves a compression rate of over 300x compared to the original dataset's storage requirements. This significantly outperforms DD methods, which typically hover around 30x-40x compression due to label overhead.
  • Cross-Architecture Generalization: PCA demonstrates strong performance across various model architectures, successfully training models like MobileNet-V2, ResNet-101, and Swin Transformers.
  • Object Detection: On the PASCAL VOC benchmark, PCA outperformed the previous state-of-the-art pruning method (VPS), achieving a higher mean Average Precision (mAP) while utilizing fewer images.

Limitations and Future Directions

While PCA achieves remarkable results, the authors acknowledge that its augmentation procedures—such as patch extraction—are currently heuristically designed. Although highly effective in practice, their mathematical optimality is not yet guaranteed.

Looking forward, the researchers suggest that the PCA framework could be applied beyond original datasets to high-performing distilled or generated datasets, such as those produced by diffusion models. Future work will also explore how this framework can jointly optimize for other critical metrics, including model robustness, fairness, and interpretability.

Summary updated

BibTeX
@inproceedings{xiao2026unifying,
  author = {Lingao Xiao and Songhua Liu and Yang He and Xinchao Wang},
  title = {{Unifying Dataset Pruning and Distillation for Efficient Large-scale Compression}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=IAE5vKJUeY},
}
Figure