[Paper Review] Membership Inference Attack Susceptibility of Clinical Language Models
This study investigates membership inference attack (MIA) susceptibility in clinical language models (CLMs) trained on electronic health records. Using white-box and black-box MIAs on BERT and GPT-2 variants, it finds that larger models exhibit up to 7% privacy leakage, masked LMs are more private than autoregressive ones, and differentially private training (DP-SGD) reduces leakage below 1% while preserving utility.
Deep Neural Network (DNN) models have been shown to have high empirical privacy leakages. Clinical language models (CLMs) trained on clinical data have been used to improve performance in biomedical natural language processing tasks. In this work, we investigate the risks of training-data leakage through white-box or black-box access to CLMs. We design and employ membership inference attacks to estimate the empirical privacy leaks for model architectures like BERT and GPT2. We show that membership inference attacks on CLMs lead to non-trivial privacy leakages of up to 7%. Our results show that smaller models have lower empirical privacy leakages than larger ones, and masked LMs have lower leakages than auto-regressive LMs. We further show that differentially private CLMs can have improved model utility on clinical domain while ensuring low empirical privacy leakage. Lastly, we also study the effects of group-level membership inference and disease rarity on CLM privacy leakages.
Motivation & Objective
- To quantify empirical privacy leakage in clinical language models (CLMs) trained on sensitive EHR data.
- To evaluate the effectiveness of membership inference attacks (MIAs) as a measure of training-data leakage in CLMs.
- To investigate the impact of model architecture (e.g., BERT vs. GPT-2) and training regime (e.g., DP-SGD) on privacy leakage.
- To assess how disease rarity and group-level membership inference affect privacy risks in CLMs.
- To establish a standardized benchmark for evaluating privacy leakage in CLMs using the MIMIC-III dataset.
Proposed method
- Design and implement white-box and black-box membership inference attacks (S-BBA, S-AWBA, S-GWBA) to estimate privacy leakage.
- Train and evaluate CLMs (e.g., BERT, GPT-2, DistilBERT) on the MIMIC-III EHR dataset using standard fine-tuning protocols.
- Apply differentially private stochastic gradient descent (DP-SGD) with varying noise scales (σ) to train privacy-preserving CLMs.
- Measure privacy leakage using the attack success rate (PL) as defined in Equation 2, comparing training vs. out-of-training samples.
- Group patients by disease profile rarity using ICD codes and compute leakage per rarity bucket to assess vulnerability of rare cases.
- Use a standardized evaluation framework with fixed data splits to ensure reproducibility and model-agnostic comparison.
Experimental results
Research questions
- RQ1What is the empirical privacy leakage of clinical language models (CLMs) under white-box and black-box membership inference attacks?
- RQ2How does model architecture (e.g., masked vs. autoregressive LMs) affect privacy leakage in CLMs?
- RQ3To what extent can differentially private training (DP-SGD) reduce privacy leakage while maintaining model utility in CLMs?
- RQ4How does disease profile rarity influence the susceptibility of patients to membership inference attacks in CLMs?
- RQ5Does group-level membership inference lead to higher privacy leakage than sample-level inference in CLMs?
Key findings
- Large CLMs such as GPT-2 exhibit up to 7% privacy leakage under white-box membership inference attacks, indicating non-trivial training-data leakage.
- Smaller models like DistilBERT show lower privacy leakage (around 2%), suggesting model size is a factor in privacy risk.
- Masked language models (e.g., BERT) have lower privacy leakage than autoregressive models (e.g., GPT-2), indicating architectural differences affect privacy.
- Differentially private training using DP-SGD with low noise scale (σ) reduces privacy leakage to below 1% while maintaining model utility.
- Patients with rarer disease profiles are more vulnerable to membership inference attacks, showing higher privacy leakage due to unique or outlier clinical patterns.
- Group-level membership inference attacks yield higher privacy leakage than sample-level attacks, indicating that collective patient patterns amplify leakage risks.
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.