Unlocking Dataset Distillation with Diffusion Models

Brian B. Moser, Federico Raue, Sebastian Palacio, Stanislav Frolov, Andreas Dengel
3/6/2024
24 citations
cs.CVcs.AIcs.LG
diffusion-flowdistillation

Official code: Brian-Moser/prune_and_distill (9 stars, Jupyter Notebook, last commit 2026-01-05).

Abstract

Dataset distillation seeks to condense datasets into smaller but highly representative synthetic samples. While diffusion models now lead all generative benchmarks, current distillation methods avoid them and rely instead on GANs or autoencoders, or, at best, sampling from a fixed diffusion prior.

Show full abstract

This trend arises because naive backpropagation through the long denoising chain leads to vanishing gradients, which prevents effective synthetic sample optimization. To address this limitation, we introduce Latent Dataset Distillation with Diffusion Models (LD3M), the first method to learn gradient-based distilled latents and class embeddings end-to-end through a pre-trained latent diffusion model. A linearly decaying skip connection, injected from the initial noisy state into every reverse step, preserves the gradient signal across dozens of timesteps without requiring diffusion weight fine-tuning. Across multiple ImageNet subsets at 128x128 and 256x256, LD3M improves downstream accuracy by up to 4.8 percentage points (1 IPC) and 4.2 points (10 IPC) over the prior state-of-the-art. The code for LD3M is provided at https://github.com/Brian-Moser/prune_and_distill.

View on arXivView PDF

Code Implementations(1)

Distill the Best, Ignore the Rest: Improving Dataset Distillation with Loss-Value-Based Pruning

91Jupyter Notebook, PythonNov 18, 202411 months ago

Similar Papers

Cite this paper

@article{moser2024unlocking,
  title  = {Unlocking Dataset Distillation with Diffusion Models},
  author = {Brian B. Moser and Federico Raue and Sebastian Palacio and Stanislav Frolov and Andreas Dengel},
  year   = {2024},
  eprint = {2403.03881},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.03881v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.03881.svg)](https://codeofpaper.com/paper/2403.03881)

Discussion