AnyFlow 2.0: Large-Scale Video Diffusion Distillation with Distributional Trajectory Regression

Yuchao Gu, Guian Fang, Yiren Song, Junyi Wu, Lan Chen, Jingyu Xin, Yuxin Jiang, Guanqi Zhan, Liming Lu, Junyu Chen, Wenhang Ge, Qi Mao, Yixuan Ye, Dongyue Lu, Junchao Huang, Mike Zheng Shou, Song Han, Han CaiarXiv 2026

TL;DR

Large-scale video and image diffusion models are slow because they require dozens of sequential denoising steps. AnyFlow 2.0 compresses this process into just 4 steps without sacrificing visual quality or sample diversity. It achieves this by jointly supervising how the model moves (its trajectory) and where it lands (its distribution) at the exact same intermediate states.

What Problem Does This Paper Address?

Diffusion and flow-matching models generate stunning images and videos, but they are computationally expensive, often requiring 32 to 50+ sequential evaluations (NFEs) to turn noise into a clean output. To speed them up into 4-step "student" models, researchers use distillation, which traditionally falls into two camps—each with a classic tradeoff:

  • Trajectory-based distillation (like velocity regression) teaches the student to mimic the teacher's exact denoising path. However, a tiny 4-step student lacks the capacity to follow a complex 32-step path perfectly, leading to blurry or degraded visuals.
  • Distribution-based distillation (like Distribution Matching Distillation, or DMD) relaxes the path constraint and simply forces the student's final output distribution to match the teacher's. This produces sharp visuals, but suffers from mode collapse—the student plays it safe and loses sample diversity.

Previous attempts to combine both approaches (such as rCM and AnyFlow 1.0) still lost diversity. The authors argue this happens because those methods apply trajectory supervision and distribution supervision to different states, preventing the two objectives from truly complementing each other.

Methods

AnyFlow 2.0 introduces Distributional Trajectory Regression (DTR), a single-stage training framework built on three key ideas:

  1. Continuous Curvature Head: Instead of treating a large 4-step jump as a rigid straight line, the student decodes a continuous curved trajectory from a single backbone evaluation using learned velocity bases and triangular basis functions. At inference time, these projections can be fused back into a single output head, meaning zero extra runtime cost.
  2. Aligned Joint Supervision (DTR): At intermediate query points along the student's own predicted trajectory, AnyFlow 2.0 applies both velocity regression (matching the teacher's velocity) and distribution matching (nudging the student's state distribution toward the teacher's) at the exact same states.
  3. Parameterized Fake Score with Local Re-noising: Standard DMD estimates the student's learned distribution (the "fake score") by extrapolating intermediate states all the way to clean samples and re-noising them across the full noise range. This mixes distributions from different steps and propagates extrapolation errors. AnyFlow 2.0 fixes this by restricting re-noising to the local noise range of the enclosing student step and conditioning the fake score on the source step and query time.

Datasets

For data-free bidirectional distillation (which requires no ground-truth target media or precomputed teacher trajectories), the authors train using only prompts and conditioning inputs:

  • Text-to-Image: t2i-prompts-3m (evaluated on OneIG-Bench, DPG-Bench, and GenEval).
  • Text-to-Video: VidProM prompts (evaluated on VBench, V-JEPA 2, and VideoMAEv2).
  • Omnimodal (Text/Reference-to-Video-Audio): VidProM (upsampled by Gemini-3.5-Flash) and OmniR2V (evaluated on VBench, Audiobox Aesthetics, ImageBind, DeSync, JavisScore, and OmniVBench).

For autoregressive video post-training, they use SolarWM-Data (evaluated on SANA-WM and Orbia) and SolarRenderer-Data (evaluated on Gemini 3.8 Flash Elo).

Key Insights and Ideas

  • Supervision alignment is the missing link: Simply adding distribution matching to trajectory distillation isn't enough. Applying both objectives to the exact same on-policy student states is what allows velocity regression to anchor diversity while distribution matching corrects off-distribution drift.
  • Expressiveness needs distributional guardrails: Adding a continuous curvature head under pure velocity regression actually worsened intermediate state alignment ($\text{MMD}^2$ rose from 10.46 to 12.82). Only when paired with DTR did the curvature head shine ($\text{MMD}^2$ dropped to 7.24).
  • Stronger causal initialization: Replacing ODE-pair initialization with DTR in autoregressive video post-training gives causal models a much better starting point, and those gains persist even after subsequent bidirectional refinement.

Key Results

Across models ranging from 5.6B to 33B parameters, AnyFlow 2.0 achieves state-of-the-art 4-step (4 NFE) performance:

Quantitative performance of AnyFlow 2.0 across six tasks
  • Text-to-Image: On FLUX.1-Dev (12B), it beats $\pi$-Flow and SMD across all metrics (e.g., 42.51 vs. 42.09 on OneIG-EN). On FLUX.3-Base (5.6B), it nearly matches the 32-step teacher on OneIG-EN (56.23 vs. 56.46).
  • Text-to-Video: On Wan2.1-T2V-14B, it achieves higher visual quality (85.94) and markedly higher diversity (25.41 V-JEPA 2 L2) than both data-free baselines (PDD, SMD) and data-dependent ones (rCM, AnyFlow).
  • Omnimodal & Autoregressive: On H3-T2VA-33B, it improves audio-video alignment (JavisScore 0.1980). In video world modeling (SolarWM-H3) and streaming generative rendering (SolarRenderer-H3), it boosts Orbia Overall to 76.37 (vs. 74.30 for Causal Forcing) and Overall Elo from 1312 to 1404.

Limitations and Future Work

  • Higher training cost: DTR incurs higher training costs than pure velocity regression because it requires online training of an auxiliary fake-score model.
  • Ultra-low step budgets: Experiments focus on 4-NFE generation; preserving quality, diversity, and trajectory fidelity at more restrictive budgets of 1–2 NFEs remains unexplored and is left for future work.

Summary updated

BibTeX
@misc{gu2026anyflow,
  author = {Yuchao Gu and Guian Fang and Yiren Song and Junyi Wu and Lan Chen and Jingyu Xin and Yuxin Jiang and Guanqi Zhan and Liming Lu and Junyu Chen and Wenhang Ge and Qi Mao and Yixuan Ye and Dongyue Lu and Junchao Huang and Mike Zheng Shou and Song Han and Han Cai},
  title = {{AnyFlow 2.0: Large-Scale Video Diffusion Distillation with Distributional Trajectory Regression}},
  year = {2026},
  eprint = {2612.05524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.05524},
}
Figure