The Generation Phases of Flow Matching: a Denoising Perspective

Anne Gagneux, Ségolène Martin, Rémi Gribonval, Mathurin Massias · DOI

Abstract

Flow Matching (FM) has emerged as a powerful framework for generative modeling, yet the internal dynamics of the generation process remain poorly understood. This paper demystifies FM by reframing it as a time-dependent denoising process. By introducing a "Denoising Toolkit" and analyzing the model's response to controlled perturbations, the authors identify distinct generative phases. They demonstrate that while early stages determine global structure, an intermediate phase is most critical for final sample quality. Furthermore, they show that the inductive bias of neural networks toward "smooth" velocity fields is essential for generalization, preventing the perfect memorization predicted by optimal transport theory.

Introduction

While Flow Matching and Diffusion models have achieved state-of-the-art results in image synthesis, they are often treated as "black boxes." A fundamental paradox exists: the mathematical "optimal" solution to the flow matching objective leads to perfect memorization of the training set. However, trained models generalize remarkably well. This paper investigates when and how these models make creative decisions during the generation timeline and why they avoid the pitfalls of memorization.

Methods: The Denoising Perspective

The authors bridge the gap between Flow Matching and Denoising through several key innovations:

The Denoising Toolkit

They prove a formal equivalence between the velocity $v(x_t, t)$ in Flow Matching and a denoiser $D_t(x_t)$ at any given time step $t$. This allows the use of standard denoising metrics, such as Peak Signal-to-Noise Ratio (PSNR), to evaluate the "generative health" of a model throughout the sampling process.

Flow Matching as a denoising process, mapping noisy states $x_t$ to predicted clean images $\hat{x}_1$.

Residual Parametrization ($C_{I+NN}$)

Standard models often predict the clean image $x_1$ directly. The authors propose a residual parametrization where the model learns a "correction" to the current noisy state. This enforces a beneficial boundary condition: as $t \to 1$, the model naturally tends toward an identity mapping, reducing artifacts in the final steps.

Key Insights: Dynamical Phases of Generation

The study reveals that the generative process is not uniform but consists of distinct phases characterized by different sensitivities to error.

The "Smoothness" Advantage

Jacobian analysis shows that trained neural networks fail to capture the high-complexity "spikes" required for perfect memorization. Instead, they learn a smooth velocity field. This "failure" is a crucial inductive bias that enables generalization.

Drift vs. Noise and the Critical Intermediate Phase

By injecting "drift" (low-frequency shifts) and "noise" (high-frequency patterns) at different intervals, the authors mapped the model's sensitivity:

  • Early Phase ($t < 0.3$): Highly sensitive to drift. Small errors here can fundamentally change the image's subject (e.g., changing a cat to a dog).
  • Late Phase ($t > 0.8$): Sensitive to high-frequency noise, affecting texture and sharpness but not global structure.
  • Intermediate Phase ($t \in [0.4, 0.8]$): This is the "critical window" where errors have the largest impact on the Fréchet Inception Distance (FID). Accuracy in this phase is paramount for overall sample quality.
Sensitivity of the generation process to perturbations (drift and noise) across different time intervals.

Key Results

  • Superior Parametrization: The residual form ($C_{I+NN}$) consistently outperformed standard architectures, achieving an FID of ~3.90 vs ~4.89 on CIFAR-10.
  • Denoising as a Proxy: A strong correlation was found between a model's PSNR (denoising capability) and its FID (generation quality). Models that are better denoisers at all time steps almost always produce higher-quality samples.
  • Loss Weighting: Standard FM loss, which emphasizes later time steps, surprisingly improves denoising performance even at early, high-noise stages compared to unweighted denoising losses.

Conclusion

By viewing Flow Matching through the lens of denoising, this work provides a temporal map of image generation. The discovery of the critical intermediate phase and the role of velocity field smoothness offers new directions for regularizing and optimizing generative models. Future work will explore if these phases persist across non-Gaussian noise distributions and different probability paths.

Summary updated

BibTeX
@misc{gagneux2025generation,
  author = {Anne Gagneux and Ségolène 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