arXiv(opens in a new tab)cs.CVOct 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2610.10429

SGF+: Decoupling Gradient Flows for Autoregressive Video Generation

Zihan Su, Junhao Zhuang, Yaowei Li, Siwen Lu, Haoran Li, Lingen Li, Haoyu Wu, Weiyang Jin, Songchun Zhang, Haoyang Huang, Chun Yuan, Zeyue Xue, Nan Duan

Zihan Su 1,2∗^{1,2*} Junhao Zhuang 2∗†^{2*\dagger} Yaowei Li 2^{2} Siwen Lu 1^{1} Haoran Li 2^{2} Lingen Li 3^{3} Haoyu Wu 2^{2}

Weiyang Jin 2^{2} Songchun Zhang 2^{2} Haoyang Huang 2^{2} Chun Yuan 1†^{1\dagger} Zeyue Xue 2^{2} Nan Duan 2^{2}

1^{1}Tsinghua University 2^{2}Joy Future Academy, JD 3^{3}The Chinese University of Hong Kong

*Equal contribution. †Corresponding authors.

https://zihan-su.github.io/self-gradient-forcing-plus

Higher Visual Quality

0 s

80 s

160 s

240 s

SGF+

SGF

SF

Figure

Prompt: A serene, close-up view of a beautifully crafted ceramic bowl. The bowl is intricately designed with swirling patterns and a...

Stronger Long-Horizon Consistency

0 s

80 s

160 s

240 s

Figure

Prompt: A subtle and elegant Japanese-style photograph of a woman with soft, contemplative eyes and long flowing dark hair...

Toward Infinite Extrapolation: Trained on 5s Videos, Generating 24h Videos

0h

SGF+

3h

Figure

6h

9h

12h

15h

18h

24h

Prompt: Whimsical soft watercolor illustration of a fluffy white cat with bright green eyes peeking from a patterned woven basket behind...

Figure 1. Qualitative comparison of autoregressive video generation methods. Self Forcing (SF) blocks context gradients, preventing future predictions from supervising context writing and causing pronounced visual degradation over long rollouts. Self Gradient Forcing (SGF) restores context gradients and improves long-horizon consistency, but conflicts between context-writing and denoising updates keep both consistency and visual quality suboptimal. Self Gradient Forcing Plus (SGF+) decouples context writing and denoising, achieving the best visual quality and long-horizon consistency among the three methods. Trained with only 5s rollouts, SGF+ supports continuous generation for up to 24 hours without long-video fine-tuning.

Abstract

Autoregressive video generation requires denoising the current frames while writing their key-value representations as context for future predictions. However, these two roles typically share parameters, and we find that their gradients exhibit distinct patterns and systematic negative alignment, hindering the joint optimization of visual quality and temporal consistency. We introduce Self Gradient Forcing Plus (SGF+), which assigns separate parameters to context writing and denoising while preserving their interaction through causal attention. Both roles are jointly optimized using the original generation objective without auxiliary losses, with context writing supervised through its contribution to future predictions. This simple change improves visual quality and long-horizon consistency over the evaluated baselines in both framewise and chunkwise generation, without additional video training data or a longer training horizon. Trained on only 5s rollouts, SGF+ supports continuous generation for up to 24 hours without long-video fine-tuning. These results highlight role-specific parameterization as an effective design principle for high-quality autoregressive

Figure

Figure 2. Method lineage for autoregressive video generation. SF addresses train–test history mismatch via self-generated rollouts. SGF restores context-writing gradients, while SGF+ decouples context writing from denoising to resolve their gradient conflict.

video generation and native long-horizon extrapolation.

1. Introduction

Autoregressive video diffusion models generate videos sequentially by denoising new frames conditioned on historical context [15, 25, 32, 44]. The generated frames are then encoded into key-value (KV) representations that provide context for subsequent predictions. This process supports low-latency video generation and interactive world modeling, where inference can extend far beyond the temporal horizon used in training [8, 14, 30, 42, 48]. It involves two distinct computational roles: denoising generates the current content, while context writing determines how that content is represented for future generation. Learning both roles is essential for maintaining visual quality and temporal consistency as generation continues.

As summarized in Figure 2, Self Forcing (SF) [15] mitigates exposure bias by training on self-generated histories with a video-level distribution-matching objective. However, to maintain computational tractability, SF treats the historical KV cache as frozen rollout state for subsequent predictions. Future generation losses can therefore supervise how noisy target tokens read history, but not how earlier generated latents are encoded into useful K/V representations for future generation. This missing supervision path constitutes the historical context-gradient gap [52].

Self Gradient Forcing (SGF) [52] closes this gap through a two-pass training procedure. The first pass performs a no-gradient autoregressive rollout, while the second reconstructs context representations and target predictions in parallel. The sampled latents remain detached, but the reconstructed KV path is differentiable, allowing future generation losses to supervise context writing without backpropagating through the full rollout. Although this improves long-video extrapolation, context writing and denoising still share the same parameters. We observe residual degradation in long sequences and, in a small number of generated videos, even lower visual quality in the initial frames than with SF. Since the first generated frame has no preceding video context, it provides a useful probe of denoising quality. These observations motivate a fundamental question: Can shared parameters effectively accommodate the optimization demands of both context writing and denoising?

We investigate this question by analyzing the gradient contributions of context writing and denoising under the same generation objective during SGF training. As shown in Figure 3, (a) angular-distance t-SNE reveals distinct role-dependent gradient groups in both Attention and FFN. (b) After aggregation within each module family, the mean gradient directions exhibit large angular separation: 104.2° in Attention and 106.3° in FFN, both exceeding 90°. (c) Pairwise analysis across prompts and denoising timesteps further reveals systematic negative alignment, with negative cosine similarities for all 512 measured pairs in both module families. These results reveal substantially different, even conflicting, optimization demands on shared parameters, motivating role-specific parameterization. Appendix G provides a local theoretical analysis of its optimization advantage under gradient conflict.

Based on this analysis, we introduce Self Gradient Forcing Plus (SGF+), which revisits a basic design choice in autoregressive video forcing: sharing parameters between context writing and denoising. SGF+ adopts role-specific parameterization, assigning independent parameters to the two roles while preserving their interaction through the causal attention structure. The context writer encodes generated history into layer-wise KV representations, which the denoiser reads to generate current frames. Both roles are jointly optimized using the original generation objective, with context writing supervised through its contribution to future predictions. This simple architectural change retains SGF's self-generated rollouts, differentiable replay, and short training horizon, requiring no auxiliary losses, additional video training data, or long-horizon fine-tuning. By intervening in parameter sharing, SGF+ addresses a different design dimension from history construction and context management, making these approaches complementary in mechanism.

Experiments on VBench over generation horizons of 5s, 60s, and 240s show that SGF+ achieves better visual quality and long-horizon consistency than SF and SGF in both framewise and chunkwise generation. The qualitative comparisons in Figure 1 illustrate these gains over long rollouts. With only 5s training rollouts, SGF+ supports continuous generation for up to 24 hours, without extending the training horizon or applying long-video fine-tuning. We refer to this ability as native long-horizon extrapolation: sustained generation learned within a limited temporal training window. To

Figure

• Context (t0)(t_{0})

• Denoising (t3)(t_{3})

• Denoising (t1)(t_{1})

• Denoising (t2)(t_{2})

(a) Gradient distributions

Figure

(b) Mean gradient directions

Figure

(c) Conflict across timesteps

Figure 3. Visualization of gradient conflict. We analyze SGF gradients over 128 prompts and 4 denoising timesteps, separately for Attention and FFN. (a) Angular-distance t-SNE visualizes the distributions of context-writing and denoising gradients. t0=0t_{0} = 0 denotes context writing at timestep 0, while t1,t2,t3,t4t_{1}, t_{2}, t_{3}, t_{4} denote denoising at timesteps 250, 500, 750, and 1000, respectively. (b) Gradients are aggregated to compute the mean directions. (c) At each denoising timestep, we compute the paired cosine similarity between the denoising and context-writing gradients for the same prompt. Layer-wise gradient distributions are provided in Appendix E.

gether, these results highlight role-specific parameterization as an effective design principle for high-quality autoregressive video generation and native long-horizon extrapolation. Our main contributions are as follows:

• We identify distinct, even conflicting, context-writing and denoising gradients under the same objective, revealing an optimization limitation of shared parameters.

• We introduce Self Gradient Forcing Plus (SGF+), a role-specific parameterization for autoregressive video diffusion that jointly trains context writing and denoising with the original generation objective, without auxiliary losses, additional video training data, or long-horizon fine-tuning.

• Experiments show improved visual quality and long-horizon consistency in framewise and chunkwise generation, with native long-horizon extrapolation to 24-hour continuous videos from 5s training rollouts.

References (51)