Efficient Dataset Distillation for Pre-Trained Self-Supervised Models via Statistical Flow Matching

Qianxin Xia, Jiawei Du, Yuhan Zhang, Xin Zhang, Xuewan He +4 more
2/5/2026
cs.CV
diffusion-flowcontrastive-ssldistillation

Official code: einsteinxia/SFM (4 stars, last commit 2026-10-16).

Abstract

Dataset distillation seeks to synthesize a compact surrogate dataset that enables performance comparable to training on the original dataset for downstream tasks. For the scenario where pre-trained self-supervised models serve as priors, traditional Linear Gradient Matching optimizes synthetic images by encouraging them to mimic the gradient updates induced by real images on the linear probe. However, this batch-level formulation requires loading thousands of real images and applying multiple differentiable augmentations to synthetic images at each distillation step, leading to substantial computational and memory overheads. In this paper, we revisit the linear gradient and theoretically derive that it is essentially a local relative distribution directed from target class centers toward non-target class centers, which we term flow. This property causes suboptimality and instability, often necessitating expensive multiple augmentations to compensate. To address this, we introduce Statistical Flow Matching, an optimal, stable, and efficient supervised learning framework that optimizes synthetic images by aligning global statistical flows in the original data. Our approach loads raw statistics only once and performs a single augmentation pass on the synthetic data, achieving performance comparable to or better than the state-of-the-art method with 10x less GPU memory usage and 4x faster distillation time. Moreover, increasing the number of augmentations for our method yields further performance gains while incurring lower additional cost. Our code is publicly available at https://github.com/einsteinxia/SFM.

View on arXivView PDF

Code Implementations(1)

einsteinxia/SFMOfficial100%

Official implementation of "Efficient Dataset Distillation for Pre-Trained Self-Supervised Models via Statistical Flow Matching" (Accepted by NeurIPS 2026).

40Shell, PythonSep 24, 20261 weeks ago

Similar Papers

Cite this paper

@article{xia2026efficient,
  title  = {Efficient Dataset Distillation for Pre-Trained Self-Supervised Models via Statistical Flow Matching},
  author = {Qianxin Xia and Jiawei Du and Yuhan Zhang and Xin Zhang and Xuewan He and Wenbo Jiang and Jielei Wang and Tao Luo and Guoming Lu},
  year   = {2026},
  eprint = {2602.05391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.05391v3}
}

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/2602.05391.svg)](https://codeofpaper.com/paper/2602.05391)

Discussion