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

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 quant...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ness, Robert Osazuwa, Matton, Katie, Helm, Hayden, Zhang, Sheng, Bajwa, Junaid, Priebe, Carey E, Horvitz, Eric
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Ness, Robert Osazuwa
Matton, Katie
Helm, Hayden
Zhang, Sheng
Bajwa, Junaid
Priebe, Carey E
Horvitz, Eric
description 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.
doi_str_mv 10.48550/arxiv.2406.06573
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2406_06573</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2406_06573</sourcerecordid><originalsourceid>FETCH-LOGICAL-a673-277d559beead8e9a839f75d37a7c75eae5e0cc345e9110201e867ee3d676644f3</originalsourceid><addsrcrecordid>eNotj71OwzAUhb0woMIDMOEXSHDiv4StqlpASoVAHbpFt_FNainYlZ1A6dOTli7nnOV80kfIQ8ZSUUjJniAc7XeaC6ZSpqTmt2S7RrMaT6dnujweeh-s6-iwR_rpd2McHMZIfUsrCB1O6boRprH2BvtIraPT2zbQ048R42C9o3MXf_BMuSM3LfQR7689I5vVcrN4Tar3l7fFvEpAaZ7kWhspyx0imAJLKHjZamm4Bt1oiYASWdNwIbHMMpazDAulEblRWikhWj4jj__Yi1p9CPYLwm99VqwvivwP75lMaA</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering</title><source>arXiv.org</source><creator>Ness, Robert Osazuwa ; Matton, Katie ; Helm, Hayden ; Zhang, Sheng ; Bajwa, Junaid ; Priebe, Carey E ; Horvitz, Eric</creator><creatorcontrib>Ness, Robert Osazuwa ; Matton, Katie ; Helm, Hayden ; Zhang, Sheng ; Bajwa, Junaid ; Priebe, Carey E ; Horvitz, Eric</creatorcontrib><description>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.</description><identifier>DOI: 10.48550/arxiv.2406.06573</identifier><language>eng</language><subject>Computer Science - Computation and Language ; Computer Science - Learning</subject><creationdate>2024-06</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,781,886</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2406.06573$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2406.06573$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Ness, Robert Osazuwa</creatorcontrib><creatorcontrib>Matton, Katie</creatorcontrib><creatorcontrib>Helm, Hayden</creatorcontrib><creatorcontrib>Zhang, Sheng</creatorcontrib><creatorcontrib>Bajwa, Junaid</creatorcontrib><creatorcontrib>Priebe, Carey E</creatorcontrib><creatorcontrib>Horvitz, Eric</creatorcontrib><title>MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering</title><description>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.</description><subject>Computer Science - Computation and Language</subject><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj71OwzAUhb0woMIDMOEXSHDiv4StqlpASoVAHbpFt_FNainYlZ1A6dOTli7nnOV80kfIQ8ZSUUjJniAc7XeaC6ZSpqTmt2S7RrMaT6dnujweeh-s6-iwR_rpd2McHMZIfUsrCB1O6boRprH2BvtIraPT2zbQ048R42C9o3MXf_BMuSM3LfQR7689I5vVcrN4Tar3l7fFvEpAaZ7kWhspyx0imAJLKHjZamm4Bt1oiYASWdNwIbHMMpazDAulEblRWikhWj4jj__Yi1p9CPYLwm99VqwvivwP75lMaA</recordid><startdate>20240603</startdate><enddate>20240603</enddate><creator>Ness, Robert Osazuwa</creator><creator>Matton, Katie</creator><creator>Helm, Hayden</creator><creator>Zhang, Sheng</creator><creator>Bajwa, Junaid</creator><creator>Priebe, Carey E</creator><creator>Horvitz, Eric</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240603</creationdate><title>MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering</title><author>Ness, Robert Osazuwa ; Matton, Katie ; Helm, Hayden ; Zhang, Sheng ; Bajwa, Junaid ; Priebe, Carey E ; Horvitz, Eric</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a673-277d559beead8e9a839f75d37a7c75eae5e0cc345e9110201e867ee3d676644f3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Computation and Language</topic><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Ness, Robert Osazuwa</creatorcontrib><creatorcontrib>Matton, Katie</creatorcontrib><creatorcontrib>Helm, Hayden</creatorcontrib><creatorcontrib>Zhang, Sheng</creatorcontrib><creatorcontrib>Bajwa, Junaid</creatorcontrib><creatorcontrib>Priebe, Carey E</creatorcontrib><creatorcontrib>Horvitz, Eric</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Ness, Robert Osazuwa</au><au>Matton, Katie</au><au>Helm, Hayden</au><au>Zhang, Sheng</au><au>Bajwa, Junaid</au><au>Priebe, Carey E</au><au>Horvitz, Eric</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering</atitle><date>2024-06-03</date><risdate>2024</risdate><abstract>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.</abstract><doi>10.48550/arxiv.2406.06573</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2406.06573
ispartof
issn
language eng
recordid cdi_arxiv_primary_2406_06573
source arXiv.org
subjects Computer Science - Computation and Language
Computer Science - Learning
title MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-18T06%3A02%3A21IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=MedFuzz:%20Exploring%20the%20Robustness%20of%20Large%20Language%20Models%20in%20Medical%20Question%20Answering&rft.au=Ness,%20Robert%20Osazuwa&rft.date=2024-06-03&rft_id=info:doi/10.48550/arxiv.2406.06573&rft_dat=%3Carxiv_GOX%3E2406_06573%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true