English

A Graphical Approach to Document Layout Analysis

Machine Learning 2023-08-07 v1

Abstract

Document layout analysis (DLA) is the task of detecting the distinct, semantic content within a document and correctly classifying these items into an appropriate category (e.g., text, title, figure). DLA pipelines enable users to convert documents into structured machine-readable formats that can then be used for many useful downstream tasks. Most existing state-of-the-art (SOTA) DLA models represent documents as images, discarding the rich metadata available in electronically generated PDFs. Directly leveraging this metadata, we represent each PDF page as a structured graph and frame the DLA problem as a graph segmentation and classification problem. We introduce the Graph-based Layout Analysis Model (GLAM), a lightweight graph neural network competitive with SOTA models on two challenging DLA datasets - while being an order of magnitude smaller than existing models. In particular, the 4-million parameter GLAM model outperforms the leading 140M+ parameter computer vision-based model on 5 of the 11 classes on the DocLayNet dataset. A simple ensemble of these two models achieves a new state-of-the-art on DocLayNet, increasing mAP from 76.8 to 80.8. Overall, GLAM is over 5 times more efficient than SOTA models, making GLAM a favorable engineering choice for DLA tasks.

Keywords

Cite

@article{arxiv.2308.02051,
  title  = {A Graphical Approach to Document Layout Analysis},
  author = {Jilin Wang and Michael Krumdick and Baojia Tong and Hamima Halim and Maxim Sokolov and Vadym Barda and Delphine Vendryes and Chris Tanner},
  journal= {arXiv preprint arXiv:2308.02051},
  year   = {2023}
}

Comments

ICDAR 2023

R2 v1 2026-06-28T11:47:45.705Z