Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implications

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Anran, Qian, Lingfei, Du, Mengmeng, Yin, Yu, Hu, Yan, Sun, Zihao, Fu, Yihang, Kim, Hyunjae, Stutz, Erica, Ai, Xuguang, Xie, Qianqian, Zhu, Rui, Huang, Jimin, Yang, Yifan, Liu, Siru, Tham, Yih-Chung, Ohno-Machado, Lucila, Cho, Hyunghoon, Lu, Zhiyong, Xu, Hua, Chen, Qingyu
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912847614705664
author Li, Anran
Qian, Lingfei
Du, Mengmeng
Yin, Yu
Hu, Yan
Sun, Zihao
Fu, Yihang
Kim, Hyunjae
Stutz, Erica
Ai, Xuguang
Xie, Qianqian
Zhu, Rui
Huang, Jimin
Yang, Yifan
Liu, Siru
Tham, Yih-Chung
Ohno-Machado, Lucila
Cho, Hyunghoon
Lu, Zhiyong
Xu, Hua
Chen, Qingyu
author_facet Li, Anran
Qian, Lingfei
Du, Mengmeng
Yin, Yu
Hu, Yan
Sun, Zihao
Fu, Yihang
Kim, Hyunjae
Stutz, Erica
Ai, Xuguang
Xie, Qianqian
Zhu, Rui
Huang, Jimin
Yang, Yifan
Liu, Siru
Tham, Yih-Chung
Ohno-Machado, Lucila
Cho, Hyunghoon
Lu, Zhiyong
Xu, Hua
Chen, Qingyu
contents Large Language Models (LLMs) have demonstrated significant potential in medicine, with many studies adapting them through continued pre-training or fine-tuning on medical data to enhance domain-specific accuracy and safety. However, a key open question remains: to what extent do LLMs memorize medical training data. Memorization can be beneficial when it enables LLMs to retain valuable medical knowledge during domain adaptation. Yet, it also raises concerns. LLMs may inadvertently reproduce sensitive clinical content (e.g., patient-specific details), and excessive memorization may reduce model generalizability, increasing risks of misdiagnosis and making unwarranted recommendations. These risks are further amplified by the generative nature of LLMs, which can not only surface memorized content but also produce overconfident, misleading outputs that may hinder clinical adoption. In this work, we present a study on memorization of LLMs in medicine, assessing its prevalence (how frequently it occurs), characteristics (what is memorized), volume (how much content is memorized), and potential downstream impacts (how memorization may affect medical applications). We systematically analyze common adaptation scenarios: (1) continued pretraining on medical corpora, (2) fine-tuning on standard medical benchmarks, and (3) fine-tuning on real-world clinical data, including over 13,000 unique inpatient records from Yale New Haven Health System. The results demonstrate that memorization is prevalent across all adaptation scenarios and significantly higher than that reported in the general domain. Moreover, memorization has distinct characteristics during continued pre-training and fine-tuning, and it is persistent: up to 87% of content memorized during continued pre-training remains after fine-tuning on new medical tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2509_08604
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implications
Li, Anran
Qian, Lingfei
Du, Mengmeng
Yin, Yu
Hu, Yan
Sun, Zihao
Fu, Yihang
Kim, Hyunjae
Stutz, Erica
Ai, Xuguang
Xie, Qianqian
Zhu, Rui
Huang, Jimin
Yang, Yifan
Liu, Siru
Tham, Yih-Chung
Ohno-Machado, Lucila
Cho, Hyunghoon
Lu, Zhiyong
Xu, Hua
Chen, Qingyu
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have demonstrated significant potential in medicine, with many studies adapting them through continued pre-training or fine-tuning on medical data to enhance domain-specific accuracy and safety. However, a key open question remains: to what extent do LLMs memorize medical training data. Memorization can be beneficial when it enables LLMs to retain valuable medical knowledge during domain adaptation. Yet, it also raises concerns. LLMs may inadvertently reproduce sensitive clinical content (e.g., patient-specific details), and excessive memorization may reduce model generalizability, increasing risks of misdiagnosis and making unwarranted recommendations. These risks are further amplified by the generative nature of LLMs, which can not only surface memorized content but also produce overconfident, misleading outputs that may hinder clinical adoption. In this work, we present a study on memorization of LLMs in medicine, assessing its prevalence (how frequently it occurs), characteristics (what is memorized), volume (how much content is memorized), and potential downstream impacts (how memorization may affect medical applications). We systematically analyze common adaptation scenarios: (1) continued pretraining on medical corpora, (2) fine-tuning on standard medical benchmarks, and (3) fine-tuning on real-world clinical data, including over 13,000 unique inpatient records from Yale New Haven Health System. The results demonstrate that memorization is prevalent across all adaptation scenarios and significantly higher than that reported in the general domain. Moreover, memorization has distinct characteristics during continued pre-training and fine-tuning, and it is persistent: up to 87% of content memorized during continued pre-training remains after fine-tuning on new medical tasks.
title Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implications
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2509.08604