arXiv:2610.26025cs.CVOct 2026

Manuscript Offprint

arXiv:2610.26025

TamedFlow: Trajectory-Aware Distillation\\for Teacher-Assisted Diffusion Sampling

Shuaiqi Cheng, Jiahao Zhang, Boyuan Gu, Siyu You, Yuxi Chen, Haiying Xu, Zexin Lu, Huiyu Zhou, Xuming Hu

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

ABSTRACT

Diffusion Transformers (DiTs) deliver high-fidelity image and video generation, but inference requires many sequential model evaluations. Two acceleration strategies are increasingly important: model compression makes each evaluation cheaper, while adaptive inference avoids selected teacher computation through reuse, forecasting, or speculative execution. Their combination, however, is brittle: directly applying the evaluated adaptive methods to a compressed student can degrade quality, an observed failure mode we call the Combination Gap. We link this gap to a mismatch between pointwise distillation and short-horizon execution: a student trained at teacher states need not remain reliable when its own predictions are chained. We propose TamedFlow, which trains a compressed DiT for this deployed role through cross-architecture feature alignment, a near-identity Velocity Alignment Head, and randomized rollout supervision. At inference, a lightweight Learnable Trajectory Estimator routes completed drafts: accepted drafts bypass the teacher, while rejected drafts roll back and receive one teacher rescue step. Distilling DiT-XL/2 into DiT-B/2, TamedFlow reaches FID 2.58 at 2.25×2.25 \times measured speedup over DDIM-50 on ImageNet 256×256256 \times 256. Ablations support trajectory supervision, and routing controls favor LTE over random decisions at nearly matched latency. Evaluations on ImageNet 512×512512 \times 512, MS-COCO, and Latte/FaceForensics extend the empirical scope.

1 INTRODUCTION

Diffusion Transformers (DiTs) have become a leading backbone for high-fidelity visual generation (Peebles & Xie, 2023), yet iterative denoising imposes high inference latency. Each sample requires dozens of sequential forward passes, with costs scaling rapidly with model parameters, resolution, and sequence length. Existing acceleration strategies attack complementary aspects of this cost: step-reduction methods shorten the solver schedule (Song et al., 2023; Luo et al., 2023; Geng et al., 2026; Kim et al., 2025); parameter compression lowers per-step computation; and adaptive inference reuses or forecasts intermediate activations (Ma et al., 2024b; Selvaraju et al., 2024; Liu et al., 2025a;b). Combining parameter compression with adaptive execution is intuitively appealing, promising cheaper evaluations while skipping redundant computation. All headline experiments below use fixed-step DDIM integration to evaluate compression and adaptive execution under a unified solver convention.

In practice, this composition can break down. In our controlled diagnostic (Appendix Table 11), attaching the evaluated adaptive reuse methods directly to a compressed student degrades sample quality, inflating ImageNet 256×256256 \times 256 FID from 5.56 to between 10.40 and 13.18. We term this failure mode the Combination Gap. This result exposes an operational mismatch: a student trained for pointwise agreement need not remain reliable after its own predictions alter the states encountered

Figure

(a) Trajectory Drift

(b) Trajectory Taming

Figure 1: The Combination Gap and TamedFlow. Directly applying adaptive reuse to a parameter-compressed student severely degrades quality in our diagnostic. TamedFlow instead trains the compressed student for short-horizon trajectory agreement. A 4M-parameter LTE routes drafts: accepted drafts bypass the teacher; rejected drafts roll back for one teacher rescue step.

later. Rather than applying internal reuse unchanged to the compact model, we let the student generate short trajectory drafts and reserve teacher intervention for drafts predicted to deviate.

Chaining student predictions into drafts, however, introduces compounding integration drift. Proposition 3.1 characterizes this through an Euler rollout bound: spatial sensitivity can amplify local student–teacher velocity mismatch over sequential steps. To stabilize drafting against this amplification, we introduce TamedFlow, combining trajectory-aware distillation with selective teacher rescue (Figure 1). During training, cross-architecture feature alignment (AlignNet) grounds student representations in teacher layers; a near-identity Velocity Alignment Head (VAH) absorbs residual velocity errors; and randomized K-step rollout supervision ( K∼U(1,5)K \sim \mathcal{U}(1, 5)) penalizes both intermediate mismatch and accumulated endpoint drift. A two-stage curriculum introduces the multi-step objectives only after feature alignment.

At inference, TamedFlow uses an asymmetric execution policy. A compact Learnable Trajectory Estimator (LTE, 4M parameters) scores completed drafts from pooled student tokens and timestep embeddings without teacher access. If confidence exceeds threshold τ\tau, the draft is accepted, advancing K steps while bypassing the teacher. If rejected, the sampler rolls back to the pre-draft state and advances one step with teacher rescue. Varying τ\tau selects among measured operating points between throughput and fidelity without sequential teacher verification.

Distilling DiT-XL/2 into a 130M DiT-B/2 student on ImageNet 256×256256 \times 256, TamedFlow attains FID 2.58 at 2.25×2.25 \times measured speedup (0.464 s vs. 1.044 s) over the DDIM-50 teacher. At comparable latency, TamedFlow improves FID over the evaluated training-free adaptive baselines (e.g., FoCa at FID 2.65, 0.466 s). Controlled ablations support trajectory supervision and learned routing at nearly matched latency, while evaluations on ImageNet 512×512512 \times 512, MS-COCO, and Latte video DiTs extend the empirical scope. In summary, our contributions are:

• Diagnostic and analysis of the Combination Gap. We document the failure of applying the evaluated adaptive reuse methods to a compressed DiT, and derive a DDIM rollout bound characterizing how sequential drafting can amplify local velocity errors.

• Trajectory-stabilized speculative distillation. We introduce TamedFlow, uniting feature alignment, residual velocity correction, and randomized rollout supervision to optimize a compressed DiT for autonomous multi-step drafting.

• Learned routing and deployment evaluation. We propose an asymmetric execution policy via a 4M-parameter LTE to accept reliable drafts or trigger teacher rescue, evaluating quality–latency trade-offs across resolutions, text conditioning, and video alongside physical deployment costs.

References (35)