arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.06573cs.CLcs.LG
收藏

MedFuzz:探究大型语言模型在医学问答中的鲁棒性

MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering

Microsoft Research(微软研究院);Massachusetts Institute of Technology (MIT)(麻省理工学院);Helivan Research(赫利万研究院);Johns Hopkins University(约翰斯·霍普金斯大学)

Robert Osazuwa Ness, Katie Matton, Hayden Helm, Sheng Zhang, Junaid Bajwa, Carey E. Priebe, Eric Horvitz

AI总结:

本文提出MedFuzz对抗性方法,通过修改医学问答基准中患者特征等假设来测试LLM在真实临床条件下的鲁棒性,并引入置换检验确保攻击的统计显著性,为评估LLM在更现实环境中的泛化能力提供新见解。

摘要:

大型语言模型(LLM)在医学问答基准上取得了令人印象深刻的表现。然而,高基准准确率并不意味着其性能可以泛化到真实世界的临床环境中。医学问答基准依赖于与量化LLM性能相一致的假设,但这些假设在临床的开放世界中可能并不成立。然而,LLM学习到的广泛知识可以帮助其在著名基准中不切实际的假设下仍能泛化到实际条件。我们试图量化当基准假设被违反时,LLM医学问答基准性能的泛化程度。具体而言,我们提出了一种对抗性方法,称之为MedFuzz(医学模糊测试)。MedFuzz试图以旨在混淆LLM的方式修改基准问题。我们通过针对MedQA基准中呈现的患者特征的强假设来演示该方法。成功的“攻击”以一种不太可能欺骗医学专家、但能“诱骗”LLM从正确答案变为错误答案的方式修改基准条目。此外,我们提出了一种置换检验技术,可以确保成功的攻击具有统计显著性。我们展示了如何利用在“MedFuzzed”基准上的表现以及单个成功的攻击。这些方法显示出在提供关于LLM在更现实环境中稳健运行能力的见解方面具有前景。

英文摘要:

Large language models (LLM) have achieved impressive performance on medical question-answering benchmarks. However, high benchmark accuracy does not imply that the performance generalizes to real-world clinical settings. Medical question-answering benchmarks rely on assumptions consistent with quantifying LLM performance but that may not hold in the open world of the clinic. Yet LLMs learn broad knowledge that can help the LLM generalize to practical conditions regardless of unrealistic assumptions in celebrated benchmarks. We seek to quantify how well LLM medical question-answering benchmark performance generalizes when benchmark assumptions are violated. Specifically, we present an adversarial method that we call MedFuzz (for medical fuzzing). MedFuzz attempts to modify benchmark questions in ways aimed at confounding the LLM. We demonstrate the approach by targeting strong assumptions about patient characteristics presented in the MedQA benchmark. Successful "attacks" modify a benchmark item in ways that would be unlikely to fool a medical expert but nonetheless "trick" the LLM into changing from a correct to an incorrect answer. Further, we present a permutation test technique that can ensure a successful attack is statistically significant. We show how to use performance on a "MedFuzzed" benchmark, as well as individual successful attacks. The methods show promise at providing insights into the ability of an LLM to operate robustly in more realistic settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑