Long videos spanning tens of minutes to hours far exceed the context window of today's vision-language models, and the standard remedy of sparse uniform frame sampling discards exactly the fine-grained evidence that specific questions depend on. Existing video agents explore on demand but re-explore from scratch for every question and discard their exploration state once an answer is produced, so per-question cost scales with video length. Hierarchical-memory methods instead fix the scope of each depth in advance and deepen along a pre-committed pyramid rather than toward the question. We observe that a video's coarse structure (where its scenes and topics begin and end) is question-independent, whereas which part a question must zoom into, and how deep, is question-dependent. We propose VTree, which builds a coarse hierarchical memory tree over a video once and then, for each question, grows branches only where that question needs depth. The growth is globally routed so any part of the timeline is reachable, sufficiency-gated so drilling stops when the evidence suffices, and query-conditioned so a branch unfolds into the sub-intervals that answer this question. Crucially, every expansion is written back into the video memory, allowing later questions to reuse previously discovered structure and evidence without repeating the corresponding expansion process. Across five long-video understanding benchmarks, VTree consistently improves the accuracy of diverse vision-language backbones while substantially reducing the context length and execution time required for each question.
Figures & tables
Figure 1: VTree raises accuracy while sharply cutting per-question cost. Across three backbones (Qwen3-VL, Gemini-2.5-Flash, Gemini-3.5-Flash) on LVBench: (a) Accuracy & context —VTree (green) outperforms feeding the video end-to-end (purple) while reading 11 – 14× shorter context per question; (b) Execution time —VTree answers 5.6 – 7.2× faster in wall-clock time. Rather than ingesting the whole timeline, VTree grows its memory tree toward each question and reads only the branches the answer needs.
Figure 2: Overview of VTree. (1) Build phase: a question-independent level- 1 event skeleton is constructed once per video. (2) Growth phase: for each question, the controller routes over the updated level- 1 nodes, reuses stored descendants, and expands an unexplored leaf only when finer evidence is needed. Newly acquired information is propagated bottom-up. (3) Persistent memory: the refined hierarchy is retained across questions for subsequent reuse.
Methods
EgoSchema
LVBench
MLVU
Video-MME
LongVideoBench
Val
Overall
Test
Short
Medium
Long
Overall
Val
Long
Seed-1.5-VL ( Guo et al. 2025 )
–
64.6
82.1
–
–
–
77.9
74.4
–
GPT-4.1 ( OpenAI 2025 )
72.0
63.4
–
–
–
–
72.0
–
–
GPT-5 ( Singh and others 2025 )
–
66.5
–
–
–
67.9
72.0
–
64.5
VideoTree ( Wang et al. 2025c )
66.2
28.8
60.4
–
–
54.2
60.6
–
–
SiLVR ( Zhang et al. 2025a )
44.4
–
45.2
–
–
–
74.1
–
–
Table 1: Main results across long-video QA benchmarks (accuracy, %). Within each backbone/VTree pair, the higher value per column is in bold ; colored (+x.x) marks VTree’s gain over its backbone.
Segmentation Strategy
Accuracy (%)
Random intervals (60–180 s)
42.9
Fixed-time windows (120 s)
58.7
DDM-Net ( Tang et al. 2022 )
61.5
LLM-based (ours)
65.6
Table 2: Coarse segmentation ablation on LVBench.
Figure 3: Qualitative examples of the Route–Check–Expand process. VTree routes to a relevant branch, checks evidence sufficiency, and expands the branch only when finer detail is required.
LVBench
Video-MME Long
Protocol
Acc. (%)
Time (s)
Acc. (%)
Time (s)
Reset per question
62.4
41
76.3
53
Persistent write-back
65.6
34
78.2
47
Table 3: Cross-question persistence ablation. Time is averaged per question.
Max Expansion Rounds
Accuracy (%)
0 (coarse only)
37.5
1 round
54.2
3 rounds
61.5
5 rounds
65.6
Unlimited
65.8
Table 4: Query-time expansion budget ablation on LVBench.
Backbone
VTree Runs
Mean ± Std.
Baseline
1
2
3
4
5
Acc. (%)
59.3
67.3
66.7
69.3
68.7
68.3
68.1 ± 1.1
Table 5: Question-order sensitivity on 20 LVBench videos with 300 questions.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
ID
Prompt
Phase
Calls
P1
Coarse segmentation
Build
1 per video
P2
Segment analysis
On demand
≤1 per segment
P3
Controller & sufficiency
Growth
≤R+1=6
P4
In-branch descent
Growth
≤R(D−1)=15
P5
Branch expansion
Growth
≤R=5
P6
Answer generation
Answer
1
Appendix
Table 6: The prompt inventory. Build-phase calls are amortized over all questions asked about a video; growth- and answer-phase counts are per question, with R=5 the drill budget and D=4 the depth limit of Algorithm 1 .
Setting
Applies to
Value
Frame decoding rate
Build
1 fps
Max children
P5
20
Min child duration
P5
3 s
Frames stored per node
P5
3
Max tree depth D
Growth
4
Drill budget R
Growth
5
Appendix
Table 7: Decoding and structural settings for the prompts of Section A .
Field
Prompt
Cap
{question}
P3, P4
600 ch.
{evidence}
P3
2000 ch.
Node summary, per line
P3, P4
120 ch.
Candidate nodes
P3
uncapped
{node_context}
P5
300 ch.
{evidence_context}
P6
8000 ch.
Appendix
Table 8: Truncation applied to interpolated fields. Truncation is by characters and is applied after the ordering and deduplication of Section A , so the earliest evidence survives.