Introduction
Understanding a short video clip is a relatively straightforward task for modern Multimodal Large Language Models (MLLMs). However, processing long-form content—such as feature films or day-long surveillance feeds—remains a significant challenge. The primary bottleneck is the "context window": models cannot ingest the massive amount of data in a long video without aggressive downsampling or lossy text summarization.
Presented at EMNLP 2024, OmAgent introduces an "agentic" approach to video understanding. Instead of a single-pass analysis, OmAgent mimics human behavior by creating a foundational memory of the video and "rewatching" specific segments to answer complex questions.
The Challenge of Long Video Understanding
Traditional methods for handling long videos often fail due to information loss:
- Keyframe Extraction: Uniformly sampled frames may miss critical, fleeting events.
- Video-to-Text: Summarizing scenes into text often strips away vital visual nuances and spatial relationships.
- Standard RAG: Segmenting video into discrete chunks for retrieval often causes "boundary loss," where information at the cut points is lost.
OmAgent addresses these by treating video understanding as an iterative process, allowing the AI to autonomously decide when it needs more detail from a specific timestamp.
The OmAgent Framework
The framework is built upon two core pillars: Video2RAG and the Divide-and-Conquer (DnC) Loop.
Video2RAG: Building the Memory
Before processing a query, OmAgent builds a comprehensive "memory" of the video through a multi-stage pipeline. It performs scene detection to segment the video, uses facial recognition for character identification, and applies Automatic Speech Recognition (ASR) for dialogue. Detailed captions are then generated and stored in a vector database.
The Divide-and-Conquer (DnC) Loop
The "brain" of OmAgent is the DnC loop, which handles complex, multi-step queries. It consists of a Conqueror that evaluates tasks, a Divider that recursively splits complex queries into manageable sub-tasks, and a Rewinder Tool. The Rewinder is a novel mechanism that allows the agent to pull high-resolution frames from specific timestamps if the initial retrieved data is insufficient. A Rescuer module further ensures robustness by detecting and remediating execution exceptions in real-time.
Evaluation and Benchmarking
The researchers evaluated OmAgent on general reasoning tasks (MBPP and FreshQA) and a new, specialized benchmark for complex video understanding. This new dataset contains over 2,000 Q&A pairs based on 100 long-form videos (up to an hour), requiring multi-step reasoning and external knowledge integration.
Results and Analysis
OmAgent demonstrates superior performance across all categories compared to existing baselines like VideoTree and LLoVi.
Key findings include:
- Reasoning Power: OmAgent achieved a score of 81.82% in reasoning, significantly higher than the 27.27% achieved by LLoVi.
- External Knowledge: By leveraging tool-calling (e.g., web search), OmAgent scored 57.21% on questions requiring outside information, more than doubling the performance of most competitors.
- Overall Performance: On the long-video benchmark, OmAgent reached a total score of 45.45%, nearly doubling the 27.27% of the standard Video2RAG baseline.
Conclusion and Future Directions
OmAgent represents a shift from static video processing to dynamic, agentic exploration. By combining a dense memory representation with a recursive reasoning loop and the ability to "rewatch" footage, it overcomes the context window limitations of current models. Future work will focus on improving timestamp precision and resolving audio-visual asynchrony, where narrators may discuss subjects that appear on screen at different times.
Summary updated