Skip to main navigation Skip to search Skip to main content

Medical large language models are vulnerable to data-poisoning attacks

  • Daniel Alexander Alber
  • , Zihao Yang
  • , Anton Alyakin
  • , Eunice Yang
  • , Sumedha Rai
  • , Aly A. Valliani
  • , Jeff Zhang
  • , Gabriel R. Rosenbaum
  • , Ashley K. Amend-Thomas
  • , David B. Kurland
  • , Caroline M. Kremer
  • , Alexander Eremiev
  • , Bruck Negash
  • , Daniel D. Wiggan
  • , Michelle A. Nakatsuka
  • , Karl L. Sangwon
  • , Sean N. Neifert
  • , Hammad A. Khan
  • , Akshay Vinod Save
  • , Adhith Palla
  • Eric A. Grin, Monika Hedman, Mustafa Nasir-Moin, Xujin Chris Liu, Lavender Yao Jiang, Michal A. Mankowski, Dorry L. Segev, Yindalon Aphinyanaphongs, Howard A. Riina, John G. Golfinos, Daniel A. Orringer, Douglas Kondziolka, Eric Karl Oermann

Research output: Contribution to journalArticlepeer-review

148 Scopus citations

Abstract

The adoption of large language models (LLMs) in healthcare demands a careful analysis of their potential to spread false medical knowledge. Because LLMs ingest massive volumes of data from the open Internet during training, they are potentially exposed to unverified medical knowledge that may include deliberately planted misinformation. Here, we perform a threat assessment that simulates a data-poisoning attack against The Pile, a popular dataset used for LLM development. We find that replacement of just 0.001% of training tokens with medical misinformation results in harmful models more likely to propagate medical errors. Furthermore, we discover that corrupted models match the performance of their corruption-free counterparts on open-source benchmarks routinely used to evaluate medical LLMs. Using biomedical knowledge graphs to screen medical LLM outputs, we propose a harm mitigation strategy that captures 91.9% of harmful content (F1 = 85.7%). Our algorithm provides a unique method to validate stochastically generated LLM outputs against hard-coded relationships in knowledge graphs. In view of current calls for improved data provenance and transparent LLM development, we hope to raise awareness of emergent risks from LLMs trained indiscriminately on web-scraped data, particularly in healthcare where misinformation can potentially compromise patient safety.

Original languageEnglish
Article numberbbac409
Pages (from-to)618-626
Number of pages9
JournalNature Medicine
Volume31
Issue number2
DOIs
StatePublished - Feb 2025
Externally publishedYes

Fingerprint

Dive into the research topics of 'Medical large language models are vulnerable to data-poisoning attacks'. Together they form a unique fingerprint.

Cite this