arXiv:2411.15556cs.CVcs.AI2024-11CVPR被引 17

用可学习记忆机制提升长视频理解效率与精度

ReWind: Understanding Long Videos with Instructed Learnable Memory

  • 设计读-感知-写循环,动态存储关键视觉信息
  • 在MovieChat-1K上提升13%准确率,Charades-STA达8%的时序定位增益
  • 适合需要精准理解长视频内容的应用场景

视觉语言模型(VLM)在融合文本与视觉信息的应用中至关重要,但现有模型在处理长视频时面临计算效率低、内存受限及长期理解不连贯等问题。为此,我们提出ReWind,一种基于记忆的新型VLM,用于高效理解长视频并保持时间一致性。ReWind采用两阶段框架:第一阶段通过新颖的‘读-感知-写’循环维护一个可学习的记忆模块,动态存储和更新随视频推进的指令相关视觉信息;该模块利用可学习查询与记忆内容和输入流间的交叉注意力,实现内存开销与令牌数线性增长。第二阶段提出一种由记忆内容引导的自适应帧选择机制,识别指令相关的关键时刻,选取少量高分辨率帧补充空间细节,并将这些信息与记忆内容结合输入大语言模型生成最终答案。我们在视觉问答(VQA)和时序定位任务上验证了ReWind性能,显著优于此前方法:在MovieChat-1K VQA数据集上提升13%得分,准确率提高12%;在Charades-STA上时序定位的mIoU提升8%。

原文摘要 · Abstract (English)

Vision-Language Models (VLMs) are crucial for applications requiring integrated understanding textual and visual information. However, existing VLMs struggle with long videos due to computational inefficiency, memory limitations, and difficulties in maintaining coherent understanding across extended sequences. To address these challenges, we introduce ReWind, a novel memory-based VLM designed for efficient long video understanding while preserving temporal fidelity. ReWind operates in a two-stage framework. In the first stage, ReWind maintains a dynamic learnable memory module with a novel \textbf{read-perceive-write} cycle that stores and updates instruction-relevant visual information as the video unfolds. This module utilizes learnable queries and cross-attentions between memory contents and the input stream, ensuring low memory requirements by scaling linearly with the number of tokens. In the second stage, we propose an adaptive frame selection mechanism guided by the memory content to identify instruction-relevant key moments. It enriches the memory representations with detailed spatial information by selecting a few high-resolution frames, which are then combined with the memory contents and fed into a Large Language Model (LLM) to generate the final answer. We empirically demonstrate ReWind's superior performance in visual question answering (VQA) and temporal grounding tasks, surpassing previous methods on long video benchmarks. Notably, ReWind achieves a +13\% score gain and a +12\% accuracy improvement on the MovieChat-1K VQA dataset and an +8\% mIoU increase on Charades-STA for temporal grounding.

长视频理解记忆机制视觉问答时序定位

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。