Abstract
Recent autoregressive video diffusion methods are increasingly built upon Self Forcing, where the student is trained on histories produced by its own rollout rather than ground-truth video contexts. This reduces exposure bias, but the historical key-value cache is still used by future frames only as frozen rollout state. As a result, future losses cannot supervise how earlier generated latents should be written into more useful keys and values for later video-latent generation. We call this the historical context-gradient gap. We propose Self Gradient Forcing (SGF), a two-pass training strategy that restores this missing supervision signal without backpropagating through the full serial rollout. Pass 1 performs a no-gradient autoregressive rollout matching inference and, at a sampled denoising exit step, records both the self-generated context and the noisy latents fed to the model. Pass 2 performs parallel context-gradient reconstruction for the recorded exit step. The generated context is used as stop-gradient clean-latent input, while the model recomputes the context KV representations and future-to-context causal attention. Thus, SGF provides the missing memory-writing supervision within the native autoregressive training objective, using losses on future video latents to train the model to encode context into more effective causal memory. Across extensive long-horizon frame-wise and chunk-wise experiments under different initializations, SGF achieves stronger native long-video extrapolation than Self Forcing, especially in subject identity, background/layout consistency, and temporal stability. Remarkably, using only a 5-second training window, SGF can extrapolate to videos lasting several minutes. Code and models will be released on the project page https://zhuang2002.github.io/SelfGradientForcing.
1 Introduction
Long-form autoregressive video generation requires scenes, objects, layouts, and dynamics to remain coherent as generation extends far beyond the training window. In autoregressive video diffusion, this coherence depends on extrapolating from the model’s generated history: once rollout begins, each new frame or chunk is conditioned on the prompt and previously generated content.
However, in Teacher-Forcing (TF) training, the model is conditioned on ground-truth video contexts, whereas at inference it is conditioned on self-generated histories. This training–inference mismatch creates exposure bias and makes native long-video extrapolation difficult. Self Forcing (Huang et al., 2025) mitigates the mismatch by training the student on histories produced by its own autoregressive rollout, using distribution-matching distillation (DMD) supervision from a bidirectional video model. This self-rollout recipe has become an increasingly common training paradigm for autoregressive video diffusion (Huang et al., 2025; Liu et al., 2025; Cui et al., 2025; Yang et al., 2025; Chen et al., 2026b; a; Xu et al., 2026a; Ji et al., 2026; Tian et al., 2026; Hu et al., 2026; Meng et al., 2026). However, to make self-rollout training feasible, these methods typically inherit a crucial computational constraint: cross-chunk gradient flow through the historical KV cache is truncated.
The consequence is that Self Forcing exposes the model to self-generated history, but does not let future losses train how that history should be written as future-readable memory. During rollout, generated latents are processed by the causal DiT at the clean context timestep and stored as a causal KV cache; later chunks read this cache as frozen historical context. Future losses can therefore train noisy denoising tokens to read cached history, but cannot propagate into the clean-timestep computation that wrote the historical K/V entries. We call this missing credit-assignment path the historical context-gradient gap. Fig. 1 illustrates the qualitative effect: a Self-Forcing model can remain locally plausible for many frames, yet identity, viewpoint, and layout consistency gradually break down as extrapolation continues.
After TF, consistency-distillation (CD), or ODE initialization (Huang et al., 2025; Zhu et al., 2026; Zhao et al., 2026), the model has a useful prior for writing real video contexts into the cache at the clean context timestep. However, the final self-rollout objective changes both the context distribution and the supervision: history is self-generated, and few-step DMD losses are applied at sampled noisy denoising timesteps. This leaves a cache-writing gap for self-generated histories. The gap can further widen because the same causal DiT shares parameters across timesteps: updates from noisy denoising steps can alter the clean cache-writing computation, while later-chunk losses do not backpropagate to the historical KV entries it wrote. The context-writing path may therefore drift from what long autoregressive rollout requires.
A direct solution would be to keep the historical KV cache differentiable, allowing future losses to backpropagate into the clean-timestep K/V writing computation. In practice, this would require retaining the autograd graph for every historical cache write until future chunks consume it. These graphs grow with rollout length, transformer depth, and sequential cache updates, making the direct KV-gradient path difficult to scale.
We propose Self Gradient Forcing (SGF), which turns this serial graph-retention problem into a bounded parallel recomputation problem. SGF is a two-pass training strategy that restores the missing memory-writing supervision without full backpropagation through the sampled rollout. Pass 1 performs the true serial no-gradient autoregressive rollout and records the self-generated context together with the noisy latents fed to the model at a sampled denoising exit step. Pass 2 discards the rollout cache and reconstructs the same exit-step computation in parallel: the generated context is reprocessed as stop-gradient clean-latent input, and the recorded noisy latents are fed again as prediction inputs. The model recomputes the context hidden states, KV representations, and future-to-context causal attention, so losses on future video latents update the shared parameters that write clean-timestep K/V representations for later generation.
As a native training framework for forcing-based autoregressive video diffusion, SGF recovers the context-writing gradient unused by frozen-cache Self Forcing and is orthogonal to existing forcing improvements, allowing it to be applied directly on top of them. We evaluate SGF across multiple initializations and both frame-wise and chunk-wise autoregressive generation. Empirically, SGF is comparable to Self Forcing at 5 seconds and substantially improves native long-video extrapolation at 60 and 240 seconds, with the clearest gains in subject identity, background/layout consistency, and temporal stability. Notably, models trained with only a 5-second window can still extrapolate to minute-scale videos. We further analyze two-pass recovery accuracy, the start-boundary effect of causal video VAEs, and how the number of sink latents affects streaming generation quality.
- •
We identify the historical context-gradient gap in frozen-cache Self Forcing, where future losses supervise cache reading but not the clean context-writing computation that writes self-generated history into K/V memory; as shared DiT parameters are updated at other timesteps during few-step DMD, this unsupervised path can drift.
- •
We introduce SGF, a two-pass training strategy whose serial Pass 1 records the self-generated rollout state and whose parallel Pass 2 performs context-gradient reconstruction of the sampled exit-step computation with gradients through self-generated context KV representations and future-to-context causal attention.
- •
We conduct extensive experiments on frame-wise and chunk-wise generation under different initializations at 5s, 60s, and 240s, showing that SGF matches Self Forcing at 5s and substantially improves long-video extrapolation at 60s and 240s. We study two-pass recovery accuracy, causal VAE boundary diagnostics, and the effect of sink latents on streaming generation quality.
2 Related Work
Autoregressive video diffusion.
Modern video generation builds on diffusion objectives, accelerated samplers, latent diffusion, and diffusion transformers, which provide the modeling and scaling principles used by image and video generators (Ho et al., 2020; Song et al., 2021; Rombach et al., 2022; Peebles and Xie, 2023). Video diffusion systems extend these foundations with 3D denoising, cascaded generation, latent video modeling, motion modules, space-time architectures, and multimodal autoregressive token modeling (Ho et al., 2022b; a; Singer et al., 2023; Blattmann et al., 2023b; a; Guo et al., 2024; Chen et al., 2024b; Bar-Tal et al., 2024; Kondratyuk et al., 2024). For long-form generation, however, the key distinction is the causal use of generated history: each generated latent frame or chunk becomes part of the context for later generation. Diffusion Forcing (Chen et al., 2024a) connects next-token prediction and diffusion by independently noising sequence elements, and CausVid (Yin et al., 2025) distills bidirectional video diffusion into a fast autoregressive student with causal caching. SGF follows this autoregressive video diffusion interface and asks whether self-generated history, once written into causal KV state, receives future supervision as future-readable memory.
Forcing objectives for self-generated histories.
Teacher-forcing trains on ground-truth prefixes, whereas autoregressive inference conditions on self-generated histories. Self Forcing (Huang et al., 2025) directly reduces this exposure bias by training the student on histories produced by its own rollout, using distribution-matching distillation supervision from a bidirectional teacher. Subsequent forcing methods build on this self-rollout training paradigm. Causal Forcing (Zhu et al., 2026) and Causal Forcing++ (Zhao et al., 2026) address a complementary initialization mismatch: a causal student should not depend on bidirectional teacher trajectories whose flow map is unavailable at inference. Rolling Forcing (Liu et al., 2025), Self-Forcing++ (Cui et al., 2025), Matrixgame3 (Wang et al., 2026), and ShotStream (Luo et al., 2026) further extend rollout exposure through longer segments and windowed denoising. Video-Mirai (Yu et al., 2026) and Next Forcing (Xu et al., 2026b) make a related observation that next-step supervision can discard information needed by later frames, and introduce future-aware or multi-chunk supervision. These methods improve the history distribution, causal initialization, or temporal reach of the supervision. SGF addresses a remaining gap in frozen-cache self-rollout training: future losses can supervise how later noisy denoising tokens read cached history, but not how the clean-timestep computation writes self-generated history into KV memory.
Long-horizon context and cache design.
A line of work improves long-horizon generation by changing which context is available, how it is positioned, or how it is retained. Gen-L-Video performs overlapping temporal co-denoising for long multi-text videos (Wang et al., 2023); FreeNoise reschedules noise and fuses windowed temporal attention (Qiu et al., 2024); FIFO-Diffusion maintains a frame queue at different noise levels (Kim et al., 2024); and StreamingT2V combines short-term and long-term memory in an autoregressive pipeline (Henschel et al., 2025). Recurrent sequence modeling and efficient attention study segment recurrence (Dai et al., 2019), rotary position embeddings (Su et al., 2021), attention sinks (Xiao et al., 2024), cache retention (Zhang et al., 2023; Li et al., 2024), streaming long tuning (Yang et al., 2025; Chen et al., 2026b), long-context supervision (Chen et al., 2026a), trainable sparse attention (Xu et al., 2026a; Zhuang et al., 2026), KV compression (Ji et al., 2026), head-wise cache behavior (Tian et al., 2026), retrieval-augmented latent history (Hu et al., 2026), and gated recall with trusted alignment (Meng et al., 2026). These methods change the memory exposed to the generator. SGF is orthogonal to this direction: for a given context and cache design, it improves how self-generated content is written into future-readable KV representations. We evaluate SGF across frame-wise and chunk-wise generation, multiple initializations, and extrapolation horizons, showing that better KV memory writing improves long-horizon autoregressive video generation even under short-window forcing training.
3 Method
3.1 Historical Context-Gradient Gap
Autoregressive video diffusion generates latent blocks sequentially. At block , the causal generator denoises while attending to a historical K/V cache, rather than to raw past latents. After block is generated, its predicted clean latent is processed at the clean context timestep , and the resulting K/V entries are appended to the cache. Thus, later blocks condition on the clean-timestep memory representation written from , not on directly.
Let denote the cache-writing computation induced by the causal generator at the clean context timestep. In a serial rollout, this update is recurrent: the model reads the existing cache and writes the next historical K/V entry,
| (1) |
The new entry then becomes part of the state used by later blocks, including subsequent cache updates. If future losses could differentiate through this historical entry, they would assign credit to the clean-context computation that encoded into K/V memory. This would train not only how later noisy tokens read self-generated history, but also how earlier generated latents should be written into memory for future denoising.
Frozen-cache Self Forcing removes this memory-writing signal. It trains on self-generated histories, reducing the mismatch between training and inference, and later-block losses can still update the target-side denoising computation that reads the recorded cache. However, the historical K/V entries are treated as detached rollout state. Consequently, future losses do not supervise the computation that produced those entries.
This omission becomes problematic during final Self Forcing because the same DiT parameters are shared across noisy denoising and clean-context cache writing. DMD losses at noisy timesteps update the shared parameters,
| (2) |
Thus, training can change the clean-context cache writer, but frozen-cache Self Forcing provides no future-loss correction for how self-generated latents are encoded into K/V memory. We call this missing supervision path the historical context-gradient gap. Figure 2 illustrates how SGF restores this missing path by replacing frozen-cache reconstruction with context-gradient reconstruction.
3.2 Direct Differentiable Cache
A direct way to close the gap is to keep the serial historical K/V cache differentiable. Then future losses could backpropagate through the cached K/V entries into the earlier clean-context calls that produced them. However, this requires retaining the backward graph for every cache write until all later blocks that consume it have been processed. Because autoregressive rollout repeatedly writes, reads, and extends the cache across denoising steps and transformer layers, the graph grows with rollout length rather than remaining a fixed-window computation. The bottleneck is therefore not the storage of K/V tensors alone, but the saved activations attached to the recurrent cache trajectory. This makes direct differentiable-cache training impractical for long-horizon self-rollout.
3.3 Self Gradient Forcing
Algorithm 1 Self Gradient Forcing Training
| Require: Denoising steps and scheduler | |
|---|---|
| Require: Autoregressive blocks and clean context timestep | |
| Require: Reconstruction causal mask | |
| Require: Causal DiT with serial cache and parallel reconstruction interfaces | |
| 1: | loop |
| 2: | Initialize serial cache and records |
| 3: | Sample exit index and set |
| 4: | Pass 1: no-gradient self-rollout |
| 5: | Disable gradient computation for all Pass-1 operations |
| 6: | for block do |
| 7: | Sample initial noisy latent |
| 8: | for denoising step do |
| 9: | |
| 10: | if then sample and set end if |
| 11: | end for |
| 12: | Set and |
| 13: | |
| 14: | Append to and to |
| 15: | end for |
| 16: | Pass 2: parallel context-gradient reconstruction |
| 17: | Set |
| 18: | Enable gradient computation |
| 19: | |
| 20: | Update with ; keep context-K/V gradients |
| 21: | end loop |
Algorithm 3.3 summarizes the SGF training step. SGF can be understood from an equivalent two-pass view of Self Forcing. In this view, Pass 1 performs the ordinary no-gradient self-rollout and records a sampled exit state, while Pass 2 reconstructs the corresponding causal computation in parallel. Frozen-cache Self Forcing treats the reconstructed context K/V path as detached memory in Pass 2. SGF keeps Pass 1 and the reconstruction geometry unchanged, but changes the Pass-2 gradient boundary so future DMD losses also supervise clean-context K/V writing.
Pass 1: no-gradient self-rollout.
The first pass is the ordinary serial autoregressive rollout used at inference. For each block , the model denoises with the current historical cache and records a sampled exit state: the noisy input and the predicted clean latent . The latent is then processed at the clean context timestep to update the serial K/V cache for later blocks. All computations in this pass are run without gradient tracking, and the recorded states are treated as fixed data for Pass 2.
SF Pass 2: frozen-K/V computation.
Frozen-cache Self Forcing can be viewed as a parallel reconstruction of the sampled exit computation with a detached context K/V path. Given the recorded noisy latents and context latents , it reconstructs target predictions under the causal mask :
| (3) |
The mask reproduces the sink-plus-window attention relation induced by the serial cache. In frozen-cache Self Forcing, however, the K/V entries produced by the clean-context side are treated as detached memory when noisy target tokens attend to them. Thus, DMD losses train how future noisy tokens read self-generated history, but not how that history is encoded into K/V memory.
SGF Pass 2: context-gradient reconstruction.
SGF keeps Pass 1 and the reconstruction geometry unchanged, but removes the stop-gradient boundary on the reconstructed context K/V path. The context latents themselves remain stop-gradient inputs, so SGF does not optimize the sampled rollout trajectory. Instead, the model re-encodes these fixed self-generated latents at , and the resulting K/V entries remain differentiable when future target tokens attend to them:
| (4) |
Therefore, future DMD losses supervise both target-side denoising and clean-context K/V writing.
The Pass-2 reconstruction is designed to recover the sampled exit computation from Pass 1. With deterministic layers, matched positional indices, and the same causal reconstruction geometry, is theoretically identical to the recorded predicted context latents for the corresponding exit state. In practice, small deviations may still appear due to floating-point and implementation-level effects. Appendix D verifies this recovery fidelity empirically.
This two-pass design avoids the memory blow-up of a direct differentiable cache. Pass 1 is serial but no-gradient; Pass 2 is gradient-enabled but fixed-window and parallel under . SGF therefore recovers the missing memory-writing supervision without opening a recurrent autograd graph through the full self-rollout.
3.4 Gradient Boundary
SGF is a bounded reconstruction of the sampled exit computation, not full rollout BPTT. The recorded context latents , noise samples, scheduler states, and Pass-1 serial cache trajectory are all stop-gradient. Gradients flow only through the Pass-2 reconstruction: the clean-context forward, K/V projections, future-to-context attention, and target-side denoising computation. This boundary recovers memory-writing supervision while keeping the training graph fixed-window and parallel.
3.5 Streaming Context Policy
For frame-wise streaming generation, both Self Forcing and SGF use the same sink-plus-FIFO context policy. We keep a fixed sink prefix and a FIFO window of recent latents, so the evaluation isolates the effect of SGF rather than context selection. For the Wan video VAE, we use four sink latents to preserve the temporal boundary prefix induced by its asymmetric grouping pattern. Appendix E provides the boundary diagnostic and sink-number ablation.
4 Experiments
We evaluate whether SGF improves native long-video extrapolation without sacrificing short-horizon quality. The appendix provides full 5s VBench tables, two-pass recovery fidelity, sink/context ablations, and additional qualitative comparisons (Appendix B, D, E, and G).
4.1 Experimental Setup
All models are trained with the same 5-second training window; 60s and 240s results therefore test native extrapolation beyond the training horizon. Following prior long-video extrapolation practice (Yesiltepe et al., 2025), we compare SGF with matched Self Forcing baselines at 5s, 60s, and 240s. Each matched pair shares the same initialization, prompt set, random seed, sink/FIFO policy, sliding window, chunking strategy, and sampling configuration. The only change is whether the sampled exit loss reads a frozen historical KV cache, as in Self Forcing, or reconstructs the self-generated context with gradients, as in SGF. For frame-wise generation, we use sink 4, total window 21, FIFO 16, and current chunk 1; for chunk-wise generation, we use sink 3, total window 12, FIFO 6, current chunk 3, and chunk size 3.
The 5s evaluation follows the standard VBench protocol and serves as a short-horizon sanity check. Full 5s VBench results are reported in Appendix B, where SGF and Self Forcing are broadly comparable across frame-wise and chunk-wise settings. We therefore focus the main paper on 60s and 240s extrapolation, where memory-writing errors have time to accumulate.
The 60s setting uses VBench-Long prompts, and the 240s setting uses 128 randomly sampled MovieGen prompts (Polyak et al., 2024). For both long horizons, we report the official VBench-Long metrics: aesthetic quality, background consistency, dynamic degree, imaging quality, motion smoothness, subject consistency, and flickering. Higher is better after VBench orientation. GSB human-preference results are reported separately as paired comparisons.
4.2 Long Video Generation (60s and 240s)
Quantitative results.
Tabs. 1 and 2 report long-horizon automatic metrics for frame-wise and chunk-wise autoregressive generation. All comparisons are controlled within each generation setting and should be read pairwise by initialization.
Across both generation granularities and both long horizons, SGF improves over matched Self Forcing baselines on most quality and consistency metrics. The gains are especially consistent for aesthetic quality, background consistency, imaging quality, motion smoothness, subject consistency, and flickering. These metrics directly reflect the failure mode targeted by SGF: whether self-generated latents are written into memory representations that remain useful throughout long extrapolation.
Dynamic degree is the main exception, where Self Forcing can obtain a higher score. This does not necessarily indicate better motion quality: Appendix G shows that long Self Forcing rollouts often contain scene jumps, broken camera geometry, and object deformation, which create large but incoherent apparent motion and can inflate dynamic degree. By contrast, SGF maintains more stable image quality and more plausible camera evolution, so its lower dynamic-degree score in these cases is not evidence of worse generation quality.
Qualitative results.
Fig. 3 shows a representative 240-second frame-wise comparison under TF initialization. Both methods use the same prompts, seeds, horizon, and inference geometry, so the visual differences reflect the training objective rather than sampling variation. Self Forcing remains locally plausible early in the rollout, but gradually accumulates identity drift, crop drift, and layout changes, indicating that its self-generated K/V memory becomes less reliable for later latent generation. In contrast, SGF uses future losses to supervise the clean-context K/V representations of self-generated latents, better preserving subject identity, camera relation, and textured background over the full rollout. Additional frame-wise and chunk-wise comparisons under other initializations are provided in Appendix G.
| Horizon | Metric | Causal ODE init | Causal CD init | TF init | |||
|---|---|---|---|---|---|---|---|
| SF | SGF | SF | SGF | SF | SGF | ||
| 60s | Aesthetics | 0.543 | 0.606 | 0.608 | 0.630 | 0.650 | 0.653 |
| Background | 0.947 | 0.966 | 0.969 | 0.973 | 0.970 | 0.974 | |
| Dynamics | 0.867 | 0.566 | 0.489 | 0.267 | 0.647 | 0.730 | |
| Imaging | 0.657 | 0.715 | 0.684 | 0.708 | 0.704 | 0.714 | |
| Motion | 0.975 | 0.986 | 0.984 | 0.988 | 0.985 | 0.982 | |
| Subject | 0.928 | 0.971 | 0.974 | 0.983 | 0.976 | 0.983 | |
| Flickering | 0.971 | 0.987 | 0.992 | 0.992 | 0.988 | 0.991 | |
| 240s | Aesthetics | 0.510 | 0.543 | 0.533 | 0.584 | 0.614 | 0.619 |
| Background | 0.943 | 0.966 | 0.964 | 0.971 | 0.965 | 0.968 | |
| Dynamics | 0.840 | 0.556 | 0.599 | 0.385 | 0.669 | 0.648 | |
| Imaging | 0.648 | 0.698 | 0.632 | 0.690 | 0.701 | 0.718 | |
| Motion | 0.971 | 0.985 | 0.981 | 0.986 | 0.980 | 0.982 | |
| Subject | 0.936 | 0.969 | 0.967 | 0.976 | 0.965 | 0.972 | |
| Flickering | 0.937 | 0.972 | 0.971 | 0.977 | 0.967 | 0.968 | |
| Horizon | Metric | Bidirectional ODE init | Causal ODE init | Causal CD init | TF init | ||
|---|---|---|---|---|---|---|---|
| SF | SF | SF | SGF | SF | SGF | ||
| 60s | Aesthetics | 0.605 | 0.599 | 0.603 | 0.605 | 0.582 | 0.654 |
| Background | 0.966 | 0.952 | 0.957 | 0.958 | 0.947 | 0.971 | |
| Dynamics | 0.613 | 0.935 | 0.832 | 0.913 | 0.909 | 0.634 | |
| Imaging | 0.692 | 0.700 | 0.677 | 0.681 | 0.686 | 0.715 | |
| Motion | 0.983 | 0.961 | 0.974 | 0.976 | 0.968 | 0.985 | |
| Subject | 0.974 | 0.948 | 0.960 | 0.960 | 0.951 | 0.982 | |
| Flickering | 0.991 | 0.993 | 0.988 | 0.989 | 0.989 | 0.990 | |
| 240s | Aesthetics | 0.559 | 0.564 | 0.569 | 0.578 | 0.557 | 0.629 |
| Background | 0.962 | 0.941 | 0.948 | 0.950 | 0.944 | 0.970 | |
| Dynamics | 0.622 | 0.916 | 0.823 | 0.923 | 0.943 | 0.566 | |
| Imaging | 0.668 | 0.679 | 0.671 | 0.667 | 0.688 | 0.712 | |
| Motion | 0.977 | 0.957 | 0.967 | 0.970 | 0.967 | 0.985 | |
| Subject | 0.962 | 0.939 | 0.939 | 0.942 | 0.946 | 0.975 | |
| Flickering | 0.959 | 0.915 | 0.941 | 0.943 | 0.934 | 0.970 | |
4.3 User Study
Automatic metrics do not directly capture human-perceived long-horizon consistency, so we conduct a blind GSB preference study with more than 1,900 paired judgments across 10 matched comparisons. Each pair compares SGF against the matched Self Forcing baseline under the same initialization, prompt set, horizon, and inference geometry. We report , where favors SGF, favors Self Forcing, and indicates no clear preference; positive scores therefore indicate preference for SGF. As shown in Tab. 3, all scores are positive, indicating that raters consistently prefer SGF over Self Forcing in long-horizon generation.
| Setting | Horizon | Causal ODE init | Causal CD init | TF init |
|---|---|---|---|---|
| Frame-wise | 60s | 29.6% | 36.8% | 45.1% |
| Frame-wise | 240s | 38.6% | 35.9% | 48.7% |
| Chunk-wise | 60s | – | 32.9% | 37.5% |
| Chunk-wise | 240s | – | 34.3% | 44.9% |
4.4 Qualitative Results
We summarize the long-horizon qualitative comparisons provided in Appendix G. Each strip compares SGF and Self Forcing under the same prompt, random seed, initialization, horizon, and inference geometry, so the visual differences reflect the training objective rather than sampling variation. These strips visualize the temporal failure mode targeted by SGF: a generated history can remain locally plausible while becoming progressively less useful as memory for later latents. The TF-initialized frame-wise 60s and 240s comparisons in Figs. 7 and 3 provide the clearest examples, with additional frame-wise and chunk-wise cases covering other initializations.
Across the appendix examples, Self Forcing often accumulates long-horizon drift, including scene jumps, broken camera geometry, object deformation, identity drift, crop drift, and background/layout replacement. These failures can produce large but incoherent apparent motion, explaining why dynamic degree may increase despite worse perceptual quality. By contrast, SGF better preserves subject identity, camera relation, scene layout, and temporal stability, matching the gains in subject consistency, background consistency, flickering, and motion smoothness.
4.5 Training Feasibility
We analyze whether recovering context gradients makes training prohibitively expensive. Tab. 4 compares frozen-cache Self Forcing, SGF, and a direct differentiable-cache variant. Directly enabling gradients through the historical KV cache runs out of memory, because each cached entry retains the serial cache-formation graph that produced it. SGF avoids this recurrent graph: Pass 1 is a no-gradient rollout, and gradients are opened only in the bounded Pass-2 reconstruction. In our implementation, Pass 2 uses FlexAttention with a compiled static block-sparse causal mask, making the reconstructed future-to-context attention memory efficient.
The measured overhead is modest. Compared with frozen-cache Self Forcing, SGF increases peak memory from 79.01GB to 87.01GB, while stable memory decreases from 79.01GB to 63.73GB. Thus, activating the context-gradient path does not cause the recurrent memory growth of direct differentiable-cache training. Runtime is similarly close: wall-clock time increases from 10.39s to 11.71s per five training steps. This is because, for exit step , Self Forcing performs no-gradient generator forwards and one gradient-enabled forward/backward at the exit step, whereas SGF performs no-gradient forwards in Pass 1 and one gradient-enabled forward/backward in Pass 2. Since fake-score and generator updates follow a 5:1 schedule, the extra Pass-2 work affects only the generator update within each five-step cycle.
| Training variant | Peak memory | Stable memory | Time / 5 steps | Outcome |
|---|---|---|---|---|
| Self Forcing, frozen historical KV cache | 79.01GB | 79.01GB | 10.39s | trains |
| SGF, serial Pass 1 + parallel Pass 2 | 87.01GB | 63.73GB | 11.71s | trains |
| Self Forcing, differentiable historical KV cache | OOM | OOM | – | OOM |
5 Conclusion
We presented Self Gradient Forcing (SGF), a two-pass training strategy that closes the historical context-gradient gap in frozen-cache Self Forcing. By keeping the serial self-rollout no-gradient and reconstructing the sampled exit computation in parallel, SGF lets future losses supervise how self-generated histories are written into K/V memory without full rollout backpropagation. Across frame-wise and chunk-wise generation, multiple initializations, and 5s, 60s, and 240s horizons, SGF preserves short-horizon quality while improving long-video identity, layout consistency, and temporal stability. These gains are confirmed by qualitative comparisons and human preference, and future work can combine SGF with stronger initialization, long-context tuning, retrieval, and cache-compression techniques.
References
- O. Bar-Tal, H. Chefer, O. Tov, C. Herrmann, R. Paiss, S. Zada, A. Ephrat, J. Hur, G. Liu, A. Raj, Y. Li, M. Rubinstein, T. Michaeli, O. Wang, D. Sun, T. Dekel, and I. Mosseri (2024) Lumiere: a space-time diffusion model for video generation. arXiv preprint arXiv:2401.12945. Cited by: §2.
- A. Blattmann, T. Dockhorn, S. Kulal, D. Mendelevitch, M. Kilian, D. Lorenz, Y. Levi, Z. English, V. Voleti, A. Letts, V. Jampani, and R. Rombach (2023a) Stable video diffusion: scaling latent video diffusion models to large datasets. arXiv preprint arXiv:2311.15127. Cited by: §2.
- A. Blattmann, R. Rombach, H. Ling, T. Dockhorn, S. W. Kim, S. Fidler, and K. Kreis (2023b) Align your latents: high-resolution video synthesis with latent diffusion models. arXiv preprint arXiv:2304.08818. Cited by: §2.
- B. Chen, D. M. Monso, Y. Du, M. Simchowitz, R. Tedrake, and V. Sitzmann (2024a) Diffusion forcing: next-token prediction meets full-sequence diffusion. arXiv preprint arXiv:2407.01392. Cited by: §2.
- H. Chen, Y. Zhang, X. Cun, M. Xia, X. Wang, C. Weng, and Y. Shan (2024b) VideoCrafter2: overcoming data limitations for high-quality video diffusion models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, Cited by: §2.
- S. Chen, C. Wei, S. Sun, T. Shen, P. Nie, K. Zou, G. Zhang, M. Yang, and W. Chen (2026a) Context forcing: consistent autoregressive video generation with long context. In International Conference on Machine Learning, Cited by: §1, §2.
- Y. Chen, L. Wang, W. Huang, S. Yang, B. Zhang, Y. Xiao, R. Chu, W. Mao, Q. Hu, S. Liu, Y. Zhao, H. Mao, Y. Chen, E. Xie, X. Qi, and S. Han (2026b) LongLive-2.0: an nvfp4 parallel infrastructure for long video generation. arXiv preprint arXiv:2605.18739. Cited by: §1, §2.
- J. Cui, J. Wu, M. Li, T. Yang, X. Li, R. Wang, A. Bai, Y. Ban, and C. Hsieh (2025) Self-forcing++: towards minute-scale high-quality video generation. arXiv preprint arXiv:2510.02283. Cited by: §1, §2.
- Z. Dai, Z. Yang, Y. Yang, J. Carbonell, Q. V. Le, and R. Salakhutdinov (2019) Transformer-xl: attentive language models beyond a fixed-length context. In Annual Meeting of the Association for Computational Linguistics, Cited by: §2.
- Y. Guo, C. Yang, A. Rao, Z. Liang, Y. Wang, Y. Qiao, M. Agrawala, D. Lin, and B. Dai (2024) AnimateDiff: animate your personalized text-to-image diffusion models without specific tuning. In International Conference on Learning Representations, Cited by: §2.
- R. Henschel, L. Khachatryan, H. Poghosyan, D. Hayrapetyan, V. Tadevosyan, Z. Wang, S. Navasardyan, and H. Shi (2025) StreamingT2V: consistent, dynamic, and extendable long video generation from text. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, Cited by: §2.
- J. Ho, W. Chan, C. Saharia, J. Whang, R. Gao, A. Gritsenko, D. P. Kingma, B. Poole, M. Norouzi, D. J. Fleet, and T. Salimans (2022a) Imagen video: high definition video generation with diffusion models. arXiv preprint arXiv:2210.02303. Cited by: §2.
- J. Ho, W. Chan, C. Saharia, J. Whang, R. Gao, A. Gritsenko, D. P. Kingma, B. Poole, M. Norouzi, D. J. Fleet, and T. Salimans (2022b) Video diffusion models. arXiv preprint arXiv:2204.03458. Cited by: §2.
- J. Ho, A. Jain, and P. Abbeel (2020) Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, Cited by: §2.
- Q. Hu, S. Yang, W. Huang, S. Han, and Y. Chen (2026) LongLive-rag: a general retrieval-augmented framework for long video generation. arXiv preprint arXiv:2606.02553. Cited by: §1, §2.
- X. Huang, Z. Li, G. He, M. Zhou, and E. Shechtman (2025) Self forcing: bridging the train-test gap in autoregressive video diffusion. arXiv preprint arXiv:2506.08009. Cited by: Appendix A, §1, §1, §2.
- Y. Ji, Z. Zhong, J. Zhang, Q. Yang, X. Jin, Y. Qin, W. Luo, S. Mao, W. Liu, and H. Li (2026) Forcing-kv: hybrid kv cache compression for efficient autoregressive video diffusion models. arXiv preprint arXiv:2605.09681. Cited by: §1, §2.
- J. Kim, J. Kang, J. Choi, and B. Han (2024) FIFO-diffusion: generating infinite videos from text without training. In Advances in Neural Information Processing Systems, Cited by: §2.
- D. Kondratyuk, L. Yu, X. Gu, J. Lezama, J. Huang, G. Schindler, R. Hornung, V. Birodkar, J. Yan, M. Chuang, D. Ross, I. Essa, Y. Bisk, M. Norouzi, G. de Melo, and B. Seybold (2024) VideoPoet: a large language model for zero-shot video generation. In International Conference on Machine Learning, Cited by: §2.
- Y. Li, Y. Huang, B. Yang, B. Venkitesh, A. Locatelli, H. Ye, T. Cai, P. Lewis, and D. Chen (2024) SnapKV: llm knows what you are looking for before generation. In Advances in Neural Information Processing Systems, Cited by: §2.
- K. Liu, W. Hu, J. Xu, Y. Shan, and S. Lu (2025) Rolling forcing: autoregressive long video diffusion in real time. arXiv preprint arXiv:2509.25161. Cited by: §1, §2.
- Y. Luo, X. Shi, J. Zhuang, Y. Chen, Q. Liu, X. Wang, P. Wan, and T. Xue (2026) ShotStream: streaming multi-shot video generation for interactive storytelling. arXiv preprint arXiv:2603.25746. Cited by: §2.
- Y. Meng, X. Luo, L. Li, W. Jiang, C. Gao, X. Chen, Y. Li, and X. Zhang (2026) TetherCache: stabilizing autoregressive long-form video generation with gated recall and trusted alignment. arXiv preprint arXiv:2606.13035. Cited by: §1, §2.
- W. Peebles and S. Xie (2023) Scalable diffusion models with transformers. In IEEE/CVF International Conference on Computer Vision, Cited by: §2.
- A. Polyak, A. Zohar, A. Brown, A. Tjandra, A. Sinha, A. Lee, A. Vyas, B. Shi, C. Ma, C. Chuang, et al. (2024) Movie gen: a cast of media foundation models. arXiv preprint arXiv:2410.13720. Cited by: §4.1.
- H. Qiu, M. Xia, Y. Zhang, Y. He, X. Wang, Y. Shan, and Z. Liu (2024) FreeNoise: tuning-free longer video diffusion via noise rescheduling. In International Conference on Learning Representations, Cited by: §2.
- R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer (2022) High-resolution image synthesis with latent diffusion models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, Cited by: §2.
- U. Singer, A. Polyak, T. Hayes, X. Yin, J. An, S. Zhang, Q. Hu, H. Yang, O. Ashual, O. Gafni, D. Parikh, S. Gupta, and Y. Taigman (2023) Make-a-video: text-to-video generation without text-video data. In International Conference on Learning Representations, Cited by: §2.
- J. Song, C. Meng, and S. Ermon (2021) Denoising diffusion implicit models. In International Conference on Learning Representations, Cited by: §2.
- J. Su, Y. Lu, S. Pan, A. Murtadha, B. Wen, and Y. Liu (2021) RoFormer: enhanced transformer with rotary position embedding. arXiv preprint arXiv:2104.09864. Cited by: §2.
- J. Tian, Y. Wang, G. Yu, and C. Zhang (2026) Head forcing: long autoregressive video generation via head heterogeneity. arXiv preprint arXiv:2605.14487. Cited by: §1, §2.
- F. Wang, W. Chen, G. Song, H. Ye, Y. Liu, and H. Li (2023) Gen-l-video: multi-text to long video generation via temporal co-denoising. arXiv preprint arXiv:2305.18264. Cited by: §2.
- Z. Wang, Z. Liu, J. Li, K. Huang, B. Xu, F. Kang, M. An, P. Wang, B. Jiang, Y. Wei, Y. Xietian, J. Pei, L. Hu, B. Jiang, H. Xue, Z. Wang, H. Sun, W. Li, W. Ouyang, X. He, Y. Liu, Y. Li, and Y. Zhou (2026) Matrix-game 3.0: real-time and streaming interactive world model with long-horizon memory. arXiv preprint arXiv:2604.08995. Cited by: §2.
- G. Xiao, Y. Tian, B. Chen, S. Han, and M. Lewis (2024) Efficient streaming language models with attention sinks. In International Conference on Learning Representations, Cited by: §2.
- B. Xu, Y. Du, Z. Liu, S. Yang, Z. Jiang, S. Yan, R. Saha, A. Pumarola, W. Wang, and P. Li (2026a) Sparse forcing: native trainable sparse attention for real-time autoregressive diffusion video generation. arXiv preprint arXiv:2604.21221. Cited by: §1, §2.
- G. Xu, Q. Zhang, J. Zhou, X. Zhu, Y. Shen, X. Yang, and Y. Xu (2026b) Next forcing: causal world modeling with multi-chunk prediction. arXiv preprint arXiv:2606.11187. Cited by: §2.
- S. Yang, W. Huang, R. Chu, Y. Xiao, Y. Zhao, X. Wang, M. Li, E. Xie, Y. Chen, Y. Lu, S. Han, and Y. Chen (2025) LongLive: real-time interactive long video generation. arXiv preprint arXiv:2509.22622. Cited by: §1, §2.
- H. Yesiltepe, T. H. S. Meral, A. K. Akan, K. Oktay, and P. Yanardag (2025) Infinity-RoPE: action-controllable infinite video generation emerges from autoregressive self-rollout. arXiv preprint arXiv:2511.20649. Cited by: §4.1.
- T. Yin, Q. Zhang, R. Zhang, W. T. Freeman, F. Durand, E. Shechtman, and X. Huang (2025) From slow bidirectional to fast autoregressive video diffusion models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, Cited by: §2.
- Y. Yu, L. Huang, R. Li, Z. Wang, and T. Yamasaki (2026) Video-mirai: autoregressive video diffusion models need foresight. arXiv preprint arXiv:2606.03971. Cited by: §2.
- Z. Zhang, Y. Sheng, T. Zhou, T. Chen, L. Zheng, R. Cai, Z. Song, Y. Tian, C. Ré, C. Barrett, Z. Wang, and B. Chen (2023) H2o: heavy-hitter oracle for efficient generative inference of large language models. In Advances in Neural Information Processing Systems, Cited by: §2.
- M. Zhao, H. Zhu, K. Zheng, Z. Zhou, B. Yan, X. Li, X. Yang, C. Li, and J. Zhu (2026) Causal forcing++: scalable few-step autoregressive diffusion distillation for real-time interactive video generation. arXiv preprint arXiv:2605.15141. Cited by: §1, §2.
- H. Zhu, M. Zhao, G. He, H. Su, C. Li, and J. Zhu (2026) Causal forcing: autoregressive diffusion distillation done right for high-quality real-time interactive video generation. arXiv preprint arXiv:2602.02214. Cited by: Appendix A, §1, §2.
- J. Zhuang, S. Guo, X. Cai, X. Li, Y. Liu, C. Yuan, and T. Xue (2026) FlashVSR: towards real-time diffusion-based streaming video super-resolution. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, Cited by: §2.
Appendix A Additional Experimental Details
Benchmark protocol.
We evaluate matched Self Forcing and SGF pairs at 5s, 60s, and 240s. The 5-second setting follows the standard VBench protocol and reports all 16 quality and semantic dimensions. The 60-second setting uses the VBench-Long protocol, while the 240-second setting uses 128 randomly sampled MovieGen prompts with the same VBench-Long quality metrics. For long-horizon evaluation, we omit text-alignment metrics and focus on visual persistence under autoregressive extrapolation.
Self Forcing checkpoint provenance.
The frame-wise and chunk-wise causal-ODE Self Forcing baselines use the released Causal Forcing checkpoints (Zhu et al., 2026). The chunk-wise bidirectional-ODE Self Forcing baseline uses the released Self Forcing checkpoint (Huang et al., 2025). All other Self Forcing checkpoints in our tables are reproduced by us under the same training setting as the corresponding SGF checkpoints; evaluation prompts, seeds, sampling configuration, and inference context geometry are matched within each comparison.
A.1 Frame-wise configuration
For frame-wise training, we use the full 5-second training window without sliding-window eviction. Accordingly, the Pass-2 reconstruction uses a standard teacher-forcing-style causal mask over the recorded frame sequence, rather than a sink-plus-FIFO sliding-window mask. This mask matches the full-context causal relation used by the frame-wise Pass-1 training rollout.
At inference and long-horizon evaluation time, frame-wise generation is run in streaming mode with sink 4, FIFO 16, and current chunk 1, giving a total context window of 21 latent frames. This streaming policy is shared by Self Forcing and SGF; within each matched pair, the prompt set, random seed, sampling configuration, initialization, and inference context policy are held fixed. The only intended difference is the gradient boundary of the sampled exit loss: Self Forcing consumes the historical KV cache as frozen rollout state, whereas SGF reconstructs the self-generated context with gradients through the clean-context K/V path.
The corresponding 5-second results are reported in Tab. 5, and the 60-second and 240-second results are reported in Tab. 1.
A.2 Chunk-wise configuration
For chunk-wise training, we use a sliding-window context during the Pass-1 rollout. The window contains sink 3, FIFO 6, and current chunk 3, with chunk size 3. The Pass-2 reconstruction mask is built to match this Pass-1 sliding-window cache relation, so the context-gradient recovery follows the same attention geometry used during the sampled rollout.
The same chunk-wise context policy is used for inference and long-horizon evaluation. We include released bidirectional-ODE Self Forcing and causal-ODE Self Forcing checkpoints as reference baselines. The controlled SGF comparisons are the matched causal-CD and TF pairs, where Self Forcing and SGF share the same initialization and inference geometry.
This setting tests whether the context-gradient signal remains useful when memory is updated at a coarser temporal granularity. The 5-second chunk-wise results are reported in Tab. 6, and the 60-second and 240-second results are reported in Tab. 2. Human preference scores are reported separately in Tab. 3.
Appendix B Full Metric Tables
This appendix reports the complete 5-second VBench results. Metrics are rows and model variants are columns, and boldface marks the better value within each matched Self Forcing–SGF pair. These short-horizon results are used as a sanity check: SGF is designed to improve long autoregressive extrapolation, so it should not degrade standard 5-second video quality. The long-horizon 60s and 240s results are reported in the main paper.
B.1 Frame-wise 5-second VBench
The frame-wise 5-second setting evaluates whether adding the context-gradient reconstruction objective preserves short-video generation quality. Frame-wise training uses the full 5-second training window without sliding-window eviction, and the Pass-2 reconstruction uses a standard teacher-forcing-style causal mask. At evaluation time, we use the same streaming policy as the long-horizon frame-wise experiments: sink 4, FIFO 16, and current chunk 1, giving a total context window of 21 latent frames. For 5-second videos, this window covers the full generated latent sequence, so the table mainly measures short-horizon quality rather than long-range extrapolation.
| Metric | Causal ODE init | Causal CD init | TF init | |||
|---|---|---|---|---|---|---|
| SF | SGF | SF | SGF | SF | SGF | |
| Aesthetics | 0.651 | 0.665 | 0.663 | 0.672 | 0.667 | 0.671 |
| Background | 0.928 | 0.956 | 0.963 | 0.968 | 0.959 | 0.959 |
| Dynamics | 0.989 | 0.703 | 0.616 | 0.375 | 0.633 | 0.653 |
| Imaging | 0.694 | 0.713 | 0.711 | 0.714 | 0.698 | 0.713 |
| Motion | 0.972 | 0.985 | 0.983 | 0.989 | 0.986 | 0.983 |
| Subject | 0.911 | 0.963 | 0.953 | 0.976 | 0.961 | 0.968 |
| Flickering | 0.947 | 0.984 | 0.993 | 0.993 | 0.988 | 0.990 |
| Object | 0.938 | 0.951 | 0.955 | 0.960 | 0.941 | 0.950 |
| Multiple | 0.789 | 0.865 | 0.861 | 0.883 | 0.849 | 0.855 |
| Action | 0.968 | 0.962 | 0.954 | 0.950 | 0.962 | 0.958 |
| Color | 0.842 | 0.863 | 0.885 | 0.883 | 0.847 | 0.882 |
| Spatial | 0.732 | 0.778 | 0.771 | 0.780 | 0.781 | 0.739 |
| Scene | 0.563 | 0.567 | 0.574 | 0.584 | 0.538 | 0.547 |
| Appearance | 0.206 | 0.204 | 0.199 | 0.204 | 0.204 | 0.203 |
| Temporal | 0.246 | 0.250 | 0.242 | 0.242 | 0.239 | 0.239 |
| Consistency | 0.264 | 0.262 | 0.263 | 0.263 | 0.262 | 0.264 |
B.2 Chunk-wise 5-second VBench
The chunk-wise 5-second setting checks whether SGF remains comparable to Self Forcing when memory is updated at a coarser temporal granularity. Unlike frame-wise training, chunk-wise training already uses a sliding-window context in Pass 1, with sink 3, FIFO 6, current chunk 3, and chunk size 3. The Pass-2 reconstruction mask matches this sliding-window cache relation, so the recovered context-gradient path follows the same attention geometry as the sampled rollout. The released bidirectional-ODE and causal-ODE Self Forcing rows are included as reference baselines, while the controlled SGF comparisons are the matched causal-CD and TF pairs.
| Metric | Bidirectional ODE init | Causal ODE init | Causal CD init | TF init | ||
|---|---|---|---|---|---|---|
| SF | SF | SF | SGF | SF | SGF | |
| Aesthetics | 0.659 | 0.660 | 0.661 | 0.663 | 0.663 | 0.678 |
| Background | 0.961 | 0.959 | 0.945 | 0.958 | 0.948 | 0.964 |
| Dynamics | 0.647 | 0.836 | 0.753 | 0.875 | 0.908 | 0.692 |
| Imaging | 0.694 | 0.705 | 0.699 | 0.699 | 0.695 | 0.706 |
| Motion | 0.984 | 0.974 | 0.978 | 0.975 | 0.976 | 0.985 |
| Subject | 0.955 | 0.955 | 0.946 | 0.956 | 0.938 | 0.970 |
| Flickering | 0.991 | 0.982 | 0.979 | 0.981 | 0.978 | 0.988 |
| Object | 0.952 | 0.958 | 0.951 | 0.958 | 0.958 | 0.958 |
| Multiple | 0.863 | 0.866 | 0.844 | 0.816 | 0.852 | 0.861 |
| Action | 0.968 | 0.956 | 0.962 | 0.952 | 0.950 | 0.964 |
| Color | 0.880 | 0.879 | 0.880 | 0.890 | 0.872 | 0.875 |
| Spatial | 0.811 | 0.791 | 0.741 | 0.752 | 0.779 | 0.802 |
| Scene | 0.574 | 0.558 | 0.560 | 0.557 | 0.542 | 0.551 |
| Appearance | 0.203 | 0.205 | 0.200 | 0.199 | 0.202 | 0.203 |
| Temporal | 0.244 | 0.247 | 0.245 | 0.244 | 0.241 | 0.242 |
| Consistency | 0.268 | 0.267 | 0.265 | 0.265 | 0.266 | 0.265 |
Appendix C Direct Cache-Gradient Feasibility
This appendix expands on the training-feasibility discussion in the main paper. The measured comparison is reported in Tab. 4. Here we separate three possible ways to expose gradients through autoregressive history: frozen-cache Self Forcing, direct differentiable-cache training without denoising-trajectory gradients, and full rollout BPTT. This distinction clarifies why SGF uses bounded parallel reconstruction.
Frozen-cache Self Forcing.
In frozen-cache Self Forcing, the sampled exit-step prediction is trained with gradients, but the historical cache update is detached. Non-exit denoising steps are executed without gradient tracking, and after each generated block is predicted, the model is called again at the context timestep to update the persistent KV cache under no-gradient execution. Thus future losses can train the target-side denoising computation that reads historical cache entries, but they cannot backpropagate into the forward computation that produced those historical KV entries.
For batch size , retained historical blocks , tokens per block , width , and transformer layers, the raw detached cache storage scales as
| (5) |
where the factor 2 accounts for keys and values. This term is only the tensor footprint of the retained cache, not the activation graph that would be needed to differentiate through its formation.
Direct differentiable cache without denoising-trajectory gradients.
A direct way to recover the missing history-formation gradient is to keep the persistent historical cache differentiable, while still treating the generated latents themselves as stop-gradient inputs. In this variant,
| (6) |
where denotes the same causal model forward that produces the historical K/V entries. Although is detached, the cache formation itself remains serial: the K/V entry for block is computed while reading earlier historical cache entries. If those earlier entries are also differentiable, the autograd graph becomes recurrent across the rollout.
The memory cost is therefore larger than the raw cache storage:
| (7) |
where denotes the saved activations of the forward computation that forms the historical K/V entry for block , including its dependence on earlier cache state. This expression is a scaling argument rather than an allocator-exact formula. Its purpose is to show that even the minimal direct-cache alternative, with generated latents detached, opens a serial history-formation graph.
Full rollout BPTT.
A still stronger alternative is full rollout BPTT, where the generated latents are not detached. Then the historical K/V entry for block depends not only on the K/V-forming forward, but also on the denoising trajectory that produced . The memory cost further includes the saved activations of the denoising steps:
| (8) |
where is the number of denoising steps used for block , and denotes the activation footprint of the generator forward at denoising step . Full rollout BPTT therefore grows across both rollout length and denoising depth, making it strictly more demanding than the direct differentiable-cache variant above.
SGF bounded reconstruction.
SGF avoids retaining either serial graph. Pass 1 performs the true autoregressive rollout under no-gradient execution and records the self-generated context latents together with the sampled noisy exit states . Pass 2 discards the persistent rollout cache and performs one bounded parallel reconstruction:
| (9) |
where is the fixed reconstruction-window length. The recovered gradient passes through the context-side forward at , the K/V projections, and the future-to-context attention relation in Pass 2. It does not backpropagate through the denoising trajectory that produced the recorded latents, nor through the serial persistent-cache updates from Pass 1.
Interpretation.
This gives the relevant scaling order:
| (10) |
where the middle term refers to direct differentiable-cache training with stop-gradient generated latents, not the frozen-cache Self Forcing baseline. Frozen-cache Self Forcing can be cheaper because it leaves the historical K/V formation path detached, but that is exactly the missing gradient SGF is designed to recover. The measured results in Tab. 4 are consistent with this picture: direct differentiable-cache training runs out of memory in our setting, while SGF restores the context-gradient path through a bounded exit-step replay.
Appendix D Two-Pass Recovery Fidelity
SGF relies on Pass 2 being a faithful replay of the sampled exit computation from Pass 1. This appendix verifies that assumption at the forward level. The goal is not to claim equivalence to full rollout BPTT, but to check that the parallel reconstruction reproduces the same local causal relation as the serial no-gradient rollout, up to the numerical differences expected from mixed-precision execution.
Protocol.
We evaluate recovery fidelity on 24 prompts and four exit steps, , giving 96 prompt/exit comparisons. For each comparison, Pass 1 performs the serial self-rollout under no-gradient execution and records the sampled noisy input together with the corresponding exit-step prediction. Pass 2 then performs one parallel reconstruction using the recorded noisy states and detached self-generated context under the matched teacher-forcing attention mask. We compare the Pass-1 and Pass-2 latent predictions before VAE decoding.
Metrics.
Let denote the Pass-1 exit prediction and denote the corresponding Pass-2 reconstruction. We report mean squared error, root mean squared error, mean absolute error, maximum absolute error, relative error, and cosine similarity:
| (11) | ||||
| (12) | ||||
| (13) |
To relate the recovery error to mixed-precision numerical scale, we also report , where is the relative precision scale of bf16. Since both serial cache execution and parallel reconstruction pass through many bf16 transformer operations, accumulated roundoff can naturally be a small multiple of this reference scale.
| Exit step | # comparisons | MSE | RMSE | Mean abs. | Max abs. | Rel. L2 | Rel. L2 / | Cosine |
|---|---|---|---|---|---|---|---|---|
| 1000 | 24 | 3.123e-4 | 0.01745 | 0.01093 | 0.58396 | 0.02133 | 2.73 | 0.999766 |
| 750 | 24 | 2.148e-4 | 0.01449 | 0.00884 | 0.58189 | 0.01566 | 2.00 | 0.999874 |
| 500 | 24 | 1.141e-4 | 0.01064 | 0.00693 | 0.49110 | 0.01125 | 1.44 | 0.999936 |
| 250 | 24 | 6.041e-5 | 0.00774 | 0.00535 | 0.29028 | 0.00812 | 1.04 | 0.999967 |
| Overall | 96 | 1.754e-4 | 0.01258 | 0.00801 | 0.48681 | 0.01409 | 1.80 | 0.999886 |
Results.
Tab. 7 shows that Pass 2 closely reproduces the Pass-1 exit predictions across the denoising schedule. The overall relative error is 1.41%, and the average cosine similarity is 0.999886. The relative error is also close to the bf16 numerical scale: overall it is 1.80 times , and the ratio decreases from 2.73 at the noisiest exit step to 1.04 at exit step 250. Because the two paths execute many bf16 transformer operations with different serial and parallel computation orders, such small multiples of the bf16 reference scale are consistent with accumulated floating-point roundoff rather than a substantive mismatch in the recovered computation.
These results support the use of Pass 2 as a bounded local surrogate for the sampled exit computation. The diagnostic verifies forward recovery of the local attention computation up to expected mixed-precision numerical error; it does not imply that SGF recovers the exact gradient of the full serial rollout.
Appendix E VAE Boundary and Sink Choice
Frame-wise streaming inference uses a sink-plus-FIFO context policy. This policy is shared by Self Forcing and SGF, so it is not an independent SGF contribution. We include this appendix to justify the sink size used in the frame-wise experiments.
Wan VAE start-boundary diagnostic.
The Wan video VAE encodes time with an asymmetric grouping pattern: the stream starts with a 1-frame boundary group, followed by 4-frame groups. As a result, the first few latent positions of a freshly encoded clip are not necessarily equivalent to steady in-stream latents. To measure this effect, we use 10 videos with 81 pixel-space frames, corresponding to 21 VAE latent frames. For each video, we encode the full prefix and take the 21st latent, i.e., zero-based index 20, as the reference.
We then re-encode local windows ending at the same target frame group and compare the last local latent to the full-prefix reference. The fresh 4-frame control uses only frames [77, 81), but because the VAE starts every fresh stream with a 1-frame boundary group, this produces a start-boundary latent rather than a normal in-stream 4-frame latent. The anchor-window setting includes one boundary anchor frame plus previous 4-frame latent groups before the target group. Thus encodes frames [76, 81), while larger values include progressively more previous latent groups.
The diagnostic shows a large mismatch when the target group is encoded as a fresh stream: the relative L2 error is 0.607. Adding the boundary anchor reduces the error to 0.271 at , and including more previous latent groups further reduces it to 0.124, 0.084, 0.067, and 0.060 for , respectively. Beyond this range, the error changes little. This indicates that the early VAE latents form a short boundary-transition region rather than a single isolated sink token.
Sink-number ablation.
We therefore ablate the number of sink latents in frame-wise SGF with TF initialization at 60 seconds. The total streaming context budget is fixed, so increasing the sink size preserves more prefix latents but leaves fewer slots for recent FIFO context. The relevant trend is therefore not strict monotonic improvement, but whether a small sink can cover the VAE boundary region without unnecessarily reducing the recent-context budget.
| Metric | Sink 1 | Sink 2 | Sink 4 | Sink 8 |
|---|---|---|---|---|
| Aesthetics | 0.627 | 0.645 | 0.653 | 0.655 |
| Background | 0.970 | 0.974 | 0.974 | 0.976 |
| Dynamics | 0.743 | 0.733 | 0.730 | 0.728 |
| Imaging | 0.715 | 0.713 | 0.714 | 0.714 |
| Motion | 0.982 | 0.982 | 0.982 | 0.983 |
| Subject | 0.983 | 0.982 | 0.983 | 0.983 |
| Flickering | 0.990 | 0.990 | 0.991 | 0.992 |
Tab. 8 shows that sink 1 is weaker on aesthetic quality and flickering, while sink 4 reaches the stable range suggested by the VAE boundary diagnostic. Sink 8 gives only marginal additional gains on some metrics and consumes more of the fixed context budget. We therefore use sink 4 in the frame-wise long-horizon experiments as the smallest sink size that covers the observed boundary-transition prefix.
Appendix F Limitations
SGF is a bounded surrogate for a missing context-gradient signal rather than full backpropagation through the autoregressive rollout. It supervises how recorded self-generated latents are written into future-readable memory, but it does not update the sampled latents themselves through future losses, nor does it optimize the sequence of denoising decisions that produced them. We therefore do not claim to recover the exact gradient of the full serial rollout.
SGF also assumes that the parallel Pass-2 reconstruction faithfully reproduces the serial context relation at the sampled exit step. If the teacher-forcing mask, sink positions, FIFO window, RoPE handling, context timestep, or chunk alignment deviates from inference, SGF may recover gradients for the wrong attention relation and thus train a different writer. This alignment is especially important at the clean context timestep, precisely because that cache-writing call is shared with, but not directly supervised by, the noisy exit-step losses in frozen-cache training.
Finally, SGF is not a replacement for other long-video techniques. Streaming long-rollout tuning, retrieval-augmented memory, sparse attention, stronger causal initialization, and long-context teachers all target complementary parts of the system. Our claim is narrower: self-rollout training uses generated history as context but leaves a specific history-formation gradient unused, and SGF offers a practical way to recover it. A natural next step is to combine SGF with long-rollout exposure or retrieval, so that the model both writes better short-window memory and can access richer long-range context.
Appendix G Additional Qualitative Results
This appendix provides additional long-horizon qualitative comparisons for the frame-wise and chunk-wise experiments. The strips are intended to complement the quantitative tables by showing the temporal failure modes behind the aggregate scores. Each comparison should be read within a matched setting: Self Forcing and SGF use the same prompt, seed, initialization, horizon, sampling configuration, and inference context geometry. We focus on memory-related drift, including view changes, crop drift, scene replacement, subject identity changes, object disappearance, and collapse into unrelated textures.
G.1 Frame-wise Comparisons
Frame-wise generation writes each generated latent frame back into the historical context, so errors in historical K/V formation can accumulate at the finest temporal granularity. Across TF, causal CD, and causal ODE initializations, Self Forcing often remains locally plausible in early frames but gradually changes the subject, camera distance, object layout, or background. Under weaker initializations, the drift can become severe, producing cropped fragments, color blocks, or unrelated scene textures. SGF consistently reduces these failure modes: it better preserves the subject-scene relation, camera framing, and object layout over both 60-second and 240-second rollouts.
G.2 Chunk-wise Comparisons
Chunk-wise generation updates memory at a coarser temporal granularity, with each generated chunk serving as context for later chunks. The chunk-wise figures test whether the same recovered context-gradient signal remains useful when history is written and consumed in multi-frame blocks. When ODE-initialized rows are included, they are reference baselines; the controlled comparisons are the matched Self Forcing and SGF rows under the same initialization. The qualitative pattern is consistent with the frame-wise case: Self Forcing can replace actions, change people, lose objects, or drift into unrelated textures, while SGF better maintains the action, subject identity, and scene layout over long rollouts.