[Paper Review] Corpus Conversion Service: A Machine Learning Platform to Ingest Documents at Scale
This paper presents the Corpus Conversion Service (CCS), a scalable, cloud-based machine learning platform that ingests PDF and bitmap documents at scale by converting them into structured data formats like JSON. Leveraging an asynchronous microservices architecture and trained deep learning models, CCS achieves near-perfect precision and recall (up to 99%) in content extraction, accelerating ground-truth annotation by at least one order of magnitude.
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 the contained knowledge 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. In this paper, we present a modular, cloud-based platform to ingest documents at scale. This platform, called the Corpus Conversion Service (CCS), implements a pipeline which allows users to parse and annotate documents (i.e. collect ground-truth), train machine-learning classification algorithms and ultimately convert any type of PDF or bitmap-documents to a structured content representation format. We will show that each of the modules is scalable due to an asynchronous microservice architecture and can therefore handle massive amounts of documents. Furthermore, we will show that our capability to gather ground-truth is accelerated by machine-learning algorithms by at least one order of magnitude. This allows us to both gather large amounts of ground-truth in very little time and obtain very good precision/recall metrics in the range of 99\% with regard to content conversion to structured output. The CCS platform is currently deployed on IBM internal infrastructure and serving more than 250 active users for knowledge-engineering project engagements.
Motivation & Objective
- To address the growing challenge of extracting structured knowledge from vast volumes of scientific and technical PDFs and bitmap documents.
- To enable scalable, high-accuracy conversion of unstructured document content into structured formats like JSON and XML for knowledge discovery.
- To accelerate ground-truth data collection for training machine learning models in document parsing tasks.
- To design a modular, cloud-native platform that supports concurrent users, massive document workloads, and dynamic resource scaling.
- To improve the efficiency and performance of document conversion pipelines through microservices and deep learning.
Proposed method
- The platform uses a five-component pipeline: document parsing, layout semantic annotation, model training on ground-truth, inference with trained models, and structured output assembly (e.g., JSON).
- Each pipeline component is implemented as a stateless microservice communicating via asynchronous message queues, enabling independent scaling and fault tolerance.
- Ground-truth annotation is accelerated using machine learning, reducing manual effort by at least one order of magnitude.
- Deep learning models are trained on annotated data to classify layout elements (e.g., table cells, text blocks) and predict semantic roles in parsed documents.
- The system is deployed on Kubernetes with dynamic resource binding, allowing flexible scaling of compute resources per microservice.
- The platform supports both native PDFs and scanned documents via optional OCR and image processing microservices.
Experimental results
Research questions
- RQ1How can a scalable, modular platform be designed to convert unstructured PDF and bitmap documents into structured data at scale?
- RQ2To what extent can machine learning accelerate the collection of ground-truth data for document layout understanding?
- RQ3How does the platform’s microservices architecture enable horizontal scaling across users, document volume, and compute resources?
- RQ4What level of precision and recall can be achieved in structured content extraction using trained deep learning models on document layouts?
- RQ5How does the system maintain bounded time-to-solution under varying workloads and document sizes?
Key findings
- The Corpus Conversion Service platform successfully handles over 250 active users and scales to process large volumes of PDF pages, with performance remaining stable even during sudden usage spikes.
- The platform achieves precision and recall metrics of up to 99% in structured content conversion, demonstrating high accuracy in document layout understanding.
- Ground-truth annotation is accelerated by at least one order of magnitude through the use of machine learning, significantly reducing manual labeling time.
- The parsing and machine learning inference components scale linearly (and slightly better-than-linearly) with the number of worker nodes, indicating strong horizontal scalability.
- The document assembly phase shows a flatter speedup curve due to inherent limitations in page-level parallelization, but load imbalance is mitigated with large corpus sizes.
- The system maintains bounded time-to-solution by dynamically allocating compute resources based on workload demands, ensuring predictable performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.