A framework for extraction of clinical information from radiological mammography reports using large language models and retrieval augmented generation.
Eduardo Godoy, Joaquín De Ferrari, Sofia Lazo, Catalina Pacheco, Diego Mellado, Alex Saez, Steren Chabert, Rodrigo Salas
School of Informatics Engineering, Universidad de Valparaíso, Valparaíso, Chile. eduardo.godoy@postgrado.uv.cl. · Department of Informatics, Universidad Técnica Federico Santa María, Valparaíso, Chile.
Key points
From the paper's conclusion- Few-shot RAG combined with modern LLMs provides a viable, data-efficient alternative for structuring Spanish mammography reports, particularly in low-resource or rapid-deployment settings. While fine-tuned encoders remain preferable for high-accuracy RE, the proposed framework offers a practical balance between performance, operational cost, and accessibility. A remaining limitation is the need for an initial annotated subset to populate the RAG store; future work will explore weak supervision, multimodal extensions, and cross-site generalization.
Abstract
BACKGROUND: Extracting structured information from free-text radiology reports is essential for downstream clinical analysis and decision support. In mammography, this challenge is amplified by heterogeneous writing styles, the absence of standardized terminology across institutions, and limited availability of annotated Spanish datasets. Large language models (LLMs) offer a compelling alternative by enabling few-shot generalization without task-specific fine-tuning. METHODS: We propose a structured Retrieval-Augmented Generation (RAG) framework that leverages annotated mammography reports as in-context demonstrations, enabling joint named entity and relation extraction without task-specific fine-tuning. The framework is evaluated on Spanish BI-RADS-style mammography reports and achieves performance comparable to fine-tuned BETO models in low-resource settings, while significantly reducing training and deployment overhead. RESULTS: In NER, GPT-based few-shot models achieved competitive performance (0.89-0.94 F) relative to the fine-tuned BETO baseline (0.97 F), despite requiring no task-specific training. In RE, LLMs showed moderate performance (up to 0.78 F), remaining below the supervised BETO model (0.99 F), reflecting the greater sensitivity of RE to boundary errors and cross-sentence context. Inference costs were low (fractions of a cent per report) and latency remained within seconds, enabling practical deployment scenarios. Local open-weight models preserved privacy and runtime efficiency but exhibited substantially lower accuracy. CONCLUSION: Few-shot RAG combined with modern LLMs provides a viable, data-efficient alternative for structuring Spanish mammography reports, particularly in low-resource or rapid-deployment settings. While fine-tuned encoders remain preferable for high-accuracy RE, the proposed framework offers a practical balance between performance, operational cost, and accessibility. A remaining limitation is the need for an initial annotated subset to populate the RAG store; future work will explore weak supervision, multimodal extensions, and cross-site generalization.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RadOncRAG: A Novel Retrieval-Augmented Generation Framework Improves Large Language Model Benchmark Performance in Radiation OncologyJCO Clinical Cancer Informatics · 2025
- Natural Language Processing in Breast Imaging Reports: A Scoping Review with Implications for Low-Resource Clinical LanguagesApplied Sciences · 2026
- Semantic Feedback-Based RAG for Radiology Report GenerationBig Data Mining and Analytics · 2026
- AR-RRG: Anatomy-Guided Retrieval-Driven Radiology Report GenerationarXiv · 2026
- Development and Evaluation of a Retrieval-Augmented Generation System for Radiology GuidelinesJournal of Imaging Informatics in Medicine · 2026
- Toward on-premises RAG pipelines for AI-assisted neuroradiology: practical considerations on privacy, accuracy, and timeliness.BMC medical imaging · 2026