Skip to main content
QUICK REVIEW

[Paper Review] M$^{6}$Doc: A Large-Scale Multi-Format, Multi-Type, Multi-Layout, Multi-Language, Multi-Annotation Category Dataset for Modern Document Layout Analysis

Hiuyi Cheng, Peirong Zhang|arXiv (Cornell University)|May 15, 2023
Handwritten Text Recognition TechniquesComputer Science5 citations
TL;DR

This paper introduces M$^{6}$Doc, a large-scale, diverse dataset for modern document layout analysis, encompassing multiple formats (scanned, photographed, PDF), types (scientific articles, magazines, test papers, etc.), layouts (rectangular, Manhattan, non-Manhattan, multi-column), languages (Chinese and English), and 74 fine-grained annotation categories across 9,080 pages. It proposes TransDLANet, a transformer-based model with adaptive element matching and a segmentation branch, achieving 64.5% mAP on M$^{6}$Doc, setting a new state-of-the-art.

ABSTRACT

Document layout analysis is a crucial prerequisite for document understanding, including document retrieval and conversion. Most public datasets currently contain only PDF documents and lack realistic documents. Models trained on these datasets may not generalize well to real-world scenarios. Therefore, this paper introduces a large and diverse document layout analysis dataset called $M^{6}Doc$. The $M^6$ designation represents six properties: (1) Multi-Format (including scanned, photographed, and PDF documents); (2) Multi-Type (such as scientific articles, textbooks, books, test papers, magazines, newspapers, and notes); (3) Multi-Layout (rectangular, Manhattan, non-Manhattan, and multi-column Manhattan); (4) Multi-Language (Chinese and English); (5) Multi-Annotation Category (74 types of annotation labels with 237,116 annotation instances in 9,080 manually annotated pages); and (6) Modern documents. Additionally, we propose a transformer-based document layout analysis method called TransDLANet, which leverages an adaptive element matching mechanism that enables query embedding to better match ground truth to improve recall, and constructs a segmentation branch for more precise document image instance segmentation. We conduct a comprehensive evaluation of $M^{6}Doc$ with various layout analysis methods and demonstrate its effectiveness. TransDLANet achieves state-of-the-art performance on $M^{6}Doc$ with 64.5% mAP. The $M^{6}Doc$ dataset will be available at https://github.com/HCIILAB/M6Doc.

Motivation & Objective

  • To address the lack of realistic, diverse, and fine-grained datasets for document layout analysis in real-world scenarios.
  • To overcome limitations in existing datasets, such as restricted formats (mostly PDF), limited language support (mostly English), and coarse annotation categories.
  • To develop a comprehensive benchmark for evaluating layout analysis models across multiple document types, formats, and languages.
  • To enable the training and evaluation of generalizable, multi-domain layout analysis models that handle complex, real-world document layouts.

Proposed method

  • Proposes M$^{6}$Doc, a large-scale dataset with 9,080 manually annotated pages across 7 document types, 4 layout types, 2 languages, and 74 fine-grained annotation categories.
  • Introduces TransDLANet, a transformer-based model using a standard Transformer encoder without positional encoding for feature fusion.
  • Employs an adaptive element matching mechanism to improve query embedding alignment with ground truth, enhancing recall and reducing duplicate attention.
  • Uses a dynamic decoder to fuse RoI features and image features for improved feature representation.
  • Deploys three parameter-shared multi-layer perceptron (MLP) branches for multi-task learning in instance segmentation.
  • Anchors the model on instance segmentation with a segmentation branch for precise layout element localization.

Experimental results

Research questions

  • RQ1Can a large-scale, diverse dataset that includes real-world document formats (scanned, photographed, PDF) improve the generalization of layout analysis models?
  • RQ2How does multi-language (Chinese and English) support affect the performance and robustness of layout analysis models in cross-lingual scenarios?
  • RQ3To what extent can an adaptive element matching mechanism in a transformer-based architecture improve recall and reduce duplicate attention in layout element detection?
  • RQ4Can a unified model trained on diverse document types and layouts achieve state-of-the-art performance across multiple benchmarks?
  • RQ5How does fine-grained annotation (74 categories) enable more accurate and detailed layout understanding compared to coarser datasets?

Key findings

  • M$^{6}$Doc is the first dataset to include both real-world (scanned and photographed) and born-digital (PDF) documents, with comprehensive coverage of document types, layouts, and languages.
  • The dataset contains 237,116 annotation instances across 9,080 pages, with 74 fine-grained annotation categories, making it the most detailed manually annotated DLA dataset to date.
  • TransDLANet achieves a 64.5% mAP on M$^{6}$Doc, setting a new state-of-the-art performance for document layout analysis.
  • The adaptive element matching mechanism in TransDLANet improves recall by enabling query embeddings to better match ground truth instances.
  • The segmentation branch in TransDLANet enables more precise instance segmentation of layout elements, enhancing localization accuracy.
  • Comprehensive evaluation across multiple datasets (e.g., test papers, magazines, notes) confirms the robustness and generalization capability of TransDLANet on diverse document layouts.

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.