Source-linked AI summary
Few-Step Streaming Video Generation via Condition Shifting
Deyuan Liu, Jungang Li, Kaiwen Zheng, Kai Jiang, Jintao Chen, Yaole Wang, Ming Lin, Tao Lin, Jianfei Chen, Jun Zhu, Jintao Zhang
TL;DR
Few-step streaming video generation is costly because each new block requires repeated network evaluations, while DMD uses a separate fake-score network. APEX adapts condition shifting to estimate the generated distribution within the generator while retaining S2-Avatar’s frozen teacher and Self-Replay Forcing. It improves instruction and aesthetic results over S2-Avatar, with lower measured memory use and iteration time than DMD.
Problem
Few-step streaming generation remains costly because repeated network evaluations are needed for each new block, and DMD’s separate fake-score network adds training memory and computation.
Source: §1 · p. 1Method
APEX uses condition shifting to estimate the generated distribution within the generator, integrating the shared estimator into S2-Avatar’s Self-Replay Forcing while retaining its frozen teacher and perceptual regularization.
Source: §1 · p. 1, §2.1 · p. 4Results
APEX improves instruction fulfillment and visual aesthetics over S2-Avatar, while matched measurements show 4.4% lower peak allocated GPU memory and 9.2% shorter mean iteration time than DMD.
Source: §1 · p. 3, §4.3 · p. 6, §5 · p. 9Takeaways & Limitations
APEX’s measured gains coexist with trade-offs in motion quality and audiovisual synchronization, while usability matches S2-Avatar.
Source: §5 · p. 9Interpreting the induced velocity estimates as true conditional scores requires calibrated fields under common conditioning.
Source: §3.2 · p. 4
Abstract
from arXiv · showhide
Few-step sampling reduces the cost of streaming video generation. Distribution Matching Distillation (DMD) supervises few-step generators with a separate fake-score network, which adds training memory and computation and must track the evolving generator. We extend APEX to streaming video by using condition shifting to estimate the velocity field of the generated distribution within the generator. The original text condition selects generation, while a shifted condition selects fake estimation using the same parameters. This removes the independent fake network while retaining S2-Avatar's frozen reference teacher, Self-Replay Forcing, and perceptual regularization. We evaluate APEX on 180-second videos using three backbone evaluations per block and a one-step spatial Refiner, with a 70-case human study and a 320-case StreamAV-Bench comparison. Compared with S2-Avatar, APEX achieves higher video instruction fulfillment on the Progressive track (3.856 versus 3.831) and higher visual aesthetics across both tracks (0.641898 versus 0.632606). Human raters favor APEX most strongly on instruction following, with +30.0% net preference, followed by consistency and video quality at +4.3% each. Motion quality favors S2-Avatar, audiovisual synchronization is predominantly tied, and usability is unchanged. Separate measurements under matched training settings show 4.4% lower peak allocated GPU memory per GPU and 9.2% shorter mean iteration time than DMD.
1 Introduction
APEX adapts condition shifting to streaming video, estimating the generated distribution within the generator while retaining S2-Avatar’s frozen teacher and Self-Replay Forcing. On 180-second videos, it improves instruction and aesthetic results over S2-Avatar and reduces measured training cost relative to DMD.
1 Introduction
- Few-step sampling is especially valuable for streaming video because repeated network evaluations incur cost for every new block.Distillation must also preserve visual quality, character and scene consistency, and responsiveness to changing instructions.Source: §1 · p. 1
- APEX estimates the fake velocity within the generator using shifted text conditioning, removing DMD’s independent fake network while retaining S2-Avatar’s frozen teacher and Self-Replay Forcing.The original text condition selects generation; the shifted condition selects fake estimation, and the roles share model parameters and, by default, optimizer states.Source: §1 · p. 1
- On 180-second videos, APEX is evaluated through a 70-case human study and all 320 StreamAV-Bench scenarios, with higher instruction fulfillment and visual aesthetics than S2-Avatar.The evaluation also measures training cost and sampling comparisons.Source: §1 · p. 3
2 Preliminaries
The preliminaries describe flow matching and few-step generation, then set out the causal video-generation and Self-Replay Forcing framework used by APEX. Self-Replay Forcing trains on a re-noised segment of a detached autoregressive rollout while allowing gradients across blocks within that segment.
2 Preliminaries
- Flow matching regresses a velocity predictor to the target z − x, with the conditional population minimizer equal to the mean velocity given the interpolated latent, time, and condition.Sampling integrates from t = 1 to t = 0 with a numerical ODE solver.Source: §2 · p. 3
- Few-step generation uses a one-step Euler map that predicts from noise and condition without a destination-time input to the velocity predictor.The map is Gθ(z, c) = z − Fθ(z, 1, c).Source: §2 · p. 3
- Distribution Matching Distillation estimates the reverse-KL gradient from reference and generated-distribution score differences at the same noised generated sample, using an auxiliary fake-score network.The reference score is pretrained, while the fake-score network is trained on current generator outputs.Source: §2 · p. 3
2.1 Autoregressive Video Generation and Self-Replay Forcing
- Self-Replay Forcing re-noises a sampled segment of a detached autoregressive rollout and processes it in one differentiable causal pass, allowing cross-block gradients within the segment.The external history and original rollout remain detached; the procedure retains S2’s teacher and perceptual regularization.Source: §2.1 · p. 4
3 Condition Shifting for Streaming Video Generation
APEX incorporates condition-shifted fake estimation into S2-Avatar’s Self-Replay Forcing, sharing generator and estimator parameters while keeping the reference teacher frozen. It trains the fake estimator on re-noised generated blocks and uses a detached teacher–estimator correction to update replay predictions.
3 Condition Shifting for Streaming Video Generation
- APEX shares generator and fake-estimator parameters while retaining the frozen teacher that supplies S2’s reference prediction and guidance.The generator uses the original condition; the fake estimator uses the shifted condition.Source: §3 · p. 4, §3.1 · p. 4
3.1 Condition Shifting on Generated Video
- The shifted-condition estimator predicts fake velocity from re-noised generated blocks using causal attention over current and preceding noisy blocks, without an additional clean-video stream.The sequence is detached and re-noised at a shared scoring time with fresh Gaussian noise; the regression update is restricted to the shifted-condition prediction.Source: §3.1 · p. 4
3.2 A Detached Correction from the Velocity Difference
- A detached, normalized difference between teacher and fake clean-latent predictions at the same noisy video and scoring time supplies the generator’s replay-prediction target.The target is held fixed, so gradients pass through replay outputs and connected causal representations within the active segment.Source: §3.2 · p. 4
- Interpreting the induced velocity estimates as true conditional scores requires calibrated fields under common conditioning.This is the stated assumption for the score interpretation.Source: §3.2 · p. 4
3.3 Shared-Parameter Updates
- Generator updates alternate with fake estimation on shared parameters, while AdamW states are shared by default and separate states are also evaluated.Inference uses the original projected text with the selected few-step schedule, followed by the common one-step spatial Refiner.Source: §3.3 · p. 5
4 Evaluation
APEX is evaluated on 180-second streaming videos using StreamAV-Bench and paired human ratings, with a shared one-step spatial Refiner. Results show instruction-fulfillment and aesthetic gains alongside visual and audiovisual trade-offs, plus lower training cost than DMD.
4.1 Setting
- Evaluation uses all 320 StreamAV-Bench scenarios (160 Progressive, 160 Interactive); 180-second streaming generation uses 3 backbone denoising evaluations per block, excluding KV-cache encoding and updates, with the common one-step 2× Refiner counted separately.Source: §4.1 · p. 5, §4 · p. 5
4.2 Results
- In paired 3-NFE examples, APEX retains both bags late in a sequence and moves a tube toward the other hand for an applying instruction.The comparisons use the same reference images and timestamps.Source: §4.2 · p. 6, Figure 3 · p. 6
- Progressive VIF and AIF increase by 0.025 and 0.067, while VA improves on both tracks; pooled VQ falls by 0.011 and AVSync error rises from 1.319 to 1.341 s.APEX ranks first on VA, VIF, and AIF, and second on VQ among 12 models with available results.Source: §4.2 · p. 6, Table 2 · p. 7
- Instruction following receives +30.0% net human preference; consistency and video quality each receive +4.3%, while motion quality favors S2-Avatar by −8.6%.Audiovisual synchronization is tied in 69 of 70 pairs, with one loss; both models meet the usability criterion on 62 of 70 sequences.Source: §4.2 · p. 6, Figure 4 · p. 7, Table 3 · p. 8
4.3 Training and Sampling Comparisons
- Under matched training settings, APEX reduces peak allocated memory from 102.7 to 98.2 GiB per GPU and mean iteration time from 35.9 to 32.6 s relative to DMD.These are reductions of 4.4% and 9.2%, respectively, while retaining the frozen teacher.Source: §4.3 · p. 6, Figure 5 · p. 8
- At 2 NFE, APEX receives +27.1% instruction preference against S2-Avatar at 3 NFE, while S2-Avatar at 2 NFE receives +2.9% in a separate paired round.Default replay-time sampling has the highest instruction preference at both budgets: +27.1% at 2 NFE and +21.4% at 3 NFE; favoring lower-noise replay gives no consistent advantage.Source: §4.3 · pp. 6–8, Figure 6 · p. 8
5 Conclusion
APEX integrates condition-shifted fake estimation into S2’s Self-Replay Forcing while retaining the frozen teacher, and the conclusion reports gains in instruction fulfillment and visual aesthetics alongside efficiency improvements. The related-work section situates this approach among consistency and trajectory-based methods for few-step generation.
5 Conclusion
- APEX improves instruction fulfillment and visual aesthetics while reducing peak allocated GPU memory and mean iteration time, with motion quality and synchronization remaining trade-offs.APEX and S2-Avatar achieve the same usability rate.Source: §5 · p. 9
A.1 Consistency and Trajectory-Based Generation
- Consistency and trajectory-based methods reduce sampling evaluations by mapping points along a trajectory or predicting average velocity or endpoint transitions.The section also situates APEX among methods that combine or interpolate generative training objectives.Source: §A.1 · p. 17
A.2 Distribution Matching and Adversarial Training
The related work places APEX among methods that provide generated-distribution feedback while addressing the overhead of auxiliary networks, and among approaches to causal streaming, long-video context, audio-driven generation, efficient inference, and streaming editing. These methods address related but distinct settings and costs.
A.2 Distribution Matching and Adversarial Training
- APEX uses condition shifting to select fake estimation and shares generator and fake-estimator parameters while retaining S2’s frozen reference teacher.Unlike FSF-DMD, it learns fake velocity through flow matching on generated samples under a shifted condition.Source: §A.2 · p. 17, §A.3 · p. 18
A.3 Causal Streaming Video
- Causal streaming methods include autoregressive distillation, replay-based training, and work on video-based character performance.S2-Avatar combines reference-conditioned training, causal adaptation, and Self-Replay Forcing; its replay retains cross-block gradients without retaining the full rollout graph.Source: §A.3 · pp. 17–18
A.4 Historical Context and Long Video Generation
- Long-video approaches address duration, memory, and historical context, complementing APEX’s focus on the training cost of distribution estimation.The section notes that these works motivate evaluating instruction response and motion quality as a stream grows longer.Source: §A.4 · p. 18
A.5 Audio-Driven and Interactive Video
- Audio-driven and joint audio-video generation span portrait, body, cinematic, and streaming-avatar settings, which differ from video generation conditioned on fixed external audio.The section cautions that comparisons should match references, audio, duration, and resolution.Source: §A.5 · p. 18
A.6 Efficient Video Inference
- Inference methods reduce computation through attention, precision, or parallelism, whereas APEX’s matched-setting comparison with DMD measures training cost.The experiments separately account for the low-resolution backbone and the one-step high-resolution spatial Refiner.Source: §A.6 · p. 19
A.7 Streaming Video Editing
- Streaming video editing methods use an incoming video’s motion and structure, unlike I2V conditioning; the reported benchmark results use StreamAV-Bench rather than StreamEval measurements.Visual text fidelity benchmarks are also not evaluated here.Source: §A.7 · p. 19
B Theoretical Analysis and Proofs
The appendix states that its derivations do not establish long-horizon stability or an exact KL gradient for the joint video trajectory. It sets notation and the OT-path context used to express the paper’s velocity and endpoint predictions.
B Theoretical Analysis and Proofs
- The derivations do not establish long-horizon stability or an exact KL gradient for the joint video trajectory.The appendix identifies these as boundaries of the theoretical results.Source: B Theoretical Analysis and Proofs · p. 19
B.1 Setup
- The setup defines the OT path’s data and noise endpoints and uses conditional-mean velocity predictions to relate a velocity estimate to its implied clean sample.It denotes projected text by c, Gaussian noise by z, and the velocity predictor by Fθ.Source: §B.1 · pp. 19–20
B.2 Score-Velocity Duality under OT Path
Under the OT path, optimal velocity and marginal score are related, yielding a same-state, same-time identity between velocity differences and score differences. The derivation uses the conditional mean of the target velocity and Tweedie’s formula for the scaled endpoint.
B.2 Score-Velocity Duality under OT Path
- The duality applies to real and generated endpoint distributions along the OT path.The stated score-velocity identity is used for both distributions.Source: §B.2 · p. 20
- The OT-path score-velocity identity follows by expressing the optimal velocity as the conditional mean of the target z − x and rearranging the relation between velocity and marginal score.The proof derives the posterior mean of the scaled endpoint using Tweedie’s formula, then recovers the conditional means of the endpoint and noise.Source: §B.2 · pp. 20–21
- At the same noisy state and diffusion time, the difference between two optimal velocity fields equals a time-scaled difference between their marginal scores.The corollary states the velocity difference as −t/(1−t) times the score difference.Source: §B.2 · p. 21
B.3 Frozen-Target Correction
The frozen-target correction keeps the teacher and fake predictions fixed while differentiating the generator loss. The appendix also gives an auxiliary endpoint formulation for fake-velocity regression.
B.3 Frozen-Target Correction
- The correction differentiates only the generator prediction against fixed teacher and fake estimates, using a per-video masked mean over the full scored sequence.Detached-prefix rows have zero Jacobian, while replay outputs retain gradients through connected causal representations in the active segment.Source: §B.3 · p. 22
- The guided, normalized update is not thereby an exact conditional or full-trajectory KL gradient.The conditional-score interpretation requires calibrated marginal velocity fields under common conditioning.Source: §B.3 · p. 22
B.4 Endpoint Formulation
- The auxiliary endpoint construction forms a detached prediction from a partially noised reference sample and re-noises it at the reused time.The mixing weight and time weight apply only to these endpoint identities.Source: §B.4 · pp. 22–23
- Endpoint regression evaluates the original- and shifted-condition branches at the same real-data path point, then combines supervision and fake-alignment components.The shifted-condition fake estimate uses the same network with stop-gradient; the mixed target weights the clean data and endpoint prediction by λ.Source: §B.4 · p. 23
B.5 Endpoint-Velocity Equivalence
The appendix establishes endpoint-to-velocity loss and gradient identities, then relates the surrogate gradient to score differences and GAN weighting. These results have explicit calibration and interpretation limits.
B.5 Endpoint-Velocity Equivalence
- Endpoint-space squared error equals velocity-space squared error scaled by t² for supervised flow matching and fake alignment.The time-dependent factor matters when comparing weighted losses.Source: §B.5 · pp. 23–24
B.6 Gradient Equivalence of Alternative Loss
- The mixed endpoint loss and alternative GAPEX loss have equal gradients when the mixed target is detached during differentiation.The proof holds pairwise under the same sampling law, assuming differentiation and expectation can be interchanged.Source: §B.6 · pp. 24, 26
B.7 Score-Difference Form of the Endpoint Surrogate Gradient
- The frozen-target gradient can be written in score-difference form, but it need not represent true distribution scores or a divergence between generated and data distributions.A density-score interpretation of the mixed field requires calibration and normalizability, and may still fail to define a consistent path across time.Source: §B.7 · p. 27
B.8 GAN Dynamics and Score-Difference Gradients
- GAN and endpoint gradients both use weighted score differences, but GAN's non-saturating weight depends on the discriminator while the endpoint coefficient depends only on time.The comparison concerns sample weighting; each gradient has its own expectation and Jacobian.Source: §B.8 · p. 28, §B.7 · p. 28
C Training Data
APEX reuses S2-Avatar’s training data and preparation pipeline without changes to its data-processing procedures.
- The reused dataset spans livestream and talking-head videos, film and television, solo dance, and 2D/3D animation.Its content includes facial expressions, body motion, and animated characters.Source: C Training Data · p. 29
- Single-shot clips are filtered for subject visibility, visual quality, safety, shot stability, and interactivity; clips with large or complex camera motion are excluded.Smooth camera motion is corrected using background features after masking foreground subjects.Source: C Training Data · p. 29
- Captions describe actions and outcomes chronologically, grounded with object detection and speech recognition; clipping, checks, stabilization, and annotation follow S2 unchanged.Figure 8 summarizes the reused five-stage preparation pipeline.Source: C Training Data · p. 29, Figure 8 · p. 29
D Evaluation Details
The evaluation details define benchmark and human-comparison protocols, variant comparisons, and backbone/refiner evaluation budgets.
D.1 StreamAV-Bench
- The benchmark covers 320 180-second cases, split evenly between Progressive and Interactive tracks, with five condition updates in the Interactive track.Track means equally weight cases, and pooled results average the two equal-size tracks; AVSync is the only lower-is-better metric.Source: §D.1 · p. 30
D.2 Paired Human Comparisons
- The paired human study uses 70 cases and five preference dimensions; ties count in the net-preference denominator, and usability requires both MOS scores to exceed 2.In the main study, motion quality has six net losses, while consistency and video quality each have three net wins.Source: §D.2 · p. 30
- Additional sampling and optimizer variants are each compared against S2-Avatar at 3 NFE, not directly against one another.Optimizer settings use shared AdamW states at 3 NFE and separate states at 2 NFE; replay-time variants share optimizer states and sort times along the sequence.Source: §D.2 · p. 30
D.3 Backbone and Refiner Budget
- NFE counts backbone denoising evaluations per block, while every paired comparison uses the same one-step 2× spatial Refiner.The 2-NFE setting uses one third fewer backbone evaluations than 3 NFE; the Refiner adds one evaluation per block in either setting.Source: §D.3 · p. 30
Related papers
This paper cites
- Score-Based Generative Modeling through Stochastic Differential Equations2020
- Efficient Streaming Language Models with Attention Sinks2023
- Elucidating the Design Space of Diffusion-Based Generative Models2022
- ImageBind: One Embedding Space To Bind Them All2023
- Causal Forcing++: Scalable Few-Step Autoregressive Diffusion Distillation for Real-Time Interactive Video Generation2026
- Causal-rCM: A Unified Teacher-Forcing and Self-Forcing Open Recipe for Autoregressive Diffusion Distillation in Streaming Video Generation and Interactive World Models2026