arXiv:2610.08717cs.CVOct 2026

Manuscript Offprint

arXiv:2610.08717

Co-Evolving Paths and Flows via Path-Flow Alignment

Zeyu Michael Li, William Xingxu Chen, Xiang Cheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 × 256 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.

1 Introduction

Flow matching learns a generative ODE through a supervised regression problem: sample a source point and a data point, interpolate between them, and train a velocity field to match the tangent of that interpolation. This view underlies flow matching and stochastic interpolants [11, 2, 1], and scales to modern image backbones such as SiT [13]. In most large-scale image models this interpolation is fixed in advance, often as the linear path

γlin(t;x0,x1)=(1−t)x0+tx1.\gamma_{\mathrm{l i n}}(t;x_{0},x_{1})=(1-t)x_{0}+t x_{1}.

The interpolating path is not a passive implementation detail. It determines both the states on which the model is trained and the vector targets it is asked to predict. Prior work has improved flow matching by changing endpoint couplings, straightening trajectories, using metric geometry, or learning curved paths [12, 19, 15, 8, 17]. We ask a complementary question:

What makes a path good, and can we learn it jointly with the flow?

A natural answer is to use the flow-matching objective itself as a self-supervising signal for both the path and the flow – a good path should make the flow-matching regression problem easier. Motivated by this, we propose path–flow alignment: we parameterize a path network γψ\gamma_{\psi}, and jointly train the path network and the flow network on the same path–flow alignment loss. We illustrate how learning the interpolation path changes the trajectories of the resulting flow in a toy example (Figure 1).

∗^{*}These authors contributed equally to this work.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Learned flow trajectories

Figure

Standard and unregularized flows

Standard FM ρ=1\rho = 1

Figure

Figure 1: Learned ODE trajectories in a toy mixture example. Top: standard flow matching, path–flow alignment without stochastic regularization ( ρ=1\rho = 1), and with stochastic regularization ( ρt=1−t\rho_t = 1 - t), shown at three times. Bottom: standard and unregularized trajectories overlaid. All methods start from the same source samples. Appendix F.4 gives further details.

For any fixed learned path, we verify that this remains a valid flow-matching problem. Empirically, we observe that this approach quickly improves the flow-matching loss. However, the generation quality soon begins to degrade even as flow-matching loss continues to improve.

We call this path overfitting. In our sweeps, such overfitting is consistently accompanied by entropy collapse of intermediate marginals – intuitively, the path network γψ\gamma_{\psi} is routing most of the flow through a series of low-entropy bottlenecks. This proves our first answer to be incomplete: a good path should not only reduce flow-matching loss, but do so while avoiding entropy collapse.

Motivated by this diagnosis, we introduce a simple regularization scheme that applies a Gaussian perturbation to the input of the path network. Theoretically, we show that, under the independent endpoint coupling used here, this regularization establishes an entropy floor on the stochastic training-path marginals. Empirically, we show that this stochastic-regularized path–flow alignment effectively improves the generation quality on the challenging image generation tasks. We also show that the same path–flow alignment template extends beyond standard flow matching by applying it to model-guidance training [18]. Overall, our results demonstrate the promise of joint training of path and flow networks, assuming proper regularization.

References (34)