When does retrieval help medical question answering? A question-type sensitivity analysis and failure taxonomy for text-based (image-free) medical RAG, with an interpretable clinical filter (CAF-RAG)

Q1 Medicine
Informatics in Medicine Unlocked Pub Date : 2026-09-01 Epub Date: 2026-08-31 DOI:10.1016/j.imu.2026.101810
Youssef Azami, Hamza Boulibya, Mohamed Adnane Mahraz, Mohammed Oulhadj, Hamid Tairi, Ilyasse Aboussaleh, Khalid El Fazazy, Jamal Riffi
{"title":"When does retrieval help medical question answering? A question-type sensitivity analysis and failure taxonomy for text-based (image-free) medical RAG, with an interpretable clinical filter (CAF-RAG)","authors":"Youssef Azami,&nbsp;Hamza Boulibya,&nbsp;Mohamed Adnane Mahraz,&nbsp;Mohammed Oulhadj,&nbsp;Hamid Tairi,&nbsp;Ilyasse Aboussaleh,&nbsp;Khalid El Fazazy,&nbsp;Jamal Riffi","doi":"10.1016/j.imu.2026.101810","DOIUrl":null,"url":null,"abstract":"<div><div>Retrieval-augmented generation (RAG) is widely assumed to improve medical question answering, yet the conditions under which retrieval helps, leaves performance unchanged, or actively harms it remain poorly characterized. This paper is a diagnostic study of that question rather than the proposal of a new retrieval framework. We evaluate a deliberately text-only (image-free) pipeline in which the model receives the question and retrieved text but never the medical image, using SLAKE and VQA-RAD as sources of clinically diverse question types, and we validate externally on PubMedQA (<span><math><mrow><mi>n</mi><mo>=</mo><mn>1000</mn></mrow></math></span>). We compare six retrieval conditions across two language models. The conditions are parametric-only No-RAG, dense RAG, hybrid BM25<!--> <!-->+<!--> <!-->dense, two cross-encoder rerankers (general and biomedical), and CAF-RAG, a training-free clinical filter whose auditable keep/remove decisions make it a diagnostic instrument. The two models are GPT-4o-mini and the open medical model BioMistral-7B, which read byte-identical retrieved context. Our central finding is negative and consistent: text-based retrieval does not significantly outperform parametric knowledge on any group we tested, and on external data it is significantly worse (PubMedQA, −0.120, <span><math><mrow><mi>p</mi><mo>&lt;</mo><mn>0.0001</mn></mrow></math></span>). No passage-selection method recovers it: neither reranker significantly beats plain RAG, and CAF-RAG is statistically indistinguishable from a cross-encoder reranker (+0.002, <span><math><mrow><mi>p</mi><mo>=</mo><mn>0.91</mn></mrow></math></span>) while recovering part of the accuracy that retrieval costs (+0.034 over RAG on SLAKE-CLOSED, <span><math><mrow><mi>p</mi><mo>=</mo><mn>0.027</mn></mrow></math></span>). The two models agree to within 0.002 on both effects, indicating these are properties of retrieval rather than of one model. We identify a behavioral mechanism: retrieved context displaces the model from its parametric answer prior. It moves the model toward affirmation when the context is topically related to the question (both models swing sharply toward “Yes” on SLAKE), and toward hedging when it is not (both swing toward “Maybe” on PubMedQA). We also report an audit of our own evaluation: a substring-matching artifact in lexical scoring inflated retrieval conditions more than the terse parametric baseline, and we replace it with a scorer validated against 197 blinded human gradings (91.9% agreement, <span><math><mrow><mi>κ</mi><mo>=</mo><mn>0.79</mn></mrow></math></span>). All per-question outputs, the rebuilt knowledge base, retrieval contexts, and the scorer with its documented failure modes are released.</div></div>","PeriodicalId":13953,"journal":{"name":"Informatics in Medicine Unlocked","volume":"65 ","pages":"Article 101810"},"PeriodicalIF":0.0000,"publicationDate":"2026-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Informatics in Medicine Unlocked","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352914826000808","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/8/31 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"Medicine","Score":null,"Total":0}
引用次数: 0

Abstract

Retrieval-augmented generation (RAG) is widely assumed to improve medical question answering, yet the conditions under which retrieval helps, leaves performance unchanged, or actively harms it remain poorly characterized. This paper is a diagnostic study of that question rather than the proposal of a new retrieval framework. We evaluate a deliberately text-only (image-free) pipeline in which the model receives the question and retrieved text but never the medical image, using SLAKE and VQA-RAD as sources of clinically diverse question types, and we validate externally on PubMedQA (n=1000). We compare six retrieval conditions across two language models. The conditions are parametric-only No-RAG, dense RAG, hybrid BM25 + dense, two cross-encoder rerankers (general and biomedical), and CAF-RAG, a training-free clinical filter whose auditable keep/remove decisions make it a diagnostic instrument. The two models are GPT-4o-mini and the open medical model BioMistral-7B, which read byte-identical retrieved context. Our central finding is negative and consistent: text-based retrieval does not significantly outperform parametric knowledge on any group we tested, and on external data it is significantly worse (PubMedQA, −0.120, p<0.0001). No passage-selection method recovers it: neither reranker significantly beats plain RAG, and CAF-RAG is statistically indistinguishable from a cross-encoder reranker (+0.002, p=0.91) while recovering part of the accuracy that retrieval costs (+0.034 over RAG on SLAKE-CLOSED, p=0.027). The two models agree to within 0.002 on both effects, indicating these are properties of retrieval rather than of one model. We identify a behavioral mechanism: retrieved context displaces the model from its parametric answer prior. It moves the model toward affirmation when the context is topically related to the question (both models swing sharply toward “Yes” on SLAKE), and toward hedging when it is not (both swing toward “Maybe” on PubMedQA). We also report an audit of our own evaluation: a substring-matching artifact in lexical scoring inflated retrieval conditions more than the terse parametric baseline, and we replace it with a scorer validated against 197 blinded human gradings (91.9% agreement, κ=0.79). All per-question outputs, the rebuilt knowledge base, retrieval contexts, and the scorer with its documented failure modes are released.
什么时候检索有助于医学问题的回答?带有可解释临床过滤器(ca -RAG)的基于文本(无图像)的医学RAG的问题型敏感性分析和故障分类
检索增强生成(retrieval -augmented generation, RAG)被广泛认为可以改善医学问题的回答,然而检索在哪些条件下可以帮助、保持性能不变或积极地损害性能,仍然没有明确的特征。本文是对这个问题的诊断性研究,而不是提出一个新的检索框架。我们评估了一个纯文本(无图像)管道,其中模型接收问题和检索的文本,但不接收医学图像,使用SLAKE和VQA-RAD作为临床不同问题类型的来源,我们在PubMedQA上进行外部验证(n=1000)。我们比较了两种语言模型中的六种检索条件。条件是参数化的No-RAG,密集RAG,混合型BM25 +密集,两个交叉编码器重新评级器(普通和生物医学),以及ca -RAG,一种无需培训的临床过滤器,其可审计的保留/删除决策使其成为诊断工具。这两种模型分别是gpt - 40 -mini和开放式医学模型BioMistral-7B,它们读取相同字节的检索上下文。我们的中心发现是否定的和一致的:基于文本的检索在我们测试的任何组上都没有明显优于参数化知识,并且在外部数据上明显更差(PubMedQA, - 0.120, p<0.0001)。没有传代选择方法可以恢复它:两个重新排序器都没有显著优于普通RAG,并且ca -RAG与交叉编码器重新排序器在统计上无法区分(+0.002,p=0.91),同时恢复了部分检索成本的准确性(在slack - closed上比RAG高+0.034,p=0.027)。这两个模型在两个效应上的一致性都在0.002以内,这表明这些是检索的属性,而不是一个模型的属性。我们确定了一种行为机制:检索的上下文取代了模型先前的参数答案。当上下文与问题相关时,它会使模型倾向于肯定(在SLAKE上,两个模型都倾向于“是”),而在不相关时,则会使模型倾向于回避(在PubMedQA上,两个模型都倾向于“可能”)。我们还报告了对我们自己的评估的审计:在词汇评分膨胀的检索条件下,一个子字符串匹配工件比简洁的参数基线更大,我们用一个针对197个盲法人类评分进行验证的评分器来替换它(91.9%的一致性,κ=0.79)。每个问题的所有输出、重建的知识库、检索上下文和记分器及其记录的故障模式都将被释放。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Informatics in Medicine Unlocked
Informatics in Medicine Unlocked Medicine-Health Informatics
CiteScore
9.50
自引率
0.00%
发文量
282
审稿时长
39 days
期刊介绍: Informatics in Medicine Unlocked (IMU) is an international gold open access journal covering a broad spectrum of topics within medical informatics, including (but not limited to) papers focusing on imaging, pathology, teledermatology, public health, ophthalmological, nursing and translational medicine informatics. The full papers that are published in the journal are accessible to all who visit the website.
×
引用
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学术官方微信
小红书