2025-02-12 · 专家 · 计算机视觉 · 自然语言处理 · 机器学习

CoS: Chain-of-Shot Prompting for Long Video Understanding

提出了“链式镜头提示”(CoS)方法,通过优化视频镜头选择来提升长视频理解能力。

更新于 2025-02-12。作者:Jian Hu、Zixu Cheng、Chenyang Si、Wei Li、Shaogang Gong。

中文摘要

多模态大型语言模型(MLLMs)由于需要过多的视觉标记,在处理长视频时存在困难。这些标记远远超过了MLLMs的上下文长度,导致冗余的任务无关镜头填充。如何选择镜头是一个未解决的临界问题:稀疏采样可能会遗漏关键细节,而全面采样则会使模型被无关内容淹没,导致视频理解失误。为了解决这个问题,我们提出了镜头链式提示(CoS)。其核心思想是将镜头选择视为测试时的视觉提示优化,通过优化镜头与任务的对齐来选择适应视频理解语义任务的镜头。CoS有两个关键部分:(1)一个二进制视频摘要机制,执行伪时间定位,发现二进制编码以识别任务相关的镜头;(2)一个视频共推理模块,利用二进制编码将任务相关的正面镜头与无关的负面镜头配对(学习对齐)。它将优化的镜头选择嵌入到原始视频中,便于聚焦于相关上下文以优化长视频理解。在三个基线和五个数据集上的实验证明了CoS的有效性和适应性。代码可在https://lwpyh.github.io/CoS找到。

英文摘要

Multi-modal Large Language Models (MLLMs) struggle with long videos due to the need for excessive visual tokens. These tokens exceed massively the context length of MLLMs, resulting in filled by redundant task-irrelevant shots. How to select shots is an unsolved critical problem: sparse sampling risks missing key details, while exhaustive sampling overwhelms the model with irrelevant content, leading to video misunderstanding. To solve this problem, we propose Chain-of-Shot prompting (CoS). The key idea is to frame shot selection as test-time visual prompt optimisation, choosing shots adaptive to video understanding semantic task by optimising shots-task alignment. CoS has two key parts: (1) a binary video summary mechanism that performs pseudo temporal grounding, discovering a binary coding to identify task-relevant shots, and (2) a video co-reasoning module that deploys the binary coding to pair (learning to align) task-relevant positive shots with irrelevant negative shots. It embeds the optimised shot selections into the original video, facilitating a focus on relevant context to optimize long video understanding. Experiments across three baselines and five datasets demonstrate the effectiveness and adaptability of CoS. Code given in https://lwpyh.github.io/CoS.

解读

一句话总结

提出了“链式镜头提示”(CoS)方法,通过优化视频镜头选择来提升长视频理解能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt