LGAug 3, 2023

A Graphical Approach to Document Layout Analysis

arXiv:2308.02051v118 citationsh-index: 9
Originality Highly original
AI Analysis

This addresses the problem of efficiently converting documents into structured formats for downstream tasks, with incremental improvements in efficiency and performance.

The paper tackles document layout analysis by representing PDF pages as graphs and framing it as a graph segmentation and classification problem, resulting in a lightweight model (GLAM) that is competitive with state-of-the-art models, being over 5 times more efficient and achieving a new state-of-the-art mAP of 80.8 on DocLayNet through an ensemble.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes