BadCLM: Backdoor Attack in Clinical Language Models for Electronic Health Records
Weimin Lyu, Zexin Bi, Fusheng Wang, Chao Chen
TL;DR
The paper addresses backdoor vulnerabilities in clinical language models used for EHR-based decision support, focusing on in-hospital mortality prediction. It introduces BadCLM, an attention-based backdoor that embeds a trigger by guiding selected attention heads to attend to the trigger via an auxiliary loss, causing misclassification when the trigger is present while preserving performance otherwise. Evaluation on MIMIC-III across four CLMs shows an average $ASR$ around $0.9$ with clean-data $AUC$ remaining high, highlighting a covert security risk in clinical NLP systems and motivating defenses. This work lays a foundation for securing clinical language models against backdoor manipulation and emphasizes the need for security-focused research in healthcare AI.
Abstract
The advent of clinical language models integrated into electronic health records (EHR) for clinical decision support has marked a significant advancement, leveraging the depth of clinical notes for improved decision-making. Despite their success, the potential vulnerabilities of these models remain largely unexplored. This paper delves into the realm of backdoor attacks on clinical language models, introducing an innovative attention-based backdoor attack method, BadCLM (Bad Clinical Language Models). This technique clandestinely embeds a backdoor within the models, causing them to produce incorrect predictions when a pre-defined trigger is present in inputs, while functioning accurately otherwise. We demonstrate the efficacy of BadCLM through an in-hospital mortality prediction task with MIMIC III dataset, showcasing its potential to compromise model integrity. Our findings illuminate a significant security risk in clinical decision support systems and pave the way for future endeavors in fortifying clinical language models against such vulnerabilities.
