视频侦探:通过反复寻找关键线索来回答长视频中的问题
Video Detective: Seek Critical Clues Recurrently to Answer Question from Long Videos
AI总结:
VideoDetective通过问题感知的记忆机制,使大语言模型能高效处理长视频问答任务,减少计算资源消耗并提升关键信息提取能力。
摘要:
长视频问答(LVQA)对多模态大语言模型(MLLMs)构成了重大挑战,因为上下文信息量巨大且信息过载,这可能导致内存消耗过大。尽管现有方法试图通过减少视觉token或扩展模型的上下文长度来解决这些问题,但它们可能会遗漏有用的信息或消耗大量计算资源。事实上,在回答给定问题时,只需要少量关键信息。因此,我们提出了一种高效的问题感知记忆机制,使MLLMs能够反复寻找这些关键线索。我们的方法,名为VideoDetective,通过迭代处理视频子片段来简化这一任务。对于每个子片段,采用问题感知的压缩策略,通过引入少量特殊记忆token实现有针对性的压缩。这使模型能够有效寻找关键线索并减少视觉token。然后,由于历史上下文可能有显著影响,我们反复聚合和存储这些记忆token以更新历史上下文,这将被用于后续的子片段。此外,为了更有效地衡量模型的长视频理解能力,我们引入了GLVC(Grounding Long Video Clues),一个长视频问答数据集,其特征是接地的关键和具体的线索散落在整个视频中。实验结果表明,我们的方法使具有有限上下文长度32K的MLLMs能够高效处理100K tokens(3600帧,一小时视频,采样率为1fps),仅需2分钟和37GB GPU内存使用。在多个长视频基准测试中的评估结果表明,我们的方法能够更有效地从大量信息中寻找关键线索。
英文摘要:
Long Video Question-Answering (LVQA) presents a significant challenge for Multi-modal Large Language Models (MLLMs) due to immense context and overloaded information, which could also lead to prohibitive memory consumption. While existing methods attempt to address these issues by reducing visual tokens or extending model's context length, they may miss useful information or take considerable computation. In fact, when answering given questions, only a small amount of crucial information is required. Therefore, we propose an efficient question-aware memory mechanism, enabling MLLMs to recurrently seek these critical clues. Our approach, named VideoDetective, simplifies this task by iteratively processing video sub-segments. For each sub-segment, a question-aware compression strategy is employed by introducing a few special memory tokens to achieve purposefully compression. This allows models to effectively seek critical clues while reducing visual tokens. Then, due to history context could have a significant impact, we recurrently aggregate and store these memory tokens to update history context, which would be reused for subsequent sub-segments. Furthermore, to more effectively measure model's long video understanding ability, we introduce GLVC (Grounding Long Video Clues), a long video question-answering dataset, which features grounding critical and concrete clues scattered throughout entire videos. Experimental results demonstrate our method enables MLLMs with limited context length of 32K to efficiently process 100K tokens (3600 frames, an hour-long video sampled at 1fps), requiring only 2 minutes and 37GB GPU memory usage. Evaluation results across multiple long video benchmarks illustrate our method can more effectively seek critical clues from massive information.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。