arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01071cs.CVcs.CL
收藏

VideoLLaMB:基于循环记忆桥的长流式视频理解

VideoLLaMB: Long Streaming Video Understanding with Recurrent Memory Bridges

NLCo Lab, State Key Laboratory of General Artificial Intelligence, BIGAI(NLCo实验室、国家一般人工智能重点实验室、BIGAI);School of Computer Science & Technology, Beijing Institute of Technology(计算机科学与技术学院、北京理工大学);Computer Science and Engineering, University of California(计算机科学与工程系、加州大学);Wangxuan Institute of Computer Technology, Peking University(王轩计算机技术研究所、北京大学)

Yuxuan Wang, Yiqi Song, Cihang Xie, Yang Liu, Zilong Zheng

AI总结:

针对现有视频语言模型计算成本高、长视频理解能力有限的问题,本研究提出带循环记忆桥的VideoLLaMB框架,结合SceneTiling算法实现高效长视频理解,在多项基准上取得SOTA,且显存线性增长、成本更低。

摘要:

大规模视频语言模型的最新进展已展现出在实时规划和精细化交互方面的巨大潜力。然而,这类模型的高计算需求以及标注数据集的稀缺性,限制了其在学术研究者中的实用性。本研究提出了VideoLLaMB——一种用于长视频理解的新型高效框架,它借助循环记忆桥和时序记忆token,实现对完整视频序列的无缝编码,同时保留语义连续性。该方法的核心是SceneTiling算法,它将视频分割为连贯的语义单元,无需额外训练即可支持跨任务的鲁棒理解。VideoLLaMB取得了当前最优性能,在四个VideoQA基准上超越现有模型4.2个点,在第一人称规划任务上领先2.06个点。值得注意的是,它在视频长度极端扩展(最高达8倍)的情况下仍能保持优异性能,并且在我们提出的Needle in a Video Haystack(NIAVH,视频大海捞针)基准的细粒度帧检索任务中表现出色。凭借线性增长的GPU显存占用,VideoLLaMB仅用单块Nvidia A100 GPU即可处理最多320帧,而其训练时仅使用16帧——在准确性、可扩展性和成本效益之间实现了前所未有的平衡,这使其对学术界而言极具可及性与实用性。

英文摘要:

Recent advancements in large-scale video-language models have shown significant potential for real-time planning and detailed interactions. However, their high computational demands and the scarcity of annotated datasets limit their practicality for academic researchers. In this work, we introduce VideoLLaMB, a novel and efficient framework for long video understanding that leverages recurrent memory bridges and temporal memory tokens to enable seamless encoding of entire video sequences with preserved semantic continuity. Central to our approach is a SceneTiling algorithm that segments videos into coherent semantic units, facilitating robust understanding across tasks without requiring additional training. VideoLLaMB achieves state-of-the-art performance, surpassing existing models by 4.2 points on four VideoQA benchmarks and by 2.06 points on egocentric planning tasks. Notably, it maintains strong performance under extreme video length scaling (up to 8 times) and excels at fine-grained frame retrieval on our proposed Needle in a Video Haystack (NIAVH) benchmark. With linear GPU memory scaling, VideoLLaMB processes up to 320 frames using a single Nvidia A100 GPU, despite being trained on only 16 frames-offering an unprecedented balance of accuracy, scalability, and cost-effectiveness. This makes it highly accessible and practical for the academic community.

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

↑