Dataset Distillation by Influence Matching

Haoru Tan, Wang Wang, Sitong Wu, Xiuzhe Wu, Yang-Tian Sun, Chirui Chang, Shaofeng Zhang, Xiaojuan Qi

TL;DR

Influence Matching (Inf-Match) is a new dataset distillation framework that shifts the focus from matching intermediate training "processes" (like gradients) to matching the final "outcome" (the converged model parameters). By introducing a novel, linear-time influence estimator, the authors synthesize tiny datasets that exert the same influence on a model as the original massive dataset, setting new state-of-the-art performance across multiple benchmarks.

What Problem Does This Paper Address?

Dataset distillation (DD) aims to condense massive datasets into a few synthetic samples that can train a model to nearly the same accuracy as the full set. This is crucial for efficient data sharing, privacy, and rapid model adaptation.

Historically, DD has been treated as a bilevel optimization problem, which is notoriously difficult to solve directly. To make it tractable, researchers have relied on "process matching" proxies—trying to make the synthetic data produce the same gradients or training trajectories as the real data. However, the authors argue that these are just heuristic surrogates. A synthetic dataset might perfectly mimic a training path but still fail to reach the same final destination (the optimal model parameters). This "optimization gap" limits the generalization and final accuracy of distilled data.

Methods

The authors propose Influence Matching (Inf-Match), which focuses on Outcome Alignment. The goal is to ensure that training on synthetic data $S$ results in the same parameter shift as training on the full real dataset $D$.

Key technical innovations include:

  • Linear-Time Influence Estimator: Traditional influence functions require calculating inverse-Hessian-gradient products, which is computationally crushing for deep networks. Inf-Match avoids this by unrolling the SGD optimization dynamics and applying a first-order Taylor approximation. This results in a fully differentiable estimator that runs in linear time $O(p)$, where $p$ is the number of parameters.
  • Differentiable Objective: The method minimizes the mismatch between the "removal influence" of the real dataset and the "addition influence" of the synthetic dataset.
  • Progressive Sampling: To improve efficiency and convergence, the algorithm samples checkpoints from the real training trajectory. It starts with early checkpoints to capture basic patterns and moves to later ones for fine-grained details.

Datasets

The authors evaluated Inf-Match on standard image classification benchmarks and a vision-language task:

  • CIFAR-10 & CIFAR-100: Standard small-scale image benchmarks.
  • Tiny-ImageNet: A more challenging subset of ImageNet with 200 classes.
  • Flickr30K: A vision-language dataset used to test the method's scalability to image-text retrieval tasks.

Key Insights and Ideas

  • Destination over Journey: The core "aha" moment is that matching the influence on the final model is more robust than matching per-step training signals. If the final outcome is aligned, the intermediate path matters less.
  • Better Distribution Coverage: Unlike Distribution Matching (DM), which tends to cluster synthetic samples in high-density regions, Inf-Match generates samples that occupy the edges of the distribution. This leads to a more balanced and representative synthetic set.
Feature space visualization showing Inf-Match (c) covers the distribution edges better than MTT (a) or DM (b).
  • Linear Complexity is Key: By making influence estimation differentiable and linear-time, the authors turned a theoretical tool (influence functions) into a practical optimization objective for deep learning.

Key Results

Inf-Match consistently outperformed existing state-of-the-art methods across various settings:

  • Tiny-ImageNet: At 10 images per class (IPC=10), Inf-Match achieved 31.5% accuracy, a significant +4.7% improvement over the previous best method (NCFM).
  • CIFAR-10/100: The method maintained dominance across all IPC settings (1, 10, 50), as shown in the performance curves below.
Figure 2. Performance comparison of different methods on CIFAR-10, CIFAR-100, and Tiny-ImageNet.
  • Vision-Language Scaling: On Flickr30K, Inf-Match outperformed process-matching baselines by 2.5% on average across image/text retrieval tasks.
  • Cross-Architecture Generalization: Synthetic data generated using a simple ConvNet generalized well when used to train other architectures like ResNet-18 and VGG.
Figure 3. The cross-architecture generalization test on CIFAR-100 with the setting of IPC=50.

Limitations and Future Work

  • Trajectory Dependence: The method requires pre-recorded training trajectories (checkpoints) of a model trained on the full real dataset. While this is standard for many DD methods, it still represents a significant one-time computational overhead.
  • Memory Constraints: While the estimator is linear-time, storing and backpropagating through multiple checkpoints can be memory-intensive, necessitating the use of mini-batch sampling during distillation.
  • Future Directions: The authors suggest that exploring more complex optimization dynamics beyond standard SGD could further refine the influence estimates. There is also potential to apply this "outcome-centric" view to other areas like data pruning or active learning.

Summary updated

BibTeX
@inproceedings{tan2026dataset,
  author = {Haoru Tan and Wang Wang and Sitong Wu and Xiuzhe Wu and Yang-Tian Sun and Chirui Chang and Shaofeng Zhang and Xiaojuan Qi},
  title = {{Dataset Distillation by Influence Matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=wbUSxSAhuh},
}
Figure