Generative Dataset Distillation Based on Diffusion Model

Duo Su, Junjie Hou, Guang Li, Ren Togo, Rui Song, Takahiro Ogawa, Miki Haseyama · DOI

Abstract

Dataset Distillation (DD) seeks to condense massive datasets into small, highly informative synthetic subsets that retain the essential characteristics of the original data. In the context of the ECCV 2024 Dataset Distillation Challenge, researchers faced a strict 10-minute time limit to generate distilled versions of CIFAR-100 and Tiny-ImageNet. This paper details a high-speed generative distillation pipeline utilizing the SDXL-Turbo diffusion model. By combining one-step image generation with strategic Post Data Augmentation (PDA), the proposed method significantly increases the Images Per Class (IPC) count within the time window, ultimately securing third place in the competition's generative track.

Introduction

Deep learning's reliance on large-scale datasets presents significant computational challenges. Dataset Distillation addresses this by creating a synthetic "distilled" dataset that allows models trained on it to achieve performance comparable to those trained on the full dataset. However, traditional distillation methods are often computationally intensive and slow to scale.

The ECCV 2024 DD Challenge introduced a rigorous constraint: participants were required to generate distilled datasets for CIFAR-100 and Tiny-ImageNet within a 10-minute window. Standard diffusion models, which typically require multiple denoising steps, are too slow for this task, often limiting generation to a single image per class (IPC=1). To overcome this, the authors developed a pipeline focused on high-fidelity, high-speed generation and data diversity.

Methodology

The core of the proposed method is a generative distillation pipeline designed for extreme efficiency.

SDXL-Turbo and Adversarial Diffusion Distillation (ADD)

To meet the 10-minute constraint, the team utilized SDXL-Turbo, a state-of-the-art diffusion model. Unlike standard models, SDXL-Turbo leverages Adversarial Diffusion Distillation (ADD), which enables the generation of high-quality images in as few as 1 to 4 steps. For this challenge, the model was primarily used in a single-step configuration to maximize the number of images generated.

Text-to-Image (T2I) Distillation

The distillation process was framed as a Text-to-Image task. Category labels from the target datasets (e.g., "goldfish," "school bus") served as text prompts. These prompts were fed into the SDXL-Turbo pipeline to generate class-specific images instantly, bypassing the need for complex optimization loops common in other distillation techniques.

Post Data Augmentation (PDA)

While SDXL-Turbo is fast, generating a high IPC count solely through inference still consumes time. To increase the "information richness" of the distilled set without additional computational cost, the authors implemented Post Data Augmentation (PDA). After the initial images were generated, a suite of standard augmentations—including random cropping, flipping, rotation, and brightness adjustments—was applied. This strategy effectively multiplied the IPC count "for free," providing the evaluation classifier with more diverse training samples.

Experimental Setup

The method was evaluated on two standard benchmarks:

  • CIFAR-100: 100 classes of 32x32 images.
  • Tiny-ImageNet: 200 classes of 64x64 images.

Following the challenge rules, performance was measured using a ConvNetD3-W128 classifier trained on the distilled synthetic data.

Results and Discussion

The inclusion of PDA proved critical for performance. By increasing the IPC count through augmentation, the team observed clear improvements in accuracy across both datasets:

  • Tiny-ImageNet: The base SDXL-Turbo (IPC 10) achieved 4.37% accuracy, which rose to 4.78% when using PDA to reach IPC 50.
  • CIFAR-100: The base model (IPC 20) achieved 0.97% accuracy, which improved to 1.37% with PDA at IPC 100.

While these accuracy figures are lower than those seen in unconstrained settings, they were highly competitive within the challenge's specific constraints (simple evaluation network and extreme time limits), earning the team a third-place finish.

The Resolution Gap

A significant challenge identified during the process was the distribution discrepancy. SDXL-Turbo is natively trained to generate high-resolution images (256x256), whereas the target datasets are low-resolution (32x32 or 64x64). Downsampling the high-fidelity synthetic images to match the benchmark resolutions results in significant information loss. Furthermore, the "style" of images generated by a model trained on high-quality real-world photos does not always align perfectly with the specific visual characteristics of the target benchmarks.

Conclusion

This work demonstrates that high-speed generative models like SDXL-Turbo, when paired with efficient data augmentation strategies, can effectively distill large datasets under extreme time constraints. The success of the PDA approach highlights that data diversity is as crucial as initial generation quality in distillation tasks. Future research will focus on fine-tuning generative models to better match target dataset distributions and developing resolution-aware generation techniques to mitigate the artifacts caused by downsampling.

Summary updated

BibTeX
@inproceedings{su2024generative,
  author = {Duo Su and Junjie Hou and Guang Li and Ren Togo and Rui Song and Takahiro Ogawa and Miki Haseyama},
  title = {{Generative Dataset Distillation Based on Diffusion Model}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  doi = {10.1007/978-3-031-93806-1\_7},
}
Figure