首次系统解析视频大模型如何理解视频内容,揭示其内部处理机制。
An Empirical Study on How Video-LLMs Answer Video Questions
- 通过注意力剔除法分析模型各层作用,分阶段研究视频信息提取过程。
- 早期层负责感知编码,中间层有关键影响,多数层贡献小。
- 空间时间建模依赖语言引导检索,而非高耗时的帧内自注意力。
借助大规模数据和预训练语言模型,视频大语言模型(Video-LLMs)在视频问答任务上表现出强大能力。然而,现有研究多聚焦于提升性能,对模型内部机制的理解较为有限。本文通过系统的实证研究填补这一空白。采用注意力剔除法作为核心分析工具,设计三种变体:视频时间剔除、视频空间剔除与语言到视频剔除,并在不同层数窗口下应用。通过控制层数范围与剔除类型,构建全局与细粒度两种分析设置。研究发现:(1) 全局设置显示,视频信息提取主要发生在早期层,呈现清晰的两阶段过程——低层专注感知编码,高层负责抽象推理;(2) 细粒度设置中,部分中间层对问答结果产生显著影响,成为关键异常点,而大多数层贡献微弱;(3) 两种设置下均表明,时空建模更依赖语言引导的检索,而非视频标记间的帧内与跨帧自注意力,尽管后者计算成本更高。最后,证明这些洞见可用于减少视频大模型中的注意力计算量。据我们所知,这是首个系统揭示视频大模型内部处理与理解视频内容机制的工作,为未来研究提供了可解释性与效率双重视角。
原文摘要 · Abstract (English)
Taking advantage of large-scale data and pretrained language models, Video Large Language Models (Video-LLMs) have shown strong capabilities in answering video questions. However, most existing efforts focus on improving performance, with limited attention to understanding their internal mechanisms. This paper aims to bridge this gap through a systematic empirical study. To interpret existing VideoLLMs, we adopt attention knockouts as our primary analytical tool and design three variants: Video Temporal Knockout, Video Spatial Knockout, and Language-to-Video Knockout. Then, we apply these three knockouts on different numbers of layers (window of layers). By carefully controlling the window of layers and types of knockouts, we provide two settings: a global setting and a fine-grained setting. Our study reveals three key findings: (1) Global setting indicates Video information extraction primarily occurs in early layers, forming a clear two-stage process -- lower layers focus on perceptual encoding, while higher layers handle abstract reasoning; (2) In the fine-grained setting, certain intermediate layers exert an outsized impact on video question answering, acting as critical outliers, whereas most other layers contribute minimally; (3) In both settings, we observe that spatial-temporal modeling relies more on language-guided retrieval than on intra- and inter-frame self-attention among video tokens, despite the latter's high computational cost. Finally, we demonstrate that these insights can be leveraged to reduce attention computation in Video-LLMs. To our knowledge, this is the first work to systematically uncover how Video-LLMs internally process and understand video content, offering interpretability and efficiency perspectives for future research.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。