Answering questions over long multimodal documents requires locating relevant evidence across pages containing text, tables, and figures. When the document exceeds the model's context window, selective retrieval becomes necessary. We introduce VistaTree, a document question-answering agent that builds a summary tree directly from rendered page images. VistaTree segments documents into contiguous page spans, recursively groups them into a topic hierarchy, and refines sibling summaries to distinguish neighboring sections. At query time, the agent uses node summaries to select relevant nodes and reads the corresponding pages, using hierarchical navigation when the full outline exceeds the context budget. Experiments on MMLongBench-Doc and LongDocURL evaluate answer quality and retrieval cost using a locally hosted vision-language model, and quantify the performance gap between global and hierarchical access to the index.
Figures & tables
Figure 1: Overview of VistaTree. Both stages use the same locally hosted VLM. (a) The model reads pages sequentially to build a tree of consecutive page spans. Summary rewriting refines the node titles and summaries without changing the tree structure. (b) Given a question, the model uses the titles and summaries to select spans, reads their page images, and continues searching when more evidence is needed. Flat selection exposes all leaf summaries, while hierarchical navigation reveals children on demand and supports backtracking. Nodes and page contents are schematic.
MMLongBench
LongDocURL
Questions
1,091
2,325
Documents
135
396
Pages, median / max
28 / 468
78 / 149
No text layer
23%
0%
Evidence pages/question
1.88
1.62
Non-text evidence
50.7%
44.5%
Table 1: Dataset versions used in our experiments. Text availability is measured from our extraction output. Non-text evidence includes tables, figures, and layout.
Method
MMLongBench
LongDocURL
Chunk-RAG
—
40.4
RAPTOR
—
38.9
DocAgent
31.4
37.9
VistaTree, flat
43.5
43.2
VistaTree, hierarchical
42.1
38.5
Gold-evidence references (Qwen3-VL-8B-Instruct)
Table 2: Question-answering F1, with published human references. The main comparison uses Qwen3-VL-8B-Instruct and v1 summaries for VistaTree. † Uses gold evidence locations (40-page windows for MMLongBench-Doc, 30 for LongDocURL). Claude searches an index built by the local model. Chunk-RAG and RAPTOR are reported on LongDocURL only, where extracted text is available for all documents. Their MMLongBench-Doc results are omitted because some documents lack extractable text under our preprocessing pipeline. Both use a 26k passage budget. A dash denotes an unreported configuration. Human scores are from Ma et al. (2024) and Deng et al. (2025) . ‡ LongDocURL reports generalized accuracy on 102 sampled questions. Scoring subsets are defined in Appendix C .
Figure 2: Length and context cost for v1 trees. (a,b) Generalized F1 computed within document-length bins using the same questions with scored outputs from both navigation modes. Bins reflect the different document-length ranges and contain different documents and questions. (c) Initial-outline tokens measured with the Qwen3-VL tokenizer, with one point per document and navigation mode across both benchmarks.
Navigation
Tree
MMLongBench
LongDocURL
Flat
v0
43.4
41.9
Flat
v1
43.5
43.2
Hierarchical
v0
40.0
38.0
Hierarchical
v1
42.1
38.5
Table 3: Ablation of navigation and summary rewriting (F1). v0 denotes the original summaries and v1 the rewritten summaries. Bold marks the higher score within each navigation pair.
Figure 3: Effect of the passage budget on LongDocURL. F1 is measured over the aggregate QA evaluation. Passage precision and evidence-page recall are measured on a 30-document sample. Points denote tested settings and lines connect them.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Configuration
MMLongBench
LongDocURL
Claude, full PDF
67.6
—
Claude, window †
—
60.9
RAPTOR, 8k budget
—
39.1
DocAgent, published ∗
54.1
—
Earlier v0 navigation
Flat
45.3
—
Appendix
Table 4: Additional configurations (F1). † Uses gold evidence locations. ∗ Published DocAgent result with Claude 3.5 Sonnet ( Sun et al., 2025 ) , using a different evaluation setup. Earlier v0 navigation rows report review runs and their paired baselines.
Configuration
MMLongBench
LongDocURL
Claude, full PDF
109,130
—
Claude, 30-page window
—
75,056
Claude, VistaTree flat
28,565
26,110
Input-token reduction
73.8%
65.2%
Appendix
Table 5: Mean Claude query input tokens per question. Reduction is relative to full-PDF input on MMLongBench-Doc and the evidence-conditioned 30-page window on LongDocURL. VistaTree uses locally constructed v0 trees.
Nodes opened per question
2.85 (1.40 leaves)
Mean descent depth
1.93 of 3
Opened node holds gold evidence
48.9%
random sibling
17.3%
go_back used
20.5%, 0 failures
Nodes re-opened
0%
Reached the 10-round cap
8.0%
Appendix
Table 6: Earlier v0 hierarchical navigation on LongDocURL. The opened-node evidence rate is compared with random selection among sibling nodes.
School of Software Engineering, Huazhong University of Science and Technology · MiLM Plus, Xiaomi Inc. · School of Computer Science and Technology, Huazhong University of Science and Technology +1