Development and open-source release of a multi-cancer module for structuring pathology reports
Pathology reports contain clinically critical information; however, their semi-structured or free-text format substantially limits secondary use in large-scale cancer research. Scalable, reproducible methods are therefore needed to transform these reports into structured datasets across institutions. This study aimed to develop, externally validate, and publicly release a scalable NLP (Natural Language Processing) framework for structuring multi-cancer pathology report and supporting reproducible, institutionally transferable research workflows. We developed a Clinical BERT-based NLP framework for the automated extraction of structured variables from pathology reports across five cancer types. The pipeline integrated data preprocessing, annotation, model training using a question-answering approach, and a public release of the trained models. The trained models were applied to independent datasets from two external institutions without retraining, enabling direct assessment of cross-institutional. In the internal validation, the model demonstrated consistently strong performance across cancer types, with mean F1 scores ranging from 0.945 to 0.977 and median F1 scores exceeding 0.99. In external validation, performance declined substantially across institutions, with mean F1 scores declining to 0.623 and 0.427 for breast cancer and similar reductions observed in kidney, thyroid, liver, and colorectal cancers (ΔF1 ranging from − 0.209 to − 0.518). Despite this decline, the model maintained clinically meaningful, moderate performance across external datasets. We developed and validated a scalable and reusable NLP framework for multi-cancer pathology report across institutional settings. By publicly releasing trained models and processing pipelines, this study advances reproducible, deployable NLP infrastructure for clinical data integration and multicenter cancer research.
Authors
- Yeonho Choi (ORCID: https://orcid.org/0009-0007-4296-6451)
- Borim Ryu (ORCID: https://orcid.org/0000-0002-2000-4565)
- Phillip Park (ORCID: https://orcid.org/0000-0002-8769-6383)
- Donggyo Shin (ORCID: https://orcid.org/0000-0001-8619-347X)
- Chong Woo Yoo (ORCID: https://orcid.org/0000-0002-5221-4516)
- Soobin Park (ORCID: https://orcid.org/0009-0008-0955-8998)
- Kyeongmin Cho
- Jisoo Han
- Junseok Kim
- Hyun-Jin Kim
- Kui Son Choi
Institutions
- Seoul National University (KR)
- Seoul Metropolitan Government (KR)
- National Cancer Center (US)
- SNUH SMG-SNU Boramae Medical Center (KR)
- National Cancer Center (KR)
- National Health Insurance Service Ilsan Hospital (KR)
- National Health Insurance Service (KR)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-10-26
- DOI
- https://doi.org/10.1038/s41598-026-76668-6
- Primary Topic
- Biomedical Text Mining and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Cancer Center