1 School of Artificial Intelligence, University of Chinese Academy of Sciences
2 Ant Group
3 Institute of Automation, Chinese Academy of Sciences
4 Jilin University
5 Northwestern Polytechnical University
6 Nanjing University
7 Shanghai Jiao Tong University
8 Peking University
9 Tsinghua University
10 Xidian University
11 ShanghaiTech University
12 Beijing Key Laboratory of Super Intelligent Security of Multi-Modal Information
*Work done during an internship at Ant Group†Project leader‡Corresponding authorlizhiheng2025@ia.ac.cn · cfyuan@nlpr.ia.ac.cn
Abstract
Multimodal models now obtain near-saturated scores on established document and chart benchmarks, which leaves little room to distinguish frontier systems or to identify where they still fail. We introduce DocGallery, a benchmark for multi-hop visual reasoning in rich documents. It comprises 120 documents rendered from agent-written source code, spanning maps, handwritten records, engineering drawings, and dense tables at a mean resolution of 7,655×6,106 pixels, and 932 questions that each require composing evidence from several regions of a page. Reference answers are computed by programs, and each question comes with its evidence regions and intermediate results. Across 18 frontier models, accuracy ranges from 40.2% to 88.7%. Accuracy declines with the length of the evidence chain, by 9 to 42 points between questions with at most three hops and those with ten or more. The more accurate models also reason more efficiently: the four most accurate models produce 638 to 1,883 output tokens per question on average, whereas three of the five lowest-scoring models produce over 18,000 and exhaust their budget on more than half of the questions. On all questions, tool access removes about a fifth of the errors of Claude Fable 5.2, GPT-6.1 Sol, and Claude Opus 5.5. DocGallery thus leaves clear headroom: no model exceeds 81% on questions with ten or more hops, and fourteen of the 18 models trail the leading model by 14 to 48 points.
Introduction
Multimodal models now carry out multi-step operations and cross-application tasks in real computer environments [22, 37]. Evaluation has moved with them: recent model releases lead with benchmarks of coding agents and delivered work, and image understanding takes up a small part of their reports [1, 7, 29]. The scores reported for it are high: those published for nine and eight recent models average 82.0% on MMMU-Pro and 85.1% on CharXiv reasoning [2, 4, 20, 21, 23, 27, 28]. Do these scores mean that image understanding is solved?
These scores come from images that typically show a single chart or figure. The images in the tasks of such agents are often rich documents such as reports, engineering drawings, forms, and maps, where small text, tables, and graphics share one high-resolution page [12, 24]. An answer often depends on several places at once: on a metro fare sheet, the cost of a day of travel depends on the routes on the map, the zone fares in a table, and a daily cap in a note. We refer to reading each piece and carrying its result into the next as multi-hop visual reasoning.
In this work, our goal is to measure how reliably frontier models perform multi-hop visual reasoning over rich documents and to identify what limits them. This requires a benchmark whose questions are difficult for these models and whose reference answers are exact. We address the following questions:
How can questions be made difficult enough to separate frontier models?
How can reference answers remain exact as pages become denser and reasoning chains longer?
What limits the accuracy of current models on such questions?
Table 4. The same models on established benchmarks and on DocGallery (%). MMMU-Pro and CharXiv reasoning scores without tools, as published by developers [4, 20, 21, 23, 27, 28]. †From another developer’s model card. ‡Independent run [2].
Related work
Document understanding benchmarks. Benchmarks of document understanding started from single images of scanned documents, charts, and infographics [17–19] and have grown toward multi-page and long documents [5, 8, 16, 31, 33]. Across this line of work, the individual page remains moderate in resolution and text density (Tab. 1). More recent benchmarks raise difficulty through expert authoring and define their item sets through model outcomes: GDP.pdf [12] keeps a candidate question only when at least two frontier models fail it, Chartography [11] keeps a task only when at least one does, and the Pro split of OfficeQA [24] excludes questions that two frontier agents both answer correctly. DocGallery applies no such filter and raises difficulty through the page itself, which is larger and denser in small text than in any benchmark of Tab. 1.
Multi-hop reasoning over documents. Multi-hop questions over documents mostly connect evidence across pages or documents. SlideVQA [31] asks them across the slides of a deck and M3DocVQA [6] across documents, DocHop-QA [25] studies multimodal evidence integration across scientific documents, and MADQA [3] extends evaluation to agentic search over document collections. DocHop [39] controls logical depth to evaluate how models use context to select and combine chart information. DocGallery places the whole chain on one page: the evidence of every hop lies in the same high-resolution image. Of the benchmarks in Tab. 1, three report question-linked evidence regions and one reports executable solutions; DocGallery provides both, with the intermediate result of every hop.
Code-rendered documents. CoSyn [38] and AnyDoc [15] generate diverse visual documents through code. SynthDocBench [34] studies long-report comprehension with section- and chart-level evidence references. In DocGallery, the source that renders a page also yields the reference answers and the evidence of every hop (Sec. 3.2).
Table 1. Benchmark images, question-linked regions, and diagnostic resources.
The DocGallery Benchmark
Design Principle
A benchmark that separates frontier models and shows what limits them must meet three requirements: (1) difficulty, with questions hard enough to separate these models without being selected by their failures; (2) exactness, with reference answers that remain exact as pages become denser and reasoning chains longer; and (3) granularity, with enough questions, each with its hops recorded, to analyze accuracy by the reasoning a question requires.
Manual annotation makes the three costly to obtain together [11, 12, 24]. DocGallery meets them by rendering each document from source code that records the facts it displays. (1) Page density and the number of hops are set in the source, so difficulty requires no selection on model performance. (2) Each reference answer is computed from the recorded facts by a program, so exactness does not depend on annotation effort. (3) The same source records the hops, evidence regions, and intermediate results of every question. Whether the rendered page visibly supports each answer is verified separately (Sec. 3.3).
Statistics
DocGallery comprises 120 documents in ten domains (Figure 1) and 932 questions (Tab. 12). The images average 7,655×6,106 pixels, which at 300 dpi is a sheet of 65×52 cm, between the A2 and A1 formats used for drawings and maps. On average 77.1% of the recognized text lines in an image are at most 1% of its long edge in height. This text is small relative to the page and of ordinary size in pixels: the median line is 41 pixels tall at native resolution, against 12 to 44 pixels in the benchmarks measured in Tab. 1 (Sec. B.2). The reference steps of a question cite a median of eight evidence boxes, which cover a median of 3.94% of the image, while the smallest rectangle enclosing them covers 46.01%; the evidence is small in area and dispersed across the page. The questions have at most three hops (93), four to six (411), seven to nine (328), or ten or more (100).
Gallery
120 documents
Construction
Task
The input consists of a rendered document image and a question, and the model returns an answer in a prescribed format. Answering requires reading text or graphics, relating evidence across regions, and applying relations or rules specific to the document. Each question is associated with a dependency graph that connects visible facts to intermediate results and to the final answer. We refer to each step in this graph as a hop; the result of one hop determines what the next hop must read or compute, and the hop count of a question is the number of steps in its reference solution.
Document generation
Document generation has four steps (Figure 2). (1) World facts: a fact ledger specifies the entities, values, rules, states, and spatial relations the document must present. (2) Structure: a coding agent plans the layout, writes it in HTML and CSS, sets fonts and text, and checks the measured boxes for overlap. (3) Key elements: content such as handwriting, maps, instrument panels, and 3D scenes is produced by dedicated code. For the field diary (DG004, panel A), the agent takes a scanned sample of each character from the CASIA-HWDB1.1 handwriting database (Liu et al., ICDAR 2011), varies its shape, and places it on the ruled page; for the station diagram (DG012, panel D), it builds a 3D model from the concourse and platform plans and anchors bilingual labels to the rendered structures. (4) Rendering: the source is rendered to the final image.
a question is planned over facts of the page, such as values, rules, and states.
Build sub-questions
the question is split into reading sub-questions, which take facts from the page, and reasoning sub-questions, which use earlier answers.
Compose hops
each sub-question becomes a hop that records its dependencies and evidence regions.
Validate & Revise
every hop must affect the answer, a shortcut that skips a hop must fail, and the reference program and a second one, written separately with a different method, must agree on one exact answer; a failed check returns the question to the step at fault.
For each question we retain an executable solution program, the reference answer and intermediate results it produces, and the locations of the evidence in the final image. Sections A and B, with their tables and figures, are in the appendix.
Six questions / 4 to 9 hops
Follow a hop chain
Each question is first designed on its source page: the regions that hold the facts it needs are framed, linked into hops, and composed into one question. It is then solved in the order of the reference solution: the view moves to the evidence of every hop, the results gather along the bottom, and arcs mark the earlier results that a hop uses. Circles take facts from the page; squares also use earlier results.
Results and Analysis
Setup
We evaluate 18 recently released multimodal models (Tab. 2). Each model receives the document image and the question and has no tools. Pages are sent at a resolution at which their small text was verified to be legible, as overlapping tiles with an overview when they exceed a model’s single-image limit (Sec. A). Reasoning effort is listed per model in Tab. 2. All models share a cap of 25,600 output tokens, reasoning included, and a response that reaches the cap without a final answer is scored as incorrect. A program scores the answers against the references; no model acts as a judge.
Main Results
Accuracy ranges from 40.24% to 88.72% (Tab. 2). Gemini 4 Argon and Claude Fable 5.2 lead with 88.72% and 86.27%, followed by GPT-6.1 Sol (82.30%) and Opus 5.5 (80.58%). Eight models answer fewer than half of the questions, and the leading model misses 11% of them.
Comparison with established benchmarks. Table 4 lists the MMMU-Pro [40] and CharXiv reasoning [36] scores published for nine of these models. They span 11.4 points on MMMU-Pro and 15.1 points on CharXiv, against 41.8 points on DocGallery (40.1 among the eight models with a CharXiv score). Seed-2.1-Pro and Seed-2.1-Turbo differ by 1.5 and 2.9 points on the two established benchmarks and by 29.4 points here.
Accuracy by number of hops
Without tools · Table 2 · all 932 questions
Table view: all 18 models
Accuracy (%) without tools, from Table 2
Model
All
1–3 hops
4–6
7–9
10+
Gemini 4 Argon
88.72
95.70
91.46
86.28
79.00
Claude Fable 5.2
86.27
90.32
86.62
86.28
81.00
GPT-6.1 Sol
82.30
96.77
85.40
77.74
71.00
Claude Opus 5.5
80.58
86.02
84.43
78.05
68.00
Gemini 3.8 Flash
74.36
88.17
79.81
71.04
50.00
Kimi K3.1 Pro
72.75
83.87
78.83
66.77
57.00
Seed-2.1-Pro
71.57
83.87
77.13
68.29
48.00
Qwen3.8-Max
65.45
77.42
72.26
61.28
40.00
DeepSeek-Flash
60.41
66.67
67.64
56.40
38.00
Qwen3.8-27B
57.08
69.89
65.21
52.13
28.00
GLM-5.3-Flash
49.36
59.14
54.74
44.82
33.00
MiMo-V2.6-Pro
49.25
65.59
54.74
43.60
30.00
Ling-3.2-Flash
47.64
60.22
54.99
40.24
30.00
Step 5 Preview
42.60
52.69
50.12
36.28
23.00
Seed-2.1-Turbo
42.17
50.54
50.85
35.37
21.00
MiniMax-M3.1-Flash
40.45
55.91
46.96
32.93
24.00
LongCat-2.5
40.24
56.99
47.69
32.62
19.00
Tencent Hy4
40.24
61.29
45.26
33.54
22.00
Human reference
Three graduate students from different fields solve a 93-question sample from the image alone, with non-AI aids such as a calculator (Sec. 3.3); their familiarity with the subject matter of these questions is high, medium, and low (Tab. 3). They answer 84.95%, 74.19%, and 63.44% of the questions, in 22 minutes per question on average; Gemini 4 Argon and Fable 5.2 score above the first solver, and ten models score below the third. With the evidence regions marked, they gain 8 to 15 points (Tab. 10).
Human evaluation · Table 3
Table 2. Main results on DocGallery. Accuracy (%) without tools on the 932 questions, for all questions and by number of hops (93, 411, 328, and 100 questions). Tokens is the mean number of output tokens per question, reasoning included, and Capped is the share (%) of questions that reached the 25,600-token cap. With tools: on a 93-question subset, in Claude Code for the Claude models and in Codex for the others; tokens include tool rounds, and ∆ is the change against the run without tools on the same questions (points of accuracy, output tokens). Best and second best model.Table 3. Human solvers on a 93-question sample. Accuracy (%) from the image alone, by number of hops; Evidence: with the evidence regions marked. Minutes: mean time per question.
Analysis
Number of hops
Short chains are within reach of the leaders: three models answer 90.3% to 96.8% of the questions with at most three hops. With ten or more hops every model is less accurate (Tab. 2), by 9.3 points (Fable 5.2) to 41.9 points (Qwen3.8-27B). Under a constant success rate per hop (Sec. A), the fitted rates range from 0.885 (LongCat-2.5) to 0.989 (Fable 5.2), and compounding turns this gap of 0.10 per hop into 0.90 against 0.29 over ten hops. Chain length also reorders the leaders: GPT-6.1 Sol ranks first with at most three hops (96.8%) and third with ten or more (71.0%), where Fable 5.2 leads (81.0%).
Output tokens
Across the 18 models, the more accurate models also reason more efficiently: accuracy is negatively correlated with the mean number of output tokens per question (Spearman ρ = −0.83; Figure 4a). The four most accurate models produce between 638 (GPT-6.1 Sol) and 1,883 (Gemini 4 Argon) output tokens per question, whereas Hy4, LongCat-2.5, and Seed-2.1-Turbo produce more than 18,000 and reach the cap on 51% to 56% of the questions. Token efficiency is also found to vary widely among models on text reasoning and coding [9].
Two kinds of failure
Figure 4b separates the questions a model answers incorrectly from those on which it reaches the cap. For Hy4, Seed-2.1-Turbo, and LongCat-2.5, reaching the cap accounts for 86% to 94% of the errors. MiniMax-M3.1-Flash has nearly the same overall accuracy as these three, completes 88% of the questions, and answers 46% of the completed ones correctly.
What long traces contain
In the three traces of Figure 5, Hy4 repeats one block ten times until the cap ends the response, Seed-2.1-Turbo restates a correct total nine more times, and LongCat-2.5 alternates between two readings of a fee table until the cap; such repetition loops are also reported in prior work [10, 26].
Larger budgets
For the five models that reach the cap on more than 25% of the questions, we reran every capped question with a cap of 51,200 tokens (Figure 4c, Tab. 8). Hy4, Seed-2.1-Turbo, and LongCat-2.5 then answer 37%, 32%, and 24% of these questions correctly, and their overall accuracy rises from 40.2%, 42.2%, and 40.2% to 61.1%, 59.3%, and 52.7%. The cap thus accounts for 12 to 21 points of their deficit in Tab. 2: on these questions the models reach the correct answer once given more tokens. We conjecture that post-training contributes to this deficit, since reinforcement learning with verifiable rewards is reported to raise the efficiency with which a model samples correct solutions, without eliciting reasoning patterns beyond those of its base model [41]. At twice the budget, 63% to 76% of the rerun questions remain unsolved, and the three models stay 28 to 36 points below Gemini 4 Argon.
Tool access
In the tool setting, a model works in a coding agent, Claude Code for the Claude models and Codex for the others, and can run code to crop, rescale, and view page regions; the cap covers all rounds (Sec. A). On all 932 questions, tool access raises Fable 5.2 from 86.27% to 88.73%, GPT-6.1 Sol from 82.30% to 85.62%, and Opus 5.5 from 80.58% to 85.19% (Tab. 11), which removes 18% to 24% of their errors; 11% to 15% remain wrong. On the 93-question subset of Tab. 2, nine of the 18 models improve with tools and eight decline; Ling-3.2-Flash and Step 5 Preview, which decline most, reach the cap on 62% and 68% of these questions. Some losses come from the answer format: after several tool rounds, models add notes to the final answer or write invalid JSON, which is scored as incorrect even when the values are right.
Longer responses, lower accuracy
Across the 18 models, accuracy is negatively correlated with the mean number of output tokens per question. The halo around a model marks the share of its questions that reached the 25,600-token cap; on the right, the questions of each model split into those answered correctly, those completed with an incorrect answer, and those ended by the cap.
Accuracy against mean output tokens per questionOutcomes under the 25,600-token cap
Table view
What long traces contain
Three responses of Figure 5, replayed from the raw outputs: Hy4 repeats one block until the cap ends the response, Seed-2.1-Turbo restates a correct total nine more times, and LongCat-2.5 alternates between two readings of a fee table until the cap. Each passage appears where it occurs in the text, and Chinese passages are translated as in Figure 5. For LongCat-2.5 only the two lines near the end have a recorded position, so its excerpts are spaced evenly.
Output tokens0
cap 25,600
Twice the output budget
The five models that reach the cap on more than 25% of the questions rerun every capped question with a cap of 51,200 tokens. Hy4, Seed-2.1-Turbo, and LongCat-2.5 then reach 61.1%, 59.3%, and 52.7%, and still trail the leading model by 28 to 36 points. On the right, an earlier sweep over 93 questions on which all three models had reached the cap.
Output cap25,600tokens
All capped questions rerun at 51,200 tokens (Table 8)Correct answers on 93 questions at three caps
Table view
Tool access
In a coding agent, a model can run code to crop, rescale, and view page regions. On the 93-question subset, nine of the 18 models improve with tools and eight decline; on all 932 questions, tools remove about a fifth of the errors of Fable 5.2, GPT-6.1 Sol, and Opus 5.5.
Accuracy without and with tools on the 93-question subset (Table 2)All 932 questions with tools (Table 11)
Table view
Figure 4. Reasoning length and outcomes. (a) Accuracy against the mean number of output tokens per question, with a linear fit and its 95% confidence band; the halo area is the share of questions that reached the cap. (b) Share of questions answered correctly, answered incorrectly, and left unanswered because the response reached the cap. Models are ordered by accuracy.Figure 5. Patterns in long reasoning traces. (1) Hy4 repeats one block of 2,611 characters ten times until the cap ends the response. (2) Seed-2.1-Turbo reaches the correct total at 62% of its summary, then verifies and restates it nine more times. (3) LongCat-2.5 does not tie the numbers it reads to their columns and alternates between readings until the cap.Figure 4. Reasoning length and outcomes. (c) The same shares for the five models capped on more than 25% of the questions, after every capped question is rerun with a cap of 51,200 tokens; the numbers give accuracy before and after the rerun.
Limitations
Generated documents cover a bounded range of layouts and tasks, and conclusions about real documents need external validation. Reference answers are exact with respect to the source, and their visual support is checked on a 10% sample (Sec. 3.3). The shared cap of 25,600 output tokens lowers the scores of models that reason at length, by 12 to 21 points for three of them. Tool runs use two agent environments, and tiling differs across APIs.
Conclusion
DocGallery renders rich documents from source code, which keeps reference answers exact while pages become dense and reasoning chains long. Eighteen frontier models score between 40.2% and 88.7%, and none exceeds 81% on questions with ten or more hops. Accuracy falls as evidence chains lengthen, and the gap between models widens. More accurate models also reason more efficiently, and several exhaust the budget before answering. On all questions, tool access removes about a fifth of the errors of Fable 5.2, GPT-6.1 Sol, and Opus 5.5, which still miss 11% to 15%.
Full-set accuracy with tool access Section 4.3 · 932 questions