Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?

By Eric P. Lehman, Sarthak Jain, K. Pichotta, Yoav Goldberg, Byron C. Wallace. 2021

158 citations recorded by the source corpus.

Large Transformers pretrained over clinical notes from Electronic Health Records (EHR) have afforded substantial gains in performance on predictive clinical tasks. The cost of training such models (and the necessity of data access to do so) coupled with their utility motivates parameter sharing, i.e., the release of pretrained models such as ClinicalBERT. While most efforts have used deidentified EHR, many researchers have access to large sets of sensitive, non-deidentified EHR with which they might train a BERT model (or similar). Would it be safe to release the weights of such a model if they did? In this work, we design a battery of approaches intended to recover Personal Health Information (PHI) from a trained BERT. Specifically, we attempt to recover patient names and conditions with which they are associated. We find that simple probing methods are not able to meaningfully extract sensitive information from BERT trained over the MIMIC-III corpus of EHR. However, more sophisticated “attacks” may succeed in doing so: To facilitate such research, we make our experimental setup and baseline probing models available at https://github.com/elehman16/exposing_patient_data_release.

Subfields: Artificial Intelligence, Management Science and Operations Research, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Eric Wallace
  2. Yulia Tsvetkov
  3. Mohit Bansal
  4. Florian Tramèr
  5. Luke S. Zettlemoyer
  6. Hannaneh Hajishirzi
  7. Colin Raffel
  8. Noah A. Smith

In Management Science and Operations Research

  1. Florian Tramèr
  2. Santiago Zanella-B'eguelin
  3. Qian Liu
  4. Shuicheng Yan
  5. Kevin Chen-Chuan Chang
  6. Chao Du
  7. Eric Wallace
  8. Yulia Tsvetkov

In Safety, Robustness & Interpretability

  1. Florian Tramèr
  2. Eric Wallace
  3. Katherine Lee
  4. Ahmed Salem
  5. Shruti Tople
  6. Sachin Kumar
  7. Fatemehsadat Mireshghallah
  8. Vidhisha Balachandran

Citations in the corpus