Attn-Forcing:学习用于流式视频生成的全上下文注意力代理
Attn-Forcing: Learning Full-Context Attention Proxies for Streaming Video Generation
AI总结:
本文提出Attn-Forcing框架,通过可学习视觉潜变量与注意力匹配损失,在有限内存计算下保留全上下文注意力贡献,提升流式视频生成质量并达到SOTA性能。
摘要:
增加注意力上下文长度可显著提升流式视频生成质量,但随着上下文增长会产生过高的内存与计算成本。现有方法尝试通过注意力选择或压缩捕获上下文信息,但受限于有界表示,且缺乏显式注意力级监督以保留历史内容对当前查询的贡献。为解决该问题,本文提出Attn-Forcing,这一新型框架可在有界内存与计算资源下保留流式视频生成的全上下文注意力贡献。具体而言,我们将代理实现为可学习的视觉潜变量,并使用代理更新模块整合历史潜变量中的视觉上下文;此外,我们提出注意力匹配损失,通过全上下文注意力监督显式约束学习到的代理的注意力行为。大量定性与定量实验表明,Attn-Forcing可持续提升流式视频生成质量,且在现有基线方法中达到了最先进的性能。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。