State Augmented Flows

Dwij Mehta, Arvind Renganathan, Vipin KumarNeurIPS 2026

TL;DR

Generative flow models turn random noise into crisp images by following smooth paths, but when training paths cross in space, the neural network gets confused and curves its trajectories—slowing down generation. State Augmented Flows (SAF) fixes this traffic jam by building temporary "overpasses": lifting the paths into extra, temporary dimensions filled with random noise that shrinks to zero by the end of the journey. It’s a remarkably simple trick that yields much sharper images in just a handful of computational steps, adding less than 2% extra parameters.

What Problem Does This Paper Address?

Imagine standing at a four-way intersection, blindfolded to where cars came from, trying to guess where a car right in front of you is going next. If half the cars passing through that exact spot are heading north and half are heading east, your best statistical guess is "northeast"—driving straight into a lamppost.

This is the central headache of Flow Matching (a popular cousin of diffusion models). During training, we draw straight lines between random Gaussian noise ($x_0$) and real images ($x_1$), teaching a neural network to predict the velocity vector at any intermediate point $(x_t, t)$. Ideally, straight paths mean we can generate images at test time in very few steps—measured as NFEs (Number of Function Evaluations, or forward passes through the network).

However, because noise and data are paired up without a master traffic controller, two completely different trajectories often pass through nearly the exact same intermediate state $(x_t, t)$—what the authors call a projection collision. Forced to minimize squared error on a finite budget, a smooth neural network averages those conflicting velocities. The result? Curved, meandering paths at generation time that require dozens or hundreds of slow integration steps to follow accurately.

Methods

Previous work tried to untangle these paths by changing how noise and data are paired (e.g., Optimal Transport) or building complex hierarchies of differential equations. SAF leaves the data paths and pairings completely untouched, and instead changes the space the network sees.

  1. Temporary Extra Dimensions: Alongside the standard data path $x_t$, SAF attaches an auxiliary variable $z_t$ of dimension $d_z$. At $t=0$, $z_0$ is drawn from standard Gaussian noise—completely independent of the image.
  2. Vanishing Schedule: As time progresses from $0$ to $1$, $z_t$ decays deterministically to zero via $z_t = (1 - t)z_0$. By the end of the trajectory ($t=1$), the auxiliary coordinates collapse to a point mass at zero ($z_1 = 0$) and are simply discarded.
  3. Joint Prediction: A single neural network takes the concatenated state $y_t = (x_t, z_t)$ and predicts both the data velocity and the auxiliary velocity, trained with a standard squared-error loss weighted by $\lambda_z$ on the auxiliary part.
Training State Augmented Flows

At generation time, you sample both $x_0$ and $z_0$, step forward through the ODE together, and throw away $z_1$ at the finish line.

Datasets

No new large-scale benchmarks are introduced; the authors evaluate on standard flow-matching testbeds:

  • Synthetic 2D tasks: Six geometric transport setups (e.g., moons, 8-Gaussians to moons, 4corners rotate90) to directly measure path straightness.
  • Image Generation: MNIST, CIFAR-10, and ImageNet-32 for unconditional image synthesis.

Key Insights and Ideas

  • Purely Geometric Overpasses (A Finite-Capacity Effect): Wait—if $z_0$ is purely random noise independent of the target image, how does it help? Mathematically, at infinite model capacity and infinite data, it wouldn't change the optimal predictor! Its magic lies in how real, finite neural networks generalize locally. Two colliding data points $x_t^i \approx x_t^j$ get separated in the lifted space by distance $\propto \sqrt{d_z}$, preventing the smooth network from blurring their conflicting velocity labels together.
  • More Dimensions Isn't Always Better: Because $z_t$ must shrink to zero at $t=1$, its ability to separate trajectories fades right near the finish line. Adding too many auxiliary channels causes the network to over-rely on disappearing context, hurting final image quality.
Figure 2: FID degradation from the best dz on CIFAR- 10 as a function of the augmented dimension dz, for a fixed training setup.
  • One Trained Model, Many Samplers: Once trained, you don't actually have to integrate the network's predicted $z$ velocity at test time. You can force $z_t$ to follow the exact analytic line $(1-t)z_0$, or even inject fresh noise $\mathcal{N}(0, (1-t)^2 I)$ at every single step—turning a deterministic ODE into a stochastic sampler on the fly!
  • Orthogonal to Existing Fixes: Because SAF only alters the state representation, it stacks seamlessly with coupling methods like Minibatch Optimal Transport (SAF-OT).

Key Results

  • Straighter 2D Paths: Across 6 synthetic tasks and 5 step budgets, SAF reduced trajectory curvature in 29 of 30 settings, cutting straightness error by 7.84% at NFE = 2.
  • Big Wins at Low Step Counts: Measured by FID (Fréchet Inception Distance; lower means more realistic images), SAF shines brightest when compute is tight. On ImageNet-32 at NFE = 5, SAF slashes FID from 69.23 (Rectified Flow baseline) down to 45.00—a >35% improvement—while also beating the heavier Hierarchical Rectified Flow (HRF2, 48.93 FID) despite HRF2 using ~25% more parameters (SAF adds <2%).
FID vs NFE across MNIST, CIFAR-10, and ImageNet-32
  • Stacking with Optimal Transport: Combining SAF with Optimal Transport (SAF-OT) beat standard OT across every dataset and step budget—for example, dropping ImageNet-32 FID at NFE = 500 from 9.75 to 6.40 (~34.3% reduction).

Limitations and Future Work

  • Diminishing Returns at High NFE on Smaller Datasets: At generous compute budgets (NFE $\ge 50$) on MNIST and CIFAR-10, Hierarchical Rectified Flow (HRF2) still achieves lower FID than standalone SAF.
  • Hyperparameter Sensitivity: Optimal auxiliary dimension $d_z$, initial noise variance, and the best test-time $z_t$ evolution rule vary across datasets rather than following one universal recipe.
  • Simplest Possible Instantiation: This paper only tests independent Gaussian noise with a linear decay. Future directions include learning how to lift the state, making $z_t$ depend on trajectory history (non-Markovian dynamics), combining SAF directly with HRF, and scaling up to high-resolution latent diffusion/DiT architectures, video, and audio.

Summary updated

Abstract

Flow matching learns continuous-time transports from a simple source distribution to a target data distribution by training a velocity field on intermediate states along interpolating trajectories. However, because the model observes only the projected data-space state $(x_t,t)$, different transport trajectories can induce conflicting velocity directions at nearby intermediate states, leading to curved transport paths that limit the fidelity of low-NFE sampling. To address this limitation, we propose \emph{State Augmented Flows} (SAF), a lightweight framework that lifts flow matching into a transient augmented state space. SAF transports an augmented state $(x_t,z_t)$, where auxiliary coordinates provide additional contextual information during transport while vanishing at the terminal time. This enlarges the state observed by the velocity model without changing the final sample space, and is compatible with existing coupling strategies and flow-matching architectures. Across MNIST, CIFAR-10, and ImageNet-32, SAF consistently improves over the rectified-flow baseline, with the largest gains in the low-NFE regime. These results suggest that augmenting the transported state provides a new and complementary mechanism for improving flow-based generative modeling.
BibTeX
@inproceedings{mehta2026state,
  author = {Dwij Mehta and Arvind Renganathan and Vipin Kumar},
  title = {{State Augmented Flows}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=s0ZcT4SvLA},
}
Figure