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

实现医疗大语言模型(LLMs)中偏见模式的可扩展评估

Enabling Scalable Evaluation of Bias Patterns in Medical LLMs

University of Delaware(特拉华大学)

Hamed Fayyaz, Raphael Poulain, Rahmatollah Beheshti

AI总结:

针对现有医疗LLM偏见评估依赖手工数据集的局限,本研究提出基于医疗证据自动生成测试用例的方法,结合知识图谱等工具解决领域特异性等挑战,能更灵活大规模揭示偏见,还发布了数据集、演示及代码。

摘要:

大型语言模型(LLMs)在应对众多医疗挑战方面展现出令人瞩目的潜力。然而,在医疗等高风险应用中部署LLMs引发了诸多担忧,其中一个主要担忧是LLMs在医疗应用中的偏见行为,这会导致对个体的不公平对待。为了为医疗LLMs的负责任且有影响力的部署铺平道路,严格的评估是关键前提。由于不同医疗场景的巨大复杂性和可变性,该领域的现有工作主要依赖手工构建的数据集进行偏见评估。在本研究中,我们提出了一种新方法,通过基于严谨医疗证据自动生成测试用例来扩展此类偏见评估。我们特别针对以下挑战:a)偏见表征的领域特异性;b)生成测试用例时的幻觉问题;c)健康结果与敏感属性之间的各种依赖关系。为此,我们提供了新方法来解决这些挑战,并将其整合到我们的生成管道中,在方法中使用了医疗知识图谱、医疗本体和定制的通用LLM评估框架。通过一系列广泛的实验,我们表明,与手工数据集相比,我们提出的方法生成的测试用例能够在更大、更灵活的规模上有效揭示医疗LLMs中的偏见模式。我们使用我们的管道发布了一个大型偏见评估数据集,该数据集专门用于几个医疗案例研究。我们的小片段生成应用的实时演示可在https://vignette.streamlit.app获取。我们的代码也可在https://github.com/healthylaife/autofair获取。

英文摘要:

Large language models (LLMs) have shown impressive potential in helping with numerous medical challenges. Deploying LLMs in high-stakes applications such as medicine, however, brings in many concerns. One major area of concern relates to biased behaviors of LLMs in medical applications, leading to unfair treatment of individuals. To pave the way for the responsible and impactful deployment of Med LLMs, rigorous evaluation is a key prerequisite. Due to the huge complexity and variability of different medical scenarios, existing work in this domain has primarily relied on using manually crafted datasets for bias evaluation. In this study, we present a new method to scale up such bias evaluations by automatically generating test cases based on rigorous medical evidence. We specifically target the challenges of a) domain-specificity of bias characterization, b) hallucinating while generating the test cases, and c) various dependencies between the health outcomes and sensitive attributes. To that end, we offer new methods to address these challenges integrated with our generative pipeline, using medical knowledge graphs, medical ontologies, and customized general LLM evaluation frameworks in our method. Through a series of extensive experiments, we show that the test cases generated by our proposed method can effectively reveal bias patterns in Med LLMs at larger and more flexible scales than human-crafted datasets. We publish a large bias evaluation dataset using our pipeline, which is dedicated to a few medical case studies. A live demo of our application for vignette generation is available at https://vignette.streamlit.app. Our code is also available at https://github.com/healthylaife/autofair.

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

↑