Influence-Guided Diffusion for Dataset Distillation

Mingyang Chen, Jiawei Du, Bo Huang, Yi Wang, Xiaobo Zhang, Wei Wang

TL;DR

Dataset distillation aims to condense massive datasets into tiny, high-performance subsets, but it usually fails at high resolutions. This paper introduces Influence-Guided Diffusion (IGD), a framework that steers diffusion models to generate "training-effective" images by using trajectory influence functions as a guide. The result is a new state-of-the-art on ImageNet-1K, achieving 60.3% accuracy with just 50 images per class.

What Problem Does This Paper Address?

Training modern AI requires massive datasets, which is computationally expensive. Dataset Distillation (DD) tries to solve this by creating a "cheat sheet"—a tiny synthetic dataset that provides nearly the same performance as the original.

However, traditional DD methods struggle with high-resolution images (like 224x224). They usually optimize pixels directly, which is slow, memory-intensive, and often results in "noisy" synthetic images that don't look real and don't train models well. While recent work has used Diffusion Models to generate more realistic data, simply sampling "real-looking" images isn't enough; you need to sample the right images—the ones that contain the most useful information for a learning model.

Methods

The authors frame dataset distillation as a controlled generation task. Instead of retraining a diffusion model, they use a pre-trained one (like a Diffusion Transformer or DiT) and "steer" its sampling process using two types of guidance:

  1. Influence Guidance ($G_I$): This is the core innovation. It uses the Trajectory Influence Function to estimate how much a specific synthetic image would reduce the validation loss of a model over an entire training "trajectory." It essentially asks: "If I add this image to my training set, how much better will my model get?"
  2. Diversity Guidance ($G_D$): To prevent the diffusion model from generating the same "perfect" image over and over, the authors add a constraint that penalizes images that are too similar to those already in the distilled set.
Validation accuracy and normalized influence comparison.

Key Technical Refinements: * Representative Checkpoints: To calculate influence efficiently, they don't look at every single step of training. Instead, they use a filtering algorithm to pick the most informative "checkpoints" based on gradient similarity. * Early-Stage Guidance: They found that applying guidance throughout the entire diffusion process (all 50 steps) creates distorted, "overfitted" images. By applying guidance only during the early-to-mid stages (steps 30–45), they preserve image quality while maximizing training utility.

Datasets

The researchers evaluated IGD on several high-resolution benchmarks:

  • ImageNet-1K: The gold standard for image classification (224x224).
  • ImageNette & ImageWoof: Two 10-class subsets of ImageNet (one easy, one difficult).
  • Food-101: A challenging dataset of 101 food categories.
  • CIFAR-10 & CIFAR-100: Used to test the generalizability of the method to smaller-scale data.

Key Insights and Ideas

  • Utility > Realism: The paper demonstrates that a dataset that perfectly matches the original distribution (low Wasserstein distance) isn't always the best for training. Sometimes, "pivotal" samples that are slightly off-distribution but high-influence are more valuable.
  • Cross-Architecture "Transferability": One of the most surprising findings is that influence guidance calculated using a simple surrogate model (like a 6-layer ConvNet) produces data that works exceptionally well for training much more complex architectures like Swin Transformers or ResNet-101.
  • Guidance as a Plug-in: Because IGD works during the sampling phase, it doesn't require retraining the massive diffusion models themselves. This makes it much more flexible than "fine-tuning" approaches.

Key Results

  • ImageNet-1K SOTA: At 50 Images Per Class (IPC), IGD reached 60.3% accuracy, outperforming the previous best method (RDED) by nearly 4%.
Performance comparison on ImageNet-1K.
  • Robustness: On ImageNette (IPC=100), IGD achieved 86.3%, significantly higher than the vanilla Diffusion Transformer (78.2%) or the previous state-of-the-art Minimax (81.1%).
  • Efficiency in Data: The method achieves "nearly lossless" performance on smaller datasets like CIFAR-10 even at high compression ratios.

Limitations and Future Work

  • Computational Cost: While IGD saves time by not retraining the diffusion model, the guidance calculations during sampling are heavy. Sampling an image with IGD takes about 5 to 6 times longer than vanilla diffusion (e.g., 8.2 seconds vs. 1.5 seconds on an RTX 4090).
  • Surrogate Requirement: You still need to train a small "surrogate" model on the full original dataset once to collect the gradients needed for the influence function.
  • Future Direction: The authors suggest that finding ways to speed up the guidance calculation will be critical for scaling this to even larger datasets or real-time applications.

Summary updated

BibTeX
@inproceedings{chen2025influence,
  author = {Mingyang Chen and Jiawei Du and Bo Huang and Yi Wang and Xiaobo Zhang and Wei Wang},
  title = {{Influence-Guided Diffusion for Dataset Distillation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=0whx8MhysK},
}
Figure