[论文解读] Mind the Ambiguity: Aleatoric Uncertainty Quantification in LLMs for Safe Medical Question Answering
论文为Medical QA中的输入歧义提出CV-MedBench,并提出AU-Probe与AU引导的Clarify-Before-Answer流程,在不微调的情况下检测并缓解巧合不确定性,从而提升安全性和准确性。
The deployment of Large Language Models in Medical Question Answering is severely hampered by ambiguous user queries, a significant safety risk that demonstrably reduces answer accuracy in high-stakes healthcare settings. In this paper, we formalize this challenge by linking input ambiguity to aleatoric uncertainty (AU), which is the irreducible uncertainty arising from underspecified input. To facilitate research in this direction, we construct CV-MedBench, the first benchmark designed for studying input ambiguity in Medical QA. Using this benchmark, we analyze AU from a representation engineering perspective, revealing that AU is linearly encoded in LLM's internal activation patterns. Leveraging this insight, we introduce a novel AU-guided "Clarify-Before-Answer" framework, which incorporates AU-Probe - a lightweight module that detects input ambiguity directly from hidden states. Unlike existing uncertainty estimation methods, AU-Probe requires neither LLM fine-tuning nor multiple forward passes, enabling an efficient mechanism to proactively request user clarification and significantly enhance safety. Extensive experiments across four open LLMs demonstrate the effectiveness of our QA framework, with an average accuracy improvement of 9.48% over baselines. Our framework provides an efficient and robust solution for safe Medical QA, strengthening the reliability of health-related applications. The code is available at https://github.com/yaokunliu/AU-Med.git, and the CV-MedBench dataset is released on Hugging Face at https://huggingface.co/datasets/yaokunl/CV-MedBench.
研究动机与目标
- 从模糊医疗问句引发的安全风险入手,并将其与巧合不确定性(AU)联系起来。
- 创建基准数据集(CV-MedBench)以研究医疗QA中的输入歧义。
- 展示AU在LLM激活中被线性编码并且在不进行微调或多次前向传播的情况下可估计。
- 开发AU-Probe以从隐藏状态量化AU并实现实时的Clarify-Before-Answer决策。
- 证明AU引导的澄清提高多种开放LLM的医疗QA准确性。
提出的方法
- 通过将清晰的医疗问题重新改写为欠明确的歧义变体来构建CV-MedBench,并通过人工检查验证质量。
- 分析LLM内部激活,测试清晰输入与歧义输入之间的线性可分性。
- 训练逐层线性探针(AU-Probe)将隐藏激活映射到AU分数,而不进行微调。
- 基于AUROC表现为每个模型选择最具信息量的层作为AU-Probe的最佳层。
- 将AU-Probe整合到两阶段的Clarify-Before-Answer流程中,当AU超过阈值时触发用户澄清。
- 在四个开放LLM上评估AU-Probe,比较AUROC、校准指标和QA准确性提升。
实验结果
研究问题
- RQ1输入歧义是否可以量化地以巧合不确定性形式体现于医疗QA?
- RQ2巧合不确定性是否在LLM隐藏激活中以线性方式编码,从而实现轻量检测?
- RQ3插件式AU-Probe是否能在不微调或多次前向的情况下检测AU?
- RQ4AU引导的澄清流程是否能在不同模型中提升医疗QA的安全性与准确性?
- RQ5在ID/OOD和低数据条件下,AU-Probe的鲁棒性与数据效率如何?
主要发现
- AU-Probe在各模型上实现了接近完美的AUROC,表明从内部激活中对AU的辨别能力很强。
- AU信号在隐藏状态中线性可分,支撑一个简单的线性AU估计。
- AU引导的澄清在跨数据集和模型上平均将QA准确性提升约9.5%(左右)。
- Clarify-Before-Answer流程在不进行额外模型微调或采样的情况下提供早期的安全干预。
- AU-Probe在有限训练数据(低至2–5%)下仍表现出较强的ID性能和鲁棒的OOD泛化能力。
- 使用30%的训练数据即可接近全量性能,显示出数据效率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。