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

LVCHAT:促进长视频理解

LVCHAT: Facilitating Long Video Comprehension

UC San Diego(加州大学圣地亚哥分校)

Yu Wang, Zeyuan Zhang, Julian McAuley, Zexue He

AI总结:

本文提出LVChat,通过帧可扩展编码和交错帧编码解决长视频过度压缩与超长输入问题,在长视频问答和字幕任务上准确率最高提升27%。

摘要:

让大语言模型(LLMs)能够读取视频对于多模态大语言模型至关重要。现有工作在短视频上展现出潜力,而长视频(例如超过1分钟)的理解仍然具有挑战性。主要问题在于视频的过度压缩,即编码后的视频表示不足以表示整个视频。为了解决这一问题,我们提出了Long Video Chat(LVChat),其中引入了帧可扩展编码(Frame-Scalable Encoding,FSE),根据视频时长动态调整嵌入数量,以确保长视频不会被过度压缩为少量嵌入。为了处理长度超过训练时所见到视频的长视频,我们提出了交错帧编码(Interleaved Frame Encoding,IFE),重复位置嵌入并交错多组视频以支持长视频输入,避免因视频过长而导致性能下降。实验结果表明,LVChat在长视频问答数据集和长视频字幕基准上显著优于现有方法,准确率提升最高达27%。我们的代码已发布在 https://github.com/wangyu-ustc/LVChat。

英文摘要:

Enabling large language models (LLMs) to read videos is vital for multimodal LLMs. Existing works show promise on short videos whereas long video (longer than e.g.~1 minute) comprehension remains challenging. The major problem lies in the over-compression of videos, i.e., the encoded video representations are not enough to represent the whole video. To address this issue, we propose Long Video Chat (LVChat), where Frame-Scalable Encoding (FSE) is introduced to dynamically adjust the number of embeddings in alignment with the duration of the video to ensure long videos are not overly compressed into a few embeddings. To deal with long videos whose length is beyond videos seen during training, we propose Interleaved Frame Encoding (IFE), repeating positional embedding and interleaving multiple groups of videos to enable long video input, avoiding performance degradation due to overly long videos. Experimental results show that LVChat significantly outperforms existing methods by up to 27\% in accuracy on long-video QA datasets and long-video captioning benchmarks. Our code is published at https://github.com/wangyu-ustc/LVChat.

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

↑