Related Experiment Video
Updated: Jul 8, 2025

Automated Dissection Protocol for Tumor Enrichment in Low Tumor Content Tissues
Published on: March 29, 2021
Extracting structured information from unstructured histopathology reports using generative pre-trained transformer 4
Daniel Truhn1, Chiara Ml Loeffler2,3,4, Gustav Müller-Franzes1
1Department of Diagnostic and Interventional Radiology, University Hospital RWTH Aachen, Aachen, Germany.
Large language models (LLMs) like GPT-4 can extract structured data from unstructured pathology reports. This method shows high concordance with human data, potentially streamlining machine learning for precision oncology.
Area of Science:
- Computational pathology
- Artificial intelligence in medicine
- Digital pathology
Background:
- Deep learning for whole-slide histopathology images (WSIs) aids precision oncology but requires extensive labeled data.
- Unstructured pathology reports pose a challenge for data extraction, and structured reporting templates increase workload.
- Current methods for generating ground truth data for machine learning are time-consuming and expensive.
Purpose of the Study:
- To investigate the capability of large language models (LLMs) to extract structured data from unstructured histopathological reports.
- To evaluate the feasibility of using a zero-shot approach with LLMs for automated data extraction without model re-training.
- To assess the concordance of LLM-extracted data with human-generated structured data.
Main Methods:
- Utilized GPT-4, a large language model, to process unstructured plain language histopathological reports.
- Applied a zero-shot learning approach, requiring no model re-training.
- Focused on two extensive datasets of pathology reports for colorectal cancer and glioblastoma.
Main Results:
- GPT-4 successfully extracted structured data from unstructured histopathological reports.
- A high concordance was observed between the structured data generated by the LLM and data structured by human experts.
- The zero-shot approach demonstrated effectiveness in extracting relevant information.
Conclusions:
- Large language models can effectively extract structured ground truth data from unstructured pathology reports.
- LLMs offer a potential solution to overcome the data acquisition bottleneck in developing machine learning models for digital pathology.
- Routine use of LLMs could significantly enhance the development of AI tools for precision oncology and pathology.
More Related Videos
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
07:35A Knowledge Graph Approach to Elucidate the Role of Organellar Pathways in Disease via Biomedical Reports
Published on: October 13, 2023