The generation phases of Flow Matching: a denoising perspective

Anne Gagneux, Ségolène Tiffany Martin, Rémi Gribonval, Mathurin Massias · Submission to ICLR 2026 · Rejected

TL;DR

By reformulating Flow Matching (FM) through the lens of time-dependent denoising, this paper establishes a direct link between denoising accuracy, velocity field regularity, and generative performance. Through controlled perturbations and localized regularizations, the authors reveal that early generation phases determine sample trajectory and identity (macro-structure), while intermediate and late phases govern sample quality and fine detail.

What Problem Does This Paper Address?

Flow Matching generates data by numerically integrating an Ordinary Differential Equation (ODE) that maps a standard Gaussian noise prior to a target data distribution. Theoretically, the exact empirical minimizer on finite training data admits a closed-form solution; however, running an ODE with this exact velocity simply memorizes the training set.

This raises fundamental questions:

  • Why do neural network approximations generalize rather than memorize?
  • Is a good generative model simply a good denoiser across all noise levels?
  • At which temporal stages do errors alter sample identity (drift) versus degrade sample quality (FID)?

Methods

The paper builds on the mathematical equivalence between the optimal velocity field $v^\star(x_t, t)$ and the Minimum Mean Square Error (MMSE) denoiser $D^\star_t(x_t) = \mathbb{E}[x_1 \mid x_t, t]$, via the relation: $$D_t(x_t) = x_t + (1 - t)v(x_t, t) \iff v(x_t, t) = \frac{D_t(x_t) - x_t}{1 - t}$$

Using this duality, the authors introduce a denoising toolkit to probe the generative process:

  • Loss Weightings: Comparing standard FM weighting ($w_t^{FM} = (1-t)^{-2}$), unweighted MSE ($w_t^{den} = 1$), classical denoising ($w_t^{classic} = t^{-2}$), SNR weighting ($w_t = t^2/(1-t)^2$), and localized mid-trajectory weightings ($w_t^{mid-t^*} = (t^* - t)^{-2}$).
  • Parametrizations: Comparing direct network estimation ($\mathcal{C}_{NN}: D(x,t) = \mathcal{N}_\theta(x,t)$) against residual parameterization ($\mathcal{C}_{I+NN}: D(x,t) = x + (1-t)\mathcal{N}_\theta(x,t)$), which inherently enforces the identity $D_1(x) = x$ at $t=1$.
  • Controlled Perturbations: Injecting frequency-calibrated perturbations (constant shifts, checkerboard patterns of varying patch sizes, and low-pass filtered noise) at distinct time intervals $[t_{min}, t_{max}]$, calibrated to induce an identical 10% drop in denoising PSNR.
  • Jacobian Regularization: Penalizing the spectral norm $\|\nabla_x v(x_t, t)\|_2$ along ODE trajectories over targeted intervals (e.g., early $[0.1, 0.3]$ vs. intermediate $[0.4, 0.8]$) to test the importance of velocity smoothness.

Datasets

The authors benchmark their methods on standard image generation datasets:

  • CIFAR-10 ($32 \times 32$)
  • CelebA ($64 \times 64$ and $128 \times 128$)
  • TinyImageNet ($64 \times 64$, 200 classes)

Note: No new datasets were introduced; standard generative benchmarks were used.

Key Insights and Ideas

  • Residual Bias is Crucial: The residual formulation ($\mathcal{C}_{I+NN}$) consistently outperforms the plain parameterization ($\mathcal{C}_{NN}$) across all losses and accelerates training convergence. Enforcing $D_1 = \text{Id}$ acts as an inductive bias that prevents late-stage error propagation.
  • Temporal Asymmetry of Errors (Drift vs. Noise):
  • Early perturbations ($t \in [0.0, 0.3]$): Low-frequency perturbations cause global shifts in the generated samples (changing global color or even object class) with large sample distances, yet Fréchet Inception Distance (FID) remains relatively undamaged.
  • Late perturbations ($t \in [0.6, 0.9]$): High-frequency perturbations keep the trajectory close to the original sample in $\ell_2$ space, but destroy fine textures, causing severe FID degradation.
  • Neural Smoothing Enables Generalization: The closed-form target velocity has a sharp peak in its Jacobian spectral norm near $t \approx 0.2$ where trajectories rapidly split toward individual training samples. Neural networks fail to reproduce this sharp peak and instead learn a much smoother velocity field. This smoothing allows trajectories to drift away from exact training instances, directly promoting generalization.
  • The Intermediate Phase Matters Most for Fidelity: While theoretical splitting occurs early, generation fidelity in learned networks heavily depends on the intermediate phase ($t \in [0.3, 0.8]$). Penalizing the Jacobian spectral norm or neglecting denoising accuracy during this window causes significant generation failure.

Key Results

  • Generation Metrics (CIFAR-10):
  • Standard FM ($\mathcal{L}_{FM}, \mathcal{C}_{I+NN}$) achieves an FID of 3.90 (PSNR 37.47 dB at $t=0.95$).
  • Plain unweighted denoising ($\mathcal{L}_{den}, \mathcal{C}_{I+NN}$) drops to FID 10.29, while classical denoising ($\mathcal{L}_{classic}, \mathcal{C}_{I+NN}$) degrades drastically to 116.18.
  • SNR-based weighting yields an improved FID of 3.71.
  • Jacobian Regularization:
  • Penalizing the Jacobian in the early phase ($\mathcal{R}_{[0.1, 0.3]}$) preserves generation quality (FID 6.47), modifying sample appearance without creating artifacts.
  • Penalizing the Jacobian during intermediate phases ($\mathcal{R}_{[0.3, 0.6]}$ and $\mathcal{R}_{[0.6, 0.9]}$) impairs generation, driving FID up to 24.18 and 29.58.
  • Inverse Problems: In plug-and-play inpainting (PnP-Flow on CelebA-64), model reconstruction performance strictly mirrors generation and denoising rankings.
  • Late-stage Denoiser Replacement: Stopping integration at $t=0.95$ and completing generation with an off-the-shelf external denoiser (GS-DRUNet) does not bridge the gap between poor models and the FM baseline, demonstrating that generation discrepancies stem from earlier stages.

Limitations and Future Work

  • Coupling Scope: The analysis assumes standard Gaussian priors ($p_0 = \mathcal{N}(0, I)$) and product couplings. Non-Gaussian sources or optimal transport flow matching variants remain unexamined.
  • Resolution Scale: Experiments are primarily restricted to lower-resolution datasets (up to $128 \times 128$).
  • Future Directions: The authors identify gradient-step denoisers as a natural extension for architectural exploration and plan to release their trained model toolbox to facilitate further probing of generative dynamics beyond standard benchmark metrics.

Summary updated

BibTeX
@misc{gagneux2025generation,
  author = {Anne Gagneux and Ségolène Tiffany Martin and Rémi Gribonval and Mathurin Massias},
  title = {{The generation phases of Flow Matching: a denoising perspective}},
  year = {2025},
  eprint = {2510.24830},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.24830},
}
Figure