Semantic validation of layout annotations in large-scale document datasets

The growing use of language-based systems that rely mainly on text and corpora in a broad set of domains, especially those that are still not fully digital (e.g. legal documents, notes, receipts), is driving attention on the availability, reliability, and conversion of such resources. Machine learning and Large Language Models (LLMs) for Document Layout Analysis (DLA) rely on large-scale datasets such as DocBank and many others. However, automatic generation of these datasets from PDF or LaTeX sources often introduces errors in region annotations, including missing captions, misplaced elements and overlapping regions. Such inconsistencies negatively impact both training quality and evaluation reliability, propagating noise or bias through downstream models. Our strategy relies on existing datasets for improving their quality by assessing layout coherence, exploiting observable traits of the described domain and assessing the reliability of resulting data. This allows us to perform formal coherence checks among the elements present in the datasets and identify violations of spatial or semantic constraints. The proposed system builds a relational model of article structures, integrating geometric (e.g. near, below, overlaps), sequential (e.g. follows, precedes), and semantic (e.g. disjoint, subclass) relations among layout elements. These relations are learned directly from document data, enabling automatic detection and future correction of violations, including semantic and hierarchical inconsistencies. Error typologies that can be detected include those derived from frequent layout sequences (e.g. title $$\rightarrow $$ author $$\rightarrow $$ abstract) and proximity, which are found to be the most frequent. The detection of such violations highlights missing or misplaced components to guide error resolution, reducing noise and bias inherent in automatically generated annotations.

Authors

Institutions

Publication Details

Journal
International Journal on Digital Libraries
Published
2026-11-23
DOI
https://doi.org/10.1007/s00799-026-00455-x
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Semantic validation of layout annotations in large-scale document datasets

Simone Marinai, Lorenzo Massai
International Journal on Digital Libraries
Handwritten Text Recognition Techniques
article

Semantic validation of layout annotations in large-scale document datasets

Simone Marinai, Lorenzo Massai
article en

Abstract

The growing use of language-based systems that rely mainly on text and corpora in a broad set of domains, especially those that are still not fully digital (e.g. legal documents, notes, receipts), is driving attention on the availability, reliability, and conversion of such resources. Machine learning and Large Language Models (LLMs) for Document Layout Analysis (DLA) rely on large-scale datasets such as DocBank and many others. However, automatic generation of these datasets from PDF or LaTeX sources often introduces errors in region annotations, including missing captions, misplaced elements and overlapping regions. Such inconsistencies negatively impact both training quality and evaluation reliability, propagating noise or bias through downstream models. Our strategy relies on existing datasets for improving their quality by assessing layout coherence, exploiting observable traits of the described domain and assessing the reliability of resulting data. This allows us to perform formal coherence checks among the elements present in the datasets and identify violations of spatial or semantic constraints. The proposed system builds a relational model of article structures, integrating geometric (e.g. near, below, overlaps), sequential (e.g. follows, precedes), and semantic (e.g. disjoint, subclass) relations among layout elements. These relations are learned directly from document data, enabling automatic detection and future correction of violations, including semantic and hierarchical inconsistencies. Error typologies that can be detected include those derived from frequent layout sequences (e.g. title $$\rightarrow $$ author $$\rightarrow $$ abstract) and proximity, which are found to be the most frequent. The detection of such violations highlights missing or misplaced components to guide error resolution, reducing noise and bias inherent in automatically generated annotations.

International Journal on Digital LibrariesVol. 27(4)
University of Florence (IT)
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon