VideoXAgent improves long video understanding by smart evidence gathering
Online Video Agent Harness for Long Video Understanding
Computer Vision and Pattern RecognitionArtificial Intelligence
Summary
Understanding long videos is tough because important details are scattered and it’s costly to process the entire video all at once. The authors propose VideoXAgent, a tool that watches videos step-by-step, asking specialized tools only when needed based on the question. It collects and combines information from different sources like text recognition and face detection to answer questions efficiently. VideoXAgent uses much less memory than previous methods and can work even without strong visual input by gradually gathering evidence.
What this means in practice
- •For video content platform developers: Create systems that answer user queries on long videos efficiently using fewer computational resources.
- •For surveillance system engineers: Build scalable tools to analyze hour-long surveillance footage on demand, focusing only on relevant video segments.
Authors
Sen Yang, Boqiang Duan, Jing Yang, Weihao Bo, Jie Liu, Boyuan Tong, Ze Feng, Wenkang Zhang, Jingdong Wang, Hua Wu
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/