AVA: Towards Agentic Video Analytics with Vision Language Models
Yuxuan Yan (Zhejiang University), Shiqi Jiang (Microsoft Research), Ting Cao (Tsinghua University), Yifan Yang (Microsoft Research), Qianqian Yang (Zhejiang University), Yuanchao Shu (Zhejiang University), Yuqing Yang (Microsoft Research), Lili Qiu (Microsoft Research)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Hardware, Mobility, and Systems
Overview
The rapid proliferation of video data captured by traffic cameras, home monitors, and urban sensors has far outpaced the capabilities of traditional computer vision systems. Modern video analytics has entered the AI era, yet state-of-the-art vision-language models (VLMs) still struggle with open-ended reasoning over ultra-long videos. This talk presents AVA (Agentic Video Analytics), a novel system designed to bridge the gap between simple frame-level perception and complex, multi-modal reasoning. Developed as a joint project between Zhejiang University, Microsoft Research, and Tsinghua University, AVA introduces an agent-driven architecture that treats video understanding not as a rigid, one-shot pipeline, but as an iterative exploration task.

Key moments
- 2:10 Five tiers of video intelligence from L1 to L5
- 7:30 Core challenges: open-ended tasks and ultra-long video costs
- 11:55 Event Knowledge Graph (EKG) construction and design
- 15:20 Agentic retrieval, reasoning, and tree search mechanism
- 18:00 Evaluation benchmarks including the new AVA 100 dataset
- 20:30 Main results and performance comparison across benchmarks
- 21:35 Efficiency analysis and future work directions
AVA: Towards Agentic Video Analytics with Vision Language Models
Speakers: Yuxuan Yan, Ph.D. Student, Zhejiang University; Shiqi Jiang, Researcher, Microsoft Research; Ting Cao, Researcher, Tsinghua University; Yifan Yang, Researcher, Microsoft Research; Qianqian Yang, Professor, Zhejiang University; Yuanchao Shu, Professor, Zhejiang University; Yuqing Yang, Principal Researcher, Microsoft Research; Lili Qiu, Principal Researcher, Microsoft Research
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=x0rsCTYnfEY
Overview
The rapid proliferation of video data captured by traffic cameras, home monitors, and urban sensors has far outpaced the capabilities of traditional computer vision systems. Modern video analytics has entered the AI era, yet state-of-the-art vision-language models (VLMs) still struggle with open-ended reasoning over ultra-long videos. This talk presents AVA (Agentic Video Analytics), a novel system designed to bridge the gap between simple frame-level perception and complex, multi-modal reasoning. Developed as a joint project between Zhejiang University, Microsoft Research, and Tsinghua University, AVA introduces an agent-driven architecture that treats video understanding not as a rigid, one-shot pipeline, but as an iterative exploration task.
Why this matters in the ML and systems space is simple: brute-force processing of long-form video with transformer-based models hits a wall due to quadratic attention complexity and severe context window limitations. A one-hour video sampled at 1 frame per second (fps) generates roughly 600,000 tokens—well beyond the capacity of even frontier commercial models like Gemini. AVA addresses this by demonstrating that video information is fundamentally sparse (with answers to complex queries residing in less than 1% of frames) and that coupling an Event Knowledge Graph (EKG) with multi-view agentic retrieval can achieve unprecedented accuracy on long-form video benchmarks without exceeding hardware constraints.
Background
▶ Watch: Five tiers of video intelligence from L1 to L5 (2:10)
To contextualize the contributions of AVA, the presenters categorize the intelligence levels of video analytic systems into five distinct tiers, designated L1 through L5.
- L1 (Perception): Basic frame-level object detection, generating bounding boxes and labels (cars, pedestrians). It tells us what is visible in pixels, but lacks temporal context or explanatory power.
- L2 (Event Detection): Multi-frame temporal analysis to detect predefined events like speeding, falls, or crowd anomalies. Systems at this tier rely on manually engineered pipelines combining motion detectors, object trackers, and re-identification modules. However, they remain brittle because every event must be explicitly defined and programmed.
- L3 (Language Interaction): Integration of video understanding with large language models (LLMs) to support natural language queries (e.g., "What animals appear in the video?"). While user-friendly, L3 systems excel at retrieval and description rather than deep reasoning or causal connection.
- L4 (Agentic Reasoning): Open-ended reasoning across time and objects to answer complex "why" and "how" questions (e.g., identifying the root cause of a traffic accident). AVA targets this tier by utilizing structured knowledge graphs and agentic tree search.
- L5 (Autonomous Automation): The future horizon, combining video understanding with external knowledge bases, real-time deep search, and automated action execution (such as generating complete legal liability reports).
Historically, the systems/ML community encountered two primary bottlenecks when scaling video analytics: open-ended task diversity and the prohibitive computational cost of ultra-long videos. Traditional pipelines assume fixed workflows that break down under complex reasoning demands. Furthermore, self-attention mechanisms scale quadratically with sequence length, forcing practitioners to drop vast portions of visual data and resulting in severe information loss.
Key Findings
▶ Watch: Event Knowledge Graph (EKG) construction and design (11:55)
The development and evaluation of AVA yielded several critical discoveries regarding long-form video analytics:
- Extreme Visual Sparsity: An empirical analysis using InternVL (a state-of-the-art multi-modal large model) on the Video-MME dataset revealed that for most complex queries, the requisite answering evidence resides in less than 1% of the video's frames. This proved that the core systems challenge is not raw processing power, but precise indexing and retrieval.
- Superiority of Agentic Tree Search Over One-Shot Pipelines: Treating video retrieval as an iterative exploration loop (akin to human behavior—rewinding, skipping ahead, summarizing, and re-querying) dramatically outperforms static, single-pass query models.
- State-of-the-Art Performance Scaling with Video Length: Across three major long video benchmarks (Video-MME Long, LV-Bench, and the newly introduced AVA-100 dataset), AVA consistently outperformed 11 strong baselines. Crucially, AVA's performance advantage scaled directly with video length, yielding a 17% accuracy gain on hour-long videos and a 20% gain on the AVA-100 benchmark.
- Massive Gains in Visual Reasoning: Breaking down performance by task category on LV-Bench, AVA achieved a striking improvement of over 40 points in causal reasoning categories, directly fulfilling the requirements of L4 intelligence.
Technical Deep Dive
▶ Watch: Agentic retrieval, reasoning, and tree search mechanism (15:20)
The architecture of AVA is divided into two core components: a structured indexing mechanism designed to capture both content and temporal relationships, and an agentic retrieval-and-reasoning engine operating on top of that index.
1. The Event Knowledge Graph (EKG)
Traditional knowledge graphs connect static entities (e.g., squirrel to feeder) but omit timestamps and causal dynamics. AVA introduces the Event Knowledge Graph (EKG), which treats events as first-class citizens. Constructing the EKG involves a three-step pipeline:
- Fixed-Window Captioning: The video is segmented into short, uniform windows. Batch inference is performed using a small vision-language model—specifically InternVL-7B (7 billion parameters)—to generate detailed natural language descriptions for each window.
- Semantic Merging: Adjacent windows are evaluated using BERTScore. If the semantic similarity score exceeds a predefined threshold (e.g., $0.83$ between window one and window two), they are merged into a single, semantically meaningful event rather than arbitrary temporal chunks.
- Relationship Construction: Two types of edges are established: temporal edges that link adjacent events sequentially along the timeline, and entity-based edges that track object persistence across disparate events. This structure allows AVA to answer visual content queries, multi-hop questions, and complex causal inquiries within a unified graph.
2. Multi-View Retrieval and Agentic Search
To combat VLM hallucination and ensure comprehensive evidence gathering, AVA implements a multi-view retrieval architecture that queries three parallel knowledge bases:
- Events Knowledge Base: Supplies textual summaries of each individual event.
- Entities Knowledge Base: Tracks specific objects (people, vehicles, locations) and their relational links.
- Frame Knowledge Base: Retains raw visual content to preserve scene layout, atmospheric details, and global context.
Candidates retrieved from all three views are reranked to select the top events. Instead of relying on a single-shot retrieval step, AVA employs an LLM-driven agent that performs a tree search over the EKG. The agent operates within a defined action space consisting of four atomic operations: Forward (FW), Backward (BW), Requery (RQ), and Summarize.
To resolve ambiguity among candidate answers without relying on simplistic majority voting (which fails when informative nodes are scarce and noisy), AVA introduces a dual-metric scoring mechanism based on Self-Consistency ($\text{S}_{\text{cot}}$) and Answer Agreement ($\text{S}_{\text{a}}$):
$$\text{Score} = \lambda \cdot \text{S}_{\text{cot}} + (1 - \lambda) \cdot \text{S}_{\text{a}}$$
Here, $\text{S}_{\text{cot}}$ measures the semantic similarity of chain-of-thought rationales across different exploration paths using BERTScore, while $\text{S}_{\text{a}}$ measures the frequency of the final selected answer choice. High consistency in both reasoning paths and final outcomes ensures genuine evidence sufficiency.
Experimental Setup & Results
▶ Watch: Main results and performance comparison across benchmarks (20:30)
Datasets
- Video-MME Long: Features 300 videos averaging 40 minutes each, coupled with 900 Question-Answer pairs.
- LV-Bench: Comprises approximately 100 hour-long videos and 1,500 QA pairs.
- AVA-100 (New Benchmark): Developed by the authors to address the lack of ultra-long, real-world video datasets. It contains 8 videos averaging 10 hours each (totaling roughly 80 hours), paired with 120 QA pairs. The videos span four distinct real-world scenarios: human daily activities, wildlife monitoring, civilian city work, and traffic monitoring. All questions are multiple-choice with a single correct answer.
Baselines and Hardware
AVA was benchmarked against 11 strong baselines, encompassing top-tier proprietary and open-source vision-language models as well as recent video RAG (Retrieval-Augmented Generation) systems. Index construction achieved a processing speed above 2 frames per second (fps) across tested GPU configurations. System latency was dominated by the agentic search loop, which consumed roughly 80% of total inference time, pointing toward clear optimization paths for future iterations.
Practical Implications
▶ Watch: Efficiency analysis and future work directions (21:35)
For infrastructure teams, model builders, and deployers working with large-scale video data, AVA offers a pragmatic paradigm shift away from brute-force token ingestion.
- Token Economy: By relying on an EKG indexing phase, systems can avoid passing millions of raw visual tokens into transformer context windows, drastically reducing compute costs and bypassing hardware memory limits.
- System Bottlenecks: Deployers must note that while index construction is highly parallelizable and efficient (>2 fps), the agentic search loop remains computationally intensive during inference. Engineering efforts should prioritize optimizing tree-search algorithms and caching intermediate reasoning states.
- Robustness in Open-Ended Domains: AVA demonstrates that breaking free from rigid, hand-engineered L2 pipelines is essential for modern surveillance, autonomous mobility auditing, and smart-city analytics where event structures cannot be exhaustively predefined.
Key Takeaways
- Shift to L4 Intelligence: AVA establishes a concrete framework for L4 video analytics, moving beyond perception and retrieval to achieve open-ended, multi-modal causal reasoning over long-form videos.
- The Sparsity Insight: Empirical findings show that answers to complex video queries reside in less than 1% of total frames, validating index-based retrieval over brute-force token processing.
- Event Knowledge Graphs (EKG): By treating events as first-class citizens and linking them via temporal and entity edges, EKG successfully handles visual, multi-hop, and causal reasoning queries within a single structure.
- Agentic Tree Search: Modeling video exploration after human cognitive behavior (skipping, rewinding, re-querying, and summarizing) via an LLM agent resolves uncertainty far more effectively than one-shot retrieval pipelines.
- New AVA-100 Benchmark: To drive future research in ultra-long video analytics, the authors released AVA-100, featuring multi-hour real-world videos and complex multi-modal QA pairs.
About the Speaker(s)
Yuxuan Yan is a Ph.D. student at Zhejiang University focusing on video analytics, systems, and machine learning. This work represents a joint research collaboration involving students and senior researchers from Zhejiang University, Microsoft Research, and Tsinghua University, combining academic systems research with industrial-scale machine learning expertise.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)