尽管视觉-语言模型(VLMs)近期取得了进展,长视频理解仍然是一个具有挑战性的问题。虽然最先进的长上下文视觉-语言模型能够处理约1000个输入帧,但它们仍然难以有效利用这一序列长度,并且会屈服于上下文窗口内不相关的干扰项。我们提出了时间链式思维(Temporal Chain of Thought),这是一种用于视频问答的推理策略,它精心组织模型的输入上下文。我们利用视觉-语言模型本身迭代地识别并提取视频中最相关的帧,然后用这些帧进行回答。我们展示了在推理时利用更多计算来选择最相关的上下文如何带来准确率的提升,这与近期关于大语言模型(LLMs)推理时扩展的研究一致。此外,我们在4个不同的视频问答数据集上取得了最先进的结果,并在3种不同的视觉-语言模型上展示了一致的改进。特别是,我们的方法在那些原本无法放入模型上下文窗口的更长视频上表现突出:在LVBench上超过1小时的更长视频中,我们使用32K上下文窗口的方法比同一视觉-语言模型使用700K上下文窗口的标准推理高出2.8个百分点。
英文摘要:
Despite recent advances in Vision-Language Models (VLMs), long-video understanding remains a challenging problem. Although state-of-the-art long-context VLMs can process around 1000 input frames, they still struggle to effectively leverage this sequence length, and succumb to irrelevant distractors within the context window. We present Temporal Chain of Thought, an inference strategy for video question-answering that curates the model's input context. We use the VLM itself to iteratively identify and extract the most relevant frames from the video, which are then used for answering. We demonstrate how leveraging more computation at inference-time to select the most relevant context leads to improvements in accuracy, in agreement with recent work on inference-time scaling of LLMs. Moreover, we achieve state-of-the-art results on 4 diverse video question-answering datasets, showing consistent improvements with 3 different VLMs. In particular, our method shines on longer videos which would not otherwise fit within the model's context window: On longer videos of more than 1 hour on LVBench, our approach using a context window of 32K outperforms the same VLM using standard inference with a 700K context window by 2.8 points.
Deep Thinking by Markov Chain of Continuous Thoughts
State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);Department of Statistics, University of Oxford(牛津大学统计系);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系);Hong Kong Institute of AI for Science, City University of Hong Kong(香港人工智能科学研究院,香港城市大学)
On the Thinking-Language Modeling Gap in Large Language Models
Hong Kong Baptist University(香港 Baptist 大学);MBZUAI Carnegie Mellon University(MBZUAI 美国卡内基梅隆大学);The University of Sydney(悉尼大学);The Chinese University of Hong Kong(香港中文大学)
Mind Your Step (by Step): Chain-of-Thought can Reduce Performance on Tasks where Thinking Makes Humans Worse
Department of Computer Science, Princeton University, Princeton, NJ, USA(计算机科学系,普林斯顿大学);NYU Center for Data Science, New York University, New York, NY, USA(纽约大学数据科学中心);Department of Psychology, Princeton University, Princeton, NJ, USA(心理学系,普林斯顿大学)