DrVideo: Document Retrieval Based Long Video Understanding

Ziyu Ma, Chenhui Gou, Hengcan Shi, Bin Sun, Shutao Li, Hamid Rezatofighi, Jianfei Cai · DOI

Introduction

Long video understanding remains a significant challenge for modern Video Language Models (Video-LMs). While these models perform admirably on short clips, their performance degrades as video duration increases to minutes or hours. This degradation typically stems from three primary issues: hardware-constrained context limits, information loss due to sparse sampling (the "needle in a haystack" problem), and the inherent complexity of long-range reasoning over vast amounts of visual data.

Methodology: The DrVideo Framework

To address these challenges, we introduce DrVideo, a training-free framework that treats long video understanding as a document retrieval and reasoning task. The process unfolds in five distinct stages:

  1. Video-Document Conversion: A visual captioner (e.g., LLaVA-NeXT) generates a "coarse" text document representing the entire video through short descriptions.
  2. Document Retrieval: Relevant frames are identified using text embeddings based on the user's query.
  3. Document Augmentation: Detailed descriptions are generated for the retrieved frames and integrated back into the document to provide richer context.
  4. Multi-Stage Agent Interaction Loop: A Planning Agent and an Interaction Agent work together to decide if the current information is sufficient or if further frames require detailed analysis.
  5. Answering Module: A final LLM produces the answer using Chain-of-Thought (CoT) reasoning.
Overview of the DrVideo framework, illustrating the pipeline from raw video conversion to the final answering module.

Experimental Evaluation

DrVideo was evaluated on three major benchmarks: EgoSchema (3-minute egocentric videos), MovieChat-1K (10-minute clips), and Video-MME (30-60 minute videos).

Key Results

DrVideo achieved state-of-the-art (SOTA) performance across all benchmarks:

  • EgoSchema: Achieved 66.4% accuracy, surpassing the previous best (VideoAgent) by 3.6%.
  • MovieChat-1K: Reached 93.1% accuracy in global mode, a significant improvement over the previous SOTA of 84.8%.
  • Video-MME (Long Split): When combined with subtitles, DrVideo reached 71.7% accuracy, outperforming proprietary models like Gemini 1.5 Flash and GPT-4o mini.

Discussion and Insights

A key insight from this work is that text serves as a highly effective compression format, allowing LLMs to apply superior reasoning without the noise of raw visual tokens. Furthermore, the iterative "hunting" process proves superior to one-shot retrieval. Interestingly, the study found that retrieving too many frames (K) can actually hinder performance by introducing irrelevant noise, suggesting that precision in retrieval is more critical than volume.

Limitations and Future Work

Despite its success, DrVideo faces potential bottlenecks as video length scales to extreme durations (e.g., 10+ hours), which may eventually exceed LLM context windows. Additionally, the system's performance is intrinsically linked to the quality of the initial visual captioner. Future research will explore more advanced agentic LLMs and improved visual-language models for initial document conversion.

Summary updated

BibTeX
@inproceedings{ma2025drvideo,
  author = {Ziyu Ma and Chenhui Gou and Hengcan Shi and Bin Sun and Shutao Li and Hamid Rezatofighi and Jianfei Cai},
  title = {{DrVideo: Document Retrieval Based Long Video Understanding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01764},
}
Figure