DocAttriBench: Benchmarking Answer Grounding in Document Visual Question Answering

Luca De Grandis, Silvia Cappelletti, William Raccagni, Marcella Cornia, Lorenzo Baraldi, Rita CucchiaraarXiv 2026

TL;DR

This paper introduces DocAttriBench (DAB), a massive benchmark of 296k question-answer pairs across 237k document images designed to evaluate how well Multimodal LLMs (MLLMs) can visually ground their answers to specific layout elements. To build it without prohibitive manual labor costs, the authors developed MAPPET, an automated pipeline that identifies supporting evidence by measuring how much a model's perplexity increases when specific document regions are masked.

What Problem Does This Paper Address?

Multimodal Large Language Models (MLLMs) have gotten remarkably good at Document Visual Question Answering (DocVQA)—asking a question about a PDF, invoice, or slide and getting a correct answer. However, these models often act as black boxes; they might give the right answer but fail to locate the exact text block, table, or chart that contains the evidence. This lack of verifiability leads to subtle hallucinations and makes it hard for users to trust the model's output.

Existing datasets either lack spatial grounding annotations entirely, focus only on text-extractive answers, or rely on expensive, noisy, or proprietary manual/API labeling. The authors address this gap by creating a scalable, automated way to build high-quality, element-level visual grounding datasets.

Methods

The authors propose MAPPET (Mask-based Perplexity-Derived Attribution method), an unsupervised approach to automatically find visual evidence:

  1. Layout Analysis: An off-the-shelf tool (Docling) segments a document image into fine-grained layout elements (paragraphs, tables, figures).
  2. Answer Abstraction: Extractive answers from source datasets are rewritten into natural, free-form sentences using an MLLM to better match modern generative styles.
  3. Perplexity-Based Attribution: For each layout element, MAPPET masks (occludes) its pixels on the document image and computes the model's perplexity on the answer tokens. If masking a region causes a massive spike in perplexity, that region is deemed essential to the answer.
  4. Confidence Filtering: A two-step thresholding mechanism filters out ambiguous samples where the top-scoring region isn't sufficiently distinct from the runner-up.
MAPPET Visual Attribution Pipeline

Datasets

The authors aggregated and re-processed eight public document datasets (including DoclingMatix, DocVQA, VisualMRC, LongDocURL, MMLongBenchDoc, SlideVQA, VisualWebBench, and VISA) to create DocAttriBench (DAB).

DAB contains 237,418 document images and 295,554 QA pairs with element-level bounding boxes across categories like text paragraphs, tables, and pictures.

Figure 1: (Top) The Visual Answer Grounding (VAG) task, which our method advances. Specifically, a Multimodal Large Language Model (MLLM) answers an image query with text and a bounding box of the evidence region. (Bottom) Examples from our dataset, DocAttriBench (DAB) with dataset statistics: number of question-answer pairs (#QA), unique images, and bounding boxes per type (i.e., text, table, and picture).

Key Insights and Ideas

  • Scaling parameters doesn't automatically fix grounding: Even the largest models evaluated (>30B parameters) struggle significantly with zero-shot visual grounding, showing that reasoning ability and localization ability are decoupled.
  • Perplexity as a proxy for visual attention: Using language model perplexity changes under visual masking provides a highly reliable, training-free way to discover what a vision-language model is actually "looking at" to generate its answer.
  • Grounding supervision is highly efficient: Fine-tuning a smaller model (7B-8B parameters) on high-quality grounding data yields better localization and overall correctness than zero-shot performance from models four times its size.

Key Results

  • Weak Zero-Shot Grounding: Zero-shot MLLMs perform poorly at localizing evidence. Bounding box F1 scores average below 40% for large models (>30B) and fall below 10% for smaller models (≤3B).
  • Fine-Tuning Triumph: Models fine-tuned on DAB (MAPPET-7B, MAPPET-8B, MAPPET-I-8B) outperform their zero-shot baselines by over 20 points in grounding F1 score and surpass much larger general-purpose models (like 32B-38B variants).
  • High Annotation Quality: Human evaluation confirmed that MAPPET's automated annotations achieve over 95% accuracy on several benchmarks after applying its filtering step, proving it to be a viable alternative to manual annotation.

Limitations and Future Work

  • Single-Sentence & Single-Page Focus: The current experiments and dataset are largely limited to single-sentence answers and single-page documents.
  • Single-Region Assumption: MAPPET assumes that an answer can be localized within a single structural element. It cannot easily handle complex multi-hop questions where evidence must be aggregated from multiple scattered regions across a document.
  • Future Directions: The authors suggest extending this perplexity-based attribution framework to multi-page documents and multi-region evidence synthesis.

Summary updated

BibTeX
@misc{grandis2026docattribench,
  author = {Luca De Grandis and Silvia Cappelletti and William Raccagni and Marcella Cornia and Lorenzo Baraldi and Rita Cucchiara},
  title = {{DocAttriBench: Benchmarking Answer Grounding in Document Visual Question Answering}},
  year = {2026},
  eprint = {2609.20574},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.20574},
}
Figure