Work

Semantic validation of layout annotations in large-scale document datasets

Year: 2026
Type: article
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.
Language: English
Open Access status: hybrid
Estimated APC paid: $2,990
OpenAlex ID: W7238859952
FWCI:
Cites: 60
Cited by:
Related to: