VTree: Question-Driven Growth of Hierarchical Memory for Agentic Long-Video Understanding
Organizations: Nanyang Technological University, Singapore · Shanghai Jiao Tong University, Shanghai, China
Abstract
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
| 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 | – | – |
| 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 |
| 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 |
| Max Expansion Rounds | Accuracy (%) |
|---|---|
| 0 (coarse only) | 37.5 |
| 1 round | 54.2 |
| 3 rounds | 61.5 |
| 5 rounds | 65.6 |
| Unlimited | 65.8 |
| 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 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| ID | Prompt | Phase | Calls |
|---|---|---|---|
| P1 | Coarse segmentation | Build | per video |
| P2 | Segment analysis | On demand | per segment |
| P3 | Controller & sufficiency | Growth | |
| P4 | In-branch descent | Growth | |
| P5 | Branch expansion | Growth | |
| P6 | Answer generation | Answer |
| Setting | Applies to | Value |
| Frame decoding rate | Build | fps |
| Max children | P5 | |
| Min child duration | P5 | s |
| Frames stored per node | P5 | |
| Max tree depth | Growth | |
| Drill budget | Growth |
| Field | Prompt | Cap |
|---|---|---|
| {question} | P3, P4 | ch. |
| {evidence} | P3 | ch. |
| Node summary, per line | P3, P4 | ch. |
| Candidate nodes | P3 | uncapped |
| {node_context} | P5 | ch. |
| {evidence_context} | P6 | ch. |
Long-Video Understanding
Long-video understanding enables models to retrieve, remember, and reason about events across extended visual and audio-visual sequences.
See all 165 papers