TL;DR
Path-Guided Flow Matching (PGFM) is the first flow-matching framework designed for generative dataset distillation, successfully replacing slow and unstable diffusion models with fast, deterministic ODE sampling. By introducing a lightweight, early-stage prototype guidance strategy, PGFM achieves superior mode coverage and accuracy across high-resolution benchmarks while delivering up to a 10.5× reduction in computational cost.
What Problem Does This Paper Address?
Dataset distillation aims to compress massive datasets into a tiny fraction of synthetic images per class (IPC) while preserving the performance of models trained on them. Recently, diffusion models have become the dominant generative backbone for this task. However, diffusion-based distillation inherits the heavy baggage of diffusion sampling: complex noise schedules, intense classifier-free guidance (CFG), and slow, step-by-step denoising.
This complexity leads to trajectory instability and mode collapse, especially under tight budgets (low IPC). Instead of capturing diverse intra-class features, synthetic samples often collapse into generic class averages. PGFM addresses this by swapping out diffusion for flow matching, aiming for a cleaner, faster, and more stable generative paradigm.
Methods
PGFM shifts the generative distillation paradigm to Flow Matching using a pretrained Gaussian Mixture Flow Matching (GMFlow) backbone. To keep the computation light and perceptually aligned, the entire process operates within the compact latent space of a frozen Variational Autoencoder (VAE).
The core framework introduces several novel mechanisms to guide the flow trajectories without destroying image quality:
- Per-Class Mode Discovery: The authors apply K-means++ clustering to the latent representations of the real dataset to discover distinct class prototypes ($\mu_{y,k}$), which act as target modes for synthesis.
- Path-Guided Control: The standard ODE velocity field is augmented with a lightweight prototype guidance term to steer trajectories reliably toward their assigned prototypes.
- Early-Stopping Gate: Guidance is active only during the initial phase of sampling ($t \le s_{end}$). In the later stages, the unguided base flow takes over to recover fine-grained details.
- Adaptive Trust Region: A time-dependent trust region bounds the guidance strength relative to the model's natural velocity field, preventing the guidance force from dominating and steering the trajectory off the data manifold.
- Warm Start: The initial noise vector is slightly biased toward the assigned prototype, ensuring the trajectory enters the correct mode basin right from the start.
Datasets
The authors evaluate PGFM on standard high-resolution ($256 \times 256$) image classification benchmarks:
- ImageNette: A high-quality 10-class subset of ImageNet.
- ImageIDC: A standard benchmark for dataset distillation evaluation.
- ImageNet100: A 100-class subset of ImageNet.
- ImageNet-1K: The full, standard 1,000-class ImageNet dataset.
No new datasets or benchmarks were introduced in this work.
Key Insights and Ideas
- Flow Matching is Inherently Better for Distillation: Remarkably, even without any guidance, pure flow matching sampling outperforms strong diffusion-based distillation baselines at low IPC. This indicates that deterministic ODE trajectories naturally produce cleaner, more "trainable" synthetic latents than stochastic diffusion paths.
- Less is More with Guidance: Overly aggressive guidance over-regularizes trajectories, pulling samples too hard toward cluster centers and resulting in blurry or noisy images. Bounding the guidance strength and turning it off early is essential for preserving fine-grained details.
- Warm Starting Unlocks Mode Coverage: Biasing the initial noise vector slightly toward the target prototype is the single most critical factor for achieving high mode coverage, allowing the model to reliably hit diverse cluster centers.
Key Results
- State-of-the-Art Accuracy: On ImageNette (IPC=10), PGFM achieves $63.0\%$ accuracy on a ConvNet-6 backbone, outperforming the strong diffusion baseline $\text{MGD}^3$ ($58.5\%$). On the harder ImageNet100 benchmark (IPC=10), PGFM beats $\text{MGD}^3$ by up to $+2.7$ points.
- Massive Efficiency Gains: PGFM operates at just 2.27 TFLOPs per image, delivering a 10.5× efficiency gain over MiniMaxDiff (23.73 TFLOPs) and a 7.6× speedup over $\text{MGD}^3$ in synthesis efficiency.
- Superior Diversity: PGFM achieves a 78% prototype hit rate (mode coverage) on ImageNette, compared to only 30% for $\text{MGD}^3$ and 10% for unguided flow matching.
Limitations and Future Work
- Generator Dependency: PGFM acts as a lightweight control layer on top of a frozen generator; its performance is fundamentally bounded by the quality and class coverage of the underlying pretrained GMFlow model and VAE.
- Hyperparameter Sensitivity: The method introduces several hyperparameters (such as path strength $\lambda$, early-stop time $s_{end}$, and initialization bias $\eta_{init}$) that currently require manual tuning based on dataset scale and class count.
- Heuristic Prototypes: Prototype discovery relies on simple K-means clustering in latent space, which may be suboptimal for highly fine-grained or long-tailed datasets.
- Indirect Optimization: The current control mechanism is prototype-centric and does not explicitly optimize downstream training objectives (such as matching gradients or loss dynamics). The authors suggest integrating proxy training signals into flow guidance as a promising future direction.
Summary updated