Co-Evolving Paths and Flows via Path-Flow Alignment

Zeyu Michael Li, William Xingxu Chen, Xiang ChengNeurIPS 2026

TL;DR

Generative flow models usually learn to transform pure noise into crisp images by following rigid, pre-drawn straight lines—like forcing commuters to walk through walls instead of taking sidewalks. This paper lets the training paths and the generative model co-evolve so the paths curve naturally around obstacles, making the learning task much easier. Along the way, the authors uncover a sneaky failure mode where paths "cheat" by funneling data through tight bottlenecks, and fix it with a clever noise-hiding trick that boosts image quality for free at inference time.

What Problem Does This Paper Address?

In modern generative modeling, flow matching is a rising star. The setup is wonderfully simple: pick a random noise vector ($x_0$), pick a real image ($x_1$), draw a path connecting them over time $t \in [0, 1]$, and train a neural network (the "flow" or velocity field) to predict the tangent along that path. At generation time, you start at noise and ride that learned velocity field to a brand-new image.

Almost all large-scale image generators fix this path in advance as a straight line: $(1-t)x_0 + tx_1$. Yet that path isn't a passive detail; it dictates both where the model practices and what velocities it tries to predict. Straight lines often cross in messy ways, forcing the network to average conflicting directions. Instead of hand-designing better curves or couplings, the authors ask: What makes a path good, and can we learn it jointly with the flow?

Methods

The authors introduce Path–Flow Alignment, an alternating training dance between two networks:

  1. Standard Flow Network ($v_\phi$): Predicts the velocity field, just like in standard flow matching.
  2. New Residual Path Network ($R_\psi$): Bends the straight-line interpolation in the middle while strictly locking the endpoints at $t=0$ and $t=1$ via a $t(1-t)$ envelope: $\gamma_\psi(t) = (1-t)x_0 + tx_1 + t(1-t)R_\psi$.

Both networks optimize the exact same regression objective in alternating phases. First, freeze the flow and bend the path so its tangents align with what the flow currently predicts (plus a small kinetic-energy penalty $\beta$ to keep paths from getting wildly long). Next, freeze the new path and train the flow to match it.

However, naive co-evolution hits a wall. To prevent the path network from "cheating," the authors add stochastic source perturbation: they inject fresh Gaussian noise into the $x_0$ input seen only by the residual network $R_\psi$ (controlled by a correlation schedule $\rho_t < 1$), while keeping the true $x_0$ intact on the main linear backbone. Crucially, the path network is thrown away after training—leaving the inference architecture and sampling speed completely untouched.

Datasets

  • Class-conditional ImageNet-$256 \times 256$: The primary benchmark used to fine-tune and evaluate Scalable Interpolant Transformer (SiT) and FlowDCN backbones.
  • Toy setup: Used qualitatively to visualize trajectory curvature (detailed in the appendix).
  • No new benchmark datasets are introduced.

Key Insights and Ideas

  • Path Overfitting (When lower loss means worse images): Naively aligning paths and flows drives the training loss steadily down, yet image quality (measured by FID, where lower is better) improves briefly and then falls off a cliff. Having a mathematically valid endpoint-preserving path and a low regression loss is not enough for good generation!
Figure 2: FID across alternating training cycles on the SiT-S model.
  • Low-Entropy Bottlenecks: Why does path overfitting happen? By measuring the divergence of the velocity field (which equals the rate of change of probability entropy), the authors spot a massive positive spike right before $t=1$ in overfit models. Intuitively, the path network makes local regression artificially easy by funneling diverse trajectories through a hyper-concentrated, low-entropy "bottleneck" mid-flight, forcing the sampler to violently expand probability mass at the very end to reconstruct the target distribution.
Figure 4: Cumulative normalized divergence. Values below zero indicate an entropy bottleneck relative to the generated endpoint distribution.
  • Hiding Information Creates an Entropy Floor: Because $R_\psi$ only sees a noisy version of $x_0$, the hidden remainder of $x_0$ acts like independent Gaussian smoothing on the intermediate probability distributions. Under independent endpoint coupling, the authors prove this establishes a hard mathematical floor on intermediate entropy—physically barring the path from collapsing into a tight bottleneck.

Key Results

Used as a compute-matched post-training procedure (3 cycles of 3k path steps + 4k flow steps vs. 12k baseline flow steps) on ImageNet-$256\times256$:

  • Consistent gains across all SiT scales: Improves 50k-FID on SiT-S ($9.022 \to \mathbf{8.359}$, a $7.3\%$ gain), SiT-B ($5.057 \to \mathbf{4.415}$, $12.7\%$ gain), SiT-L ($3.390 \to \mathbf{2.742}$, $19.1\%$ gain), and SiT-XL ($2.091 \to \mathbf{1.825}$, $12.7\%$ gain—where standard fine-tuning completely plateaued).
  • Seamless extension to Model Guidance (MG): Plugging in a guidance-folded velocity target yields massive improvements over MG fine-tuning baselines, slashing FID from $7.940 \to \mathbf{5.585}$ ($29.7\%$ gain) on SiT-B-MG and $1.494 \to \mathbf{1.322}$ ($11.5\%$ gain) on SiT-XL-MG.
  • Zero inference overhead: Parameter counts, sampler choices, and generation costs remain identical to the baseline models.

Limitations and Future Work

  • Theory-practice gap on learned samplers: The theoretical entropy guarantees apply strictly to the training path marginals (and assume independent noise-data coupling, rather than optimal transport couplings). Because matching velocities in $L^2$ doesn't directly bound velocity derivatives (divergence), the theory doesn't strictly guarantee that an imperfectly trained flow network inherits the entropy floor—though empirically it suppresses bottlenecks well.
  • Correlation vs. causation: While low-entropy bottlenecks strongly accompany path overfitting, the theory does not prove a strict causal link between entropy collapse and degraded image quality.
  • Training from scratch: Experiments focus on post-training/fine-tuning pretrained checkpoints; extending joint path–flow training to train large generators from scratch remains an open direction.

Summary updated

Abstract

We study path--flow alignment as a unified training objective for flow matching. Instead of fixing the interpolation path and learning only the velocity field, we jointly train an endpoint-preserving path network and a flow network using the same alignment loss: the flow learns to match the path velocity, and the path learns to align its velocity to the current flow. Although every fixed learned path defines a valid flow-matching objective, the alignment loss alone is not a reliable criterion for path learning. We identify *path overfitting*, a failure mode in which the alignment loss decreases while sample quality worsens. We find that this failure is associated with low-entropy bottlenecks in the induced probability path, where the learned path routes samples through overly concentrated intermediate marginals. Motivated by this diagnosis, we introduce a stochastic path regularizer that hides part of the source information from the path network while preserving exact endpoints. The resulting regularization gives an explicit entropy floor for the stochastic training-path marginals and empirically suppresses the bottleneck in the learned sampler, making joint path--flow training effective. On ImageNet-$256\times256$ with SiT backbones, our method consistently improves FID across model scales, extends to model-guidance training, and leaves the inference-time architecture and sampler unchanged. Code is available at https://github.com/lizeyu090312/traj_opt_paper.
BibTeX
@inproceedings{li2026co,
  author = {Zeyu Michael Li and William Xingxu Chen and Xiang Cheng},
  title = {{Co-Evolving Paths and Flows via Path-Flow Alignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=KyEvA048lp},
}
Figure