From Chaos to Clarity: Schema-Constrained AI for Auditable Biomedical Evidence Extraction from Full-Text PDFs
Pouria Mortezaagha, Joseph Shaw, Bowen Sun, Arya Rahgozar
TL;DR
The paper tackles the challenge of scalable, auditable extraction of synthesis-critical variables from full-text biomedical PDFs. It presents a schema-constrained OCR pipeline that processes documents in page-level chunks, binds outputs to typed fields with closed vocabularies, and attaches sentence-level provenance to key decisions, enabling post-hoc auditing. Evaluated on a DOAC level-measurement corpus (734 PDFs, 7,228 pages), the approach achieves corpus-scale throughput with deterministic merging, high internal consistency, and substantial fidelity gains after iterative schema refinement. The resulting reproducible CSV/Parquet datasets and multimodal markdown reconstructions support transparent, scalable biomedical evidence synthesis, demonstrating that constrained inference and provenance-aware extraction can meet the transparency, reliability, and auditability requirements of modern systematic reviews.
Abstract
Biomedical evidence synthesis relies on accurate extraction of methodological, laboratory, and outcome variables from full-text research articles, yet these variables are embedded in complex scientific PDFs that make manual abstraction time-consuming and difficult to scale. Existing document AI systems remain limited by OCR errors, long-document fragmentation, constrained throughput, and insufficient auditability for high-stakes synthesis. We present a schema-constrained AI extraction system that transforms full-text biomedical PDFs into structured, analysis-ready records by explicitly restricting model inference through typed schemas, controlled vocabularies, and evidence-gated decisions. Documents are ingested using resume-aware hashing, partitioned into caption-aware page-level chunks, and processed asynchronously under explicit concurrency controls. Chunk-level outputs are deterministically merged into study-level records using conflict-aware consolidation, set-based aggregation, and sentence-level provenance to support traceability and post-hoc audit. Evaluated on a corpus of studies on direct oral anticoagulant level measurement, the pipeline processed all documents without manual intervention, maintained stable throughput under service constraints, and exhibited strong internal consistency across document chunks. Iterative schema refinement substantially improved extraction fidelity for synthesis-critical variables, including assay classification, outcome definitions, follow-up duration, and timing of measurement. These results demonstrate that schema-constrained, provenance-aware extraction enables scalable and auditable transformation of heterogeneous scientific PDFs into structured evidence, aligning modern document AI with the transparency and reliability requirements of biomedical evidence synthesis.
