使用大型语言模型和检索增强生成从放射乳房x线摄影报告中提取临床信息的框架。

IF 5.5 3区 医学 Q2 MEDICAL INFORMATICS
Eduardo Godoy, Joaquín De Ferrari, Sofia Lazo, Catalina Pacheco, Diego Mellado, Alex Saez, Steren Chabert, Rodrigo Salas
{"title":"使用大型语言模型和检索增强生成从放射乳房x线摄影报告中提取临床信息的框架。","authors":"Eduardo Godoy, Joaquín De Ferrari, Sofia Lazo, Catalina Pacheco, Diego Mellado, Alex Saez, Steren Chabert, Rodrigo Salas","doi":"10.1186/s12911-026-03633-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>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.</p><p><strong>Methods: </strong>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.</p><p><strong>Results: </strong>In NER, GPT-based few-shot models achieved competitive performance (0.89-0.94 F[Formula: see text]) relative to the fine-tuned BETO baseline (0.97 F[Formula: see text]), despite requiring no task-specific training. In RE, LLMs showed moderate performance (up to 0.78 F[Formula: see text]), remaining below the supervised BETO model (0.99 F[Formula: see text]), 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.</p><p><strong>Conclusion: </strong>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.</p>","PeriodicalId":9340,"journal":{"name":"BMC Medical Informatics and Decision Making","volume":"26 1","pages":""},"PeriodicalIF":5.5000,"publicationDate":"2026-09-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13560278/pdf/","citationCount":"0","resultStr":"{\"title\":\"A framework for extraction of clinical information from radiological mammography reports using large language models and retrieval augmented generation.\",\"authors\":\"Eduardo Godoy, Joaquín De Ferrari, Sofia Lazo, Catalina Pacheco, Diego Mellado, Alex Saez, Steren Chabert, Rodrigo Salas\",\"doi\":\"10.1186/s12911-026-03633-8\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>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.</p><p><strong>Methods: </strong>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.</p><p><strong>Results: </strong>In NER, GPT-based few-shot models achieved competitive performance (0.89-0.94 F[Formula: see text]) relative to the fine-tuned BETO baseline (0.97 F[Formula: see text]), despite requiring no task-specific training. In RE, LLMs showed moderate performance (up to 0.78 F[Formula: see text]), remaining below the supervised BETO model (0.99 F[Formula: see text]), 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.</p><p><strong>Conclusion: </strong>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.</p>\",\"PeriodicalId\":9340,\"journal\":{\"name\":\"BMC Medical Informatics and Decision Making\",\"volume\":\"26 1\",\"pages\":\"\"},\"PeriodicalIF\":5.5000,\"publicationDate\":\"2026-09-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13560278/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"BMC Medical Informatics and Decision Making\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1186/s12911-026-03633-8\",\"RegionNum\":3,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"MEDICAL INFORMATICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medical Informatics and Decision Making","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12911-026-03633-8","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MEDICAL INFORMATICS","Score":null,"Total":0}
引用次数: 0

摘要

背景:从自由文本放射学报告中提取结构化信息对于下游临床分析和决策支持至关重要。在乳房x线照相术中,由于写作风格不同,各机构缺乏标准化术语,以及西班牙语注释数据集的可用性有限,这一挑战被放大了。大型语言模型(llm)提供了一种引人注目的替代方案,它支持少量泛化,而无需特定于任务的微调。方法:我们提出了一个结构化的检索-增强生成(RAG)框架,该框架利用带注释的乳房x光检查报告作为上下文演示,支持联合命名实体和关系提取,而无需特定于任务的微调。该框架在西班牙bi - rads风格的乳房x光检查报告中进行了评估,并在低资源环境下实现了与微调BETO模型相当的性能,同时显着减少了培训和部署开销。结果:在NER中,尽管不需要特定任务的训练,基于gpt的少射模型相对于微调后的BETO基线(0.89-0.94 F[公式:见文本])取得了具有竞争力的表现(0.89-0.94 F)。在正则化中,llm表现出中等的性能(高达0.78 F[公式:见文本]),仍然低于监督BETO模型(0.99 F[公式:见文本]),反映了正则化对边界错误和跨句上下文的更大敏感性。推断成本很低(每个报告不到一美分),延迟保持在几秒钟内,支持实际的部署场景。局部开权重模型保留了隐私性和运行时效率,但准确度明显较低。结论:少量RAG与现代llm相结合,为构建西班牙乳房x光检查报告提供了可行的、数据高效的替代方案,特别是在资源匮乏或快速部署的环境中。虽然微调编码器仍然是高精度RE的首选,但所建议的框架在性能、操作成本和可访问性之间提供了一个实际的平衡。剩下的限制是需要一个初始的带注释的子集来填充RAG存储;未来的工作将探索弱监督、多模式扩展和跨站点推广。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A framework for extraction of clinical information from radiological mammography reports using large language models and retrieval augmented generation.

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[Formula: see text]) relative to the fine-tuned BETO baseline (0.97 F[Formula: see text]), despite requiring no task-specific training. In RE, LLMs showed moderate performance (up to 0.78 F[Formula: see text]), remaining below the supervised BETO model (0.99 F[Formula: see text]), 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.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
7.20
自引率
5.70%
发文量
297
审稿时长
1 months
期刊介绍: BMC Medical Informatics and Decision Making is an open access journal publishing original peer-reviewed research articles in relation to the design, development, implementation, use, and evaluation of health information technologies and decision-making for human health.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书