Digital Registrar: A Schema-First Framework for Multi-Cancer Privacy-Preserving Pathology Abstraction via Local LLMs
Nan-Haw Chow, H-C Chang, Hung-Kai Chen, Chen-Yuan Lin, Ying-Lung Liu, Po‐Yen Tseng, Li-Ju Shiu, Yen-Wei Chu,
China Medical University · AUG Signals (Canada)
Key points
From the paper's conclusion- By reliably transforming narrative reports into machine-readable structures, it establishes a portable privacy-preserving foundation for automated cancer surveillance, institutional data reuse, and future multimodal clinical systems.
Abstract
Background/Objectives: Free-text surgical pathology reports hinder automated cancer registry entry and secondary analytics. This study introduces a clinically governed schema layer for interoperability, testing whether a locally-deployable Large Language Model (LLM) pipeline can deliver robust registry-grade extraction across institutions. Methods: We developed a College of American Pathologists (CAP)-aligned clinical ontology encompassing 10 cancer types, 192 per-organ scalar fields, key biomarkers, and nested structures for lymph nodes and margins. Encoded via Declarative Self-improving Python (DSPy) signatures with grammar-constrained decoding using DSPy v3.2.1, this model-agnostic pipeline was benchmarked on 893 internal reports against a pathologist-adjudicated gold standard. External validation utilized 242 The Cancer Genome Atlas (TCGA) reports. Hardware feasibility was confirmed on a single 48-gigabyte (GB) Graphics Processing Unit (GPU), ensuring suitability for privacy-preserving on-premises deployment. Results: Using the gpt-oss-20b model, the framework achieved 92.0% macro-mean exact-match accuracy on internal data, demonstrating near-perfect run-to-run reliability. Critical prognostic indicators, including breast estrogen receptor/progesterone receptor (ER/PR) (98.7%) and margin positivity (>93%), maintained high fidelity. On the external TCGA cohort, accuracy was 77.5%, rising to 88.0% after excluding structurally silent fields absent in older narratives. Operationally, the model processed reports in 40–70 s, optimally balancing speed and accuracy. Conclusions: This schema-first abstraction layer successfully decouples clinical logic from specific Artificial Intelligence (AI) models. By reliably transforming narrative reports into machine-readable structures, it establishes a portable privacy-preserving foundation for automated cancer surveillance, institutional data reuse, and future multimodal clinical systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Privacy-Preserving Large Language Model Deployment for Oncology Registry Abstraction: Structure-Aware Evaluation in a Real-World Clinical SettingmedRxiv · 2026
- Automating standardization of prostate cancer biopsy and histopathology reports with privacy-preserving local large language modelsUrologic Oncology Seminars and Original Investigations · 2026
- Large Language Models for Structured Information Extraction from German Histopathology Reports - Hepatocellular CarcinomamedRxiv · 2026
- Leveraging large language models for structured information extraction from pathology reportsJournal of Pathology Informatics · 2025
- Commercial multimodal large language models show systematic model-specific errors in breast cancer pathology reporting: a paired concordance studyBreast Cancer Research · 2026
- OncoPT: long-context transformer models for in hospital tumor phenotype extraction from pathology reportsnpj Digital Medicine · 2026