Abstract
To alleviate the reliance of deep neural networks on large-scale datasets, dataset distillation aims to generate compact, high-quality synthetic datasets that can achieve comparable performance to the original dataset. The integration of generative models has significantly advanced this field. However, existing approaches primarily focus on aligning the distilled dataset with the original one, often overlooking task-specific information that can be critical for optimal downstream performance. In this paper, focusing on the downstream task of classification, we propose a task-specific sampling strategy for generative dataset distillation that incorporates the concept of difficulty to consider the requirements of the target task better. The final dataset is sampled from a larger image pool with a sampling distribution obtained by matching the difficulty distribution of the original dataset. A logarithmic transformation is applied as a pre-processing step to correct for distributional bias. The results of extensive experiments demonstrate the effectiveness of our method and suggest its potential for enhancing performance on other downstream tasks.
Introduction
Deep learning models are notoriously data-hungry, requiring massive datasets for training, which poses significant challenges for storage and computational efficiency. Dataset Distillation (DD) has emerged as a solution, aiming to condense these large datasets into small, synthetic "distilled" sets that retain the essential information needed for model training.
While recent generative distillation methods leveraging Diffusion Models have achieved impressive visual fidelity, they often suffer from a "task-gap." These methods prioritize visual alignment with the original data but frequently produce "easy" samples—images that lack the complexity and edge cases necessary for a model to generalize well on downstream tasks like classification. If a distilled dataset is too simple, the resulting model will fail to learn the nuances required for real-world performance.
Methodology
The proposed framework addresses the task-gap by introducing a difficulty-guided sampling strategy based on the Information Bottleneck principle. The overall workflow consists of two primary components: Generative Dataset Distillation and Difficulty-Guided Sampling.
Image Pool Generation and Difficulty Scoring
The process begins by generating a large pool of synthetic images ($T_0$) using a diffusion-based distillation pipeline (specifically the Minimax method). This pool is typically several times larger (e.g., 5x) than the final desired images-per-class (IPC) count. Each image in the pool is then assigned a "difficulty" score, defined as $1 - P(y_{true}|x)$, where $P$ represents the confidence of a pre-trained "teacher" model in the correct label. A low score indicates an easy sample, while a high score indicates a challenging one.
Logarithmic Transformation and Distribution Matching
A key observation of this work is that generative models are inherently biased toward producing easy samples. To correct this distributional bias, the authors apply a logarithmic transformation to the difficulty scores as a pre-processing step. This transformation flattens the distribution, allowing for a more representative sampling of the difficulty spectrum.
The final distilled dataset ($T$) is then sampled from the image pool ($T_0$) such that its difficulty distribution matches the shape of the original dataset's ($X$) difficulty profile. This ensures that the synthetic dataset contains a healthy mix of easy, medium, and hard examples, mirroring the complexity of real-world data.
Experimental Results
The researchers evaluated their method on three 10-class subsets of ImageNet: ImageWoof (similar dog breeds, a hard task), ImageNette (distinct classes, an easy task), and ImageIDC (randomly selected classes).
Performance Gains
The difficulty-guided sampling strategy consistently outperformed state-of-the-art (SOTA) methods like Minimax and DiT. On the challenging ImageWoof dataset at 50 IPC, the proposed method achieved an accuracy of 57.1%, a significant jump over the previous best of 54.4%.
Robustness and Scalability
The distilled datasets demonstrated strong cross-architecture generalization, showing superior performance when training models different from the one used during distillation (e.g., ConvNet-6 and ResNet-18). Furthermore, ablation studies indicated that an image pool size of approximately 5x the final IPC provides an optimal balance between sample diversity and computational overhead.
Conclusion
This paper highlights the importance of task-specific information in dataset distillation. By incorporating difficulty-guided sampling and bias correction via logarithmic transformation, the proposed method ensures that distilled datasets are not just visually similar to the original data, but also functionally equivalent for downstream training. While the method currently relies on a pre-trained teacher model, its success suggests significant potential for enhancing performance across various computer vision tasks.
Summary updated