# Searching Videos as Trees: Self-Correcting Agents for Grounded Long Video QA

*Ce Zhang, Ziyang Wang, Yulu Pan, Oluwatumininu Oguntola, Pranav Wagh, Qiyu Wu, Hiromi Wakaki, Mohit Bansal, Gedas Bertasius*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149784) · [Open on the map](../papers.html#p149784)

Category: [Video Understanding & Generation](../pcat/3.md) › [Video Perception and Reasoning](../pgroup/307.md) · Type: new method · Keywords: grounded video QA, hierarchical search, self-correcting agents, video temporal tree, backtracking navigation

Areas: [AI Agents](../areas/agents.md) › Agent Capabilities › Agentic Video Understanding; [Multimodal](../areas/multimodal.md) › Multimodal Visual Reasoning › Video Temporal Understanding

## Summary
VideoTreeSearch (VTS) introduces a self-correcting hierarchical search over an adaptive temporal tree to improve grounded long-video QA by enabling explicit backtracking and recovery.

## Explained to a 5-year-old
We want to answer questions about long videos and also point to the part of the video that supports the answer. Existing methods try to look at small parts but get stuck if they look at the wrong spot. This paper creates a tree that lets the model move up and down, left and right, and fix mistakes. It learns to go back when it makes a mistake, so it can find the right answer. This helps the model answer questions more accurately.

## Explained to a 5-year-old, longer
When we watch a long video, we might want to know something about it and also see which part of the video tells us. It’s like reading a long story and pointing to the sentence that answers the question. Some computer programs try to look at small pieces of the video, but if they look at the wrong piece, they can’t go back. This paper creates a tree structure that helps the program move around the video like climbing a ladder. The tree has different levels: a big overview, then smaller parts, and even tiny details. The program can zoom in to see more, zoom out to see less, shift to a different area, or answer the question. It also learns to go back when it makes a mistake, like realizing it looked at the wrong scene. By practicing on many videos, the program gets better at finding the right answer and pointing to the right moment. This makes it more reliable for tasks like video summarization, teaching, or helping people find information quickly. The approach works on many different video datasets and even helps other video-question tasks. Overall, it gives computers a smarter way to explore long videos and answer questions accurately.

## For a technical reader
VideoTreeSearch (VTS) reframes grounded long-video QA as a hierarchical navigation problem. It builds a temporal tree from scene boundaries and provides four discrete actions-zoom_in, zoom_out, shift, and answer-to let the agent move up, down, or sideways through the video. A synthetic trajectory generator creates paths with intentional detours and recovery, which are used for supervised fine-tuning and reinforcement learning. The resulting policy not only improves grounding accuracy on benchmark datasets but also transfers to generic long-video QA tasks. This design makes backtracking explicit and learnable, addressing a key limitation of prior single-direction agents.

## Problem
Grounded long-video question answering requires both answering a question and locating the supporting time interval, but existing agentic methods that progressively narrow search lack a way to backtrack from mistakes, causing them to stop early and miss correct answers.

## Method
The approach builds a non-uniform temporal tree from scene boundaries, where each node represents a coherent video segment, and trains an agent to navigate using zoom_in, zoom_out, shift, and answer actions. It uses a trajectory synthesis pipeline that creates multi-step navigation paths with intentional detours and recovery, followed by supervised fine-tuning and reinforcement learning with grounding and answer rewards.

## Results
On CG-Bench the approach improves mIoU by 12.5 points, and on Haystack-Ego4D it raises T-F1 by 7.4 points. It also transfers to Video-MME, MLVU, and LVBench, gaining up to 7.1 accuracy points over prior baselines.

## Contributions
The paper introduces a hierarchical, self-correcting search framework that makes backtracking explicit, a trajectory synthesis pipeline for training with recovery behaviors, and extensive evaluations across multiple video QA benchmarks and transfer tasks.

## Research questions this paper is counted under

- [How can video question answering models ensure answers are grounded in correct evidence while managing visual token budgets and latency?](../q/201.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149784)
