# Preconditioned Flow Matching

*Shadab Ahamed, Eshed Gal, Md Shahriar Rahim Siddiqui, Simon Ghyselincks, Moshe Eliasof, Eldad Haber*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153969) · [Open on the map](../papers.html#p153969)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Flow Matching](../pgroup/582.md) · Type: new method · Keywords: flow matching, preconditioning, ill-conditioning, image generation, Gaussian processes

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Flow Matching and Diffusion › Improved Flow Matching; [Optimization & Algorithms](../areas/optimization.md) › Optimal Transport and Sampling › Wasserstein Gradient Flows

## Summary
Preconditioned Flow Matching improves the conditioning of flow matching by transforming the target distribution into a more isotropic representation, leading to better convergence and higher-quality generated samples.

## Explained to a 5-year-old
Flow matching is a way to teach a computer how to turn random noise into pictures step by step. Sometimes the pictures have some directions that are very stretched, like a thin pancake, which makes learning slow. The researchers noticed this makes the learning get stuck on the thin parts. They added a trick to first make the pictures more round and balanced before learning the steps. This helps the computer draw clearer pictures faster.

## Explained to a 5-year-old, longer
Flow matching is a method that helps a computer turn random noise into realistic pictures by moving the noise along a smooth path. Imagine you have a blob of paint that is stretched unevenly, like a long thin ribbon, and you want to learn how to move it. The computer learns a rule that tells it how to change each tiny piece of the noise at each step. When the blob is very stretched in some directions, the computer learns quickly in those directions but very slowly in the thin ones. This slow learning makes the final pictures less sharp and can waste a lot of time. The researchers looked at why this happens and found a math formula that shows the problem gets worse when the blob is not round. They also tested this idea on simple made-up data and saw the theory matched what they observed. To fix it, they added a step before learning that reshapes the blob so it becomes more like a sphere. This reshaping makes the learning process more balanced, so the computer can improve all directions at once. After learning, they turn the reshaped blob back to its original shape so the pictures look natural. They tried this on simple test cases, on the MNIST handwritten digits, and on large high-resolution images. The new method produced clearer images faster and passed standard tests of image quality better than before.

## For a technical reader
The paper observes that flow matching, which learns to transform noise into data, suffers when the intermediate data distributions have highly uneven variance, causing slow learning along low-variance directions. They prove that this ill-conditioning leads to convergence rates that depend on the condition number of the covariance matrix, both for full-batch and stochastic gradient descent. To address this, they introduce a preconditioning step that maps the target distribution to a more isotropic space, trains the flow there, and then maps samples back. Experiments on synthetic Gaussians, MNIST, and high-resolution images show that this reshaping improves training diagnostics, sample quality metrics (FID, MMD, precision, recall), and overall generation performance. The gains are shown to come from better geometry rather than simply adding more parameters, making the approach both effective and efficient for large-scale image synthesis.

## Problem
Flow matching learns vector fields by regressing stochastic velocity targets along intermediate distributions. When these intermediate distributions have highly anisotropic covariance, gradient-based training converges slowly along low-variance directions, leading to suboptimal performance.

## Method
The approach transforms the target distribution into a more isotropic representation using a preconditioner, trains the flow matching in this transformed space, and maps generated samples back via the inverse transformation. This reshaping improves the conditioning of the intermediate flow paths, facilitating more balanced gradient updates.

## Results
The approach yields better path-conditioning, improved low-eigenvalue recovery, and higher FID, MMD, precision, and recall scores compared to standard flow matching, with ablations confirming that gains stem from geometry rather than extra parameters.

## Contributions
The paper identifies an ill-conditioning bottleneck in flow matching and proposes a preconditioning framework that reshapes intermediate distributions to improve optimization and generation quality. It also provides theoretical analysis linking excess risk to covariance conditioning and extends results to Gaussian mixtures.

## Research questions this paper is counted under

- [How can we detect and mitigate training pathologies that limit flow matching performance?](../q/816.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153969)
