Rectified flow turns endpoint pairs into a supervised velocity problem, then uses an ODE to form a new deterministic coupling. The first training paths are straight but generally incompatible with a single-valued causal velocity. Rectification preserves their time marginals while changing how endpoints are paired. Reflow repeats this construction with the model's own endpoint pairs to reduce discretization cost. Endpoint distillation is a separate final optimization.
Noise-to-image generation and image-domain transfer can both be written as a map between two distributions. The source need not be Gaussian; it may be another empirical domain. The coupling is part of the problem, because identical marginal distributions allow many endpoint correspondences. An inexpensive straight coupling can be valuable even when it does not minimize a specific transport cost or preserve semantic identity automatically.
Draw a coupled endpoint pair and a uniform time, linearly interpolate the state, and predict the endpoint difference. The least-squares minimizer is the conditional expectation of that difference given the state and time. Inference then solves the ODE using only this state-time velocity. It does not have access to the desired data endpoint. The difference between anticipating training paths and causal inference dynamics is central.
中
一次训练样本由端点对 (X0,X1) 和均匀时间 t 组成。输入状态是 Xt=(1−t)X0+tX1,标签是 X1−X0。端点可以来自任意耦合;实际缺少配对数据时,第一轮通常独立采样。平方误差的理想最优解,是当前状态与时间下端点差的条件期望。
A well-posed ODE assigns one velocity to a spacetime point. Random interpolation lines can ask for conflicting velocities there. Conditional averaging produces a single velocity and alters particle identities while preserving aggregate mass transport. Non-crossing is a spacetime statement under existence and uniqueness assumptions. It is not a ban on spatial self-overlap across different times, nor a proof that the estimated neural field has perfect endpoint accuracy.
The key invariant is the distribution at each individual time. Test the random interpolation with a smooth compactly supported function. Conditioning its time derivative on the current state yields the same weak continuity equation as the rectified ODE. With a unique solution this identifies the marginals. It does not identify the joint law over several times; consequently the endpoint coupling can become deterministic even when the original one was random.
中
论文证明的是对每个 t 都有 Law(Zt)=Law(Xt)。用紧支撑光滑测试函数 h,先写出 dtdE[h(Xt)],再对当前位置取条件期望,得到由 vX 驱动的弱连续性方程。模型流满足同一个方程与初始条件,在适当唯一性条件下,两者的单时刻分布相同。
Convex cost reduction follows from two different averages. First, the endpoint displacement is the time integral of the ODE velocity, so convexity bounds its cost by average instantaneous cost. Second, each velocity is an average over compatible endpoint displacements, so another Jensen inequality bounds that cost by the original coupling. Marginal preservation links the two stages. The conclusion concerns all convex displacement costs, under exact regression and rectifiability.
Generate endpoint pairs with a sufficiently accurate teacher solver, then apply the same interpolation regression to those paired endpoints. This is reflow: the training objective has the same form, but the joint distribution of its endpoints changes. Reusing independent data pairs would merely repeat first-stage training. The teacher's cost and approximation error become part of the pipeline; repeated reflow is not free and can accumulate estimation bias.
Geometric straightness alone is insufficient for exact one-step Euler integration; speed must also be constant along a trajectory. The paper measures the variance of instantaneous velocity around the endpoint displacement. A zero value identifies constant-speed straight paths. Its iterative guarantee is a best-iterate or summed nonnegative-error result of order one over the number of reflows, not a finite-network claim that every individual trajectory improves at every iteration.
A fixed point of rectification is a straight coupling. A coupling optimal for a strictly convex displacement cost must be straight under the stated assumptions, because any reduction would contradict optimality. The reverse implication fails in higher dimensions: different costs need not share one optimizer. In one dimension, deterministic monotonicity links straightness to the common optimal coupling. Low-dimensional toy evidence must not be promoted to a universal multidimensional theorem.
The regression can use any differentiable interpolation and its time derivative. Marginal preservation survives this generalization, while linear-path convex-cost and straightening guarantees do not automatically survive. Diffusion probability-flow ODEs fit into this view through Gaussian interpolation schedules. Changing time parameterization can redistribute speed without changing a geometric trajectory; making a curve constant-speed does not make it a straight line.
Endpoint distillation learns the teacher's terminal displacement at initial time. It aims to approximate a particular teacher map directly. Reflow instead fits a velocity over newly interpolated endpoint pairs and generally changes the coupling. The one-step numbers in the table separate undistilled and distilled models, so reporting only a reflow count without the distillation state is insufficient.
SOURCE pp.18–22 · §4 Related Works and Discussion · S012
EN
The paper argues that stable supervised training, rather than stochastic dynamics alone, explains much of diffusion models' practical appeal. ODEs give deterministic endpoint maps and convenient reversibility. Their equivalence to an SDE concerns one-time marginals, not temporal correlations or physical stochastic behavior. A generative ODE therefore need not replace an SDE when the target itself is a stochastic process.
Read the CIFAR-10 table as a tradeoff, not a monotonic quality ladder. Reflow improves the low-step regime while fully solved FID becomes worse in this experiment. Distillation is decisive for the one-step result. The best reported one-step FID of 4.85 belongs to distilled 2-RF with recall 0.50; recall 0.51 belongs to distilled 3-RF with FID 5.21. Architecture-matched comparisons should be kept apart from separately reported GAN results.
SOURCE Liu et al., arXiv:2209.03003v1, p.24, Figure 8
第 5.2 节:高分辨率、轨迹外推与图像编辑
SOURCE pp.25–27 · §5.2; Figures 10–12 · S014
EN
High-resolution examples use 256-square image datasets. A useful diagnostic extrapolates the terminal state from every intermediate state; a constant extrapolation along a trajectory suggests near-straight dynamics. The editing example maps a stitched image backward, modifies its Gaussian latent, then maps forward. Increasing latent density is a heuristic for this application, not a proof that the edited image preserves identity or that the most probable latent is the best image.
The practical style-transfer objective weights velocity errors through the Jacobian of a learned feature map. It is therefore not simply the unweighted canonical transport loss. Experiments use AFHQ, MetFace and CelebA-HQ domain pairs, an 80/20 train/test split and 512-square images. ODE reversibility motivates cycle consistency, but finite-step integration and one-step approximation need not be exactly invertible.
Domain adaptation is performed in pretrained feature space, not by feeding every benchmark image directly through the image-generation model. The flow uses 100 uniform steps at inference. OfficeHome improves over the listed CORAL baseline, whereas DomainNet is slightly below it within the reported variation. The conclusion is competitive performance, not an across-the-board numerical win.
The ideal theory assumes rectifiability and exact conditional-mean estimation. Practical training, teacher integration and student integration add different errors. The preprint also contains notation slips: the squared-cost identity must use squared norms, the nonlinear conditional expectation must condition on a spatial state, and reverse-time sampling must reverse the time argument as well as the velocity sign. The companion states consistent mathematical forms rather than copying these slips.
SOURCE pp.4–8; 22–29 · Reader engineering analysis, not a source experiment · S018
EN
For action reflow, save the observation condition with each teacher endpoint pair; mixing pairs from incompatible conditions changes the target problem. Evaluate the teacher and one-step student under the same observation and noise seed before closed-loop deployment. A low distributional transport cost is not a low physical action cost. For event-based tracking, keep event timestamps and synthetic flow time in distinct types and units so an algorithmic interpolation cannot silently replace a physical velocity estimate.
SOURCE pp.37–38 · Appendix A, Algorithms 2–4 · S019
EN
The one-step experiment includes a perceptual-loss choice beyond the theoretical squared-error illustration. CIFAR-10 reflow first creates four million teacher endpoint pairs, then fine-tunes the next model for 300,000 steps. For one-step distillation, the authors replace L2 with LPIPS because it performs better empirically. These costs and loss changes belong with the reported fast inference result.