Diffusion-Augmented Coreset Expansion for Scalable Dataset Distillation

Ali Abbasi, Shima Imani, Chenyang An, Gayathri Mahalingam, Harsh Shrivastava, Maurice Diesendruck, Hamed Pirsiavash, Pramod Sharma, Soheil KolouriarXiv 2024 · DOI

Abstract

Dataset distillation aims to condense large-scale datasets into a small number of synthetic samples while preserving the performance of models trained on them. However, existing methods often fail to scale to high-resolution datasets like ImageNet-1k or produce synthetic images that lack realism and generalizability. This paper proposes a two-stage framework that leverages coreset selection and Latent Diffusion Models (LDMs). By selecting informative patches and expanding them into high-quality variations on-the-fly, the method achieves a 13.9% accuracy on ImageNet-1k at 1 image per class (IPC), a significant improvement over previous state-of-the-art techniques.

Introduction

The explosion of data in the deep learning era has made training, storing, and communicating large-scale datasets increasingly difficult. Dataset distillation offers a solution by creating a compact, synthetic version of a dataset. Despite its potential, the field faces two primary challenges: scalability and realism. Traditional bi-level optimization methods are memory-intensive, making them impractical for high-resolution data. Furthermore, synthetic images often appear as uninterpretable textures, leading to poor cross-architecture generalization.

Methodology

The proposed framework avoids expensive optimization loops through a "compress-then-expand" strategy consisting of two main stages: coreset selection and diffusion-augmented expansion.

Coreset Selection

The first stage involves identifying a "coreset" of highly informative image patches from the original dataset. A teacher model, pre-trained on the full dataset, evaluates candidate patches. Patches that yield the lowest cross-entropy loss—indicating they are most representative of the underlying data distribution and well-aligned with ground truth—are selected for the coreset. These patches are stored at low resolution to minimize the storage footprint.

Coreset selection process using a teacher model to identify informative patches based on ground truth alignment.

Diffusion-Augmented Expansion

During the training of the student model, the low-resolution coreset patches are "re-inflated." The framework utilizes a fast Latent Diffusion Model (specifically SDXL-Turbo) to perform super-resolution and semantic augmentation on-the-fly. By adding controlled noise and leveraging the LDM's generative priors, the system produces diverse, high-resolution variations of the original patches. This ensures the student model is exposed to a rich variety of data, preventing overfitting to a static coreset.

Generation of high-quality semantic variations from a single patch using a Latent Diffusion Model.

To further boost diversity, the authors implement "Latent Mixup," where linear interpolation between samples occurs directly within the LDM's latent space before decoding. The student model is then trained using soft labels provided by the teacher model, facilitating effective knowledge transfer.

Key Results

The method was evaluated on several standard computer vision benchmarks, including ImageNet-1k, Tiny-ImageNet, and CIFAR. On ImageNet-1k with a budget of 1 image per class (IPC=1), the framework achieved 13.9% accuracy, more than doubling the previous state-of-the-art (RDED) which sat at 6.6%. Similar gains were observed on ImageNette, where accuracy rose from 35.8% to 51.4%.

Crucially, the LDM-enhanced images demonstrated superior cross-architecture generalization. When a student model (e.g., ResNet-18) was trained on data distilled by a different teacher architecture, it maintained high performance, proving that the generated images are more universally informative than the noise-like textures produced by traditional distillation.

Conclusion

The success of this approach highlights the value of using real data "anchors" in the distillation process. By grounding the generative process in real image patches, the resulting data remains within the natural image manifold, avoiding the distribution shift common in purely synthetic distillation. While the use of an LDM introduces some computational overhead during training, the massive gains in accuracy and scalability make it a compelling strategy for large-scale dataset condensation. Future work may explore more efficient generative models to further reduce training time and apply this logic to other modalities like video or 3D data.

Summary updated

BibTeX
@misc{abbasi2024diffusion,
  author = {Ali Abbasi and Shima Imani and Chenyang An and Gayathri Mahalingam and Harsh Shrivastava and Maurice Diesendruck and Hamed Pirsiavash and Pramod Sharma and Soheil Kolouri},
  title = {{Diffusion-Augmented Coreset Expansion for Scalable Dataset Distillation}},
  year = {2024},
  eprint = {2412.04668},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.04668},
}
Figure