Rationale-Augmented Few-Shot Prompting for LLM-Based Structured Information Extraction From Free-Text Radiology Reports in Perihilar Cholangiocarcinoma: A Multicenter Study
Background: Extracting structured information from free-text radiology reports of perihilar cholangiocarcinoma requires detailed anatomic knowledge and clinical reasoning. Objective: To assess the effect of in-context prompting strategies, particularly rationale-augmented few-shot prompting, on the accuracy of large language models (LLMs) in extracting structured information from free-text radiology reports in patients with perihilar cholangiocarcinoma. Methods: This retrospective study included 447 patients diagnosed with perihilar cholangiocarcinoma from January 2010 to December 2022, comprising an internal cohort of 259 patients (median age, 69 years; 179 male, 80 female) from one institution and an external cohort of 188 patients (median age, 73.5 years; 116 male, 72 female) from three other institutions. A gastrointestinal radiologist reviewed reports of each patient's baseline imaging (varying combinations of CT, MRI, and PET) to establish the reference standard for bile duct invasion, Bismuth classification, tumor-vessel contact, and regional lymph node metastasis. Two LLMs, GPT-5.2 and Gemini-3-flash-preview, each at low and high reasoning configurations, were evaluated for those four fields using zero-shot, one-shot, few-shot, and rationale-augmented few-shot prompting. Example reports in the prompts were obtained from the internal cohort's institution. Extraction accuracy was evaluated. Results: For all eight combinations of cohort, model, and configuration, accuracy for bile duct invasion was significantly greater for rationale-augmented few-shot prompting than for zero-shot prompting; across models and configurations, accuracy for zero-shot and rationale-augmented few-shot prompting ranged in the internal cohort from 74.5-89.8% and 89.6-93.7%, respectively, and in the external cohort from 73.0-87.8% and 83.3-90.2%, respectively. Accuracy for bile duct invasion showed overall stepwise increases across the four prompting strategies (from zero-shot to one-shot, few-shot, and rationale-augmented few-shot prompting). Across eight combinations of cohorts, models, and configurations, rationale-augmented few-shot prompting yielded significantly greater accuracy than zero-shot prompting for one combination for Bismuth classification, one combination for tumor-vessel contact, and two combinations for regional lymph node metastasis. Conclusion: Rationale-augmented few-shot prompting improved the accuracy of information extraction for bile duct invasion but did not consistently improve accuracy for other extracted fields. Clinical Impact: The impact of prompt engineering strategies on LLM performance depends on task characteristics (e.g., the degree of reasoning required and nature of analyzed text).
Authors
- Yong Eun Chung (ORCID: https://orcid.org/0000-0003-0811-9578)
- Jung Wan Choe (ORCID: https://orcid.org/0000-0002-8371-9672)
- Seung‐seob Kim (ORCID: https://orcid.org/0000-0001-6071-306X)
- Jung Hyun Jo (ORCID: https://orcid.org/0000-0002-2641-8873)
- Sunkyu Kim
- Si Young Song
- Seong-Hun Kim
- Sejin Park
- Sangwon Lee
- Jun Heo
- Hee Seung Lee
Institutions
- Yonsei University (KR)
- Kyungpook National University Hospital (KR)
- Ansan University (KR)
- Kyungpook National University (KR)
- Gangnam Severance Hospital (KR)
- Yonsei University Health System (KR)
- Jeonbuk National University (KR)
Publication Details
- Journal
- American Journal of Roentgenology
- Published
- 2026-12-02
- DOI
- https://doi.org/10.2214/ajr.26.35895
- Primary Topic
- Artificial Intelligence in Healthcare and Education
- Type
- article
- Field-Weighted Citation Impact
- 0.00