TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/A Graphical Approach to Document Layout Analysis

A Graphical Approach to Document Layout Analysis

Jilin Wang, Michael Krumdick, Baojia Tong, Hamima Halim, Maxim Sokolov, Vadym Barda, Delphine Vendryes, Chris Tanner

2023-08-03Document Layout Analysis
PaperPDFCode

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.

Results

TaskDatasetMetricValueModel
Document Layout AnalysisPubLayNet valFigure0.206GLAM
Document Layout AnalysisPubLayNet valList0.862GLAM
Document Layout AnalysisPubLayNet valOverall0.722GLAM
Document Layout AnalysisPubLayNet valTable0.868GLAM
Document Layout AnalysisPubLayNet valText0.878GLAM
Document Layout AnalysisPubLayNet valTitle0.8GLAM

Related Papers

Class-Agnostic Region-of-Interest Matching in Document Images2025-06-26From Codicology to Code: A Comparative Study of Transformer and YOLO-based Detectors for Layout Analysis in Historical Documents2025-06-25SCAN: Semantic Document Layout Analysis for Textual and Visual Retrieval-Augmented Generation2025-05-20A document processing pipeline for the construction of a dataset for topic modeling based on the judgments of the Italian Supreme Court2025-05-13Benchmarking Graph Neural Networks for Document Layout Analysis in Public Affairs2025-05-12AnnoPage Dataset: Dataset of Non-Textual Elements in Documents with Fine-Grained Categorization2025-03-28SFDLA: Source-Free Document Layout Analysis2025-03-24PP-DocLayout: A Unified Document Layout Detection Model to Accelerate Large-Scale Data Construction2025-03-21