TL;DR
Frontier multimodal AI models are acing standard document and chart benchmarks, making it hard to tell them apart or see where they still struggle. DocGallery fixes this by introducing a new benchmark of 120 ultra-dense, high-resolution documents—rendered from agent-written source code—paired with 932 multi-hop questions. Across 18 frontier models, accuracy spreads out dramatically from 40.2% to 88.7%, revealing that longer reasoning chains and bloated, repetitive "thinking" traces still trip up even the best systems.
What Problem Does This Paper Address?
If you look at recent AI release notes, you might think visual document understanding is nearly solved: top models routinely score above 80% on benchmarks like MMMU-Pro and CharXiv. But those tests usually feature a single chart or figure. Real-world documents—like engineering blueprints, metro fare sheets, or financial reports—pack tiny text, tables, maps, and diagrams onto one giant page. Answering a question often requires multi-hop visual reasoning: reading a route on a map, looking up a zone in a table, checking a footnote for a daily cap, and combining them.
Recent attempts to make harder benchmarks rely on expensive human experts and filter out questions that frontier models already get right. That ties the benchmark's difficulty to today's models and leaves too few questions (often just 100–133) to diagnose why models fail. DocGallery aims to create a benchmark that is naturally hard, mathematically exact, and large enough to pinpoint what limits current models.
Methods
Instead of scanning real-world PDFs and hiring annotators to write questions, the authors flipped the script: they generate the documents from source code.
- Document Generation: A coding agent (primarily Claude Opus 5.5) first writes a "fact ledger" of entities, values, rules, and spatial relations. It then builds the page layout in HTML/CSS and uses specialized code (like Python, Three.js, and SVG) to render complex elements such as 3D station models, geologic maps, instrument panels, and even realistic handwriting.
- Question & Hop Construction: Questions are planned directly over the fact ledger and broken down into "reading" hops (extracting a fact from the page) and "reasoning" hops (combining earlier answers). A question is only accepted if every single hop is necessary and two independent programs compute the exact same answer.
- Quality Control: The authors verify the source programs, inspect every rendered image at native resolution for legibility, and had three graduate students solve a 93-question sample from the images alone to confirm the questions are fair and unambiguous.
Datasets
The paper introduces DocGallery, a new evaluation benchmark comprising:
- 120 documents across 10 domains (including Architecture & Engineering, Healthcare, Finance & Business, and Transportation & Geography).
- Mean resolution of 7,655 × 6,106 pixels—roughly the size of an A2 or A1 architectural sheet at 300 dpi. On average, 77.1% of text lines are "small text" (at most 1% of the image's long edge).
- 932 questions, where 79% require 4 to 9 hops and 11% require 10 or more hops. Each question includes its ground-truth answer, intermediate hop results, and exact evidence bounding boxes.
Unlike existing benchmarks (e.g., DocVQA, ChartQA, MMMU-Pro), DocGallery is larger in resolution, denser in small text, and provides both executable solutions and per-hop evidence regions.
Key Insights and Ideas
- Standard benchmarks hide huge capability gaps: Nine models that sit within an 11.4-point spread on MMMU-Pro (76.3% to 87.7%) spread out across 41.8 points on DocGallery (40.5% to 82.3%).
- Errors compound with reasoning depth: Every model loses accuracy as the number of hops grows—dropping by 9.3 to 41.9 points between short chains (1–3 hops) and long chains (10+ hops).
- Better models think shorter, not longer: Across all 18 models, accuracy is strongly negatively correlated with output length (Spearman $\rho = -0.83$). The top four models average just 638 to 1,883 output tokens per question, while three of the lowest-scoring models average over 18,000 tokens—often getting stuck in repetitive loops or endlessly re-verifying the same numbers until they hit the 25,600-token cap.
- Tools are a double-edged sword: Giving models access to code-execution tools (to crop and zoom in on pages) helps top models, but actually hurts 8 out of 18 models on a 93-question subset—either because they burn through their token budget in tool loops or break the required JSON output format.
Key Results
- Overall Accuracy (No Tools): Across 18 frontier models, accuracy ranges from 40.24% (LongCat-2.5 and Tencent Hy4) to 88.72% (Gemini 4 Argon), followed by Claude Fable 5.2 (86.27%), GPT-6.1 Sol (82.30%), and Claude Opus 5.5 (80.58%). On 10+ hop questions, no model exceeds 81.00%.
- Human Baseline: Three graduate students solving a 93-question sample scored 84.95%, 74.19%, and 63.44% (high, medium, and low domain familiarity), taking an average of 22 minutes per question.
- Effect of Tool Access: On all 932 questions, tool access removes 18% to 24% of the errors for Claude Fable 5.2 (86.27% → 88.73%), GPT-6.1 Sol (82.30% → 85.62%), and Claude Opus 5.5 (80.58% → 85.19%).
Limitations and Future Work
The authors note several limitations:
- Synthetic layouts: Because documents are generated from code, they cover a bounded range of layouts and tasks; conclusions about real-world documents still need external validation.
- Sampled human check: Visual legibility of the reference answers was verified by human solvers on a 10% sample (93 questions) rather than the full 932-question set.
- Evaluation constraints: The shared 25,600-token cap penalizes verbose models (costing three of them 12 to 21 points, which they recover when rerun at a 51,200-token cap), and tool-use experiments relied on two different agent environments (Claude Code and Codex) with varying image-tiling APIs.
Summary updated