mlsanityData to 7 Oct 2026

Robust PDF Document Conversion Using Recurrent Neural Networks

arXiv 2102.09395 ↗First posted 18 Feb 2021cs.LG cs.CV cs.IRcited by 9

Not on the map. Why?

Abstract (arXiv)

The number of published PDF documents has increased exponentially in recent decades. There is a growing need to make their rich content discoverable to information retrieval tools. In this paper, we present a novel approach to document structure recovery in PDF using recurrent neural networks to process the low-level PDF data representation directly, instead of relying on a visual re-interpretation of the rendered PDF page, as has been proposed in previous literature. We demonstrate how a sequence of PDF printing commands can be used as input into a neural network and how the network can learn to classify each printing command according to its structural function in the page. This approach has three advantages: First, it can distinguish among more fine-grained labels (typically 10-20 labels as opposed to 1-5 with visual methods), which results in a more accurate and detailed document structure resolution. Second, it can take into account the text flow across pages more naturally compared to visual methods because it can concatenate the printing commands of sequential pages. Last, our proposed method needs less memory and it is computationally less expensive than visual methods. This allows us to deploy such models in production environments at a much lower cost. Through extensive architectural search in combination with advanced feature engineering, we were able to implement a model that yields a weighted average F1 score of 97% across 17 distinct structural labels. The best model we achieved is currently served in production environments on our Corpus Conversion Service (CCS), which was presented at KDD18 (arXiv:1806.02284). This model enhances the capabilities of CCS significantly, as it eliminates the need for human annotated label ground-truth for every unseen document layout. This proved particularly useful when applied to a huge corpus of PDF articles related to COVID-19.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 9 of its 11 references that are in the map. First posted on arXiv 18 Feb 2021.

Builds on

9 of 11 references.

References · 9

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2016Neural Architectures for Named Entity Recognitioncited by 548
  4. 2019PubLayNet: largest dataset ever for document layout analysiscited by 349
  5. 2017OpenNMT: Open-source Toolkit for Neural Machine Translationcited by 251
  6. 2020The Unreasonable Effectiveness of Deep Learning in Artificial Intelligencecited by 57
  7. 2017"Found in Translation": Predicting Outcomes of Complex Organic Chemistry Reactions using Neural Sequence-to-Sequence Modelscited by 54
  8. 2018Extracting Scientific Figures with Distantly Supervised Neural Networkscited by 36
  9. 2018Corpus Conversion Service: A Machine Learning Platform to Ingest Documents at Scalecited by 12

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 4; 2023: 2; 2024: 1; 2025: 1.

9 papers.