arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.14699cs.CV
收藏

MemFlow: 流动适应性记忆用于一致且高效的长视频叙述

MemFlow: Flowing Adaptive Memory for Consistent and Efficient Long Video Narratives

HKU(香港大学);Kling Team, Kuaishou Technology(快手技术 Kling 团队);HKUST(GZ)(香港科技大学(广州))

Sihui Ji, Xi Chen, Shuai Yang, Xin Tao, Pengfei Wan, Hengshuang Zhao

AI总结:

MemFlow通过动态更新内存库和选择性激活令牌,实现长视频生成中的一致性和高效性。

摘要:

流视频生成的核心挑战是保持长上下文中的内容一致性,这对内存设计提出了高要求。现有解决方案通常通过预定义策略压缩历史帧来维护内存。然而,不同生成视频块应参考不同的历史提示,这很难用固定策略满足。在本工作中,我们提出了MemFlow来解决这个问题。具体而言,在生成下一个块之前,我们通过该块的文本提示动态更新内存库,检索最相关的先前帧。这种设计使得即使未来帧中出现新事件或场景切换,也能保持叙述一致性。此外,在生成过程中,我们仅在注意力层中激活内存库中最相关的令牌,这有效保证了生成效率。通过这种方式,MemFlow在几乎不增加计算负担(与无内存基线相比速度减少7.9%)的情况下实现了出色的长上下文一致性,并保持了与任何流视频生成模型的兼容性。

英文摘要:

The core challenge for streaming video generation is maintaining the content consistency in long context, which poses high requirement for the memory design. Most existing solutions maintain the memory by compressing historical frames with predefined strategies. However, different to-generate video chunks should refer to different historical cues, which is hard to satisfy with fixed strategies. In this work, we propose MemFlow to address this problem. Specifically, before generating the coming chunk, we dynamically update the memory bank by retrieving the most relevant historical frames with the text prompt of this chunk. This design enables narrative coherence even if new event happens or scenario switches in future frames. In addition, during generation, we only activate the most relevant tokens in the memory bank for each query in the attention layers, which effectively guarantees the generation efficiency. In this way, MemFlow achieves outstanding long-context consistency with negligible computation burden (7.9% speed reduction compared with the memory-free baseline) and keeps the compatibility with any streaming video generation model with KV cache.

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

↑