arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.02553cs.CV
收藏

LongLive-RAG: 一种用于长视频生成的通用检索增强框架

LongLive-RAG: A General Retrieval-Augmented Framework for Long Video Generation

NVIDIA;USC(美国大学);MIT(麻省理工学院)

Qixin Hu, Shuai Yang, Wei Huang, Song Han, Yukang Chen

AI总结:

提出LongLive-RAG框架,通过将自回归视频生成中的历史潜变量作为可检索记忆,利用查询嵌入检索相关历史潜变量并引入窗口时间增量损失,以减轻滑动窗口注意力导致的误差累积,提升长视频生成质量。

摘要:

自回归(AR)视频扩散支持可变长度合成,但长时生成常面临累积误差和身份漂移。为提升效率,现有方法在生成时普遍采用滑动窗口注意力。这会产生不可逆的生成轨迹:一旦活动窗口累积外观误差,后续生成只能基于此退化轨迹并进一步漂移。我们通过将长视频生成建模为检索增强生成(RAG)问题来解决这一限制。我们不依赖仅最近窗口,而是将先前生成的潜变量视为动态、可搜索的历史。我们提出LongLive-RAG,一个用于AR视频生成的通用检索框架。在每个新块中,LongLive-RAG使用查询嵌入检索相关历史潜变量。这一轻量级检索步骤相比生成仅增加少量开销,并使生成器能基于非局部上下文而非仅最近窗口进行条件生成。为使检索更具判别性,我们引入窗口时间增量损失,抑制冗余局部相似性并鼓励嵌入捕捉有意义的时序变化。这些组件共同帮助减少滑动窗口注意力引起的误差累积。在多个AR骨干网络和生成长度上的实验表明,长视频质量提升且平均VBench-Long排名最佳。据我们所知,在开放式AR长视频生成方法中,LongLive-RAG是首个将自生成潜变量历史构建为内容可寻址检索记忆的方法。代码见https://github.com/qixinhu11/LongLive-RAG。

英文摘要:

Autoregressive (AR) video diffusion enables variable-length synthesis, but long-horizon generation often suffers from accumulated errors and identity drift. For efficiency, existing methods commonly adopt sliding-window attention during generation. This creates an irreversible generation trajectory: once the active window accumulates appearance errors, subsequent generations can only condition on this degraded trajectory and drift further away. We address this limitation by formulating long video generation as a retrieval-augmented generation (RAG) problem. Rather than relying solely on the recent window, we treat previously generated latents as a dynamic, searchable history. We propose LongLive-RAG, a general retrieval framework for AR video generation. At each new block, LongLive-RAG uses a query embedding to retrieve relevant historical latents. This lightweight retrieval step adds only a small overhead relative to generation and lets the generator condition on non-local context instead of only the recent window. To make retrieval more discriminative, we introduce the Window Temporal Delta Loss that suppresses redundant local similarity and encourages embeddings to capture meaningful temporal changes. Together, these components help reduce error accumulation caused by sliding-window attention. Experiments across multiple AR backbones and generation lengths show improved long-video quality and the best average VBench-Long rank. To our knowledge, among open-ended AR long video generation methods, LongLive-RAG is the first to formulate self-generated latent history as content-addressable retrieval memory. Code is available at https://github.com/qixinhu11/LongLive-RAG.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑