Litcius/Paper detail

Leveraging large language models for structured information extraction from pathology reports

Jeya Balaji Balasubramanian, Daniel E. Adams, Ioannis Roxanis, Amy Berrington de González, Penny Coulson, Jonas S. Almeida, Montserrat García‐Closas

2025Journal of Pathology Informatics17 citationsDOIOpen Access PDF

Abstract

Background: Structured information extraction from unstructured histopathology reports facilitates data accessibility for clinical research. Manual extraction by experts is time-consuming and expensive, limiting scalability. Large language models (LLMs) offer efficient automated extraction through zero-shot prompting, requiring only natural language instructions without labeled data or training. We evaluate LLMs' accuracy in extracting structured information from breast cancer histopathology reports, compared to manual extraction by a trained human annotator. Methods: We developed the Medical Report Information Extractor, a web application leveraging LLMs for automated extraction. We also developed a gold-standard extraction dataset to evaluate the human annotator alongside five LLMs including GPT-4o, a leading proprietary model, and the Llama 3 model family, which allows self-hosting for data privacy. Our assessment involved 111 breast cancer histopathology reports from the Generations study, extracting 51 pathology features specified within the study's data dictionary. Results: < 0.001), its reduced computational requirements make it a viable option for self-hosting. Conclusion: We developed an open-source tool for structured information extraction that demonstrated expert human-level accuracy in our evaluation using state-of-the-art LLMs. The tool can be customized by non-programmers using natural language and the modular design enables reuse for diverse extraction tasks to produce standardized, structured data facilitating analytics through improved accessibility and interoperability.

Topics & Concepts

Computer scienceInformation extractionReuseModular designInformation retrievalNatural language processingData extractionNatural languageAnalyticsArtificial intelligenceRelationship extractionData scienceData miningNatural language user interfaceNatural language understandingKnowledge extractionExtraction (chemistry)Information modelLanguage modelModeling languageFeature extractionSemi-structured dataComputational linguisticsData analysisSemantics (computer science)Data modelingQuality (philosophy)Text miningBiomedical Text Mining and OntologiesArtificial Intelligence in Healthcare and EducationTopic Modeling