Skip to content

Menu

WorksComputer Science

Trajectory-Regularized Distribution Distillation for One-Step Generation

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_fnb6g737. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Distilling flow matching models for one-step generation generally follows two paradigms. Trajectory alignment supervises the student with the teacher's probability flow ODE, but its performance degrades under very small sampling budgets. Distribution matching directly optimizes the generated distribution, but estimating its reverse Kullback-Leibler gradient typically requires a separate network to track the evolving student score. We propose trajectory-regularized distribution distillation (TRD), which combines distribution-level and trajectory-level supervision through a momentum-mixture policy predicted in a single student forward pass. This policy serves simultaneously as a one-step generator, an estimator of the student's marginal velocity that removes the need for a second trainable network in distribution matching, and a closed-form time-dependent velocity field supervised along the teacher ODE trajectory. Experiments on SANA-1.6B and Stable Diffusion 3.5 show that TRD outperforms representative consistency and distribution matching baselines in generation quality and training efficiency for both one-step and few-step generation, with a trade-off in sample diversity.

Introduction

Diffusion and flow matching models support high-resolution image synthesis [9, 36, 38, 53]. Deterministic samplers for score-based diffusion and flow matching models numerically integrate a generative ODE, often requiring tens of network evaluations [17, 22, 47]. Distillation seeks to reduce this cost to one or two evaluations [40, 48, 57]; we organize prior approaches around two primary supervision objects.

Trajectory-oriented methods reduce long generative paths through recursive teacher-step compression [40], consistency along solution curves [18, 26, 29, 48], path straightening [23, 24], or interval-level policies [4, 55]. Related direct-training objectives learn long transitions through improved consistency training, shortcuts or average velocities without requiring a fixed teacher [10, 11, 46]. For linear-shortcut distillation, Yang et al. [55] attribute quality loss at two to four evaluations to approximating a teacher path whose tangent direction changes over time.

Distribution matching instead aligns the student and teacher output laws through score differences [30, 56, 57] or a Fisher-divergence objective [59]. It avoids prescribing a one-to-one teacher sampling path. The cited score-difference and Fisher methods typically train a second network to track the evolving student score; inaccurate tracking can destabilize training [56], while the tracker adds memory and update overhead that becomes substantial at larger scales [6, 19].

TRD uses one policy-valued student output as a shared representation for generation, distribution matching, and trajectory alignment. It reuses the momentum-mixture parameterization of ArcFlow for closed-form curved generation [55], and additionally uses the same output for student marginal velocity estimation and trajectory-grid prediction. Self flow matching, distribution matching, trajectory alignment, and distribution preservation jointly train this field. The controlled estimator ablation in Table 7 shows that sharing improves overall generation quality and teacher-distribution agreement relative to a DMD-style separate fake network, while avoiding its auxiliary optimizer state and gradient memory.

Table 7 Shared self-estimation against a separately trained fake velocity network for one-step distillation from SANA-1.6B.

EstimatorExtra modelsFD-DINOv2 ↓Pick ↑HPS ↑ImgRwd ↑Aesth ↑CLIP ↑Recall ↑Diversity ↑
Shared self-estimator (default)070.340.19150.22230.38886.116928.36470.31620.3204
Separate fake velocity network1127.860.18610.2137-0.02935.950527.76030.17720.3337

Table 7.

Our contributions are summarized as follows:

  • We use the momentum-mixture policy as a shared student representation for closed-form one-step generation, student marginal velocity estimation, and trajectory-grid velocity prediction.

  • We formulate TRD to combine distribution-level and trajectory-level supervision through a shared self-estimator, removing the need for a separately trained fake model and its auxiliary optimizer state and gradient memory. Distribution preservation further stabilizes updates to the evolving student distribution.

  • We establish ideal-state correctness for the combined objective, show that trajectory supervision of the shared start-time output rescales the reverse Kullback-Leibler update while preserving its direction, and provide finite-error bounds with complete proofs in § 4.5 and Appendix § 10.

  • We evaluate TRD on SANA-1.6B [53] and Stable Diffusion 3.5 Medium, whose architecture follows the multimodal rectified-flow transformer family of Esser et al. [9], through matched-NFE comparisons and controlled ablations that isolate the shared estimator, the objective terms and the policy capacity.

Related work

Trajectory-oriented methods. Trajectory-oriented methods learn long transitions tied to sampling paths. Endpoint, progressive and bootstrapped distillation enlarge deterministic teacher transitions [12, 28, 40], while rectified flow and reflow straighten their couplings [23, 24]. Consistency and flow-map objectives enforce agreement across ODE points or intervals [1, 18, 26, 29, 39, 46, 48]. Moment matching distils conditional moments [41]; MeanFlow and shortcut models directly learn average velocities or long transitions [10, 11]; and policy-based methods distil interval dynamics [4, 55]. TRD adds distribution matching to pointwise teacher-trajectory supervision through one policy.

Distribution distillation with a learned student-score model. Distribution methods compare noised generated and target laws. VSD uses target and learned variational scores [33, 51], and Diff-Instruct integrates divergences over time [30]. DMD combines a score-difference update with teacher-output regression [57]; DMD2 removes the regression loss, stabilizes fake-score training with a two-time-scale update rule and adds adversarial training [56]. SiD and Guided SiD use Fisher-type objectives [59, 60], whereas SIM generalizes to a broader family of score-based divergences [31]. Each of these methods trains an auxiliary model to follow the evolving student score. TRD estimates the corresponding marginal velocity with its generation policy.

Hybrid and fake-score-free alternatives. Hybrid methods combine teacher-following with distributional or adversarial alignment. ADD, LADD, Diffusion2GAN, Flash Diffusion and SANA-Sprint mix score, paired-output or consistency supervision with discriminators or distribution losses [3, 5, 16, 42, 43]. SiDA adds adversarial supervision to score identity matching [61], ADM uses adversarial distribution matching [27], and TDM matches trajectories as distributions [32]. Other methods avoid a separately trained fake-score network through energy distance, contrastive energy estimation, endpoint pseudo-velocities, self-adversarial twin trajectories or network self-evaluation [6, 19, 45, 58, 62]. TRD instead couples pointwise teacher velocities with reverse Kullback-Leibler matching through one policy, without a separate score model or discriminator.

Preliminaries

Flow matching. We use the convention that noise sits at t=1t = 1 and data at t=0t = 0. For a data sample x0x_0 and ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0, I), the linear path is

xt=(1−t)x0+tϵ,t∈[0,1].(1)x_t = (1 - t)x_0 + t\epsilon,\qquad t \in[0, 1]. \tag*{(1)}

Its conditional velocity is ϵ−x0\epsilon- x_0. A teacher trained by conditional flow matching [22, 23] predicts the marginal velocity vT(x,t,c)v_T(x,t,c) under a condition cc, and sampling integrates x˙=vT(x,t,c)\dot{x} = v_T(x,t,c) from t=1t = 1 to t=0t = 0. Conditioning on cc is implicit in distribution notation. The core objective below uses the conditional teacher field directly; Appendix § 11 gives the classifier-free-guidance extension.

Distribution matching distillation. Let GθG_\theta be a student generator with trainable parameters θ\theta. Given a condition cc and initial noise x1∼N(0,I)x_1 \sim\mathcal{N}(0, I), it produces the endpoint x^0=Gθ(x1,c)\hat{x}_0 = G_\theta(x_1,c). Draw t∼ρt \sim\rho on [tmin⁡,tmax⁡]⊂(0,1)[t_{\min},t_{\max}] \subset(0,1) and independent noise ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0,I) to form

x^t=(1−t)x^0+tϵ.(2)\hat{x}_t = (1-t)\hat{x}_0 + t\epsilon. \tag*{(2)}

We use qθ,tq_{\theta,t} and pT,tp_{T,t} for the noised student and teacher laws, including their endpoint laws at t=0t = 0. Following integral divergence and distribution matching distillation updates [30, 57], we consider

JD(θ)=Ec,t∼ρ[wD(t)DKL(qθ,t∥pT,t)],wD(t)≥0.(3)\mathcal{J}_{D}(\theta) = \mathbb{E}_{c,t\sim\rho}\left[w_D(t)D_{\mathrm{KL}}(q_{\theta,t}\Vert p_{T,t})\right],\qquad w_D(t) \ge0. \tag*{(3)}

Writing sqθ,t(x):=∇xlog⁡qθ,t(x)s_{q_{\theta,t}}(x) := \nabla_x \log q_{\theta,t}(x) and spT,t(x):=∇xlog⁡pT,t(x)s_{p_{T,t}}(x) := \nabla_x \log p_{T,t}(x), its gradient under the regularity conditions in Appendix § 10 is

∇θJD=E[wD(t)(Jθx^t)T(sqθ,t(x^t)−spT,t(x^t))].(4)\nabla_\theta\mathcal{J}_D = \mathbb{E}\left[w_D(t)(J_\theta\hat{x}_t)^\mathsf{T}\left(s_{q_{\theta,t}}(\hat{x}_t)-s_{p_{T,t}}(\hat{x}_t)\right)\right]. \tag*{(4)}

The teacher supplies the target score, but the generator does not automatically supply the score of its own evolving output law. DMD therefore trains an auxiliary velocity model vϕv_\phi on generated samples with the flow-matching target ϵ−x^0\epsilon-\hat{x}_0, while the frozen teacher provides vTv_T. On the linear path equation (1), DMD replaces the score difference in equation (4) by the velocity-form plug-in

sqθ,t(x)−spT,t(x)⟶−1−tt(vϕ(x,t,c)−vT(x,t,c)).(5)s_{q_{\theta,t}}(x)-s_{p_{T,t}}(x)\longrightarrow-\frac{1-t}{t}\left(v_\phi(x,t,c)-v_T(x,t,c)\right). \tag*{(5)}

The generator is held fixed when vϕv_\phi is trained. We set λ(t)=wD(t)(1−t)/t\lambda(t)=w_D(t)(1-t)/t below; the additional regression and adversarial terms of DMD and DMD2 are discussed in § 2.

ArcFlow. ArcFlow replaces a constant-velocity shortcut with a momentum-mixture velocity parameterization that represents velocity evolution over an entire sampling interval [55]. Its backbone feeds three output projections that produce KK base velocities, softmax-normalized gate weights and positive momentum factors, which we call momentum rates below. One network evaluation at a fixed input (xt,t,c)(x_t,t,c) returns the momentum-mixture parameters

Pθ(xt,t,c)={vk,πk,γk}k=1K,πk>0,∑kπk=1,γk>0,\mathcal{P}_{\theta}(x_t,t,c)=\{v_k,\pi_k,\gamma_k\}_{k=1}^{K},\qquad\pi_k>0,\qquad\sum_{k}\pi_k=1,\qquad\gamma_k>0,
vt,sθ:=v~θ(s;Pθ(xt,t,c))=∑k=1Kπkvkγk1−s,0≤s≤t.(6)v_{t,s}^{\theta}:=\widetilde{v}_{\theta}(s;\mathcal{P}_{\theta}(x_t,t,c))=\sum_{k=1}^{K}\pi_kv_k\gamma_k^{1-s},\qquad0\leq s\leq t. \tag*{(6)}

In vt,sθv_{t,s}^{\theta}, tt denotes the time of the input state xtx_t, while s∈[0,t]s\in[0,t] denotes the time at which the resulting velocity is evaluated. The starting state and condition are implicit in vt,sθv_{t,s}^{\theta}. With the predicted coefficients fixed, s↦vt,sθs\mapsto v_{t,s}^{\theta} defines the student’s velocity parameterization over the interval [0,t][0,t]. Its exact integral defines the endpoint generator

Gθ(xt,t,c)=xt−∫0tvt,sθ ds=xt−∑k=1Kπkvkγk1−t∫0tγku du.G_{\theta}(x_t,t,c)=x_t-\int_{0}^{t}v_{t,s}^{\theta}\,\mathrm{d}s=x_t-\sum_{k=1}^{K}\pi_kv_k\gamma_k^{1-t}\int_{0}^{t}\gamma_k^{u}\,\mathrm{d}u.

We abbreviate Gθ(x1,1,c)G_{\theta}(x_1,1,c) as Gθ(x1,c)G_{\theta}(x_1,c), and equation (16) in Appendix § 10.§ 1 states the rollout to an arbitrary earlier time.

Trajectory-regularized distribution distillation

Trajectory-regularized distribution distillation (TRD) combines distribution matching and teacher-trajectory alignment through a shared ArcFlow parameterization. Distribution matching typically trains an auxiliary model to track the marginal velocity of the student’s generated distribution; because an ArcFlow student already outputs a time-dependent velocity, TRD trains the student itself to provide this estimate. We first combine the two signals while retaining the auxiliary model (§ 4.1), and then replace it with self flow matching (§ 4.2).

Distribution matching with trajectory regularization

Distribution matching with an auxiliary estimator. We first apply the conventional DMD construction of § 3 to the ArcFlow generator GθG_{\theta}, retaining vϕv_{\phi} as the auxiliary velocity model. Using the velocity-form substitution in equation (5), the gradient in equation (4) is implemented by

Ldm(θ;ϕ)=E[⟨sg⁡[−λ(t)(vϕ(x^t,t,c)−vT(x^t,t,c))],x^t⟩].(7)\mathcal{L}_{\mathrm{dm}}(\theta;\phi)=\mathbb{E}\left[\left\langle\operatorname{sg}\left[-\lambda(t)\left(v_{\phi}(\hat{x}_t,t,c)-v_T(\hat{x}_t,t,c)\right)\right],\hat{x}_t\right\rangle\right]. \tag*{(7)}

We write sg⁡[⋅]\operatorname{sg}[\cdot] for stop-gradient. Because the bracketed velocity difference is detached, automatic differentiation acts only through the path x^t→x^0→θ\hat{x}_t\to\hat{x}_0\to\theta. The resulting gradient agrees with equation (4) when vϕv_{\phi} and vTv_T recover their corresponding marginal velocities; the scalar value of the surrogate is not the KL divergence itself.

Trajectory alignment from the re-noised state. The state x^t\hat{x}_t is obtained by adding independent noise to the generated endpoint x^0\hat{x}_0; it need not lie on the original generation trajectory. Given a decreasing timestep grid S={t,s1,…,sM}\mathcal{S}=\{t,s_1,\ldots,s_M\} with t>s1>⋯>sM≥0t>s_1>\cdots>s_M\geq0, let x^t,sT\hat{x}_{t,s}^{T} be the teacher state reached at time ss, starting from x^t\hat{x}_t at tt. For consecutive grid times s>s′s>s', explicit Euler gives

x^t,tT=x^t,vt,sT=vT(x^t,sT,s,c), s∈S,x^t,s′T=x^t,sT−(s−s′)vt,sT.(8)\hat{x}_{t,t}^{T}=\hat{x}_t,\qquad v_{t,s}^{T}=v_T(\hat{x}_{t,s}^{T},s,c),\ s\in\mathcal{S},\qquad\hat{x}_{t,s'}^{T}=\hat{x}_{t,s}^{T}-(s-s')v_{t,s}^{T}. \tag*{(8)}

The entire teacher rollout is computed without gradients. The student is evaluated once at (sg⁡[x^t],t,c)(\operatorname{sg}[\hat{x}_t],t,c), giving the coefficients of equation (6). Thus, evaluating vt,sθv_{t,s}^{\theta} at every grid time requires no additional student evaluations. The trajectory alignment loss is defined as

Ltr(θ)=E[1M+1∑s∈St∥vt,sθ−sg⁡[vt,sT]∥22].(9)\mathcal{L}_{\mathrm{tr}}(\theta)=\mathbb{E}\left[\frac{1}{M+1}\sum_{s\in S_t}\left\|v_{t,s}^{\theta}-\operatorname{sg}\left[v_{t,s}^{T}\right]\right\|_{2}^{2}\right]. \tag*{(9)}

This loss teaches the student’s velocity parameterization to represent the teacher’s velocity field over the whole grid. It compares velocities, but not student endpoints or student states along the grid. Proposition 2 and Theorem 3 in Appendix § 10 give the corresponding expressivity and finite-grid error results.

Replacing the auxiliary model with self flow matching

We observe that the velocity parameterization already produces a start-time instantaneous velocity vt,tθv_{t,t}^{\theta}, which can estimate the marginal velocity of the student’s generated law. We train this existing output to estimate the marginal velocity through a self flow matching loss, removing the separate auxiliary model:

Lfm(θ)=E[∥vt,tθ−(ϵ−sg⁡[x^0])∥22].(10)\mathcal{L}_{\mathrm{fm}}(\theta)=\mathbb{E}\left[\left\|v_{t,t}^{\theta}-\left(\epsilon-\operatorname{sg}\left[\hat{x}_{0}\right]\right)\right\|_{2}^{2}\right]. \tag*{(10)}

Here the student is evaluated at the detached state sg⁡[x^t]\operatorname{sg}[\hat{x}_{t}], as in trajectory alignment; gradients update the parameters producing vt,tθv_{t,t}^{\theta}, while the input x^t\hat{x}_{t} and endpoint target x^0\hat{x}_{0} remain detached. For a fixed student law, the minimizer of this regression is E[ϵ−x^0∣x^t,t,c]\mathbb{E}[\epsilon-\hat{x}_{0}\mid\hat{x}_{t},t,c], the student’s marginal velocity at x^t\hat{x}_{t}; Proposition 3 gives the formal statement.

Replacing vϕv_{\phi} by this shared estimate gives the TRD distribution update:

Ldm(θ)=E[⟨sg⁡[−λ(t)(vt,tθ−vt,tT)],x^t⟩].(11)\mathcal{L}_{\mathrm{dm}}(\theta)=\mathbb{E}\left[\left\langle\operatorname{sg}\left[-\lambda(t)\left(v_{t,t}^{\theta}-v_{t,t}^{T}\right)\right],\hat{x}_{t}\right\rangle\right]. \tag*{(11)}

Here ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle sums over all non-batch axes. Compared with the surrogate in equation (7), equation (11) replaces only the auxiliary estimate vϕ(x^t,t,c)v_{\phi}(\hat{x}_{t},t,c) with the shared prediction vt,tθv_{t,t}^{\theta}; the stop-gradient construction and endpoint gradient path remain unchanged. When vt,tθv_{t,t}^{\theta} and vt,tTv_{t,t}^{T} recover the corresponding marginal velocities, Theorem 1 shows that its automatic-differentiation gradient equals ∇θJD\nabla_{\theta}J_{\mathrm{D}}. Distribution matching and self flow matching share the start-time prediction vt,tθv_{t,t}^{\theta}, while trajectory alignment evaluates the same velocity parameterization over s∈Sts\in S_t.

Interaction with trajectory alignment. Because t∈Stt\in S_t, equation (9) pulls vt,tθv_{t,t}^{\theta} toward the teacher velocity while equation (10) pulls it toward the student marginal velocity, and equation (11) uses their difference. Proposition 4 in Appendix § 10.§ 2 shows that, when the start-time output is otherwise unconstrained, the joint minimizer is a convex combination of the two targets. The resulting update is the exact reverse-KL update scaled by a factor α≥λfm/(λfm+λtr)\alpha\ge\lambda_{\mathrm{fm}}/(\lambda_{\mathrm{fm}}+\lambda_{\mathrm{tr}}), which exceeds 0.9 for the weights in Table 4; trajectory alignment therefore reduces the distribution step size and leaves its direction and zeros unchanged.

ItemSANA-1.6BSD3.5 Medium
Teacher and reference generation
CheckpointEfficient-Large-Model/Sana_1600M_1024px_BF16_diffusersstabilityai/stable-diffusion-3.5-medium
Reference scheduler and stepscheckpoint scheduler; 20 stepsFlowMatch Euler scheduler; 40 steps
Reference guidance scale4.54.5
Conditioning and image resolutionfrozen Gemma2 text encoder; 1024 × 1024three frozen checkpoint text encoders; 1024 × 1024

Table 4. Configuration of the TRD image experiments.

Stabilization and overall objective

Distribution preservation. We stabilize distribution matching with a moving-average copy. Let θˉ\bar{\theta} be the exponential moving average of θ\theta at rate μ∈[0,1)\mu\in[0,1). Distribution preservation matches paired endpoints generated from the same initial noise:

Ldp(θ)=Ex1,c[∥Gθ(x1,c)−sg⁡[Gθˉ(x1,c)]∥22].(12)\mathcal{L}_{\mathrm{dp}}(\theta)=\mathbb{E}_{x_{1},c}\left[\left\|G_{\theta}(x_{1},c)-\operatorname{sg}\left[G_{\bar{\theta}}(x_{1},c)\right]\right\|_{2}^{2}\right]. \tag*{(12)}

This loss keeps the current generator map close to its moving-average reference and vanishes when θ=θˉ\theta=\bar{\theta}. It constrains the original generated endpoint x^0\hat{x}_{0}, not an endpoint of the rollout from x^t\hat{x}_{t}.

Overall objective. Trajectory alignment follows the teacher path, while distribution alignment combines reverse Kullback-Leibler matching, self flow matching and distribution preservation.

LTRD(θ)=λtrLtr(θ)+λdmLdm(θ)+λfmLfm(θ)+λdpLdp(θ)(13)\mathcal{L}_{\mathrm{TRD}}(\theta)=\lambda_{\mathrm{tr}}\mathcal{L}_{\mathrm{tr}}(\theta)+\lambda_{\mathrm{dm}}\mathcal{L}_{\mathrm{dm}}(\theta)+\lambda_{\mathrm{fm}}\mathcal{L}_{\mathrm{fm}}(\theta)+\lambda_{\mathrm{dp}}\mathcal{L}_{\mathrm{dp}}(\theta) \tag*{(13)}

One ArcFlow parameterization serves three roles: its analytic integral generates endpoints, its start-time velocity estimates the student’s marginal velocity, and its velocities at earlier times provide predictions for trajectory alignment. The student is initialized from the teacher. Its final LL transformer blocks are copied into KK momentum branches, where LL denotes the duplicated depth and each branch predicts (vk,πk,γk)(v_k,\pi_k,\gamma_k) in equation (6). Only these branches and the low-rank backbone adapters are trained [15].

Training procedure

Algorithm 1 summarizes one TRD training iteration. We first generate and re-noise a student endpoint, evaluate the student at the detached noised state to obtain its velocity parameterization, and roll out the frozen teacher from the same state. This requires two student forward passes: one for generation and one for the shared velocity predictions. The teacher trajectory and moving-average endpoint define the remaining targets. All four losses are formed before one joint student update, after which the moving average is updated.

Algorithm 1 One TRD training iteration for one-step distillation

Require: student θ\theta, moving average θˉ\bar{\theta} with rate μ\mu, frozen teacher vTv_T, time distribution ρ\rho on [tmin⁡,tmax⁡][t_{\min},t_{\max}], grid St={t,s1,…,sM}S_t=\{t,s_1,\ldots,s_M\} with t>s1>⋯>sM≥0t>s_1>\cdots>s_M\ge0, loss weights λtr,λdm,λfm,λdp\lambda_{\mathrm{tr}},\lambda_{\mathrm{dm}},\lambda_{\mathrm{fm}},\lambda_{\mathrm{dp}} of equation (13) and time weight λ(t)\lambda(t)

  1. sample cc, initial noise x1∼N(0,I)\boldsymbol{x}_1\sim\mathcal{N}(0,I), t∼ρt\sim\rho and independent ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0,I)

  2. generate: evaluate the student at (x1,1,c)(\boldsymbol{x}_1,1,c) and integrate the output velocity to x^0=Gθ(x1,c)\hat{\boldsymbol{x}}_0=G_\theta(\boldsymbol{x}_1,c)

  3. re-noise: form x^t=(1−t)x^0+tϵ\hat{\boldsymbol{x}}_t=(1-t)\hat{\boldsymbol{x}}_0+t\epsilon, retaining its gradient path to θ\theta

  4. predict velocities: evaluate the student at (sg⁡[x^t],t,c)(\operatorname{sg}[\hat{\boldsymbol{x}}_t],t,c); obtain {vt,sθ:s∈St}\{v^{\theta}_{t,s}:s\in S_t\} from equation (6), without further student evaluations

  5. teacher rollout, without gradients: initialize x^t,tT=x^t\hat{\boldsymbol{x}}^{T}_{t,t}=\hat{\boldsymbol{x}}_t; for decreasing s∈Sts\in S_t, evaluate vt,sTv^{T}_{t,s} and, if a next grid time s′s' exists, advance to x^t,s′T\hat{\boldsymbol{x}}^{T}_{t,s'} by equation (8)

  6. reference endpoint, without gradients: evaluate Gθˉ(x1,c)G_{\bar{\theta}}(\boldsymbol{x}_1,c) on the same initial noise

  7. form the losses: use the grid velocities for equation (9), vt,tθv^{\theta}_{t,t} and ϵ−sg⁡[x^0]\epsilon-\operatorname{sg}[\hat{\boldsymbol{x}}_0] for equation (10), the detached start-time velocity difference and x^t\hat{\boldsymbol{x}}_t for equation (11), and the paired endpoints for equation (12)

  8. update: backpropagate equation (13), take one optimizer step on θ\theta, then set θˉ←μθˉ+(1−μ)θ\bar{\theta}\leftarrow\mu\bar{\theta}+(1-\mu)\theta

Few-step extension. Inspired by DMD2’s backward simulation [56], few-step TRD uses random-length consistency sampling. Fix 1=a0>⋯>aR=01=a_0>\cdots>a_R=0 and sample r∼Unif⁡{1,…,R}r\sim\operatorname{Unif}\{1,\ldots,R\}. Starting from xa0∼N(0,I)\boldsymbol{x}_{a_0}\sim\mathcal{N}(0,I), run r−1r-1 detached stages that predict an endpoint and independently re-noise it to the next preset time; only x^0=Gθ(xar−1,ar−1,c)\hat{\boldsymbol{x}}_0=G_\theta(\boldsymbol{x}_{a_{r-1}},a_{r-1},c) retains gradients. Then sample t∼ρrt\sim\rho_r with supp⁡(ρr)⊆[ar,ar−1]\operatorname{supp}(\rho_r)\subseteq[a_r,a_{r-1}], form equation (2) and reuse the four losses. Distribution preservation compares student and moving-average endpoints from the same xar−1\boldsymbol{x}_{a_{r-1}}. The stage times aia_i differ from the trajectory-supervision times s∈Sts\in S_t; Algorithm 2 in Appendix § 12 gives full details.

Training target analysis

The four terms of equation (13) supervise different objects, so we check that they admit a common ideal target. Assume exact expectations, an exact unguided teacher, λ(t)>0\lambda(t)>0 on a set of positive ρ\rho-measure, and a student expressive enough to represent the teacher endpoint law, its own marginal velocity and the teacher trajectory.

Let vqθ,tv_{q_\theta,t} and vpT,tv_{p_T,t} denote the true marginal velocity fields of qθ,tq_{\theta,t} and pT,tp_{T,t}, respectively.

Proposition 1 (Shared ideal target). Under the assumptions above, the following statements hold: (i) the population minimizer of equation (10) is the student marginal velocity vqθ,tv_{q_\theta,t}; (ii) with that velocity and the exact

teacher velocity in place, the automatic-differentiation gradient of equation (11) equals the gradient of

JD(θ)=Ec,t∼ρ[wD(t)DKL(qθ,t∥pT,t)],wD(t)=tλ(t)1−t≥0,\mathcal{J}_{\mathrm{D}}(\theta)=\mathbb{E}_{c,t\sim\rho}\left[w_{\mathrm{D}}(t)D_{\mathrm{KL}}(q_{\theta,t}\Vert p_{\mathrm{T},t})\right], \qquad w_{\mathrm{D}}(t)=\frac{t\lambda(t)}{1-t}\geq0,

and every global minimizer of JD\mathcal{J}_{\mathrm{D}} satisfies qθ,0=pT,0q_{\theta,0}=p_{\mathrm{T},0}; (iii) if the student attains qθ,0=pT,0q_{\theta,0}=p_{\mathrm{T},0}, predicts its own marginal velocity, and has zero continuous-time trajectory residual, and if θˉ=θ\bar{\theta}=\theta, then the expected update induced by each of the four terms in equation (13) is zero.

Proposition 1 shows that replacing the auxiliary model with self flow matching preserves the ideal distribution target and that all four expected updates share a common zero. This common zero does not make every stationary point of the shared-parameter update correct, and it does not imply global convergence. Appendix § 10 gives the regularity conditions and finite-error bounds, and Appendix § 11 treats guidance, gradient bias and local stability.

Experiments

Setup

Teachers, prompts and metrics. We distil SANA-1.6B [53] and Stable Diffusion 3.5 Medium, from the multimodal rectified-flow transformer family [9], at 1024×10241024 \times1024. Students initialize from their teachers and train only the policy heads and backbone adapters; TRD uses K=4K=4 and L=1L=1 unless stated otherwise. All runs use disjoint splits of a publicly available dataset [44], including 2,500 test prompts. We evaluate teacher-relative fidelity and coverage, diversity, preference, visual appeal and text alignment. Appendix § 12 gives the full configurations and protocols.

Baselines. Table 1 groups baselines by trajectory-oriented [11, 26, 40, 46, 48, 55] or distribution-oriented supervision [6, 19, 56, 57, 59]; TRD combines both. For comparability, we adapt the teacher-free MeanFlow and TwinFlow regimes to teacher initialization and the shared data, resolution and target-NFE protocol.

MethodNFEExtra modelsFD-DINOv2 ↓Pick ↑HPS ↑ImgRwd ↑Aesth ↑CLIP ↑Recall ↑Diversity ↑
SANA-1.6B teacher20 × 2––0.19710.23600.51446.187928.7036–0.4100
Trajectory-oriented objectives
PD10260.810.17640.1952-1.34415.670324.92260.03380.3362
CD10226.800.18140.2058-0.82085.790925.92140.05010.3181
sCD10202.580.18290.2103-0.60125.792527.01170.07210.3290
ArcFlow10193.680.18160.2078-0.47645.805726.88430.07550.3411
MeanFlow1097.210.18290.2109-0.17395.932027.15960.30310.4366
Distribution-oriented objectives
DMD11150.110.18400.2129-0.33985.848328.15670.08540.3250
DMD212112.470.18940.21920.12476.046828.19600.17400.3499
SiD11134.820.18770.2168-0.01855.981227.40550.14780.3321
FSF-DMD10128.530.18730.21970.22596.081027.91470.09530.3142
TwinFlow10130.290.18610.21390.05265.978227.54820.06000.3233
Combined trajectory and distribution objective
TRD (ours)1070.340.19150.22230.38886.116928.36470.31620.3204
Trajectory-oriented objectives
PD2091.500.18330.2128-0.39245.836926.75990.42500.4686
CD20177.650.17790.2133-0.60145.613026.04490.18000.4027
sCD20137.310.18910.21240.11285.772326.67510.36910.4254
ArcFlow20138.740.18620.20910.09196.117726.62850.28250.4715
MeanFlow2083.890.19170.21510.13886.276827.04920.49340.4287
Distribution-oriented objectives
DMD2129.050.19810.23390.49276.301928.43410.82630.3978
DMD22235.920.19750.23460.48616.298728.08490.72510.3732
SiD2147.580.19740.23250.50376.212627.80640.45270.3929
FSF-DMD2039.410.19270.23080.45846.186928.04170.33080.3877
TwinFlow2036.570.19410.22850.42736.007828.09610.40680.3640
Combined trajectory and distribution objective
TRD (ours)2028.490.19930.23530.67466.310528.43550.71510.3380

Table 1. One-step and few-step results at 1024 × 1024 for students distilled from SANA-1.6B, with the multi-step teacher as a reference. Appendix E defines the metrics and Appendix B gives the table conventions.

One-step and few-step distillation

Table 1 reports one-step and few-step distillation results for SANA-1.6B, with the multi-step teacher as an upper reference; the matched comparison on Stable Diffusion 3.5 Medium is deferred to Table 5 in Appendix § 14. Figure 5 and Figure 6 in Appendix § 14 compare one-step and few-step samples from PD, CD, MeanFlow, DMD and TRD for the two teachers. Figure 7 and Figure 8 provide larger sets of one-step TRD samples. At both NFEs, TRD leads the preference, aesthetic and text-alignment metrics and attains the lowest FD-DINOv2, and at two steps several of its preference and aesthetic scores exceed the multi-step teacher. It favors quality over diversity more strongly than DMD and related distribution-matching methods: its DINO Diversity falls behind the most diverse baselines at both NFEs, and at two steps its Recall-DINOv2 also falls behind DMD and DMD2, which cover more of the teacher manifold. Trajectory-oriented methods such as MeanFlow retain higher diversity, but lag on preference scores and Fréchet distance. Stable Diffusion 3.5 Medium shows the same pattern, except that DMD attains a slightly lower FD-DINOv2 at two steps.

Table 5 One-step and few-step results at 1024×10241024 \times1024 for students distilled from Stable Diffusion 3.5 Medium. Conventions follow Table 1.

MethodNFEExtra modelsFD-DINOv2 ↓Pick ↑HPS ↑ImgRwd ↑Aesth ↑CLIP ↑Recall ↑Diversity ↑
SD3.5-Medium teacher40×240 \times2––0.20810.24250.86846.275832.2167–0.2828
Trajectory-oriented objectives
PD10453.300.17060.1823-2.02115.024722.95820.00800.2476
CD10385.540.17370.1905-1.72675.332424.38740.01200.2194
sCD10270.780.17130.1925-1.23085.264624.84330.03610.2202
ArcFlow10293.600.17730.1964-1.47535.157223.90760.01060.2317
MeanFlow10177.270.18080.2050-0.94135.725427.15130.14790.3934
Distribution-oriented objectives
DMD11133.240.18670.2116-0.13885.486629.30450.08290.2322
DMD212117.750.18270.22440.00905.586229.41820.13550.2161
SiD11125.330.19510.21880.12535.469429.07430.09600.2330
FSF-DMD10158.720.17480.1829-1.32025.284725.02900.01380.2482
TwinFlow10137.350.18030.2128-0.20315.398928.44200.05020.2247
Combined trajectory and distribution objective
TRD (ours)1086.660.20450.24330.80006.229931.35510.10010.1904
Trajectory-oriented objectives
PD20162.170.18310.2008-1.11535.675427.77080.16300.3670
CD20161.580.18660.2171-0.42515.908228.40250.14950.3383
sCD20161.380.18250.2198-0.19375.931828.28620.14970.3293
ArcFlow20176.430.18400.2068-0.39305.374927.30550.10380.3442
MeanFlow20159.130.18150.2048-0.94715.887727.01030.24300.4534
Distribution-oriented objectives
DMD2149.120.20210.23270.61396.023731.14820.45970.2375
DMD22254.700.19880.23340.58226.009031.14440.39030.2452
SiD2153.660.19780.23440.55295.895029.97680.38870.2409
FSF-DMD2068.430.19580.21270.42855.773729.60910.25140.2212
TwinFlow2064.460.20010.23050.38675.910130.05740.38340.1962
Combined trajectory and distribution objective
TRD (ours)2049.900.20470.24350.92766.113531.34860.26390.1932

Table 5.

Qualitative comparison of PD, CD, Mean Flow, DMD and TRD at one and two steps. The figure contains sections labeled 1NFE and 2NFE, prompt columns “House with the Green Roof … Painting Oil”, “… Alice Grace”, “… Grand Canyon painted by Russell Johnson”, “… the path by Giorgio Gosti, Watercolor”, “… girl, decoration, feathers, makeup, beautiful, curls …”, and “Milky Way over snowy mountains and lake at night.”, with rows labeled TRD (ours), DMD, Mean Flow, CD, and PD.

Figure 5. Qualitative comparison of PD, CD, MeanFlow, DMD and TRD at one and two steps, distilled from SANA-1.6B.

Qualitative comparison of PD, CD, MeanFlow, DMD and TRD at one and two steps

Figure 6. Qualitative comparison of PD, CD, MeanFlow, DMD and TRD at one and two steps, distilled from Stable Diffusion 3.5 Medium.

Additional one-step TRD samples distilled from SANA-1.6B.

Figure 7. Additional one-step TRD samples distilled from SANA-1.6B.

Additional one-step TRD samples distilled from Stable Diffusion 3.5 Medium.

Figure 8. Additional one-step TRD samples distilled from Stable Diffusion 3.5 Medium.

Training cost and time-to-quality trade-offs

A practical motivation for shared self-estimation is to remove the persistent parameters, gradients and optimizer state of the auxiliary fake network used by DMD-style methods. We therefore compare the number of auxiliary networks, trainable parameters, measured peak memory, normalized per-iteration time and normalized time to a common FD-DINOv2 target. Table 2 reports these measurements for full-scale one-step training. Times are normalized to one DMD training step; Appendix § 13 accounts for the underlying operations and persistent state. TRD uses K=4K=4 momentum modes and L=1L=1 duplicated final block. The right panel of Figure 1 plots FD-DINOv2 against normalized training time.

Figure 1. Overview of TRD. Left: one student forward pass at a noised student state returns a momentum-mixture policy that supplies both the distribution matching direction of equation (11) and the trajectory-grid velocities of equation (9). Right: one-step FD-DINOv2 against normalized wall-clock training time when distilling SANA-1.6B. Appendix § 9 describes both panels.

MethodAux. netsTrainable paramsPeak mem. (GB) ↓Norm. time / iter ↓Norm. time to target ↓
MeanFlow01.6B401.22400
CD01.6B400.71400
DMD13.2B751.010000
DMD223.3B801.212000
TRD (ours)01.9B451.54500

Table 2. Measured memory and time cost of one-step distillation from SANA-1.6B under full-scale training. Appendix B defines the reported columns.

Relative to DMD and DMD2, TRD removes one or two auxiliary networks, reducing trainable parameters and measured peak memory. Teacher-trajectory supervision makes each iteration more expensive, but TRD reaches the common target in substantially less normalized time. Within DMD-style distillation, TRD therefore trades per-iteration computation for less persistent training state and faster measured time to target. MeanFlow and CD remain cheaper in these measurements, so TRD is not the lowest-cost method across all distillation families.

Dissecting the TRD design

We examine three questions about the TRD design: whether shared self-estimation improves on a separate student-velocity estimator, how the objective terms complement one another and how the capacity of the velocity parameterization affects performance. Unless stated otherwise, the comparisons use one-step SANA-1.6B distillation; Appendices E and G give the full settings and results.

Shared generation and velocity estimation. Table 7 replaces the shared velocity estimate with a separately trained DMD-style fake network under otherwise matched settings. The shared parameterization improves FD-DINOv2, preference metrics and teacher coverage, whereas the separate estimator retains slightly greater diversity. Shared self-estimation therefore provides a measured quality benefit in addition to removing the auxiliary trainable model and its associated state.

Complementary objective roles. Under matched settings, Table 6 shows that removing trajectory alignment degrades fidelity, preference and coverage while preserving similar diversity, demonstrating benefits beyond the distribution objectives. Jointly removing self flow matching and distribution matching broadly degrades performance, although this comparison does not isolate their individual effects. Removing distribution preservation collapses training, indicating that it is critical for stability in this setting.

Table 6 Contribution of the objective components in equation (13) for one-step distillation from SANA-1.6B.

SettingFD-DINOv2 ↓Pick ↑HPS ↑ImgRwd ↑Aesth ↑CLIP ↑Recall ↑Diversity ↑
w/o LtrL_{\mathrm{tr}}107.010.18800.21790.32426.040928.06890.17030.3258
w/o LfmL_{\mathrm{fm}} & LdmL_{\mathrm{dm}}564.730.16570.1821-2.09415.123420.43660.00520.1987
w/o LdpL_{\mathrm{dp}}training collapsed
full objective70.340.19150.22230.38886.116928.36470.31620.3204

Table 6.

Velocity-parameterization capacity. Table 8 varies the number of momentum modes KK and the duplicated depth LL. At L=1L = 1, increasing KK from one to two improves every reported metric, but four or eight modes reverse this trend despite the larger representational family of Proposition 2; Figure 4 rules out simple collapse of the gates and rates at t=1t = 1 but does not explain this reversal. At fixed KK, increasing LL consistently improves quality and coverage with nearly unchanged diversity. Duplicated depth therefore gives a predictable trade-off between quality and cost, whereas KK should be tuned.

Table 8 Policy capacity for one-step distillation from SANA-1.6B, varying the number of momentum modes KK and the number of duplicated final blocks LL.

SettingAdded trainable paramsFD-DINOv2 ↓Pick ↑HPS ↑ImgRwd ↑Aesth ↑CLIP ↑Recall ↑Diversity ↑
L=1,K=1L = 1, K = 15%61.410.19130.22280.40816.109628.36330.36590.3260
L=1,K=2L = 1, K = 210%53.530.19360.22360.45456.184528.36870.47440.3406
L=1,K=4L = 1, K = 420%70.340.19150.22230.38886.116928.36470.31620.3204
L=1,K=8L = 1, K = 840%72.820.19170.22200.34046.165128.31310.31480.3357
K=4,L=0K = 4, L = 0∼ 0%79.650.19090.22060.32296.098828.32100.27180.3259
K=4,L=1K = 4, L = 120%70.340.19150.22230.38886.116928.36470.31620.3204
K=4,L=2K = 4, L = 240%65.240.19210.22400.39826.125828.54330.34670.3209

Table 8.

Distributions of gate weights and momentum rates for four policy heads

Figure 4. Distributions of the gate weights πk\pi_k and momentum rates γk\gamma_k produced at t=1t = 1 by the four policy heads of a TRD checkpoint distilled from Stable Diffusion 3.5 Medium. Appendix § 9 gives the plotting conventions.

Understanding TRD’s performance gains

figure 2 examines two possible sources of TRD’s gains on final Stable Diffusion 3.5 Medium checkpoints; Appendix § 9 gives the protocol.

Student velocity estimation. DMD uses a separately trained fake velocity estimator, while TRD reads the estimate from its generation policy. The left panel shows that TRD has weaker directional agreement at high noise but becomes more accurate near the data endpoint. Because this estimate supplies the distribution-matching direction in equation (11), the low-noise advantage is consistent with TRD’s stronger one-step quality in Table 5. This diagnostic is correlational and does not establish causality.

Trajectory alignment. The right panel compares matched TRD variants with and without Ltr\mathcal{L}_{\mathrm{tr}}. Trajectory alignment lowers the discrepancy from the teacher path at every noninitial grid point, although each training grid covers only a short segment below its resampled start time (Table 4).

Conclusion

We introduced trajectory-regularized distribution distillation, whose single momentum-mixture policy supports closed-form generation, student marginal velocity estimation, and teacher-trajectory prediction without a separately trained fake model. Our analysis identifies a common ideal target for the supervision signals, shows that trajectory supervision of the shared estimator preserves the direction of the distribution update, and bounds their finite-error complementarity. Experiments on two text-to-image models support the quality benefits of this design and its efficiency relative to fake-model distribution matching, while revealing a trade-off in teacher-relative coverage and diversity. The evaluation covers two public image models, measures fidelity against teacher samples, reports no run-to-run variability and uses feature-space diversity metrics that miss some forms of conditional diversity; why training collapses without distribution preservation also remains open. Future work should test broader model families, real-data benchmarks and guidance settings.

Reproducibility statement

The method is specified by equation (13), equation (6) through equation (12), and Algorithms 1 and 2. Appendix § 12 records the teacher checkpoint identifiers, policy configuration, objective weights and schedules, trajectory grid and solver, optimizer settings, prompt split size and seed, shared image-seed schedule, metric definitions and model families. Appendix § 10 formalizes the ideal argument of § 4.5 under Assumption 1 and gives complete proofs of Propositions 2, 3, 4 and 5, Theorems 1, 2 and 3, and Corollary 1. Appendix § 11 gives the guidance extension, estimation-error analysis and convergence qualifications.

Ethics statement

TRD reduces the inference cost of pretrained text-to-image generators and requires no additional target images; the image experiments use prompts from a publicly available dataset during distillation. It therefore inherits the properties of its teachers, including any demographic or cultural bias in their training corpora and their capacity to produce misleading or harmful image content. Lowering inference cost can increase the rate at which such content is produced. The distillation objective in equation (11) is mode-seeking, so a distilled student can narrow the output distribution relative to its teacher in ways that aggregate quality metrics do not reveal. We recommend that any deployment evaluate diversity and safety on its own input distribution. The text-to-image teachers, evaluation datasets, benchmarks and metric models are publicly released and are used under their published licenses.

AI use statement

We used a large language model as a writing assistant for grammatical correction, structural revision and improving clarity in the introduction, method, experimental description, ideal-state correctness argument and appendix, and as a coding assistant for routine implementation of evaluation scripts and plotting utilities. Its mathematical role was limited to reorganizing and rephrasing existing author-provided definitions, claims and derivations. We did not use generative AI to originate research ideas, derive the method or theoretical claims, design experiments, or generate, alter or select any experimental result. All text produced with AI assistance was read and edited by at least two authors, every mathematical edit was checked against the original definitions and derivations, all code produced with AI assistance was reviewed line by line and validated against reference implementations of the corresponding metrics, and every reference was checked against the authoritative paper or technical report available for the cited work. The authors take full responsibility for the final content of this work, including its text, claims, figures, tables and released artifacts.

Appendix

Notation

Table 3 collects only the recurring method symbols. Symbols used in one proof are defined where that proof begins.

SymbolMeaning
t,s,τt, s, \tauinput, policy-evaluation and generic proof times, with noise at 1 and data at 0
x0,ϵ,xtx_0, \epsilon, x_tdata, Gaussian noise and their interpolation in equation (1)
x^0,x^t\hat{x}_0, \hat{x}_tgenerated endpoint and its noised state
c,scfgc, s_{\mathrm{cfg}}condition and classifier-free guidance scale
vT,vcfgTv^T, v^{T}_{\mathrm{cfg}}teacher velocity and its guided version
θ,θˉ\theta, \bar{\theta}student parameters and their moving average
Pθ,{vk,πk,γk}k=1K\mathcal{P}_{\theta}, \{v_k, \pi_k, \gamma_k\}_{k=1}^{K}policy and its KK momentum modes
Gθ,v~θG_{\theta}, \tilde{v}_{\theta}analytic endpoint generator and momentum-mixture velocity parameterization
qθ,t,pT,t,vqθ,t,vpT,tq_{\theta,t}, p_{T,t}, v_{q_{\theta,t}}, v_{p_{T,t}}noised laws and their marginal velocities
λtr,λdm,λfm,λdp\lambda_{\mathrm{tr}}, \lambda_{\mathrm{dm}}, \lambda_{\mathrm{fm}}, \lambda_{\mathrm{dp}}fixed loss weights in equation (13)
ρ,λ(⋅),wD(⋅)\rho, \lambda(\cdot), w_D(\cdot)time sampling and time-dependent distribution weights
ai,r,ρra_i, r, \rho_rfew-step stage times, sampled rollout length and stage-conditioned time distribution
St,x^t,s,vt,sθ,vt,sTS_t, \hat{x}_{t,s}, v^\theta_{t,s}, v^T_{t,s}trajectory grid, teacher states and student/teacher grid velocities
sg⁡[⋅]\operatorname{sg}[\cdot]stop-gradient

Table 3. Core symbols used by the method.

Figure and table conventions

Overview figure. In the left panel of Figure 1, the labeled arrows at the noised student state are the start-time velocities vt,tθv^\theta_{t,t} and vt,tTv^T_{t,t} whose difference forms the distribution matching direction of equation (11). The vertical double arrows mark the trajectory grid points at which equation (9) compares vt,sθv^\theta_{t,s} with vt,sTv^T_{t,s} for s∈Sts \in S_t, and the two dashed paths end at the student and teacher endpoint distributions. In the right panel, the time axis is logarithmic, all methods share the training settings of § 5.1, and line styles and markers identify the methods in grayscale.

Metric abbreviations and table styling. Recall abbreviates Recall-DINOv2, Diversity and DINO Div. abbreviate DINO Diversity, and Pick, HPS, ImgRwd and Aesth abbreviate PickScore, HPSv2, ImageReward and the aesthetic score. The extra-model and auxiliary-network columns count trainable parameter sets besides the student and exclude the frozen teacher. In the gray teacher reference rows, NFE is written as sampling steps times the two classifier-free-guidance branches, and FD-DINOv2 and Recall-DINOv2 are omitted because the teacher images define their reference. Within each NFE block of Table 1 and Table 5, the best and second-best student values are bolded and underlined; the teacher row does not take part in this ranking. The last column of Table 2 reports the normalized time needed to reach the FD-DINOv2 target level of the right panel of Figure 1. The upper block of Table 8 varies KK at the default LL, its lower block varies LL at the default KK, and its parameter column reports additional trainable parameters as a percentage of the teacher parameter count.

Mechanism figure. The left panel of Figure 2 compares students distilled from Stable Diffusion 3.5 Medium at checkpoints of equal training length. Each method generates one sample for each of 512 held-out test prompts with a single unguided student step, and both methods share the prompts and the noise drawn for equation (2), so the two curves are paired. At each noising time, the start-time velocity vt,tθv^\theta_{t,t} is compared by cosine distance with the sample-conditioned velocity ϵ−x^0\epsilon- \hat{x}_0, where lower values indicate stronger directional agreement. The curves cross between t=0.24t = 0.24 and t=0.22t = 0.22, after which TRD has the lower distance toward t=0t = 0. The time grid holds 51 points spaced by 0.02 from t=1t = 1 to t=0t = 0. Each curve is the median over samples, each band spans the 25th to the 75th percentile, and line styles and markers identify the methods in grayscale. The right panel compares matched one-step TRD variants with and without trajectory alignment at the same training checkpoint. For each of 512 held-out prompts, both students and the teacher start from the same noise; the analytic student paths and the teacher path are compared at the same 51 times. The teacher path uses 100 Euler evaluations with a guidance scale of 4.5, while each student uses one unguided evaluation. Each curve is the mean latent RMSE over prompts, and each band is a pointwise 95% percentile bootstrap interval over prompts from 2,000 resamples.

Figure 2. Mechanism analysis at the final checkpoint. Left: velocity cosine distance against noising time for DMD and TRD. Right: discrepancy from the teacher denoising path for TRD with and without trajectory alignment. Appendix § 9 describes both panels.

Training-loss figure. Figure 3 reports every loss after applying its objective weight. All curves are solid, and their markers identify the four objectives in grayscale.

Figure 3. TRD training loss curves for Stable Diffusion 3.5 Medium. EMA smoothing is applied for clearer visualization.

Policy-head distributions. Figure 4 uses a K=4K = 4 Stable Diffusion 3.5 Medium checkpoint without trajectory alignment. We evaluate one unguided conditional forward at t=1t = 1 for each of 512 held-out prompts, using one initial-noise sample per prompt. Gate weights and momentum rates use separate pooled vertical ranges. Every head within one panel shares the same range, and no samples are clipped or rescaled by head. Violin width represents kernel density, the thin and thick vertical segments span the 5th to 95th and 25th to 75th percentiles, and the white marker denotes the median. All gate distributions remain well above zero and the rate distributions remain separated, so neither plotted output exhibits collapse at t=1t = 1. These statistics are descriptive and do not identify training-induced specialization or per-head agreement with the teacher trajectory.

Qualitative figures. Figure 5 and Figure 6 use prompts from the held-out test split of the publicly available dataset [44], and samples for the same prompt and sampling budget share their initial noise across methods. Figure 7 and Figure 8 show additional one-step TRD samples for the two teachers.

Technical analysis and proofs

This appendix proves the statements collected in Proposition 1 and then describes what remains once the ideal assumptions are removed. The argument runs in three stages that depend on each other in this order. The first stage concerns the policy alone: one forward pass returns coefficients that define an explicit function of time, so the induced trajectory is available in closed form, and Proposition 2 records how many independent velocities such a field can carry on a finite grid. The second stage identifies what the two distribution terms optimize: Proposition 3 turns the shared student output into the marginal velocity of the current student law and converts velocities into scores, Theorem 1 uses both facts to show that the detached inner product of equation 11 differentiates to a time-averaged reverse Kullback–Leibler gradient, Proposition 4 shows that the trajectory target on the same start-time output only rescales that gradient, and Theorem 2 shows that the zeros of that divergence are exactly the students whose endpoint law is the teacher endpoint law. The third stage replaces exact quantities by errors: Theorem 3 bounds the endpoint error of the analytic rollout by the grid loss that is actually minimized, Corollary 1 adds the trajectory error and the distribution error in a single Wasserstein bound, and Proposition 5 states what distribution preservation controls. Appendix D then removes the remaining idealizations, namely the unguided teacher and exact optimization.

Conventions. All statements hold for almost every condition cc, which is suppressed unless it is averaged explicitly. The generated endpoint x^0=Gθ(x1,c)\hat{x}_0 = G_\theta(x_1,c) and its noised state x^t\hat{x}_t from equation 2 are treated as random variables with laws qθ,0q_{\theta,0} and qθ,tq_{\theta,t}, and the arguments of velocity and score fields are dropped whenever those fields are evaluated at the sampled state. For an endpoint law χ\chi and t∈(0,1)t \in(0,1), the Gaussian noising operator, the marginal velocity and the score are

X∼χ,ϵ∼N(0,I) independently,Xt=(1−t)X+tϵ,Ntχ=Law⁡(Xt),vχ,t(x)=E[ϵ−X∣Xt=x],sχ,t(x)=∇xlog⁡(Ntχ)(x).(14)X \sim\chi,\quad\epsilon\sim\mathcal{N}(0,I)\ \text{independently},\quad X_t = (1-t)X + t\epsilon,\quad\mathcal{N}_t\chi= \operatorname{Law}(X_t), \\ v_{\chi,t}(x) = \mathbb{E}[\epsilon- X \mid X_t = x],\quad s_{\chi,t}(x) = \nabla_x \log(\mathcal{N}_t\chi)(x). \tag*{(14)}

Applying equation 14 to χ=qθ,0\chi= q_{\theta,0} and χ=pT,0\chi= p_{T,0} gives the noised laws qθ,tq_{\theta,t} and pT,tp_{T,t} and the four fields vqθ,tv_{q_\theta,t}, vpT,tv_{p_T,t}, sqθ,ts_{q_\theta,t} and spT,ts_{p_T,t} used below. We write JθGθJ_\theta G_\theta for the Jacobian of the generator in θ\theta and ∥⋅∥op\lVert\cdot\rVert_{\mathrm{op}} for the operator norm.

Assumption 1 (Regularity). The following hold for almost every condition cc. (i) ρ\rho is supported in [tmin⁡,tmax⁡]⊂(0,1)[t_{\min},t_{\max}] \subset(0,1). (ii) θ↦Gθ(x1,c)\theta\mapsto G_{\theta}(x_1,c) is differentiable with E∥JθGθ∥op⁡2<∞\mathbb{E}\lVert J_{\theta}G_{\theta}\rVert_{\operatorname{op}}^2 < \infty and E∥Gθ∥2<∞\mathbb{E}\lVert G_{\theta}\rVert^2 < \infty. (iii) For every t∈(0,1)t \in(0,1) the laws qθ,tq_{\theta,t} and pT,tp_{T,t} have positive densities that are continuously differentiable in xx, and DKL(qθ,t∥pT,t)<∞D_{\mathrm{KL}}(q_{\theta,t}\lVert p_{T,t}) < \infty. (iv) Differentiation in θ\theta may be exchanged with the integrals below, and the boundary terms of the integrations by parts vanish at infinity. (v) λ(⋅)\lambda(\cdot) and tλ(t)/(1−t)t\lambda(t)/(1-t) are non-negative and ρ\rho-integrable.

Item (i) keeps the velocity-to-score conversion away from its singularity at t=0t = 0 and keeps the noised law informative about the endpoint at t=1t = 1; items (ii) to (iv) are what the gradient computation in Theorem 1 uses; item (v) makes the weighted divergence in equation (3) finite.

The policy field and its reach on a trajectory grid

The coefficients returned by one forward pass are held fixed over the interval, so the velocity in equation (6) is an explicit function of time and can be integrated in closed form. With

C(γ,Δ):=∫0Δγu du={(γΔ−1)/log⁡γ,γ≠1,Δ,γ=1,(15)C(\gamma,\Delta) := \int_{0}^{\Delta} \gamma^{u}\,\mathrm{d}u = \begin{cases} (\gamma^{\Delta}-1)/\log\gamma, & \gamma\ne1,\\ \Delta, & \gamma= 1, \end{cases} \tag*{(15)}

integrating equation (6) backward from x(t)=xtx(t)=x_t gives the state at any earlier time,

x(τ)=xt−∑k=1Kπkvkγk1−tC(γk,t−τ),τ≤t,(16)x(\tau)=x_t-\sum_{k=1}^{K}\pi_k v_k\gamma_k^{1-t}C(\gamma_k,t-\tau), \qquad\tau\le t, \tag*{(16)}

and the endpoint generator of § 3 is Gθ(xt,t,c)=x(0)G_{\theta}(x_t,t,c)=x(0). Yang et al. [55] derive equation (16), its constant-velocity limit at γk=1\gamma_k=1 and exact finite-grid interpolation with sufficiently many modes. TRD adopts the rollout and finite-grid supervision. We record the full rank statement to cover both undercomplete and overcomplete policies; TRD’s methodological change is to couple this policy with distribution matching and self velocity estimation.

Fix a start (xt,t,c)(x_t,t,c) and write the distinct grid times as St={τ0,…,τM}S_t=\{\tau_0,\ldots,\tau_M\}, where t=τ0>⋯>τM≥0t=\tau_0>\cdots>\tau_M\ge0. Collect the mode coefficients at the start into mk=πkvkγk1−t\mathbf{m}_k=\pi_kv_k\gamma_k^{1-t} and define the evaluation matrix V∈R(M+1)×K\mathbf{V}\in\mathbb{R}^{(M+1)\times K} with entries Vjk=γkt−τjV_{jk}=\gamma_k^{t-\tau_j}, so that the grid velocities of equation (9) are the linear images

vt,τjθ=v~θ(τj;Pθ(xt,t,c))=∑k=1KVjkmk,j=0,…,M.(17)v_{t,\tau_j}^{\theta}=\widetilde{v}_{\theta}(\tau_j;P_{\theta}(x_t,t,c))=\sum_{k=1}^{K}V_{jk}\mathbf{m}_k,\qquad j=0,\ldots,M. \tag*{(17)}

Proposition 2 (Grid rank of the ArcFlow policy). If the grid times are distinct and γ1,…,γK\gamma_1,\ldots,\gamma_K are positive and pairwise distinct, then rank⁡V=min⁡{M+1,K}\operatorname{rank}\mathbf{V}=\min\{M+1,K\}. In particular, K≥M+1K\ge M+1 makes equation (17) solvable for any prescribed grid velocities, and for an equally spaced grid of spacing hgridh_{\mathrm{grid}} with K=M+1K=M+1 the matrix V\mathbf{V} is a Vandermonde matrix in the values γkhgrid\gamma_k^{h_{\mathrm{grid}}}, with det⁡V=±∏p<q(γqhgrid−γphgrid)≠0\det\mathbf{V}=\pm\prod_{p<q}(\gamma_q^{h_{\mathrm{grid}}}-\gamma_p^{h_{\mathrm{grid}}})\ne0.

Proof. Write Vjk=eκkujV_{jk}=e^{\kappa_k u_j} with κk=log⁡γk\kappa_k=\log\gamma_k and uj=t−τju_j=t-\tau_j, so that both families are pairwise distinct real numbers. The proof uses one elementary fact: a function u↦∑k=1Kckeκkuu\mapsto\sum_{k=1}^{K}c_ke^{\kappa_k u} with distinct real κk\kappa_k and some ck≠0c_k\ne0 has at most K−1K-1 real zeros. This follows by induction on KK, because dividing by eκ1ue^{\kappa_1u} leaves the zeros unchanged and differentiating then removes the first term while, by Rolle’s theorem, losing at most one zero.

If K≤M+1K\le M+1 and Vc=0\mathbf{V}c=0 for some c≠0c\ne0, the function u↦∑kckeκkuu\mapsto\sum_kc_ke^{\kappa_ku} vanishes at the M+1≥KM+1\ge K distinct points uju_j, contradicting that fact, so the columns are independent and rank⁡V=K\operatorname{rank}\mathbf{V}=K. If K>M+1K>M+1 and bTV=0Tb^{\mathsf{T}}\mathbf{V}=0^{\mathsf{T}} for some b≠0b\ne0, the function κ↦∑jbjeκuj\kappa\mapsto\sum_jb_je^{\kappa u_j} has M+1M+1 terms with distinct rates uju_j and vanishes at the K>M+1K>M+1 distinct points κk\kappa_k, again a contradiction, so the rows are independent and rank⁡V=M+1\operatorname{rank}\mathbf{V}=M+1. Full row rank makes equation (17) solvable in {mk}\{\mathbf{m}_k\} coordinate by coordinate, and any solution is realizable by the policy, because the softmax keeps πk>0\pi_k>0 while the base velocities vkv_k are unconstrained. On an equally spaced grid uj=jhgridu_j=jh_{\mathrm{grid}}, so Vjk=(γkhgrid)jV_{jk}=(\gamma_k^{h_{\mathrm{grid}}})^j and the determinant is the Vandermonde determinant. □\square

:::`

The interpolation consequence of Proposition 2 recovers the ArcFlow finite-grid result, while the full rank formula also states the undercomplete case. It is an existence statement at one fixed start and does not assert that training finds the interpolating coefficients. The rank formula also identifies conditioning limits: when K≤M+1K \le M + 1, two momentum rates approaching each other drive the smallest singular value toward zero; when M+1≤KM + 1 \le K, two grid times approaching each other have the analogous effect. The coefficients that realize prescribed grid velocities can therefore become sensitive to supervision error. The result supports the single-forward design only when the relevant rates and grid times remain separated.

What the distribution terms optimize

Self flow matching and the velocity-to-score dictionary. The first step fixes the meaning of the shared student output. Self flow matching regresses vt,tθv^{\theta}_{t,t} on the conditional velocity ϵ−x^0\epsilon- \hat{x}_0 of the generated sample, and the following statement identifies the resulting population target and records the identity that converts velocities into scores on the path equation 1.

Proposition 3 (Self flow matching identifies the student marginal velocity). For every square-integrable velocity predictor vv,

E[∥v(x^t,t,c)−(ϵ−x^0)∥22]=E[∥v(x^t,t,c)−vqθ,t∥22]+E[∥(ϵ−x^0)−vqθ,t∥22],(18)\mathbb{E}\left[\left\|v(\hat{x}_t,t,c)-(\epsilon-\hat{x}_0)\right\|_2^2\right]=\mathbb{E}\left[\left\|v(\hat{x}_t,t,c)-v_{q_\theta,t}\right\|_2^2\right]+\mathbb{E}\left[\left\|(\epsilon-\hat{x}_0)-v_{q_\theta,t}\right\|_2^2\right], \tag*{(18)}

so vqθ,tv_{q_\theta,t} is the almost everywhere unique minimizer and the excess risk is exactly the squared velocity estimation error. Moreover, for endpoint laws χ\chi and ζ\zeta noised by equation (14) and every t∈(0,1)t \in(0,1),

sχ,t(x)=−x+(1−t)vχ,t(x)t,sχ,t−sζ,t=−1−tt(vχ,t−vζ,t).(19)s_{\chi,t}(x)=-\frac{x+(1-t)v_{\chi,t}(x)}{t},\qquad s_{\chi,t}-s_{\zeta,t}=-\frac{1-t}{t}(v_{\chi,t}-v_{\zeta,t}). \tag*{(19)}

Proof. Both claims follow from conditioning on the noised state. For equation (18), add and subtract vqθ,t(x^t)v_{q_\theta,t}(\hat{x}_t) inside the norm and expand the square. By equation (14) that field is the conditional mean of ϵ−x^0\epsilon-\hat{x}_0 given x^t\hat{x}_t, so the residual (ϵ−x^0)−vqθ,t(\epsilon-\hat{x}_0)-v_{q_\theta,t} is orthogonal to every square-integrable function of (x^t,t,c)(\hat{x}_t,t,c) and the cross term vanishes. Only the first term depends on vv, and it is zero exactly when v=vqθ,tv=v_{q_\theta,t} up to null sets.

For equation (19), differentiate the Gaussian mixture density of XtX_t under the integral sign:

sχ,t(x)=E[−x−(1−t)Xt2 | Xt=x]=−1tE[ϵ∣Xt=x],(20)s_{\chi,t}(x)=\mathbb{E}\left[-\frac{x-(1-t)X}{t^2}\,\middle|\,X_t=x\right]=-\frac{1}{t}\mathbb{E}[\epsilon\mid X_t=x], \tag*{(20)}

where the second equality uses x−(1−t)X=tϵx-(1-t)X=t\epsilon on the event Xt=xX_t=x. Since ϵ=Xt+(1−t)(ϵ−X)\epsilon=X_t+(1-t)(\epsilon-X), the same conditioning gives E[ϵ∣Xt=x]=x+(1−t)vχ,t(x)\mathbb{E}[\epsilon\mid X_t=x]=x+(1-t)v_{\chi,t}(x), which is the first identity in equation (19). Writing that identity for χ\chi and for ζ\zeta and subtracting removes the common term −x/t-x/t and leaves the second.

(18) is what allows the student to act as its own velocity estimator: the loss that trains the estimator has a single population target, and the gap that remains when the target is not reached is exactly the quantity that Theorem 1 charges to the distribution gradient. (19) is the dictionary between the two descriptions of a noised law, and the factor (1−t)/t(1-t)/t that it produces is the part of λ(t)\lambda(t) absorbed in the main text. Both are statements about functions, and whether the shared network realizes them remains an assumption.

Remark 1 (Why the self flow matching inputs are detached). At the optimal predictor, the value of equation (10) is the second term of equation (18), the conditional variance of the regression target given the noised state. Since ϵ−x^0=(x^t−x^0)/t\epsilon-\hat{x}_0=(\hat{x}_t-\hat{x}_0)/t, that value equals t−2E[∥x^0−E[x^0∣x^t]∥22]t^{-2}\mathbb{E}[\|\hat{x}_0-\mathbb{E}[\hat{x}_0\mid\hat{x}_t]\|_2^2], and for t∈(0,1)t\in(0,1) the Gaussian likelihood is positive everywhere, so the conditional law of x^0\hat{x}_0 spreads over the whole support of qθ,0q_{\theta,0}. The residual is therefore zero only when qθ,0q_{\theta,0} is a point mass. If gradients were allowed to flow through the generated sample, the generator would have a direct route to lower this loss by collapsing, so equation (10) detaches both the input state and the regression target.

The distribution matching update is a weighted reverse Kullback–Leibler gradient. The second step connects the detached update of equation (11) to the divergence between the noised laws in equation (3). Its time weight and the effective velocity weight satisfy

wD(t)=tλ(t)1−t.(21)w_D(t) = \frac{t\lambda(t)}{1-t}. \tag*{(21)}

Let eθ=vt,tθ−vqθ,te_\theta= v^\theta_{t,t} - v_{q_\theta,t} and eT=vt,tT−vpT,te_T = v^T_{t,t} - v_{p_T,t} be the student and teacher velocity errors at the sampled state, with second moments bounded by δθ2\delta_\theta^2 and δT2\delta_T^2.

Theorem 1 (The detached update is a weighted reverse Kullback–Leibler gradient). When eθ=eT=0e_\theta= e_T = 0, the automatic-differentiation gradient of equation (11) equals the gradient of equation (3), and

∇θJD(θ)=−E[λ(t)(1−t)(JθGθ)T(vqθ,t−vpT,t)].(22)\nabla_\theta\mathcal{J}_D(\theta) = -\mathbb{E}\left[\lambda(t)(1-t)(J_\theta G_\theta)^\mathsf{T}(v_{q_\theta,t} - v_{p_T,t})\right]. \tag*{(22)}

In general the expected update g^\widehat{g} obtained from estimated velocities obeys

∥g^−∇θJD(θ)∥2≤Cv(δθ+δT),Cv2=E[λ(t)2(1−t)2∥JθGθ∥op2].(23)\left\|\widehat{g} - \nabla_\theta\mathcal{J}_D(\theta)\right\|_2 \le C_v(\delta_\theta+ \delta_T), \qquad C_v^2 = \mathbb{E}\left[\lambda(t)^2(1-t)^2\left\|J_\theta G_\theta\right\|_{\mathrm{op}}^2\right]. \tag*{(23)}

Proof. Fix (t,c)(t,c) and let bt(x)=E[Jθx^t∣x^t=x]b_t(x) = \mathbb{E}[J_\theta\widehat{x}_t \mid\widehat{x}_t = x] be the velocity that a parameter perturbation induces on the sample. Then

∇θDKL(qθ,t∥pT,t)=∫(∇θqθ,t)log⁡qθ,tpT,t dx(24)\nabla_\theta D_{\mathrm{KL}}(q_{\theta,t}\Vert p_{T,t}) = \int(\nabla_\theta q_{\theta,t})\log\frac{q_{\theta,t}}{p_{T,t}}\,dx \tag*{(24)}
=−∫∇x⋅(qθ,tbt)log⁡qθ,tpT,t dx(25)= -\int\nabla_x \cdot(q_{\theta,t}b_t)\log\frac{q_{\theta,t}}{p_{T,t}}\,dx \tag*{(25)}
=∫qθ,tbtT(sqθ,t−spT,t) dx(26)= \int q_{\theta,t}b_t^\mathsf{T}(s_{q_\theta,t} - s_{p_T,t})\,dx \tag*{(26)}
=E[(Jθx^t)T(sqθ,t−spT,t)](27)= \mathbb{E}\left[(J_\theta\widehat{x}_t)^\mathsf{T}(s_{q_\theta,t} - s_{p_T,t})\right] \tag*{(27)}
=−1−ttE[(Jθx^t)T(vqθ,t−vpT,t)].(28)= -\frac{1-t}{t}\mathbb{E}\left[(J_\theta\widehat{x}_t)^\mathsf{T}(v_{q_\theta,t} - v_{p_T,t})\right]. \tag*{(28)}

Weighting equation (28) by wD(t)w_D(t) from equation (21), averaging over (t,c)(t,c) and substituting Jθx^t=(1−t)JθGθJ_\theta\widehat{x}_t = (1-t)J_\theta G_\theta gives equation (22). Automatic differentiation of equation (11) contracts the same Jacobian with the detached vector −λ(t)(vt,tθ−vt,tT)-\lambda(t)(v^\theta_{t,t} - v^T_{t,t}), so

g^=−E[λ(t)(1−t)(JθGθ)T(vt,tθ−vt,tT)]=∇θJD(θ)−E[λ(t)(1−t)(JθGθ)T(eθ−eT)].(29)\widehat{g} = -\mathbb{E}\left[\lambda(t)(1-t)(J_\theta G_\theta)^\mathsf{T}(v^\theta_{t,t} - v^T_{t,t})\right] = \nabla_\theta\mathcal{J}_D(\theta) - \mathbb{E}\left[\lambda(t)(1-t)(J_\theta G_\theta)^\mathsf{T}(e_\theta- e_T)\right]. \tag*{(29)}

Step equation (24) differentiates under the integral sign and drops the term ∫∇θqθ,t dx=∇θ1=0\int\nabla_\theta q_{\theta,t}\,dx = \nabla_\theta1 = 0 produced by the derivative of the logarithm. Step equation (25) is the continuity equation, which states that the law of x^t\widehat{x}_t moves under the parameter perturbation by the transport of qθ,tq_{\theta,t} along btb_t. Step equation (26) integrates by parts, uses ∇xlog⁡(qθ,t/pT,t)=sqθ,t−spT,t\nabla_x\log(q_{\theta,t}/p_{T,t}) = s_{q_\theta,t} - s_{p_T,t} and discards the boundary term by Assumption 1(iv). Step equation (27) rewrites the integral as an expectation and replaces btb_t by Jθx^tJ_\theta\widehat{x}_t under the tower property, which is valid because the other factor depends on the sample only through x^t\widehat{x}_t. Step equation (28) applies the score difference in equation (19), and the weight relation equation (21) is exactly the factor that turns (1−t)2/t(1-t)^2/t into the λ(t)(1−t)\lambda(t)(1-t) of equation (22). The first claim is the case eθ=eT=0e_\theta= e_T = 0 of equation (29). For equation (23), take norms in the error term of equation (29), bound ∥(JθGθ)Tu∥2≤∥JθGθ∥op∥u∥2\|(J_\theta G_\theta)^\mathsf{T}u\|_2 \le\|J_\theta G_\theta\|_{\mathrm{op}}\|u\|_2, apply Cauchy–Schwarz to the expectation, and use (E∥eθ−eT∥22)1/2≤δθ+δT(\mathbb{E}\|e_\theta- e_T\|_2^2)^{1/2} \le\delta_\theta+ \delta_T.

Two properties of equation (23) matter in practice. The bias is linear in the velocity errors, so the shared estimator trained by equation (10) controls it directly through equation (18), and no separate network is needed to make the statement meaningful. The constant CvC_v carries λ(t)\lambda(t), which contains the score-to-velocity factor (1−t)/t(1-t)/t of equation (19) and grows without bound as t→0t \to0, which is why ρ\rho is truncated away from the data endpoint in Assumption 1(i). Appendix D turns this bias into an optimization statement.

Trajectory alignment at the start time rescales the update. The grid StS_t contains tt, so the start-time output vt,tθv^\theta_{t,t} receives the teacher target vt,tTv^T_{t,t} from equation (9) in addition to the regression target of equation (10), and a nonzero trajectory weight makes eθe_\theta in Theorem 1 nonzero even at the population optimum. The next statement shows that this error has a special form. Fix (t,c)(t,c) and write u(x)u(x) for the start-time output evaluated at the detached state x=sg⁡[x^t]x=\operatorname{sg}[\hat{x}_t], so that u(x^t)=vt,tθu(\hat{x}_t)=v^\theta_{t,t}. Let vt,tT(⋅,t,c)v^T_{t,t}(\cdot,t,c) be the teacher field that supplies vt,tTv^T_{t,t} in both equation (9) and equation (11), and let b=λtr/(M+1)b=\lambda_{\mathrm{tr}}/(M+1) be the weight that equation (13) places on the start-time term of equation (9), where MM may depend on tt.

Proposition 4 (The start-time compromise preserves the distribution direction). Assume λfm>0\lambda_{\mathrm{fm}}>0 and that uu ranges over square-integrable functions of x^t\hat{x}_t independently of the other grid velocities and of the generator. The start-time terms of λfmLfm+λtrLtr\lambda_{\mathrm{fm}}\mathcal{L}_{\mathrm{fm}}+\lambda_{\mathrm{tr}}\mathcal{L}_{\mathrm{tr}} are minimized, uniquely up to null sets, by

u⋆=λfmvqθ,t+bvTλfm+b,u⋆−vT=α(vqθ,t−vT),α=λfmλfm+b∈[λfmλfm+λtr,1].(30)u^\star=\frac{\lambda_{\mathrm{fm}}v_{q_\theta,t}+bv_T}{\lambda_{\mathrm{fm}}+b},\qquad u^\star-v_T=\alpha(v_{q_\theta,t}-v_T),\qquad\alpha=\frac{\lambda_{\mathrm{fm}}}{\lambda_{\mathrm{fm}}+b}\in\left[\frac{\lambda_{\mathrm{fm}}}{\lambda_{\mathrm{fm}}+\lambda_{\mathrm{tr}}},1\right]. \tag*{(30)}

If in addition vT=vpT,tv_T=v_{p_T,t} and the student reports vt,tθ=u⋆(x^t)v^\theta_{t,t}=u^\star(\hat{x}_t), the automatic-differentiation gradient of equation (11) equals the gradient of equation (3) with wD(t)w_D(t) replaced by αwD(t)\alpha w_D(t).

Proof. Write a=λfma=\lambda_{\mathrm{fm}} and abbreviate the per-sample start-time objective and its population value as

E[a∥u−(ϵ−x^0)∥22+b∥u−vT∥22](31)\mathbb{E}\left[a\left\|u-(\epsilon-\hat{x}_0)\right\|_2^2+b\left\|u-v_T\right\|_2^2\right] \tag*{(31)}
=E[a∥u−vqθ,t∥22+b∥u−vT∥22]+aE∥(ϵ−x^0)−vqθ,t∥22(32)=\mathbb{E}\left[a\left\|u-v_{q_\theta,t}\right\|_2^2+b\left\|u-v_T\right\|_2^2\right]+a\mathbb{E}\left\|(\epsilon-\hat{x}_0)-v_{q_\theta,t}\right\|_2^2 \tag*{(32)}
=(a+b)E∥u−u⋆∥22+aba+bE∥vqθ,t−vT∥22+aE∥(ϵ−x^0)−vqθ,t∥22.(33)=(a+b)\mathbb{E}\left\|u-u^\star\right\|_2^2+\frac{ab}{a+b}\mathbb{E}\left\|v_{q_\theta,t}-v_T\right\|_2^2+a\mathbb{E}\left\|(\epsilon-\hat{x}_0)-v_{q_\theta,t}\right\|_2^2. \tag*{(33)}

Step equation (31) collects the start-time term of equation (10) and the s=ts=t summand of equation (9) with their weights from equation (13). Step equation (32) applies the decomposition equation (18) to the first term; the second term is unchanged because vTv_T is a function of x^t\hat{x}_t. Step equation (33) completes the square pointwise through a∥u−p∥22+b∥u−q∥22=(a+b)∥u−(ap+bq)/(a+b)∥22+ab∥p−q∥22/(a+b)a\lVert u-p\rVert_2^2+b\lVert u-q\rVert_2^2=(a+b)\lVert u-(ap+bq)/(a+b)\rVert_2^2+ab\lVert p-q\rVert_2^2/(a+b) with p=vqθ,tp=v_{q_\theta,t} and q=vTq=v_T. Only the first term of equation (33) depends on uu, which gives the unique minimizer and, after subtracting vTv_T, the second identity in equation (30). The range of α\alpha follows from 0<b≤λtr0<b\leq\lambda_{\mathrm{tr}}. For the gradient claim, substituting u⋆−vpT,t=α(vqθ,t−vpT,t)u^\star-v_{p_T,t}=\alpha(v_{q_\theta,t}-v_{p_T,t}) into the detached vector of equation (11) turns it into the exact vector of Theorem 1 with λ(t)\lambda(t) replaced by αλ(t)\alpha\lambda(t), and equation (21) carries the factor α\alpha to wD(t)w_D(t).

Proposition 4 controls the part of eθe_\theta that trajectory alignment introduces: at the joint optimum this part equals −(1−α)(vqθ,t−vpT,t)-(1-\alpha)(v_{q_\theta,t}-v_{p_T,t}), which is parallel to the exact distribution direction, so it rescales the time weight of equation (3) without changing the zeros used in Theorem 2 or the ideal equilibrium of Proposition 1. The middle term of equation (33) also shows that the two start-time residuals cannot vanish together before vqθ,t=vTv_{q_\theta,t}=v_T. The statement relies on the start-time output being free. With shared parameters, and in particular when K<M+1K<M+1 couples the start-time value to the other grid velocities through equation (17), the realized error also contains a component that is not parallel to the distribution direction, and Theorem 1 bounds its effect.

A zero of the divergence forces endpoint agreement. Theorem 1 concerns noised laws at times inside (0,1)(0,1), while the quantity of interest is the generated endpoint law. The next statement closes that gap at a global optimum.

Theorem 2 (Vanishing divergence forces endpoint agreement). Assume pT,t=NtpT,0p_{T,t}=\mathcal{N}_t p_{T,0}, some θ†\theta^\dagger satisfies qt,0†=pT,0q^\dagger_{t,0}=p_{T,0} for almost every cc, and ρ({t<1:λ(t)>0})>0\rho(\{t<1:\lambda(t)>0\})>0. Then inf⁡θJD(θ)=0\inf_\theta\mathcal{J}_D(\theta)=0, and every global minimizer θopt\theta^{\mathrm{opt}} satisfies q0opt=pT,0q^{\mathrm{opt}}_{0}=p_{T,0} for almost every cc.

Proof. The realizing parameter θ†\theta^\dagger makes every noisy divergence vanish, so the infimum is zero. Since the integrand of equation (3) is non-negative, a global minimizer satisfies qtopt=pT,tq^{\mathrm{opt}}_t=p_{T,t} for ρ\rho-almost every $t<1 with λ(t)>0\lambda(t)>0, and by Fubini’s theorem such a tt exists for almost every cc. Fix one. Both laws are the same Gaussian convolution of their endpoint laws, so their characteristic functions factor as

φNtχ(ξ)=φχ((1−t)ξ)exp⁡(−12t2∥ξ∥22).(34)\varphi_{N_t\chi}(\xi)=\varphi_{\chi}((1-t)\xi)\exp\left(-\frac{1}{2}t^2\lVert\xi\rVert_2^2\right). \tag*{(34)}

The Gaussian factor never vanishes and 1−t>01-t>0, so the two endpoint characteristic functions agree on all of Rd\mathbb{R}^d, and the uniqueness theorem for characteristic functions gives the claim.

Two hypotheses carry the conclusion. Both noisy families must come from noising one endpoint law, which is the hypothesis that classifier-free guidance breaks and that Appendix § 11 examines, and the positively weighted times must include some t<1t<1, since the noised law at t=1t=1 is pure noise and retains no endpoint information. The conclusion also concerns the exact global minimum only. Noising contracts distances between endpoint laws, so a small positive value of JD\mathcal{J}_{\mathrm{D}} does not by itself bound the endpoint discrepancy, and the statement that survives at finite error is Corollary 1 rather than a perturbed version of this theorem.

Finite-error behaviour and the complementarity of the two blocks

From grid velocity error to endpoint error. Theorem 1 already shows what inexact velocities cost the distribution gradient. The corresponding question for trajectory alignment is what the grid loss of equation (9), which compares velocities at M+1M+1 times only, implies about the distance between the student and teacher paths at all times.

Fix a realization of the training start (x^t,t,c)(\hat{x}_t,t,c) and hold the predicted policy Pθ(sg⁡[x^t],t,c)\mathcal{P}_{\theta}(\operatorname{sg}[\hat{x}_t],t,c) fixed over the interval. Let xθ(τ)x_{\theta}(\tau) be the analytic student rollout equation (16) from that start and let xT(τ)x_T(\tau) be the exact teacher solution from the same start, so that both satisfy xθ(t)=xT(t)=x^tx_{\theta}(t)=x_T(t)=\hat{x}_t. Write

vT,path(τ)=vT(xT(τ),τ,c),e(τ)=v~θ(τ;Pθ(sg⁡[x^t],t,c))−vT,path(τ)v_{T,\mathrm{path}}(\tau)=v_T(x_T(\tau),\tau,c),\qquad e(\tau)=\tilde{v}_{\theta}(\tau;\mathcal{P}_{\theta}(\operatorname{sg}[\hat{x}_t],t,c))-v_{T,\mathrm{path}}(\tau)

for the teacher velocity along its own path and for the velocity discrepancy at time τ\tau, and note that e(τj)=vt,τjθ−vT,path(τj)e(\tau_j)=v^{\theta}_{t,\tau_j}-v_{T,\mathrm{path}}(\tau_j) differs from the residual seen by training only through the accuracy of the teacher targets. For one sample, let ℓtr=(M+1)−1∑j=0M∥vt,τjθ−vt,τjT∥22\ell_{\mathrm{tr}}=(M+1)^{-1}\sum_{j=0}^{M}\lVert v^{\theta}_{t,\tau_j}-v^{T}_{t,\tau_j}\rVert_2^2 be the bracketed quantity of equation (9), let {Aj}j=0M\{A_j\}_{j=0}^{M} be a partition of [0,t][0,t] with τj∈Aj\tau_j\in A_j, and set Δmax⁡=max⁡j∣Aj∣\Delta_{\max}=\max_j|A_j| and Δmesh=max⁡jsup⁡τ∈Aj∣τ−τj∣\Delta_{\mathrm{mesh}}=\max_j\sup_{\tau\in A_j}|\tau-\tau_j|.

Theorem 3 (Endpoint error of the single-forward rollout). If e∈L2([0,t];Rd)e\in L^2([0,t];\mathbb{R}^d), then

xθ(τ)−xT(τ)=−∫τte(u) du,∥xθ(0)−xT(0)∥2≤t∥e∥L2([0,t]).(35)x_{\theta}(\tau)-x_T(\tau)=-\int_{\tau}^{t}e(u)\,\mathrm{d}u,\qquad\lVert x_{\theta}(0)-x_T(0)\rVert_2\le\sqrt{t}\lVert e\rVert_{L^2([0,t])}. \tag*{(35)}

If in addition ee is LeL_e-Lipschitz in time and the teacher targets satisfy max⁡j∥vt,τjθ−vt,τjT∥2≤ηmax⁡\max_j\lVert v^{\theta}_{t,\tau_j}-v^{T}_{t,\tau_j}\rVert_2\le\eta_{\max}, then

∥xθ(0)−xT(0)∥2≤tΔmax⁡(M+1)ℓtr+t(ηmax⁡+LeΔmesh).(36)\lVert x_{\theta}(0)-x_T(0)\rVert_2\le\sqrt{t\Delta_{\max}(M+1)\ell_{\mathrm{tr}}}+t(\eta_{\max}+L_e\Delta_{\mathrm{mesh}}). \tag*{(36)}

*whose right-hand side becomes t(ℓtr+ηmax⁡+LeΔmesh)t(\sqrt{\ell_{\mathrm{tr}}}+\eta_{\max}+L_e\Delta_{\mathrm{mesh}}) when the cells have equal length. If the teacher targets come from an order psolp_{\mathrm{sol}} solver with maximum step size hsolh_{\mathrm{sol}} and global error constant CsolC_{\mathrm{sol}}, and the teacher field is LxL_x-Lipschitz in the state, then ηmax⁡≤LxCsolhsolpsol\eta_{\max}\le L_xC_{\mathrm{sol}}h_{\mathrm{sol}}^{p_{\mathrm{sol}}}.

Proof. The two rollouts share their state at time tt, so subtracting their integral forms gives the identity in equation (35), and Cauchy–Schwarz applied to ∫0t∥e(u)∥2 du\int_0^t\lVert e(u)\rVert_2\,\mathrm{d}u gives the inequality. No Lipschitz condition on the teacher field and no Grönwall factor appear here, because ee compares the student policy with the teacher velocity along the teacher path rather than at the student state.

For the finite grid, control ee on each cell by its value at the grid point it contains:

sup⁡τ∈Aj∥e(τ)∥2≤∥vt,τjθ−vt,τjT∥2+ηmax⁡+LeΔmesh,(37)\sup_{\tau\in A_j}\lVert e(\tau)\rVert_2\le\lVert v^{\theta}_{t,\tau_j}-v^{T}_{t,\tau_j}\rVert_2+\eta_{\max}+L_e\Delta_{\mathrm{mesh}}, \tag*{(37)}
∥e∥L2([0,t])≤(∑j=0M∣Aj∣∥vt,τjθ−vt,τjT∥22)1/2+t(ηmax⁡+LeΔmesh)(38)\lVert e\rVert_{L^2([0,t])}\le\left(\sum_{j=0}^{M}|A_j|\lVert v^{\theta}_{t,\tau_j}-v^{T}_{t,\tau_j}\rVert_2^2\right)^{1/2}+\sqrt{t}(\eta_{\max}+L_e\Delta_{\mathrm{mesh}}) \tag*{(38)}
≤Δmax⁡(M+1)ℓtr+t(ηmax⁡+LeΔmesh).(39)\le\sqrt{\Delta_{\max}(M+1)\ell_{\mathrm{tr}}}+\sqrt{t}(\eta_{\max}+L_e\Delta_{\mathrm{mesh}}). \tag*{(39)}

Step equation 37 compares e(τ)e(\tau) with e(τj)e(\tau_j) through the Lipschitz property over a distance of at most Δmesh\Delta_{\mathrm{mesh}}, then inserts vtT,τjv^{T,\tau_j}_t into e(τj)=vtθ,τj−vT,path(τj)e(\tau_j)=v^{\theta,\tau_j}_t-v^{T,\mathrm{path}}(\tau_j) and applies the target error bound ηmax⁡\eta_{\max}. Step equation 38 integrates the square of equation 37 over each cell and applies Minkowski’s inequality in the sequence space weighted by the cell lengths, where the constant contributes (∑j∣Aj∣)1/2=t(\sum_j |A_j|)^{1/2}=\sqrt{t}. Step equation 39 replaces every ∣Aj∣|A_j| by Δmax⁡\Delta_{\max} and uses ∑j∥vtθ,τj−vtT,τj∥22=(M+1)ℓtr\sum_j\left\|v^{\theta,\tau_j}_t-v^{T,\tau_j}_t\right\|_2^2=(M+1)\ell_{\mathrm{tr}}. Combining equation 39 with equation 35 gives equation 36, and equal cells have Δmax⁡=t/(M+1)\Delta_{\max}=t/(M+1). For the last claim, the solver state error is at most CsolhsolpsolC_{\mathrm{sol}}h_{\mathrm{sol}}^{p_{\mathrm{sol}}} at every grid point, and evaluating the LxL_x-Lipschitz teacher field at those states turns it into a velocity error of at most LxCsolhsolpsolL_xC_{\mathrm{sol}}h_{\mathrm{sol}}^{p_{\mathrm{sol}}}.

Equation 36 separates three error sources that training treats very differently. The first term is the grid residual, which is what equation 9 minimizes. The second is the accuracy of the teacher targets, which is set by the solver and its step size rather than by the student. The third is the variation of the discrepancy between grid points, which no discrete loss can observe: without a regularity condition in time, a bump placed between two grid points leaves ℓtr\ell_{\mathrm{tr}} unchanged and moves the endpoint arbitrarily far. The policy of equation 6 is a sum of KK smooth exponentials, which is the structural reason a modest grid is informative about the whole interval, and Proposition 2 is the complementary statement that such a field can still match all grid points.

The configurations in Table 4 cap the grid span, so a single grid may end at sM>0s_M>0. The identity in equation 35 holds at every τ≤t\tau\le t, and repeating the argument on a partition of [sM,t][s_M,t] gives the bounds of Theorem 3 for the state at sMs_M with tt replaced by t−sMt-s_M. On [0,sM][0,s_M] the grid of that sample provides no supervision, and the full-interval bound for that sample relies on LeL_e over the long final cell. Lower times are supervised in other iterations, for policies started from states with smaller t∼ρt\sim\rho.

Joint control of the law produced by the student policy

The two supervision blocks act on different objects: trajectory alignment compares maps from a common start, while distribution matching compares laws at a common time. The next statement puts both errors in one bound. Let Ψtθ\Psi^\theta_t be the analytic policy map from time tt to time 0, and let ΦtT\Phi^T_t be the exact teacher flow map over the same interval.

Corollary 1 (Joint bound on the law produced by the student policy). Assume (ΦTt)#pT,t=pT,0(\Phi^t_T)_\#p_{T,t}=p_{T,0}, Lip⁡(ΦTt)≤LΦ\operatorname{Lip}(\Phi^t_T)\le L_\Phi, and finite second moments. Define the mean squared trajectory map error from the current student law,

εtr2(t)=Ex^t∼qθ,t∥Ψtθ(x^t)−ΦtT(x^t)∥22.(40)\varepsilon_{\mathrm{tr}}^2(t)=\mathbb{E}_{\hat{x}_t\sim q_{\theta,t}}\left\|\Psi^\theta_t(\hat{x}_t)-\Phi^T_t(\hat{x}_t)\right\|_2^2. \tag*{(40)}

Then

W2((Ψtθ)#qθ,t,pT,0)≤εtr(t)+LΦW2(qθ,t,pT,t),(41)W_2\left((\Psi^\theta_t)_\#q_{\theta,t},p_{T,0}\right)\le\varepsilon_{\mathrm{tr}}(t)+L_\Phi W_2(q_{\theta,t},p_{T,t}), \tag*{(41)}

and if pT,tp_{T,t} satisfies a Talagrand T2(CT)T_2(C_T) inequality [35], then

W2((Ψtθ)#qθ,t,pT,0)≤εtr(t)+LΦ2CTDKL(qθ,t∥pT,t).(42)W_2\left((\Psi^\theta_t)_\#q_{\theta,t},p_{T,0}\right)\le\varepsilon_{\mathrm{tr}}(t)+L_\Phi\sqrt{2C_TD_{\mathrm{KL}}(q_{\theta,t}\Vert p_{T,t})}. \tag*{(42)}

Proof. Both terms come from the triangle inequality for W2W_2 applied at the intermediate law (ΦTt)#qθ,t(\Phi^t_T)_\#q_{\theta,t}. For the first term, couple (Ψtθ)#qθ,t(\Psi^\theta_t)_\#q_{\theta,t} and (ΦTt)#qθ,t(\Phi^t_T)_\#q_{\theta,t} by sending the same x^t∼qθ,t\hat{x}_t\sim q_{\theta,t} through both maps; the cost of that particular coupling is εtr2(t)\varepsilon_{\mathrm{tr}}^2(t), and W2W_2 is the infimum over all couplings. For the second term, push an optimal coupling of qθ,tq_{\theta,t} and pT,tp_{T,t} through ΦTt\Phi^t_T; the map is LΦL_\Phi-Lipschitz, so the cost grows by at most LΦL_\Phi, and the assumption (ΦTt)#pT,t=pT,0(\Phi^t_T)_\#p_{T,t}=p_{T,0} identifies the second marginal. Equation 42 then substitutes the Talagrand inequality W22(qθ,t,pT,t)≤2CTDKL(qθ,t∥pT,t)W_2^2(q_{\theta,t},p_{T,t})\le2C_TD_{\mathrm{KL}}(q_{\theta,t}\Vert p_{T,t}).

The two summands of equation 41 are exactly the objects that the two training blocks control, and neither controls the other. Trajectory alignment bounds the first through equation 36, which applies to the integrand of equation 40 sample by sample, since Ψtθ\Psi^\theta_t is the analytic rollout and ΦtT\Phi^T_t the exact teacher solution from the same start. Distribution matching bounds the second through the divergence of equation 3, in the form equation 42. A student whose noised law already matches the teacher law still needs an accurate map to turn it into samples, and an accurate map applied to a mismatched law reproduces the mismatch, which is the technical content of combining the two signals. The bound also states its own limit: the controlled object is the law obtained by pushing qθ,tq_{\theta,t} through the student policy, which need not equal the generator endpoint law qθ,0q_{\theta,0}, so this is a complementarity statement rather than endpoint recovery at finite error.

What distribution preservation controls. The remaining term compares the current generator with its moving-average reference at a fixed θˉ\bar{\theta}. Since it is a squared distance between two maps evaluated at the same latent input, it is a proximal penalty in the space of generator maps, and it dominates the corresponding distances between the generated laws.

Proposition 5 (What distribution preservation controls). Let Rdp(θ;θˉ)=Ex1,c∥Gθ(x1,c)−Gθˉ(x1,c)∥2\mathcal{R}_{\mathrm{dp}}(\theta;\bar{\theta}) = \mathbb{E}_{x_1,c}\lVert G_\theta(x_1,c)-G_{\bar{\theta}}(x_1,c)\rVert^2, which equals equation (12) when θˉ\bar{\theta} is held fixed. Then

Ec[W22(qθ,0(⋅∣c),qθˉ,0(⋅∣c))]≤Rdp,Ec[W22(qθ,t(⋅∣c),qθˉ,t(⋅∣c))]≤(1−t)2Rdp,(43)\mathbb{E}_c\left[W_2^2(q_{\theta,0}(\cdot\mid c),q_{\bar{\theta},0}(\cdot\mid c))\right]\leq\mathcal{R}_{\mathrm{dp}},\qquad\mathbb{E}_c\left[W_2^2(q_{\theta,t}(\cdot\mid c),q_{\bar{\theta},t}(\cdot\mid c))\right]\leq(1-t)^2\mathcal{R}_{\mathrm{dp}}, \tag*{(43)}

and for every t∈(0,1)t\in(0,1),

Ec[max⁡{DKL(qθ,t(⋅∣c)∥qθˉ,t(⋅∣c)),DKL(qθˉ,t(⋅∣c)∥qθ,t(⋅∣c))}]≤(1−t)22t2Rdp.(44)\mathbb{E}_c\left[\max\left\{D_{\mathrm{KL}}(q_{\theta,t}(\cdot\mid c)\|q_{\bar{\theta},t}(\cdot\mid c)),D_{\mathrm{KL}}(q_{\bar{\theta},t}(\cdot\mid c)\|q_{\theta,t}(\cdot\mid c))\right\}\right]\leq\frac{(1-t)^2}{2t^2}\mathcal{R}_{\mathrm{dp}}. \tag*{(44)}

Proof. Fix cc. Sending the same latent x1x_1 through both generators is one coupling of qθ,0(⋅∣c)q_{\theta,0}(\cdot\mid c) and qθˉ,0(⋅∣c)q_{\bar{\theta},0}(\cdot\mid c), and its cost is the summand of Rdp\mathcal{R}_{\mathrm{dp}}, which gives the first bound in equation (43). Sharing the Gaussian noise of equation (2) as well makes the two noised samples differ by (1−t)(Gθ−Gθˉ)(1-t)(G_\theta-G_{\bar{\theta}}), which gives the second bound.

For equation (44), keep the shared latent in the description and compare the joint laws of (x1,x^t)(x_1,\hat{x}_t) under θ\theta and under θˉ\bar{\theta}. The latent has the same law in both, so the KL between the joint laws is the average of the conditional KL given x1x_1. Conditioned on the latent, the two noised outputs are Gaussians with the same covariance t2It^2I and means differing by (1−t)(Gθ−Gθˉ)(1-t)(G_\theta-G_{\bar{\theta}}), so their KL in either direction is the squared mean difference divided by 2t22t^2. Discarding the latent cannot increase the KL, which transfers the bound to the marginal laws of x^t\hat{x}_t, and averaging over cc finishes the proof.

Proposition 5 is written for the one-step coupling in equation (12). For Algorithm 2, the same argument applies conditionally on the shared final-stage input (xar−1,ar−1,c)(x_{a_{r-1}},a_{r-1},c) after replacing the student and moving-average generators by Gθ(xar−1,ar−1,c)G_\theta(x_{a_{r-1}},a_{r-1},c) and Gθˉ(xar−1,ar−1,c)G_{\bar{\theta}}(x_{a_{r-1}},a_{r-1},c), respectively.

Both bounds can be strict, because Rdp\mathcal{R}_{\mathrm{dp}} fixes one latent coupling: two generators that induce the same law but permute which latent produces which sample have zero distance between their laws and a positive preservation loss. This is intended, since the term is meant to limit how far one update moves the generator map, and not to measure a distance between distributions. The divergence bound in equation (44) also degrades as t→0t\to0, so it is informative only at the noise levels that ρ\rho actually visits.

Guidance and optimization qualifications

Appendix C assumes an unguided teacher and, in Proposition 1, exact optimization of an expressive enough student. This appendix removes those assumptions one at a time. Classifier-free guidance changes the object that the distribution term matches, the residual velocity error of Theorem 1 sets a floor on the stationarity that term can reach, and the four updates together with the moving average form a coupled dynamical system whose equilibria have to be examined separately.

Classifier-free guidance. Classifier-free guidance [14] replaces the teacher field in equation (8) and equation (11) by

vT,cfg(x,t,c)=vT(x,t,∅)+scfg[vT(x,t,c)−vT(x,t,∅)].(45)v_{T,\mathrm{cfg}}(x,t,c)=v_T(x,t,\varnothing)+s_{\mathrm{cfg}}\left[v_T(x,t,c)-v_T(x,t,\varnothing)\right]. \tag*{(45)}

Let pT,c,t(x∣c)p_{T,c,t}(x\mid c) and pT,u,t(x)p_{T,u,t}(x) be the conditional and unconditional teacher marginals, with scores sT,c,ts_{T,c,t} and sT,u,ts_{T,u,t}. If both branches predict exact marginal velocities under the same noising kernel, equation (19) gives

sT,cfg,t(x,c)=(1−scfg)sT,u,t(x)+scfgsT,c,t(x∣c)=−x+(1−t)vT,cfg(x,t,c)t.(46)s_{T,\mathrm{cfg},t}(x,c)=(1-s_{\mathrm{cfg}})s_{T,u,t}(x)+s_{\mathrm{cfg}}s_{T,c,t}(x\mid c)=-\frac{x+(1-t)v_{T,\mathrm{cfg}}(x,t,c)}{t}. \tag*{(46)}

When normalizable, equation (46) is the score of the geometric combination pT,c,tscfgpT,u,t1−scfgp_{T,c,t}^{s_{\mathrm{cfg}}}p_{T,u,t}^{1-s_{\mathrm{cfg}}}, and Theorem 1 therefore applies separately at each time, with pT,tp_{T,t} read as that combination. For guidance scales outside [0,1][0,1], normalizability additionally requires suitable tail control.

What guidance breaks is the hypothesis of Theorem 2. These time-indexed geometric combinations are in general not the noised versions of one endpoint law, so guided TRD matches a family of per-time score fields that need not describe a single target distribution. The endpoint conclusion applies directly to the conditional branch at scfg=1s_{\mathrm{cfg}}=1 and to the unconditional branch at scfg=0s_{\mathrm{cfg}}=0, and other scales require cross-time consistency as an additional assumption. The trajectory results of Appendix § 10.§ 3 are unaffected, because they treat the guided field as the field being integrated. Guidance evaluates both teacher branches, which gives 2(M+1)2(M+1) teacher evaluations per iteration.

Stationarity floor from velocity estimation error. Theorem 1 bounds the bias of the distribution update by βvel=Cv(δθ+δT)\beta_{\mathrm{vel}}=C_v(\delta_\theta+\delta_T). The standard descent argument for biased stochastic gradients turns that bias into a floor on the stationarity that this term can reach.

Proposition 6 (Stationarity floor under a biased update). Assume JD\mathcal{J}_D is bounded below by Jinf\mathcal{J}_{\mathrm{inf}} and has an LDL_D-Lipschitz gradient, the stochastic update g^k\hat{g}_k has conditional mean ∇JD(θk)+δk\nabla\mathcal{J}_D(\theta_k)+\delta_k with ∥δk∥2≤βvel\lVert\delta_k\rVert_2\le\beta_{\mathrm{vel}} and conditional variance at most σg2\sigma_g^2, and the step size satisfies 0<ηopt≤1/(2LD)0<\eta_{\mathrm{opt}}\le1/(2L_D). Then the iterates θk+1=θk−ηoptg^k\theta_{k+1}=\theta_k-\eta_{\mathrm{opt}}\hat{g}_k obey

1N∑k=0N−1E∥∇JD(θk)∥22≤4(JD(θ0)−Jinf)ηoptN+6βvel2+2LDηoptσg2.(47)\frac{1}{N}\sum_{k=0}^{N-1}\mathbb{E}\lVert\nabla\mathcal{J}_D(\theta_k)\rVert_2^2\le\frac{4(\mathcal{J}_D(\theta_0)-\mathcal{J}_{\mathrm{inf}})}{\eta_{\mathrm{opt}}N}+6\beta_{\mathrm{vel}}^2+2L_D\eta_{\mathrm{opt}}\sigma_g^2. \tag*{(47)}

Proof. Write gk=∇JD(θk)g_k=\nabla\mathcal{J}_D(\theta_k). The descent lemma for an LDL_D-smooth function gives Ek[JD(θk+1)]≤JD(θk)−ηoptgk⊤(gk+δk)+12LDηopt2Ek∥g^k∥22\mathbb{E}_k[\mathcal{J}_D(\theta_{k+1})]\le\mathcal{J}_D(\theta_k)-\eta_{\mathrm{opt}}g_k^\top(g_k+\delta_k)+\frac{1}{2}L_D\eta_{\mathrm{opt}}^2\mathbb{E}_k\lVert\hat{g}_k\rVert_2^2. Bound the cross term by −gk⊤δk≤14∥gk∥22+∥δk∥22-g_k^\top\delta_k\le\frac{1}{4}\lVert g_k\rVert_2^2+\lVert\delta_k\rVert_2^2 and the second moment by Ek∥g^k∥22≤2∥gk∥22+2∥δk∥22+σg2\mathbb{E}_k\lVert\hat{g}_k\rVert_2^2\le2\lVert g_k\rVert_2^2+2\lVert\delta_k\rVert_2^2+\sigma_g^2. With LDηopt≤1/2L_D\eta_{\mathrm{opt}}\le1/2, the coefficient of ∥gk∥22\lVert g_k\rVert_2^2 is at most −ηopt/4-\eta_{\mathrm{opt}}/4 and the coefficient of ∥δk∥22\lVert\delta_k\rVert_2^2 at most 3ηopt/23\eta_{\mathrm{opt}}/2, so ηopt4E∥gk∥22≤E[JD(θk)−JD(θk+1)]+32ηoptβvel2+12LDηopt2σg2\frac{\eta_{\mathrm{opt}}}{4}\mathbb{E}\lVert g_k\rVert_2^2\le\mathbb{E}[\mathcal{J}_D(\theta_k)-\mathcal{J}_D(\theta_{k+1})]+\frac{3}{2}\eta_{\mathrm{opt}}\beta_{\mathrm{vel}}^2+\frac{1}{2}L_D\eta_{\mathrm{opt}}^2\sigma_g^2. Summing over kk, telescoping and using the lower bound on JD\mathcal{J}_D gives equation (47). □

Only the first term of equation (47) decreases with NN, so the bound retains the non-vanishing term 6βvel26\beta_{\mathrm{vel}}^2 under persistent velocity error and does not establish convergence of the average gradient to zero. The constant CvC_v in equation (23) weights the velocity error by the time weight and the generator Jacobian, so the time range and weighting determine how strongly estimation error affects the update. The statement concerns the distribution term in isolation and does not imply convergence of the full TRD dynamics.

Equilibria and local stability of the full dynamics. Let h(θ)h(\theta) denote the expected weighted update from self flow matching, distribution matching and trajectory alignment under the stop-gradient rules of Algorithm 1, and let d(θ,θˉ)d(\theta,\bar{\theta}) denote the expected preservation update, with the weights of equation (13) absorbed into both. These are vector fields rather than gradients of one fixed scalar objective, because the states at which they are evaluated are produced by the current student and then detached. The associated mean dynamics are

θ˙=−h(θ)−d(θ,θˉ),θˉ˙=rema(θ−θˉ),rema>0,(48)\dot{\theta}=-h(\theta)-d(\theta,\bar{\theta}),\qquad\dot{\bar{\theta}}=r_{\mathrm{ema}}(\theta-\bar{\theta}),\qquad r_{\mathrm{ema}}>0, \tag*{(48)}

where remar_{\mathrm{ema}} is the positive continuous-time rate corresponding to the discrete decay μ\mu; a unit-step forward-Euler correspondence gives rema=1−μr_{\mathrm{ema}}=1-\mu.

Proposition 7 (Equilibria and limits of the complete mean field). Assume hh and dd are continuous and d(θ,θ)=0d(\theta,\theta)=0. Every convergent solution of equation (48) has a limit with θˉ∞=θ∞\bar{\theta}_\infty=\theta_\infty and h(θ∞)=0h(\theta_\infty)=0. In the ideal unguided setting, any θ⋆\theta^\star that simultaneously attains qθ⋆,0=pT,0q_{\theta^\star,0}=p_{T,0}, its own marginal velocity and zero trajectory residual gives an equilibrium (θ⋆,θ⋆)(\theta^\star,\theta^\star). A general zero of hh need not have these three properties, because the weighted updates can cancel each other.

Proof. At the ideal target, Proposition 3 makes the expected self flow matching update zero, Theorem 1 makes the distribution update zero because the two velocity fields coincide, and the trajectory residual is zero by assumption; preservation vanishes because θˉ=θ\bar{\theta} = \theta. This proves the equilibrium claim. For a convergent solution of a continuous autonomous system, the vector field vanishes at the limit. The second equation of equation (48) gives θˉ∞=θ∞\bar{\theta}_{\infty} = \theta_{\infty}, and substituting this into the first equation together with d(θ,θ)=0d(\theta,\theta) = 0 gives h(θ∞)=0h(\theta_{\infty}) = 0.

Theorem 4 (Local stability of the full dynamics at the ideal target). Let θ⋆\theta^{\star} be an ideal equilibrium as in Proposition 7. Assume hh and dd are continuously differentiable nearby, that the symmetric part of A=∇h(θ⋆)\mathbf{A} = \nabla h(\theta^{\star}) is bounded below by mIm\mathbf{I} for some m>0m > 0, and that the preservation field linearizes as B(θ−θˉ)\mathbf{B}(\theta-\bar{\theta}) with B⪰0\mathbf{B} \succeq0. Then (θ⋆,θ⋆)(\theta^{\star},\theta^{\star}) is locally asymptotically stable, so every mean trajectory started close enough to it converges to it, and along that limit the student endpoint law equals pT,0p_{T,0}, its velocity estimate is exact and its trajectory residual vanishes.

Proof. Let δθ=θ−θ⋆\delta\theta= \theta-\theta^{\star} and δθˉ=θˉ−θ⋆\delta\bar{\theta} = \bar{\theta}-\theta^{\star}. Linearizing equation (48) at the equilibrium gives the system matrix

L=[−(A+B)BremaI−remaI],(49)\mathbf{L} = \begin{bmatrix} -(\mathbf{A}+\mathbf{B}) & \mathbf{B} \\ r_{\mathrm{ema}}\mathbf{I} & -r_{\mathrm{ema}}\mathbf{I} \end{bmatrix}, \tag*{(49)}

so it suffices to show that every eigenvalue of L\mathbf{L} has negative real part. Suppose instead that L(x,y)T=z(x,y)T\mathbf{L}(x,y)^{\mathsf{T}} = z(x,y)^{\mathsf{T}} for some eigenvector and some zz with Re⁡(z)≥0\operatorname{Re}(z) \ge0. Then z≠−remaz \ne-r_{\mathrm{ema}}, so the second block row gives y=remax/(z+rema)y = r_{\mathrm{ema}}x/(z+r_{\mathrm{ema}}), and x≠0x \ne0, since x=0x = 0 would force y=0y = 0. Substituting yy into the first block row gives

[zI+A+zz+remaB]x=0.\left[z\mathbf{I}+\mathbf{A}+\frac{z}{z+r_{\mathrm{ema}}}\mathbf{B}\right]x = 0.

Take the inner product with xx and keep the real part. The first term contributes Re⁡(z)∥x∥2≥0\operatorname{Re}(z)\lVert x\rVert^{2} \ge0. The second contributes at least m∥x∥2>0m\lVert x\rVert^{2} > 0, because only the symmetric part of A\mathbf{A} survives in the real part. The third contributes Re⁡(z/(z+rema))x∗Bx≥0\operatorname{Re}\left(z/(z+r_{\mathrm{ema}})\right)x^{\ast}\mathbf{B}x \ge0, because B⪰0\mathbf{B} \succeq0 and because Re⁡(z)≥0\operatorname{Re}(z) \ge0 with rema>0r_{\mathrm{ema}} > 0 makes that scalar non-negative. The real part is therefore strictly positive, which contradicts the displayed equation. Hence L\mathbf{L} is Hurwitz and the Lyapunov indirect method gives local asymptotic stability. For equation (12), the preservation field linearizes to B=2λdpE[(JθGθ)TJθGθ]\mathbf{B} = 2\lambda d_{\mathrm{p}}\mathbb{E}[(J_{\theta}G_{\theta})^{\mathsf{T}}J_{\theta}G_{\theta}] at θ=θˉ\theta= \bar{\theta}, which is positive semidefinite as required.

The conclusion is local, and the stability margin has to come from hh: the preservation term contributes a positive semidefinite B\mathbf{B}, which can preserve an existing margin and cannot create one. The ordinary differential equation method relates decreasing-step stochastic updates to the mean dynamics under bounded iterates, Robbins and Monro step sizes, martingale difference noise and step-size-weighted summable bias [2]. Convergence to this particular equilibrium also requires eventual entry into its attraction basin. Persistent estimation error or a fixed step size prevents direct application of that result, and equation (47) only quantifies stationarity of the distribution term in isolation. Taken together with Corollary 1, the supported qualifications are that the ideal target is locally attracting under an explicit margin condition and that finite error yields a joint bound rather than endpoint recovery from a small noisy divergence.

Implementation details

This appendix records the TRD training and evaluation settings in Table 4. SANA-1.6B is a linear diffusion transformer with a deeply compressed autoencoder and a decoder-only text encoder [53]. Stable Diffusion 3.5 Medium follows the multimodal rectified-flow transformer family introduced by Esser et al. [9]; Table 4 gives the exact checkpoint identifier without assigning a parameter count whose published sources use different scopes. For both teachers, the last LL student blocks are duplicated across the KK policy modes of equation (6), and only these policy heads and the backbone adapters are trained. The baseline rows use the adaptations described in § 5.1; they are not reproductions of the original papers’ training regimes. Unless an ablation states otherwise, the listed settings are fixed.

Prompt split and evaluation protocol. All image experiments use prompts from a publicly available dataset [44]. We partition the prompts into disjoint training and test sets, reserve 2,500 prompts for testing and use the remainder for training. Every reported metric uses this test set. Each method generates four images per prompt under a fixed four-seed schedule shared across methods, yielding 10,000 images, and the corresponding teacher generates a matched 10,000-image reference set.

Metrics. We extract DINOv2 ViT-L/14 features with registers [7, 34] from the method and teacher images. FD-DINOv2 fits a Gaussian to each feature set and computes their Fréchet distance, following the DINOv2 evaluation of Stein et al. [50] and the original Fréchet metric [13]. Recall-DINOv2 applies the improved precision and recall estimator to measure coverage of the teacher feature manifold [21]. DINO Diversity adapts the mean pairwise DINOv2 cosine distance of Sorokin et al. [49] to four images per prompt. We estimate human preference with PickScore [20], HPSv2 [52] and ImageReward [54], visual appeal with LAION-Aesthetics Predictor V2 on CLIP ViT-L/14 features [37, 44], and text alignment with 100 times the non-negative cosine similarity of OpenAI CLIP ViT-B/32 embeddings [37]. Table 4 records the specified model variants and DINO preprocessing.

Few-step training. Algorithm 2 states the few-step iteration of § 4.4, whose outer noising interval follows the sampled step count. For a two-step schedule 1=a0>a1>a2=01 = a_0 > a_1 > a_2 = 0, one-step rollouts draw the outer noising time from [a1,a0][a_1, a_0], while two-step rollouts draw it from [a2,a1][a_2, a_1].

Algorithm 2 One TRD training iteration for few-step distillation with random-length consistency sampling

Require: student θ\theta, moving average θˉ\bar{\theta} with rate μ\mu, frozen teacher vTv_T, consistency-sampling times 1=a0>⋯>aR=01 = a_0 > \cdots> a_R = 0, stage-conditioned time distributions {ρr}r=1R\{\rho_r\}_{r=1}^{R} with supp⁡(ρr)⊆[ar,ar−1]\operatorname{supp}(\rho_r) \subseteq[a_r, a_{r-1}], grid St={t,s1,…,sM}S_t = \{t, s_1, \ldots, s_M\} with t>s1>⋯>sM≥0t > s_1 > \cdots> s_M \ge0, loss weights λtr,λdm,λfm,λdp\lambda_{\mathrm{tr}}, \lambda_{\mathrm{dm}}, \lambda_{\mathrm{fm}}, \lambda_{\mathrm{dp}} of equation (13) and time weight λ(t)\lambda(t)

  1. sample cc, initial noise xa0∼N(0,I)x_{a_0} \sim\mathcal{N}(0, I) and step count r∼Unif⁡{1,…,R}r \sim\operatorname{Unif}\{1, \ldots, R\}

  2. for i=0,…,r−2i = 0, \ldots, r - 2 do

  3. advance the sampler, without gradients: predict x^0(i)=Gθ(xai,ai,c)\hat{x}_0^{(i)} = G_\theta(x_{a_i}, a_i, c), draw ϵi+1∼N(0,I)\epsilon_{i+1} \sim\mathcal{N}(0, I) and re-noise it to xai+1=(1−ai+1)x^0(i)+ai+1ϵi+1x_{a_{i+1}} = (1 - a_{i+1})\hat{x}_0^{(i)} + a_{i+1}\epsilon_{i+1}

  4. end for

  5. generate: evaluate the student at (xar−1,ar−1,c)(x_{a_{r-1}}, a_{r-1}, c) and integrate the output velocity by equation (16) to x^0=Gθ(xar−1,ar−1,c)\hat{x}_0 = G_\theta(x_{a_{r-1}}, a_{r-1}, c), the only endpoint prediction that retains gradients

  6. re-noise: draw τ∼ρr\tau\sim\rho_r and independent ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0, I); form x~t=(1−t)x^0+tϵ\tilde{x}_t = (1 - t)\hat{x}_0 + t\epsilon, retaining its gradient path to θ\theta

  7. predict velocities: evaluate the student at (sg⁡[x~t],t,c)(\operatorname{sg}[\tilde{x}_t], t, c); obtain {vt,sθ,s∈St}\{v_{t,s}^{\theta}, s \in S_t\} from equation (6), without further student evaluations

  8. teacher rollout, without gradients: initialize x^t,tT=x^t\hat{x}_{t,t}^{T} = \hat{x}_t; for decreasing s∈Sts \in S_t, evaluate vt,sTv_{t,s}^{T} and, if a next grid time s′s' exists, advance to x^t,s′T\hat{x}_{t,s'}^{T} by equation (8)

  9. reference endpoint, without gradients: evaluate Gθˉ(xar−1,ar−1,c)G_{\bar{\theta}}(x_{a_{r-1}}, a_{r-1}, c) on the same final-stage input

  10. form the losses: use the grid velocities for equation (9), vt,tθv_{t,t}^{\theta} and ϵ−sg⁡[x^0]\epsilon- \operatorname{sg}[\hat{x}_0] for equation (10), the detached start-time velocity difference and x^t\hat{x}_t for equation (11), and the paired final-stage endpoints for equation (12)

  11. update: backpropagate equation (13), take one optimizer step on θ\theta, then set θˉ←μθˉ+(1−μ)θ\bar{\theta} \leftarrow\mu\bar{\theta} + (1 - \mu)\theta

ItemSANA-1.6BSD3.5 Medium
Student policy
Number of modes KK44
Duplicated final blocks LL and output branchesL=1L = 1; velocity, gate and momentum projections per modeL=1L = 1; velocity, gate and momentum projections per mode
LoRA rank, α\alpha and dropout64; 64; 032; 32; 0
LoRA targets and trainable componentsall backbone linear layers except the output projection; full policy headsattention projections in all transformer blocks; full policy heads
Teacher and student parameter sharingone pretrained backbone; student adapters are disabled for teacher queriesone pretrained backbone; student adapters are disabled for teacher queries
Policy initializationcopied final block and teacher output projection; zero gate logits; γk\gamma_k log-spaced in [0.4, 5.0] with one head at 1copied final block and teacher output projection; zero gate logits; γk\gamma_k log-spaced in [0.8, 1.2] with one head at 1
TRD objective
Loss weights (λtr,λdm,λfm,λdp)(\lambda_{\mathrm{tr}},\lambda_{\mathrm{dm}},\lambda_{\mathrm{fm}},\lambda_{\mathrm{dp}})(0.1, 10.0, 1.0, 1.0)(0.1, 30.0, 1.0, 1.0)
Effective time weight λ(t)\lambda(t)constant 1 with mean reductionconstant 1 with mean reduction
Preservation reference and couplingrefreshed every step with EMA rate μ=0.9\mu= 0.9; shared final-stage inputrefreshed every step with EMA rate μ=0.9\mu= 0.9; shared final-stage input
Teacher and student guidance scales4.5; 1.04.5; 1.0
Noising-time distributionUnif(0, 1)uniform within the selected rollout interval, with raw-time clip [10, 980]
Trajectory grid and solverexplicit Euler; step 0.05; maximum span 0.30; at most 7 grid pointsexplicit Euler; step 0.025; maximum span 0.20; at most 9 grid points
Few-step consistency schedulescheduler-generated times; rollout length sampled uniformly from {1,…,R}\{1,\ldots,R\}R=2R = 2 with raw times (1000, 780); rollout depth induced by the clipped interval widths
Momentum scale and ∣log⁡γk∣\lvert\log\gamma_k\rvert clamp1.0; 20.01.0; 20.0
Optimization
Learning rates (backbone/basic; gate; momentum)10−410^{-4}; 10−510^{-5}; 10−510^{-5}10−410^{-4}; 10−510^{-5}; 10−510^{-5}
Optimizer and schedule8-bit AdamW [8, 25]; (β1,β2)=(0.9,0.999)(\beta_1,\beta_2) = (0.9, 0.999); weight decay 10−410^{-4}; constant; no warmupsame
Batch, precision and clippingglobal batch 8; bfloat16; gradient norm 1.0global batch 8; bfloat16; gradient norm 1.0
Evaluation
Held-out prompts and seeds2,500 disjoint prompts selected with dataset seed 666; image seeds start at 42same
Sample countfour images per prompt and 10,000 student images; matched teacher reference setsame
FD-DINOv2 features and preprocessingdinov2_vitl14_reg; resize to 256, center crop to 224, ImageNet normalizationsame
Recall-DINOv2student 3-NN manifold balls; coverage of the matched 10,000-image teacher setsame
DINO DiversityDINOv2 features; mean pairwise cosine distance within each four-image prompt groupsame
Preference and aesthetic modelsPickScore v1; HPSv2; ImageReward v1.0; LAION-Aesthetics Predictor V2 with CLIP ViT-L/14 [37, 44]same
CLIP similarity backboneOpenAI CLIP ViT-B/32; 100 max(cos, 0)same

Table 9.

Per-iteration cost

This appendix accounts for the network evaluations and the persistent state of one TRD iteration, and compares them with a distribution distillation method that trains a separate fake score model. The counts follow Algorithm 1 under the settings of Table 4; § 5.3 reports what they cost in measured memory and time.

Network evaluations. One iteration evaluates the student twice, once at (x1,1,c)(x_1,1,c) for generation and once at the detached noised state (sg⁡[x^t],t,c)(\operatorname{sg}[\hat{x}_t],t,c) for the shared velocity predictions, and backpropagates through both. The frozen teacher is evaluated M+1M + 1 times, once at each grid point of the rollout in equation (8), and the moving-average copy once at (x1,1,c)(x_1, 1, c). Only the two student evaluations carry gradients, so the teacher rollout and the moving-average pass need no stored activations. The grid size therefore enters the cost through frozen forward passes alone. Because Pθ(sg[x^t],t,c)P_\theta(s_g[\hat{x}_t], t, c) gives vt,stv^t_{t,s} for every s∈Sts \in S_t in closed form, supervising M+1M + 1 grid points costs no additional student evaluation, whereas supervising the same points with a student that predicts one velocity per query would require one student pass per point. With classifier-free guidance each grid point evaluates the conditional and the unconditional branch, which raises the teacher count to 2(M+1)2(M + 1) as recorded in Appendix § 11.

Parameters and optimizer state. TRD trains the policy heads and the low-rank backbone adapters and keeps the pretrained backbone frozen, so gradients and optimizer state exist only for that trainable subset. Teacher queries reuse the same backbone with the student adapters disabled, and no second copy of the backbone weights is held for the teacher. The moving-average copy tracks the trainable subset as well, so distribution preservation adds one parameter copy of that size and one forward pass, without gradients or optimizer state.

Comparison with a trained fake score model. A method that estimates the student score with a separate network holds that network at full size together with its gradients and optimizer state and updates it with its own forward and backward passes. The DMD2 measurement uses five fake-score updates per generator update, matching its ImageNet and SDXL configurations under the two-time-scale rule of Yin et al. [56]; this ratio is a configuration choice rather than a universal property of DMD2. Estimating the same score with self flow matching on the shared policy removes those updates and that state, and adds in their place the M+1M + 1 frozen teacher passes of the trajectory rollout and the single moving-average pass. Table 2 and the right panel of Figure 1 report where this exchange leaves the measured memory, per-iteration time and time to a target FD-DINOv2 level.

Few-step variant. Algorithm 2 prepends r−1r - 1 gradient-free student passes to the same iteration, where rr is drawn uniformly from {1,…,R}\{1, \ldots, R\}, so the expected additional cost is (R−1)/2(R - 1)/2 student forward passes per iteration. All remaining counts are unchanged after these detached passes. In particular, the moving average still requires one forward pass at (xr−1,ar−1,c)(x_{r-1}, a_{r-1}, c); for r=1r = 1, this reduces to the one-step input (x1,1,c)(x_1, 1, c).

Additional results

This appendix reports the Stable Diffusion 3.5 Medium comparison in Table 5, the objective, estimator and policy-capacity ablations in Table 6, Table 7, and Table 8, the policy-head distribution analysis of Figure 4, the Stable Diffusion 3.5 Medium training-loss curves in Figure 3, and the qualitative results in Figure 5 to Figure 8. All quantitative tables use the 10,000-image evaluation protocol of Appendix § 12.

References

  1. [1]Nicholas Matthew Boffi, Michael Samuel Albergo, and Eric Vanden-Eijnden. Flow map matching with stochastic interpolants: A mathematical framework for consistency models. Transactions on Machine Learning Research, 2025.arxiv.org/abs/2406.07507
  2. [2]Vivek S. Borkar. Stochastic Approximation: A Dynamical Systems Viewpoint. Cambridge University Press, 2008.
  3. [3]Clément Chadebec, Onur Taşar, Eyal Benaroche, and Benjamin Aubin. Flash diffusion: Accelerating any conditional diffusion model for few steps image generation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 15686–15695, 2025. doi: 10.1609/aaai.v39i15.33722.DOI
  4. [4]Hansheng Chen, Kai Zhang, Hao Tan, Leonidas Guibas, Gordon Wetzstein, and Sai Bi. pi-flow: Policy-based few-step generation via imitation distillation. In International Conference on Learning Representations, 2026.arxiv.org/abs/2510.14974
  5. [5]Junsong Chen, Shuchen Xue, Yuyang Zhao, Jincheng Yu, Sayak Paul, Junyu Chen, Han Cai, Song Han, and Enze Xie. SANA-Sprint: One-step diffusion with continuous-time consistency distillation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 16185–16195, 2025. doi: 10.1109/ICCV51701.2025.01502.DOI
  6. [6]Zhenglin Cheng, Peng Sun, Jianguo Li, and Tao Lin. TwinFlow: Realizing one-step generation on large models with self-adversarial flows. In International Conference on Learning Representations, 2026.arxiv.org/abs/2512.05150
  7. [7]Timothée Darcet, Maxime Oquab, Julien Mairal, and Piotr Bojanowski. Vision transformers need registers. In International Conference on Learning Representations, 2024.arxiv.org/abs/2309.16588
  8. [8]Tim Dettmers, Mike Lewis, Sam Shleifer, and Luke Zettlemoyer. 8-bit optimizers via block-wise quantization. In International Conference on Learning Representations, 2022.arxiv.org/abs/2110.02861
  9. [9]Patrick Esser, Smith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 12606–12633. PMLR, 2024.arxiv.org/abs/2403.03206
  10. [10]Kevin Frans, Danijar Hafner, Sergey Levine, and Pieter Abbeel. One step diffusion via shortcut models. In International Conference on Learning Representations, 2025.arxiv.org/abs/2410.12557
  11. [11]Zhengyang Geng, Mingyang Deng, Xingjian Bai, J. Zico Kolter, and Kaiming He. Mean flows for one-step generative modeling. In Advances in Neural Information Processing Systems, volume 38, pages 84032–84054, 2025. doi: 10.52202/085713-2534.DOI
  12. [12]Jiatao Gu, Chen Wang, Shuangfei Zhai, Yizhe Zhang, Lingjie Liu, and Joshua M. Susskind. Data-free distillation of diffusion models with bootstrapping. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 16622–16646. PMLR, 2024.arxiv.org/abs/2306.05544
  13. [13]Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, volume 30, pages 6626–6637, 2017.
  14. [14]Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.arxiv.org/abs/2207.12598
  15. [15]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022.arxiv.org/abs/2106.09685
  16. [16]Minguk Kang, Richard Zhang, Connelly Barnes, Sylvain Paris, Suha Kwak, Jaesik Park, Eli Shechtman, Jun-Yan Zhu, and Taesung Park. Distilling diffusion models into conditional GANs. In Computer Vision – ECCV 2024, volume 15086 of Lecture Notes in Computer Science, pages 428–447. Springer, 2024. doi: 10.1007/978-3-031-73390-1_25.DOI
  17. [17]Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. In Advances in Neural Information Processing Systems, volume 35, pages 26565–26577, 2022. doi: 10.52202/068431-1926.DOI
  18. [18]Dongjun Kim, Chieh-Hsin Lai, Wei-Hsiang Liao, Naoki Murata, Yuhta Takida, Toshimitsu Uesaka, Yutong He, Yuki Mitsufuji, and Stefano Ermon. Consistency trajectory models: Learning probability flow ODE trajectory of diffusion. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.02279
  19. [19]Youngjoong Kim, Deekyong Lee, and Jaesik Park. Distribution matching distillation without fake score network. arXiv preprint arXiv:2605.19256, 2026.arxiv.org/abs/2605.19256
  20. [20]Yuval Kirstain, Adam Polyak, Uriel Singer, Shahbuland Matiana, Joe Penna, and Omer Levy. Pick-a-Pic: An open dataset of user preferences for text-to-image generation. In Advances in Neural Information Processing Systems, volume 36, pages 36652–36663, 2023.arxiv.org/abs/2305.01569
  21. [21]Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. In Advances in Neural Information Processing Systems, volume 32, pages 3927–3936, 2019.arxiv.org/abs/1904.06991
  22. [22]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023.arxiv.org/abs/2210.02747
  23. [23]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations, 2023.arxiv.org/abs/2209.03003
  24. [24]Xingchao Liu, Xiwen Zhang, Jianzhu Ma, Jian Peng, and Qiang Liu. InstaFlow: One step is enough for high-quality diffusion-based text-to-image generation. In International Conference on Learning Representations, 2024.arxiv.org/abs/2309.06380
  25. [25]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019.
  26. [26]Cheng Lu and Yang Song. Simplifying, stabilizing and scaling continuous-time consistency models. In International Conference on Learning Representations, 2025.arxiv.org/abs/2410.11081
  27. [27]Yanzuo Lu, Yuxi Ren, Xin Xia, Shanchuan Lin, Xing Wang, Xuefeng Xiao, Andy J. Ma, Xiaohua Xie, and Jian-Huang Lai. Adversarial distribution matching for diffusion distillation towards efficient image and video synthesis. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 16818–16829, 2025. doi: 10.1109/ICCV51701.2025.01562.DOI
  28. [28]Eric Luhman and Troy Luhman. Knowledge distillation in iterative generative models for improved sampling speed. arXiv preprint arXiv:2101.02388, 2021. doi: 10.48550/arXiv.2101.02388.DOI
  29. [29]Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao. Latent consistency models: Synthesizing high-resolution images with few-step inference. arXiv preprint arXiv:2310.04378, 2023.arxiv.org/abs/2310.04378
  30. [30]Weijian Luo, Tianyang Hu, Shifeng Zhang, Jiacheng Sun, Zhanguo Li, and Zhihua Zhang. Diff-instruct: A universal approach for transferring knowledge from pre-trained diffusion models. In Advances in Neural Information Processing Systems, volume 36, pages 76525–76546, 2023. doi: 10.52202/075280-3344.DOI
  31. [31]Weijian Luo, Zemin Huang, Zhengyang Geng, J. Zico Kolter, and Guo-Jun Qi. One-step diffusion distillation through score implicit matching. In Advances in Neural Information Processing Systems, volume 37, pages 115377–115408, 2024. doi: 10.52202/079017-3664.DOI
  32. [32]Yihong Luo, Tianyang Hu, Jiacheng Sun, Yujun Cai, and Jing Tang. Learning few-step diffusion models by trajectory distribution matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 17719–17728, 2025. doi: 10.1109/ICCV51701.2025.01646.DOI
  33. [33]Thuan Hoang Nguyen and Anh Tran. SwiftBrush: One-step text-to-image diffusion model with variational score distillation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7807–7816, 2024. doi: 10.1109/CVPR52733.2024.00746.DOI
  34. [34]Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy V. Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaledin El-Nouby, Mahmoud Assran, Nicolas Ballas, Wojciech Galuba, Russell Howes, Po-Yao Huang, Shang-Wen Li, Ishan Misra, Michael Rabbat, Vasu Sharma, Gabriel Synnaeve, Hu Xu, Hervé Jégou, Julien Mairal, Patrick Labatut, Armand Joulin, and Piotr Bojanowski. DINOv2: Learning robust visual features without supervision. Transactions on Machine Learning Research, 2024.arxiv.org/abs/2304.07193
  35. [35]Felix Otto and Cédric Villani. Generalization of an inequality by Talagrand and links with the logarithmic Sobolev inequality. Journal of Functional Analysis, 173(2):361–400, 2000. doi: 10.1006/jfan.1999.3557.DOI
  36. [36]William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4195–4205, 2023.arxiv.org/abs/2212.09748
  37. [37]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 8748–8763. PMLR, 2021.arxiv.org/abs/2103.00020
  38. [38]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684–10695, 2022.
  39. [39]Amirmojtaba Sabour, Sanja Fidler, and Karsten Kreis. Align your flow: Scaling continuous-time flow map distillation. In Advances in Neural Information Processing Systems, volume 38, pages 162568–162621, 2025. doi: 10.52202/085713-4900.DOI
  40. [40]Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. In International Conference on Learning Representations, 2022.
  41. [41]Tim Salimans, Thomas Mensink, Jonathan Heek, and Emiel Hoogeboom. Multistep distillation of diffusion models via moment matching. In Advances in Neural Information Processing Systems, volume 37, pages 36046–36070, 2024. doi: 10.52202/079017-1136.
  42. [42]Axel Sauer, Frederic Boesel, Tim Dockhorn, Andreas Blattmann, Patrick Esser, and Robin Rombach. Fast high-resolution image synthesis with latent adversarial diffusion distillation. In SIGGRAPH Asia 2024 Conference Papers, pages 1–11, 2024. doi: 10.1145/3680528.3687625.
  43. [43]Axel Sauer, Dominik Lorenz, Andreas Blattmann, and Robin Rombach. Adversarial diffusion distillation. In Computer Vision – ECCV 2024, volume 15144 of Lecture Notes in Computer Science, pages 87–103. Springer, 2024. doi: 10.1007/978-3-031-73016-0_6.DOI
  44. [44]Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, Patrick Schramkowski, Srivatsa Kundurthy, Katherine Crowson, Ludwig Schmidt, Robert Kaczmarczyk, and Jenaia Jitsev. LAION-5B: An open large-scale dataset for training next generation image-text models. In Advances in Neural Information Processing Systems, Datasets and Benchmarks Track, volume 35, pages 25278–25294, 2022.
  45. [45]Huiyang Shao, Xin Xia, Yuxi Ren, Xing Wang, and Xuefeng Xiao. VarFlow: Proper scoring-rule diffusion distillation via energy matching. In Advances in Neural Information Processing Systems, volume 38, pages 61522–61538, 2025. doi: 10.52202/085713-1847.
  46. [46]Yang Song and Prafulla Dhariwal. Improved techniques for training consistency models. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.14189
  47. [47]Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021.
  48. [48]Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 32211–32252. PMLR, 2023.arxiv.org/abs/2303.01469
  49. [49]Dmitrii Sorokin, Maksim Nakhodnov, Andrey Kuznetsov, and Aibek Alanov. ImageReFL: Balancing quality and diversity in human-aligned diffusion models. arXiv preprint arXiv:2505.22569, 2025. URL https://arxiv.org/abs/2505.22569.
  50. [50]George Stein, Jesse Cresswell, Rasa Hosseinzadeh, Yi Sui, Brendan Ross, Valentin Villecroze, Zhaoyan Liu, Anthony L. Caterini, Eric Taylor, and Gabriel Loaiza-Ganem. Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion models. In Advances in Neural Information Processing Systems, volume 36, pages 3732–3784, 2023.
  51. [51]Zhengyi Wang, Cheng Lu, Yikai Wang, Fan Bao, Chongxuan Li, Hang Su, and Jun Zhu. ProlificDreamer: High-fidelity and diverse text-to-3d generation with variational score distillation. In Advances in Neural Information Processing Systems, volume 36, pages 8406–8441, 2023. doi: 10.52202/075280-0368.
  52. [52]Xiaoshi Wu, Yiming Hao, Keqiang Sun, Yixiong Chen, Feng Zhu, Rui Zhao, and Hongsheng Li. Human preference score v2: A solid benchmark for evaluating human preferences of text-to-image synthesis. arXiv preprint arXiv:2306.09341, 2023.arxiv.org/abs/2306.09341
  53. [53]Enze Xie, Junsong Chen, Junyu Chen, Han Cai, Haotian Tang, Yujun Lin, Zhekai Zhang, Muyang Li, Ligeng Zhu, Yao Lu, and Song Han. SANA: Efficient high-resolution text-to-image synthesis with linear diffusion transformers. In International Conference on Learning Representations, 2025.arxiv.org/abs/2410.10629
  54. [54]Jiazheng Xu, Xiao Liu, Yuchen Wu, Yuxuan Tong, Qinkai Li, Ming Ding, Jie Tang, and Yuxiao Dong. ImageReward: Learning and evaluating human preferences for text-to-image generation. In Advances in Neural Information Processing Systems, volume 36, pages 15903–15935, 2023.arxiv.org/abs/2304.05977
  55. [55]Zihan Yang, Shuyuan Tu, Licheng Zhang, Qi Dai, Yu-Gang Jiang, and Zuxuan Wu. ArcFlow: Unleashing 2-step text-to-image generation via high-precision non-linear flow distillation. arXiv preprint arXiv:2602.09014, 2026.arxiv.org/abs/2602.09014
  56. [56]Tianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang, Eli Shechtman, Frédo Durand, and William T. Freeman. Improved distribution matching distillation for fast image synthesis. In Advances in Neural Information Processing Systems, volume 37, pages 47455–47487, 2024. doi: 10.52202/079017-1505.DOI
  57. [57]Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Frédo Durand, William T. Freeman, and Taesung Park. One-step diffusion with distribution matching distillation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6613–6623, 2024. doi: 10.1109/CVPR52733.2024.00632.DOI
  58. [58]Xin Yu, Xiaojuan Qi, Zhengqi Li, Kai Zhang, Richard Zhang, Zhe Lin, Eli Shechtman, Tianyu Wang, and Yotam Nitzan. Self-evaluation unlocks any-step text-to-image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7816–7826, 2026.arxiv.org/abs/2512.22374
  59. [59]Mingyuan Zhou, Huangjie Zheng, Zhendong Wang, Mingzhang Yin, and Hai Huang. Score identity distillation: Exponentially fast distillation of pretrained diffusion models for one-step generation. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 62307–62331. PMLR, 2024.arxiv.org/abs/2404.04057
  60. [60]Mingyuan Zhou, Zhendong Wang, Huangjie Zheng, and Hai Huang. Guided score identity distillation for data-free one-step text-to-image generation. In International Conference on Learning Representations, 2025.arxiv.org/abs/2406.01561
  61. [61]Mingyuan Zhou, Huangjie Zheng, Yi Gu, Zhendong Wang, and Hai Huang. Adversarial score identity distillation: Rapidly surpassing the teacher in one step. In International Conference on Learning Representations, 2025.arxiv.org/abs/2410.14919
  62. [62]Huaisheng Zhu, Teng Xiao, Shijie Zhou, Zhimeng Guo, Hangfan Zhang, Siyuan Xu, and Vasant G. Honavar. Simple distillation for one-step diffusion models. In Advances in Neural Information Processing Systems, volume 38, pages 102173–102196, 2025. doi: 10.52202/085713-3080.DOI

AI tools statement

This work lists 1 AI tool.

  • a large language model · AI tool

    Roles
    SoftwareWriting — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Pick where to look, or just type