Research map / Large language models / Language, safety and interpretability
Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?
Eric Lehman, Sarthak Jain, Karl Pichotta, Yoav Goldberg, Byron C. Wallace
Northeastern University · Massachusetts Institute of Technology · Memorial Sloan Kettering Cancer Center · Bar-Ilan University · Allen Institute for Artificial Intelligence
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Train longer
train longer (++ models) or use PubmedBERT · fill-in-the-blank AUC · AUC No clear effect
What 494 accepted papers report for this change
- 263 improved
- 83 no clear effect
- 40 mixed
- 108 hurt
- Lightweight Federated Incremental Learning via Decoupled Replay ICML 2026 · increase local training epochs from 5 to 40 · CIFAR10 (α=1.0) · test accuracyImproved
- When Do Hallucinations Arise? A Graph Perspective on the Evolution of Path Reuse and Path Compression ICML 2026 · train longer on the full path search space (overfitting stage) · SBM graph, 10 communities, pin=0.6 · accuracy: 1.0 -> 0.98Hurt
- Causes and Consequences of Representational Similarity in Machine Learning Models ICML 2026 · train longer on LLM continued pretraining to test insufficient adaptation · perplexity across overlap settings · perplexityImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use fill-in-the-blank template probing instead of frequency ranking | BERT pretrained on MIMIC-III · condition recovery, ICD-9 | AUC: 0.926 -> 0.614 | Hurt |
| insert patient names into every sentence before pretraining | BERT base · fill-in-the-blank, ICD-9 | AUC: 0.614 -> 0.616 | No clear effect |
| pretrain on template-only sentences with name and condition | BERT base · fill-in-the-blank, MedCAT | AUC: 0.529 -> 0.784 | Improved |
| restrict to conditions with fewer than 50 patients | Template Only model · MedCAT | AUC: 0.570 vs 0.794 frequency baseline | Hurt |
| remove patient name from MLP probe input (ablation) | BERT probe · ICD-9 / MedCAT | AUC: 0.917 -> 0.932 (Regular Base ICD-9) | No clear effect |
| probe individual conditions with independent MLPs | BERT CLS probe · condition frequency bins | AUC: 0.439 to 0.577 range | No clear effect |
| pretrain on MIMIC-III vs use standard BERT base | BERT probe for seen names · patient-name seen/unseen | AUC: 0.498 -> 0.508 | No clear effect |
| insert names / template-only pretraining | BERT · masked last-name recovery | AUC: 0.503 -> 0.733 | Improved |
| use BERT contextual embeddings with name insertion | BERT · cosine similarity positive minus negative, ICD-9 | mean difference: -0.007 | No clear effect |
| use Large instead of Base BERT | fill-in-the-blank · MedCAT | AUC: 0.529 -> 0.667 | Improved |
| train longer (++ models) or use PubmedBERT | BERT · fill-in-the-blank AUC | AUC | No clear effect |
| use name-insertion pretraining for text generation | BERT Gibbs sampling · A@100 | A@100: 0.16 -> 0.84 | Improved |
Open problems in data and evaluation methodology
Do LLM-based data and evaluation methods hold beyond English, one domain and a few models?
- Results come from one narrow domain and may not carry over. · 25 papers state it
- Larger and closed models are untested. · 20 papers state it
- Data and tests are in English or one other language only. · 19 papers state it
Closest papers by meaning
- Incorporating medical knowledge in BERT for clinical relation extraction (EMNLP 2021 · similarity 0.86)
- Infusing Disease Knowledge into BERT for Health Question Answering, Medical Inference and Disease Name Recognition (EMNLP 2020 · similarity 0.85)
- PromptEHR: Conditional Electronic Healthcare Records Generation with Prompt Learning (EMNLP 2022 · similarity 0.85)
- Instruction Tuning Large Language Models to Understand Electronic Health Records (NeurIPS 2024 · similarity 0.83)
- Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHR Data (ICLR 2025 · similarity 0.83)
- An Investigation of Memorization Risk in Healthcare Foundation Models (NeurIPS 2025 · similarity 0.83)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.