Online Video Agent Harness for Long Video Understanding
VideoXAgent achieves long video understanding with 50k context, matching complex benchmarks.
Key Findings
Methodology
VideoXAgent is an online video agent harness that utilizes a data-driven taxonomy of capabilities and heterogeneous expert tools, dynamically invoking scripts, VLMs, and domain models (e.g., detection, OCR, ASR, face recognition) to address context rot and high costs in long video understanding.
Key Results
- On MINERVA, VideoXAgent achieves comparable performance to a 1,024-frame dense-packing baseline using only about 15% of the context.
- On Video-MME-Long and LVBench, VideoXAgent achieves 85.1% and 76.5% accuracy with a 50k context.
- On long video benchmarks, VideoXAgent competes with frontier LMMs under a smaller context footprint.
Significance
VideoXAgent addresses the challenge of sparsely distributed query-relevant evidence in long videos, reducing context rot and computational costs, advancing the field of video understanding.
Technical Contribution
VideoXAgent introduces a novel online agent framework that reduces dependency on full video context through dynamic tool invocation and multimodal evidence aggregation, offering a more efficient solution for long video understanding.
Novelty
VideoXAgent is the first to achieve strong long video understanding without relying on full video context, through progressive evidence gathering.
Limitations
- Handling extremely long videos may still face time and resource consumption issues due to tool invocation.
- Dependency on tools may lead to performance degradation if tools are imperfect.
Future Work
Future work could explore more efficient tool invocation strategies and broader domain model integration to further enhance the efficiency and accuracy of long video understanding.
AI Executive Summary
Long video understanding has been a challenge due to query-relevant evidence being sparsely distributed across long temporal spans, while packing dense frames into a single VLM context incurs context rot and high costs. Existing video agents often rely on query-agnostic offline preprocessing or ad hoc tool sets, which can miss query-specific details and waste computation. VideoXAgent addresses these issues with a purely online video-agent harness that starts from the given video file and user query, plans and decomposes the task, invokes specialized expert tools on demand, and aggregates multimodal evidence to produce a final answer while resolving conflicts among observations. VideoXAgent performs well across multiple long video benchmarks, achieving comparable performance to frontier LMMs and video agents under a smaller context footprint. Notably, on complex video-reasoning benchmarks such as MINERVA, it matches this level while using only about 15% of the context of a 1,024-frame dense-packing baseline. The harness remains effective even with a visually weak or text-only orchestrator, suggesting that strong long-video understanding can emerge from progressive agentic evidence seeking rather than from packing the full video into a single context.
Deep Analysis
Background
Long video understanding is a key multimodal application and a practical test of the long-context capabilities of large models. Long-form videos, such as short films, animations, vlogs, and movies, may run from tens of minutes to several hours. Even with sparse sampling at 1 FPS, such videos can contain thousands of frames. Under the standard processing paradigm for large multimodal models, this can easily lead to contexts with millions of tokens, far beyond the effective context length of most models, thus prone to context degradation.
Core Problem
The core problem in long video understanding is that query-relevant evidence is sparsely distributed across long temporal spans, while packing dense frames into a single VLM context incurs context rot and high costs. Existing video agents often rely on query-agnostic offline preprocessing or ad hoc tool sets, which can miss query-specific details and waste computation.
Innovation
The core innovation of VideoXAgent lies in its purely online video-agent framework, which starts from the given video file and user query, plans and decomposes the task, invokes specialized expert tools on demand, and aggregates multimodal evidence to produce a final answer. It utilizes a data-driven taxonomy of capabilities and heterogeneous expert tools, dynamically invoking scripts, VLMs, and domain models (e.g., detection, OCR, ASR, face recognition) to address context rot and high costs in long video understanding.
Methodology
- �� Use a data-driven capability taxonomy to guide tool design. • Design 60+ expert tools and compositional workflows, each targeting a specific atomic sub-problem. • At inference time, the system adapts to the query and video duration, decomposes the query into sub-problems, invokes appropriate tools, aggregates multimodal evidence, and controls the execution budget to prevent unbounded loops.
Experiments
Experiments were conducted on Video-MME-Long, LongVideoBench-Long, LVBench, and MINERVA, demonstrating that VideoXAgent performs comparably to frontier LMMs and video agents under a smaller context footprint. Notably, on complex video-reasoning benchmarks such as MINERVA, it matches this level while using only about 15% of the context of a 1,024-frame dense-packing baseline.
Results
VideoXAgent achieves 85.1% accuracy on Video-MME-Long, 76.5% on LVBench, and 65.7% on MINERVA with about 50k agent context, even on hour-long videos.
Applications
VideoXAgent can be applied to various scenarios requiring long video understanding, such as video surveillance, film analysis, and educational video parsing.
Limitations & Outlook
Despite its strong performance in long video understanding, VideoXAgent may still face time and resource consumption issues when handling extremely long videos due to tool invocation. Additionally, dependency on tools may lead to performance degradation if tools are imperfect. Future work could explore more efficient tool invocation strategies and broader domain model integration to further enhance the efficiency and accuracy of long video understanding.
Plain Language Accessible to non-experts
Imagine you're watching a very long movie, and you're only interested in certain parts. VideoXAgent acts like a smart assistant that can quickly find the relevant parts of the movie when you ask a question, without needing to watch the whole thing. It uses different tools, like subtitle recognition and image recognition, to find the information you need based on your question. This way, you can get accurate answers in a short time without wasting time and effort on irrelevant content.
ELI14 Explained like you're 14
Imagine you're playing a super long game, and you just want to know the secret of a certain level. VideoXAgent is like a super helper in the game that can quickly find the clues you need when you ask a question, without having to play the whole game. It uses different tools, like subtitle recognition and image recognition, to find the information you need based on your question. This way, you can get accurate answers in a short time without wasting time and effort on irrelevant content. Isn't that cool?
Glossary
VideoXAgent
An online video agent harness for long video understanding, dynamically invoking expert tools to aggregate multimodal evidence.
Used to address the challenge of sparsely distributed query-relevant evidence in long videos.
VLM (Visual Language Model)
A model that combines visual and language information to process multimodal data.
Used to handle visual and language information in long videos.
OCR (Optical Character Recognition)
A technology for recognizing text within images, commonly used for processing subtitles in videos.
Used for recognizing subtitle information in videos.
ASR (Automatic Speech Recognition)
A technology that converts speech into text, commonly used for processing audio information in videos.
Used for recognizing audio information in videos.
MINERVA
A complex video reasoning benchmark for evaluating video understanding capabilities.
Used to evaluate the performance of VideoXAgent.
Open Questions Unanswered questions from this research
- 1 How to improve tool invocation efficiency without increasing computational costs?
- 2 How to ensure system stability and accuracy when tools are imperfect?
Applications
Immediate Applications
Video Surveillance
VideoXAgent can be used for real-time video surveillance, quickly identifying and analyzing key events.
Long-term Vision
Educational Video Parsing
VideoXAgent can be used to parse educational videos, helping students quickly find relevant knowledge points.
Abstract
Long video understanding often behaves like a visual needle-in-a-haystack problem: query-relevant evidence is sparsely distributed across long temporal spans, while packing dense frames into a single VLM context incurs \textit{context rot} and high cost. Existing video agents often rely on query-agnostic offline preprocessing or ad hoc tool sets, which can miss query-specific details and waste computation. In this work, we present VideoXAgent, a purely online video-agent harness for long video understanding that starts from the given video file and user query, plans and decomposes the task, invokes specialized expert tools on demand, and aggregates multimodal evidence to produce a final answer while resolving conflicts among observations. To support this on-demand invocation, we design a suite of heterogeneous expert tools guided by a data-driven taxonomy of atomic capabilities, spanning scripts, VLMs, and domain models (e.g., detection, OCR, ASR, face recognition). The harness further enforces objective evidence prompting and budget-aware control to curb hallucination and non-termination. Across Video-MME-Long, LongVideoBench-Long, LVBench, and MINERVA, VideoXAgent is competitive with frontier LMMs and video agents under a smaller context footprint---about 50k tokens of agent context per sample, even on hour-long videos. In particular, on complex video-reasoning benchmarks such as MINERVA, it matches this level while using only about 15\% of the context of a 1,024-frame dense-packing baseline. Notably, the harness remains effective with a visually weak or even text-only orchestrator, suggesting that strong long-video understanding can emerge from progressive agentic evidence seeking rather than from packing the full video into a single context. Project page: https://go-agent-x.github.io/video_agent_harness/