Abstract
Dataset distillation aims to synthesize a small, information-rich dataset from a large one for efficient model training. However, existing dataset distillation methods struggle with long-tailed datasets, which are prevalent in real-world scenarios. By investigating the reasons behind this unexpected result, we identified two main causes: 1) The distillation process on imbalanced datasets develops biased gradients, leading to the synthesis of similarly imbalanced distilled datasets. 2) The experts trained on such datasets perform suboptimally on tail classes, resulting in misguided distillation supervision and poor-quality soft-label initialization. To address these issues, we first propose Distribution-agnostic Matching to avoid directly matching the biased expert trajectories. It reduces the distance between the student and the biased expert trajectories and prevents the tail class bias from being distilled to the synthetic dataset. Moreover, we improve the distillation guidance with Expert Decoupling, which jointly matches the decoupled backbone and classifier to improve the tail class performance and initialize reliable soft labels. This work pioneers the field of long-tailed dataset distillation, marking the first effective effort to distill long-tailed datasets.
Introduction
Dataset Distillation (DD) is the process of condensing a massive dataset into a tiny set of synthetic images that retain the original's predictive power. This is vital for efficient model training and architecture search. However, real-world data is usually long-tailed: a few "head" classes have thousands of samples, while many "tail" classes have very few. When standard DD methods meet long-tailed data, they fail due to biased gradients and unreliable expert supervision. This paper introduces the first effective framework for Long-Tailed Dataset Distillation (LTDD) to overcome these challenges.
Methodology
The authors identify two primary culprits for the failure of standard DD on imbalanced data: biased gradients that focus on data quantity over quality, and unreliable experts that provide poor supervision for tail classes. To fix these, they propose a two-pronged strategy:
1. Distribution-agnostic Matching (DAM)
Instead of forcing the student model to blindly follow the biased path of an expert, DAM re-weights the student's learning process. As visualized in Figure 4, traditional DD trajectories grow unevenly, heavily favoring head classes. DAM allows the student to learn from the expert's features without inheriting the expert's bias, ensuring that synthetic data grows evenly across all classes.
2. Expert Decoupling (ED)
To provide better guidance, the authors use a "decoupled" training strategy. Representation Experts are trained on the full imbalanced dataset to learn rich features, while Classification Experts are fine-tuned on a balanced subset to ensure they can distinguish between tail classes. During distillation, the student's backbone matches the representation expert, and its classifier matches the classification expert.
Experimental Results
The researchers evaluated their method on standard long-tailed benchmarks like CIFAR-10-LT, CIFAR-100-LT, and ImageNet-LT across various Imbalance Factors ($\beta$).
Key Results
- Superior Performance: On CIFAR-10-LT ($\beta=200$), the proposed method achieved 62.3% accuracy (with 50 images per class), significantly outperforming the previous state-of-the-art (DATM) at 40.1% and even beating the Full Dataset baseline (62.1%).
- Robustness to Imbalance: As shown in Figure 1, while other methods' performance plummets as the imbalance factor increases, this method remains remarkably stable.
- The "Lossless" Milestone: The paper demonstrates that for highly imbalanced datasets, a tiny, well-distilled balanced dataset can actually outperform the original imbalanced one.
Conclusion
This work marks a breakthrough in long-tailed dataset distillation. By combining Distribution-agnostic Matching and Expert Decoupling, the authors achieve "lossless" performance, where models trained on a handful of synthetic images perform as well as those trained on the entire original imbalanced dataset. Future work will focus on reducing computational overhead and extending these principles to tasks beyond classification, such as object detection.
Summary updated