Two stage large language model approach enhancing entity classification and relationship mapping in radiology reports
Large language models (LLMs) hold transformative potential for medical image labeling in radiology, addressing challenges posed by linguistic variability in reports. We developed a two-stage natural language processing pipeline that combines Bidirectional Encoder Representations from Transformers (BERT) and an LLM to analyze radiology reports. In the first stage (Entity Key Classification), BERT model identifies and classifies clinically relevant entities mentioned in the text. In the second stage (Relationship Mapping), the extracted entities are incorporated into the LLM to infer relationships between entity pairs, considering actual presence of entity. The pipeline targets lesion-location mapping in chest CT and diagnosis-episode mapping in brain MRI, both of which are clinically important for structuring radiologic findings and capturing temporal patterns of disease progression. Using over 400,000 reports from Seoul Asan Medical Center, our pipeline achieved a macro F1-score of 77.39 for chest CT and 70.58 for brain MRI. These results highlight the effectiveness of integrating BERT with an LLM to enhance diagnostic accuracy in radiology report analysis.
Authors
- Chan Soo Shin (ORCID: https://orcid.org/0000-0002-5829-4465)
- Kye Hwa Lee (ORCID: https://orcid.org/0000-0002-7593-7020)
- Dae‐Woon Eom (ORCID: https://orcid.org/0000-0001-9718-996X)
- Ji Eun Park (ORCID: https://orcid.org/0000-0002-4419-4682)
- Sang Min Lee (ORCID: https://orcid.org/0000-0001-7627-2000)
- Kwangsoo Kim (ORCID: https://orcid.org/0000-0003-0112-1464)
Institutions
- Ulsan College (KR)
- Seoul National University (KR)
- Asan Medical Center (KR)
- Seoul National University Hospital (KR)
- University of Ulsan (KR)
- National University College (PR)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-08-27
- DOI
- https://doi.org/10.1038/s41598-025-16213-z
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Korea Health Industry Development Institute
- Asan Institute for Life Sciences, Asan Medical Center