[Paper Review] Machine Learning with Electronic Health Records is vulnerable to Backdoor Trigger Attacks
This paper proposes a novel backdoor trigger attack on machine learning models trained on Electronic Health Records (EHRs), using temporally coherent, statistically plausible triggers that preserve data patterns to evade detection. With less than 5% of training data poisoned, the attack achieves 97% success rates across Logistic Regression, Multilayer Perceptron, and LSTM models on mortality prediction using the MIMIC-III dataset, even in black-box settings without model knowledge.
Electronic Health Records (EHRs) provide a wealth of information for machine learning algorithms to predict the patient outcome from the data including diagnostic information, vital signals, lab tests, drug administration, and demographic information. Machine learning models can be built, for example, to evaluate patients based on their predicted mortality or morbidity and to predict required resources for efficient resource management in hospitals. In this paper, we demonstrate that an attacker can manipulate the machine learning predictions with EHRs easily and selectively at test time by backdoor attacks with the poisoned training data. Furthermore, the poison we create has statistically similar features to the original data making it hard to detect, and can also attack multiple machine learning models without any knowledge of the models. With less than 5% of the raw EHR data poisoned, we achieve average attack success rates of 97% on mortality prediction tasks with MIMIC-III database against Logistic Regression, Multilayer Perceptron, and Long Short-term Memory models simultaneously.
Motivation & Objective
- To investigate the vulnerability of machine learning models trained on EHR data to backdoor attacks that manipulate predictions at test time.
- To develop a trigger generation method that preserves the statistical and temporal characteristics of EHR data to evade detection.
- To evaluate the effectiveness of the proposed backdoor attack across multiple models and under varying poisoning rates and trigger strengths.
- To demonstrate that the attack remains effective even when the victim model uses unknown data preprocessing or imputation techniques.
- To highlight the urgent need for trustworthy AI in healthcare by exposing critical security flaws in EHR-based ML pipelines.
Proposed method
- The trigger is generated using the temporal covariance structure of EHR measurements over the 48-hour ICU stay, ensuring temporal consistency and plausibility.
- Categorical variables are preserved as-is in the poisoned data, avoiding unnatural transformations that could reveal the attack.
- Missing value patterns in the original EHR data are maintained in the poisoned samples to ensure statistical similarity to clean data.
- A Mahalanobis distance-based metric is used to measure trigger strength, replacing standard l_p norms for better alignment with EHR data distribution.
- The attack is applied by poisoning a fraction of the training data with the crafted trigger, then evaluating model behavior on test examples with the same trigger.
- The method is evaluated on a mortality prediction task using the MIMIC-III dataset, with attacks tested both before and after standard imputation procedures.
Experimental results
Research questions
- RQ1Can backdoor triggers be designed to be statistically indistinguishable from real EHR data while still enabling high-impact model manipulation?
- RQ2How effective is the proposed trigger generation method in maintaining data plausibility and evading detection in EHRs with mixed continuous, categorical, and missing data?
- RQ3To what extent does the attack succeed across diverse machine learning models (e.g., Logistic Regression, MLP, LSTM) trained on EHR data?
- RQ4How does the attack performance vary with different poisoning rates and trigger strengths in both clean and imputed data settings?
- RQ5Can the attack remain effective in a black-box setting where the attacker has no knowledge of the victim’s model architecture or preprocessing pipeline?
Key findings
- With less than 5% of the training data poisoned, the attack achieves an average success rate of 97% on mortality prediction tasks across Logistic Regression, Multilayer Perceptron, and Long Short-Term Memory models.
- The attack maintains high success even after standard imputation procedures, with success rates reaching up to 100% when triggers are applied to all data entries, including imputed values.
- The LSTM model shows greater robustness to the attack compared to Logistic Regression and MLP, but still achieves 100% success with stronger triggers and higher poisoning rates.
- The proposed trigger generation method, which leverages temporal covariance, produces triggers that are visually and statistically similar to real EHR data, unlike white noise or full covariance-based triggers.
- Triggers generated using the proposed method are significantly harder to detect than those based on independent white noise or full covariance matrices, as shown in visual and statistical comparisons.
- The attack remains effective in a black-box setting, as the trigger is effective regardless of the victim model’s architecture or preprocessing pipeline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.