BBox DocVQA: A Large Scale Bounding Box Grounded Dataset for Enhancing Reasoning in Document Visual Question Answer

Wenhan Yu, Wang Chen, Guanqiang Qi, Weikang Li, Yang Li, Lei Sha, Deguo Xia, Jizhou HuangarXiv 2025 · DOI

Abstract

Document Visual Question Answering (DocVQA) requires models to integrate textual, tabular, and visual information within a spatial context. However, existing benchmarks often rely on page-level labels, which allows models to achieve high accuracy through global textual cues while failing to locate the specific evidence—a phenomenon termed "right answer, wrong reason." We introduce BBox-DocVQA, a large-scale dataset of 32,000 QA pairs grounded in bounding boxes across 3.6K documents. Using a novel Segment–Judge–and–Generate pipeline, we categorize document reasoning into three spatial scenarios: Single-Page Single-BBox (SPSBB), Single-Page Multi-BBox (SPMBB), and Multi-Page Multi-BBox (MPMBB). Our benchmarks reveal that state-of-the-art Vision-Language Models (VLMs) suffer from a significant "grounding gap," where answer accuracy does not correlate with spatial localization ability.

1. Introduction: The Spatial Grounding Problem

Document AI has seen significant progress, yet DocVQA remains a formidable challenge. To answer a question about a complex PDF, a model must not only read the text but also understand the spatial relationships between paragraphs, tables, and figures. Most existing datasets provide only the answer and the source page, creating a "black box" where a model's internal reasoning is opaque.

Comparison of grounding levels in Document VQA datasets, highlighting the 'Right Answer, Wrong Reason' phenomenon.

As illustrated in Figure 1, models often pick up on global cues to provide a correct answer without actually "looking" at the correct region. This lack of spatial grounding limits interpretability and leads to failures in complex, multi-page documents where evidence is scattered. BBox-DocVQA addresses this by requiring models to "show their work" through explicit bounding box grounding.

2. Methodology and Dataset Structure

To construct a high-quality, large-scale dataset without prohibitive manual labor, we developed the Segment–Judge–and–Generate pipeline.

2.1 The Automated Pipeline

The pipeline consists of three primary stages:

  1. Segment: We utilize the Segment Anything Model (SAM) to automatically detect logical content blocks, such as paragraphs, tables, and figures, within document images.
  2. Judge: Qwen2.5-VL-72B acts as a semantic judge, filtering out noisy or incomplete crops and classifying content types (text, table, or image).
  3. Generate: Advanced VLMs, including GPT-5, generate challenging QA pairs based strictly on the visible content of specific cropped regions.
The Segment–Judge–and–Generate pipeline and the three spatial reasoning scenarios: MPMBB, SPMBB, and SPSBB.

2.2 Dataset Granularity

As shown in Figure 2, BBox-DocVQA covers three distinct scenarios that test varying degrees of spatial reasoning:

  • SPSBB (Single-Page, Single-Bounding Box): Simple lookup tasks where the answer is contained within one block.
  • SPMBB (Single-Page, Multiple-Bounding Boxes): Requires reasoning across multiple blocks on a single page.
  • MPMBB (Multi-Page, Multiple-Bounding Boxes): The most complex scenario, requiring cross-page evidence synthesis.

3. Experimental Results and Key Insights

We benchmarked several state-of-the-art models, including GPT-5, Qwen2.5-VL, and InternVL, revealing several critical insights into the current state of document AI.

3.1 The "Right Answer, Wrong Reason" Phenomenon

The most striking finding is the lack of correlation between answer accuracy and spatial grounding. For instance, while GPT-5 achieved the highest answer accuracy (81.45%), its spatial grounding was remarkably poor, with a mean Intersection over Union (IoU) of only 0.90%. In contrast, Qwen2.5-VL-72B demonstrated the best spatial reasoning with a mean IoU of 35.20%, despite trailing GPT-5 in raw accuracy.

3.2 The Spatial Grounding Bottleneck

Performance drops significantly when models transition from "ground truth sub-images" (where evidence is pre-cropped) to "full-page inputs." This "Delta" gap—up to 25% in some cases—represents the performance tax paid for poor spatial localization. Current models struggle with the "needle in a haystack" problem inherent in complex document layouts.

4. Conclusion and Future Directions

BBox-DocVQA highlights that document reasoning is a two-step process: first, locate the evidence; second, reason over it. Current VLMs often fail at the first step. Future work should focus on "grounding-aware" architectures that use BBox-DocVQA's supervision signals to attend to correct regions before generation. Additionally, improving coordinate prediction precision remains a challenge, as internal image resizing and tokenization in VLMs often disrupt the precision needed for bounding box prediction.

Summary updated

BibTeX
@misc{yu2025bbox,
  author = {Wenhan Yu and Wang Chen and Guanqiang Qi and Weikang Li and Yang Li and Lei Sha and Deguo Xia and Jizhou Huang},
  title = {{BBox DocVQA: A Large Scale Bounding Box Grounded Dataset for Enhancing Reasoning in Document Visual Question Answer}},
  year = {2025},
  eprint = {2511.15090},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.15090},
}
Figure