Manuscript Offprint

arXiv:2610.30036

Attn-Forcing: Learning Full-Context Attention Proxies for Streaming Video Generation

Junyao Gao, Sibo Liu, Jiaxing Li, Yanan Sun, Hanxin Zhu, Weidong Zhang, Jun Zhang, Cairong Zhao

ABSTRACT

Increasing the attention context length significantly improves streaming video generation quality, while incurring prohibitive memory and computational costs as the context grows. Existing methods attempt to capture this contextual information through attention selection or compression, but remain limited by bounded representations and lack explicit attention-level supervision to retain historical contributions to current queries. To address this, we introduce Attn-Forcing, a novel framework that preserves full-context attention contributions for streaming video generation under bounded memory and computation. We achieve this by introducing attention proxies that continuously approximate the attention responses induced by the historical context. Specifically, we implement the proxies as learnable visual latents and employ a Proxy Update Module to incorporate visual context from historical latents. Moreover, we propose an Attention Matching Loss to explicitly constrain the attention behavior of the learned proxies using full-context attention supervision. Extensive qualitative and quantitative experiments demonstrate that Attn-Forcing consistently improves streaming video generation quality and achieves state-of-the-art performance over existing baseline methods.

1 INTRODUCTION

Streaming video generation has gained increasing attention due to its broad applications in interactive content creation, digital humans, live streaming, and persistent virtual environments. With recent advances in autoregressive (AR) diffusion models (Jin et al., 2025; Chen et al., 2025; Wu et al., 2025b; Yuan et al., 2026; Teng et al., 2025; Ma et al., 2026a), streaming generation is commonly implemented through chunk-by-chunk generation with causal KV caching in Diffusion Transformers (DiT) (Peebles & Xie, 2023).

Existing methods (Huang et al., 2026; Zhu et al., 2026; Yi et al., 2025; Liu et al., 2026; Yang et al., 2025a) typically retain only a limited-length KV cache during training and inference. This truncation of full-context attention discards contributions from historical KV states, leading to degraded generation quality. As shown by the experiment in Figure 1, although Self-Forcing (Huang et al., 2026) is trained with a fixed local attention window, simply increasing the KV cache length at inference consistently yields higher VBench-Long (Huang et al., 2024) scores, highlighting the benefit of broader historical context. However, under bounded memory and computational budgets, maintaining increasingly long KV contexts is impractical for streaming generation.

To address this challenge, Guo et al. (2025); Yi et al. (2025); Ji et al. (2025); Ma et al. (2026b) selectively retain or retrieve relevant historical KV states through adaptive strategies, but remain limited by bounded KV budgets and potentially accumulated errors in current visual latents. Another line of work (Wu et al., 2025b; Lu et al., 2026; Kim et al., 2026; Wu et al., 2026; Xue et al., 2026; Bian et al., 2026) compresses historical context into compact representations using dedicated objectives or predefined compression ratios/schedules, but inevitably faces a trade-off between context coverage and information fidelity. Fundamentally, these methods still perform attention over bounded historical representations and lack attention-level supervision, making it difficult to preserve the contribution of the full context to current queries.

Can we capture this contribution without explicitly maintaining the full context?

*Equal contributions. ‡ corresponding authors. Work done during Junyao Gao's internship at Tencent.

In this paper, we answer this question by proposing Attn-Forcing, a novel framework that approximates full-context attention under bounded memory and computation. We achieve this by learning additional attention proxies during distribution matching distillation (DMD) training (Yin et al., 2024). Specifically, we implement the proxies as learnable latents and continuously update them through a Proxy Update Module using visual latents evicted from the local attention window to incorporate the visual history. We then forward the proxy latents through the DiT and use their layer-wise KV states for subsequent streaming generation. However, the DMD training objective primarily matches the model output distribution, without explicitly constraining the attention behavior induced by the learned proxies. We therefore introduce an Attention

Figure

Figure 1: VBench-Long score and peak GPU memory of Self-Forcing (Huang et al., 2026) during 30s video inference with different local attention sizes. A larger attention window generally improves generation quality, but at the cost of increased peak GPU memory.

Matching Loss to directly match the attention responses obtained with the learned proxies to those of the historical attention.

Extensive qualitative and quantitative experiments demonstrate that Attn-Forcing achieves state-of-the-art (SOTA) performance over baseline methods. Moreover, ablation studies confirm the effectiveness and advantages of proposed designs, providing valuable insights for the streaming video generation community.

The contributions of this paper are summarized as follows:

• We propose Attn-Forcing, a novel DMD training framework that, for the first time, preserves full-context attention contributions under bounded memory and computation during streaming generation.

• We introduce learnable attention proxies to continuously incorporate visual history and a novel Attention Matching Loss to further align their attention responses with full-context attention.

• Experiments show that Attn-Forcing improves streaming video generation quality and achieves SOTA performance over baseline methods.

References (42)