VidCoM: Fast Video Comprehension through Large Language Models with Multimodal Tools

Ji Qi, Kaixuan Ji, Jifan Yu, Duokang Wang, Bin Xu, Lei Hou, Juanzi Li · DOI

Abstract

Building models that comprehend videos and respond to specific user instructions is a practical and challenging topic, as it requires mastery of both vision understanding and knowledge reasoning. Compared to language and image modalities, training efficiency remains a serious problem as existing studies train models on massive sparse videos paired with brief descriptions. In this paper, we introduce VidCoM, a fast adaptive framework that leverages Large Language Models (LLMs) to reason about videos using lightweight visual tools. Specifically, we reveal that the key to responding to specific instructions is focusing on relevant video events, and utilize two visual tools—structured scene graph generation and descriptive image caption generation—to gather and represent the event information. A LLM enriched with world knowledge is adopted as the reasoning agent to achieve responses by performing multiple reasoning steps on specific video events. To address the difficulty of LLMs identifying video events, we further propose an Instruction-oriented Video Events Recognition (InsOVER) algorithm. Extensive experiments on two typical video comprehension tasks show that the proposed tuning-free framework outperforms pre-trained models including Flamingo-80B, achieving state-of-the-art performance.

Introduction

Traditional video-language models face a massive efficiency wall. Training a model like Flamingo or Vid2Seq requires tens of millions of videos and thousands of TPU hours to learn how to reason about visual sequences. Furthermore, videos are inherently redundant—a 2-minute clip might only contain a few seconds of truly informative action. The challenge is two-fold: filtering out the "noise" in long videos to focus on relevant events, and giving LLMs (which are great at reasoning but "blind") the ability to perceive visual details and spatial relationships without retraining them from scratch.

The VidCoM Framework

VidCoM is a framework that treats an LLM as a central reasoning agent equipped with a "toolbox" of visual experts. Instead of feeding raw pixels to the LLM, VidCoM uses lightweight multimodal tools:

  • IETrans: To generate Scene Graphs (structured data showing objects, their positions, and relationships like "person behind car").
  • BLIP-2: To generate Image Captions (descriptive text about actions and existence).
The VidCoM framework overview: An LLM acts as a reasoning agent, using the InsOVER algorithm to align instructions with video events and leveraging scene graphs and captions for visual evidence.

Instruction-oriented Video Events Recognition (InsOVER)

The core innovation is the InsOVER algorithm, which works in two stages. First, it uses moving-average clustering of CLIP embeddings to find coarse event boundaries. Second, it decomposes a user's instruction into "triples" (using OpenIE) and matches them against visual sub-events using Hungarian matching. This allows the model to "zoom in" on the exact frames that answer a user's specific question.

Key Insights and Results

The authors argue that the key to video comprehension isn't seeing every frame, but identifying the relevant events. By providing the LLM with both a scene graph (spatial logic) and a caption (action logic), the model gains a much more holistic "mental image" of the scene than captions alone could provide. VidCoM proves that you don't need to fine-tune a 100B-parameter model on millions of videos to achieve high performance.

  • Outperforming the Giants: On the STAR benchmark, the ChatGPT-based version of VidCoM achieved a mean accuracy of 50%, significantly higher than the 42.23% achieved by Flamingo-80B, despite Flamingo being trained on 18 million videos.
  • Superior Feasibility Reasoning: In the "Feasibility" category of STAR, VidCoM scored 64% vs. Flamingo's 41.57%, highlighting the power of combining LLM world knowledge with structured scene graphs.
  • State-of-the-Art Captioning: On ActivityNet-Captions, VidCoM surpassed the previous best-performing model (Vid2Seq) by 1.5 SODA points in a few-shot setting.

Conclusion

VidCoM demonstrates that a tuning-free framework can achieve state-of-the-art results by effectively leveraging the reasoning capabilities of LLMs alongside specialized visual tools. While the framework is dependent on the accuracy of its underlying tools, its modular nature allows it to scale naturally as visual experts improve. Future work will explore more complex, multi-modal reasoning tasks beyond QA and captioning.

Summary updated

BibTeX
@misc{qi2023vidcom,
  author = {Ji Qi and Kaixuan Ji and Jifan Yu and Duokang Wang and Bin Xu and Lei Hou and Juanzi Li},
  title = {{VidCoM: Fast Video Comprehension through Large Language Models with Multimodal Tools}},
  year = {2023},
  eprint = {2310.10586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.10586},
}
Figure