Skip to main content
QUICK REVIEW

[Paper Review] Corpus Conversion Service: A machine learning platform to ingest documents at scale [Poster abstract]

Peter Staar, Michele Dolfi|arXiv (Cornell University)|Jan 1, 2018
Scientific Computing and Data ManagementDecision Sciences6 references1 citations
TL;DR

This paper presents the Corpus Conversion Service (CCS), a cloud-based machine learning platform that converts PDF documents into structured data at scale by using trainable models instead of rule-based heuristics. It achieves >97% precision and recall in table detection and over 99% F1-score for key document elements like titles and authors using deep learning and random forest models trained on human-annotated layouts.

ABSTRACT

Over the past few decades, the amount of scientific articles and technical literature has increased exponentially in size. Consequently, there is a great need for systems that can ingest these documents at scale and make their content discoverable. Unfortunately, both the format of these documents (e.g. the PDF format or bitmap images) as well as the presentation of the data (e.g. complex tables) make the extraction of qualitative and quantitive data extremely challenging. We present a platform to ingest documents at scale which is powered by Machine Learning techniques and allows the user to train custom models on document collections. We show precision/recall results greater than 97% with regard to conversion to structured formats, as well as scaling evidence for each of the microservices constituting the platform.

Motivation & Objective

  • To address the longstanding challenge of converting unstructured PDFs into structured data at scale.
  • To overcome limitations of rule-based systems that require constant manual tuning.
  • To enable automated, scalable document ingestion using machine learning trained on human-annotated ground truth.
  • To reduce annotation effort through visual, color-coded labeling of document layout elements.
  • To improve accuracy in layout semantic classification using hybrid deep learning and ensemble models.

Proposed method

  • The platform uses a microservices architecture to process document pipelines: parsing, model inference, assembly, annotation, and training.
  • Each PDF page is parsed into cells—text snippets with bounding boxes and content—used as input for ML models.
  • Layout semantics (e.g., Title, Table, Text) are predicted using deep neural networks (Faster R-CNN, YOLOv2) for object detection and Random Forest models for template-specific classification.
  • Annotations are collected via a visual interface where each label is assigned a color, significantly reducing human annotation time.
  • Geometric and stylistic features (position, size, font style, proximity to neighbors) are used as input features for custom Random Forest models.
  • Trained models are retrained iteratively using new annotations, enabling continuous improvement on specific document templates.

Experimental results

Research questions

  • RQ1Can a machine learning-based approach outperform rule-based systems in PDF document conversion at scale?
  • RQ2How can human annotation be made efficient and scalable for training layout semantic models?
  • RQ3To what extent can deep learning models detect complex layout elements like tables with high precision and recall?
  • RQ4Can template-specific models improve accuracy for structured documents such as scientific journals?
  • RQ5How does combining deep learning predictions with geometric features enhance classification performance?

Key findings

  • The platform achieved 97.40% precision and 100% recall for title detection on the Physical Review B dataset using a template-specific model.
  • For table detection, the system reached 99.24% precision and 99.97% recall, demonstrating high reliability in identifying complex layout elements.
  • On a test set of 5,000 pages, both Faster R-CNN and YOLOv2 models achieved over 97% precision and recall in detecting tables.
  • Human annotation speed increased to 30 pages per minute due to a color-coded visual interface, reducing effort by at least one order of magnitude.
  • The hybrid model using deep learning predictions as features improved classification accuracy for key document elements beyond standalone models.
  • The microservices architecture enabled linear scaling: processing speed increased proportionally with virtual machine count, maintaining constant time-to-solution.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.