Skip to main content
QUICK REVIEW

[Paper Review] DocBank: A Benchmark Dataset for Document Layout Analysis

Minghao Li, Yiheng Xu|arXiv (Cornell University)|Jun 1, 2020
Handwritten Text Recognition TechniquesComputer Science45 references22 citations
TL;DR

This paper introduces DocBank, a large-scale benchmark dataset of 500K document pages with fine-grained token-level layout annotations, constructed via weak supervision from LaTeX source code on arXiv. The dataset enables fair evaluation and development of multi-modal models that integrate both visual and textual features, with experiments showing that LayoutLM significantly outperforms BERT, RoBERTa, and Faster R-CNN on layout analysis tasks.

ABSTRACT

Document layout analysis usually relies on computer vision models to understand documents while ignoring textual information that is vital to capture. Meanwhile, high quality labeled datasets with both visual and textual information are still insufficient. In this paper, we present extbf{DocBank}, a benchmark dataset that contains 500K document pages with fine-grained token-level annotations for document layout analysis. DocBank is constructed using a simple yet effective way with weak supervision from the \LaTeX{} documents available on the arXiv.com. With DocBank, models from different modalities can be compared fairly and multi-modal approaches will be further investigated and boost the performance of document layout analysis. We build several strong baselines and manually split train/dev/test sets for evaluation. Experiment results show that models trained on DocBank accurately recognize the layout information for a variety of documents. The DocBank dataset is publicly available at \url{https://github.com/doc-analysis/DocBank}.

Motivation & Objective

  • To address the lack of high-quality, fine-grained, multi-modal datasets for document layout analysis that integrate both visual and textual information.
  • To reduce the cost and effort of human annotation by leveraging weak supervision from structured LaTeX source code.
  • To enable fair comparison across vision-based and NLP-based models by providing a unified, multi-modal benchmark.
  • To support the development and evaluation of multi-modal deep learning models that jointly exploit layout and textual content.
  • To establish a standardized benchmark for evaluating and advancing document layout analysis techniques.

Proposed method

  • Constructing DocBank by parsing LaTeX source code from arXiv to extract semantic structure tags (e.g., abstract, title, paragraph).
  • Assigning distinct colors to text blocks of different semantic types during PDF rendering to create visually separable, annotated regions.
  • Generating fine-grained token-level annotations by mapping color-coded regions to corresponding layout labels at the token level.
  • Converting the resulting annotated documents into both sequence labeling (NLP) and object detection (CV) formats for multi-modal compatibility.
  • Using the dataset to train and evaluate diverse baseline models, including BERT, RoBERTa, LayoutLM, and Faster R-CNN, across both modality-specific and multi-modal settings.
  • Splitting the dataset into standardized train/dev/test sets to ensure reproducible evaluation and fair comparison across models.

Experimental results

Research questions

  • RQ1Can weak supervision from LaTeX source code produce high-quality, fine-grained layout annotations at scale?
  • RQ2How do models that integrate both textual and visual features compare to those relying solely on vision or text?
  • RQ3To what extent does multi-modal pre-training improve document layout analysis performance compared to uni-modal approaches?
  • RQ4Can a unified benchmark like DocBank enable fair and consistent evaluation across vision and NLP-based document layout models?
  • RQ5What is the performance gap between state-of-the-art multi-modal models and uni-modal baselines on a large-scale, diverse document layout dataset?

Key findings

  • DocBank contains 500,000 document pages with fine-grained, token-level layout annotations derived from LaTeX source code using weak supervision.
  • The dataset supports both sequence labeling (NLP) and object detection (CV) tasks, enabling cross-modality model comparison.
  • LayoutLM, a multi-modal model integrating text and layout features, achieved the highest performance on DocBank, outperforming BERT, RoBERTa, and Faster R-CNN.
  • The use of weak supervision from LaTeX sources enabled scalable, high-quality annotation with minimal human effort.
  • The benchmark facilitates the development and evaluation of multi-modal models, demonstrating the superiority of joint text-layout learning.
  • The dataset is publicly available at https://github.com/doc-analysis/DocBank, supporting reproducible research and model development.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.