Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoning

Ye Mo, Kai Ye, Xianwei Mao, Zirui Shao, Gang Huang +7 more
5/24/2025
3 citations
cs.AIcs.CV

Official code: Doc-CoB/Doc-CoB (0 stars, last commit 2026-10-28).

Abstract

Document understanding aims to perform question answering and information extraction over document images, where the visual content is highly information-dense and most queries rely on only a few relevant layout regions. However, existing methods either adopt a one-pass strategy that implicitly assumes all layouts are equally important, or focus excessively on small regions at the cost of losing critical layout information.

Show full abstract

To address these limitations, we introduce Doc-CoB (Chain-of-Boxes), a simple-yet-effective framework that integrates coarse-to-fine layout-aware visual reasoning into multimodal large language models. Instead of directly zooming into small regions, Doc-CoB progressively focuses on query-relevant layouts while preserving global document information. Specifically, it first selects key layout boxes and then focuses on them for further understanding with visual prompting. To support this paradigm, we introduce two reasoning tasks for box recognition and box reasoning, with an automatic pipeline that constructs 249k training samples with intermediate visual supervision. Experiments on seven benchmarks with four popular models show that Doc-CoB significantly improves performance, demonstrating its effectiveness and wide applicability. The code and the data are available at https://github.com/Doc-CoB/Doc-CoB.

View on arXivView PDF

Code Implementations(1)

Doc-CoB/Doc-CoBOfficial100%

Official Code and Data for Paper "Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoning"

00Aug 26, 20261 months ago

Similar Papers

Cite this paper

@article{mo2025doccob,
  title  = {Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoning},
  author = {Ye Mo and Kai Ye and Xianwei Mao and Zirui Shao and Gang Huang and Bo Zhang and Hangdi Xing and Kehan Chen and Huan Zhou and Zixu Yan and Jiajun Bu and Sheng Zhou},
  year   = {2025},
  eprint = {2505.18603},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.18603v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.18603.svg)](https://codeofpaper.com/paper/2505.18603)

Discussion