In the Name of Fairness: Assessing the Bias in Clinical Record De-identification

Yuxin Xiao, Shulammite Lim, Tom Joseph Pollard, Marzyeh Ghassemi · DOI

Introduction

To advance medical research, healthcare institutions frequently share clinical datasets with the broader scientific community. However, this sharing must be balanced against patient privacy. Under the Health Insurance Portability and Accountability Act (HIPAA) "Safe Harbor" provisions, institutions are required to remove 18 types of Protected Health Information (PHI) before data dissemination. Among these, patient names are the most common and highly identifiable category.

While machine learning models—specifically Named Entity Recognition (NER) systems—are increasingly used to automate this de-identification process, their reliability is not uniform. If a system fails to redact a name because it is uncommon or associated with a specific minority group, that patient’s privacy is compromised. This study, conducted by researchers at MIT, provides a large-scale audit of nine popular clinical de-identification systems to determine if they exhibit systematic bias across different demographic groups.

Methodology: Stress-Testing De-identification

The researchers developed a robust empirical framework to evaluate how de-identification systems handle diverse naming conventions. The methodology consisted of three primary phases:

  1. Name Synthesis: The team created 16 distinct name sets based on four dimensions: gender (male/female), race (White, Black, Asian, Hispanic), popularity (top, medium, bottom), and decade of popularity (1940s, 1970s, 2000s). These names were sourced from U.S. Social Security Administration (SSA) records and U.S. Census data.
  2. Template Injection: To simulate realistic clinical environments, the researchers curated 100 discharge summary templates from the MIMIC-IV database. The synthesized names were then injected into these templates, resulting in a dataset of 16,000 evaluation notes.
  3. Multi-System Audit: Nine baseline methods were evaluated, including:
  4. NLP Libraries: spaCy, Stanza, and flair.
  5. Commercial APIs: Amazon Comprehend Medical, Microsoft Azure, and Google Cloud DLP.
  6. Specialized Toolkits: NeuroNER, Philter, and MIST.

Systematic Biases in Name Recognition

The audit revealed significant performance gaps across demographic dimensions, suggesting a "privacy gap" that disproportionately affects marginalized populations.

The Popularity and Racial Bias

A primary finding was the "popularity bias": systems were significantly better at recognizing rare White names than popular Asian names. This suggests that many underlying models are over-indexed on Western naming conventions, leading to higher recall for names familiar to the training data and lower protection for those outside it.

Polysemy and Contextual Dissonance

Names that double as common English words—such as "An," "Forest," "June," or "Thai"—proved to be the most difficult for models to catch. In these cases, models often misinterpreted the name as a part of speech rather than a person entity. Furthermore, the study identified "contextual dissonance" regarding gender. Models rely heavily on gendered pronouns; when a name typically associated with one gender appeared near a pronoun of another (e.g., "Mr. Emily Smith"), system recall dropped. This has serious implications for the privacy of transgender and non-binary patients.

Comparative Performance

Performance varied significantly across the nine systems tested:

  • Top Performers: Among traditional models, flair and NeuroNER achieved the highest recall and F1 scores, though they still exhibited measurable biases.
  • Commercial Disparity: While Amazon Comprehend Medical and Microsoft Azure performed relatively well, Google Cloud DLP significantly underperformed in the clinical context. This is likely because Google’s tool is tuned for general-purpose text rather than the specific linguistic structures of medical records.
  • Note Complexity: Performance generally decayed as clinical notes became longer or included dense medication histories, which often lack the semantic cues (like "Mr." or "Patient is...") that help NER models identify names.

Mitigation and the Role of LLMs

The researchers proposed a "method-agnostic" solution to these biases: fine-tuning models using clinical context combined with diverse name sets. By fine-tuning the spaCy model with clinical narratives and a broader range of names, they boosted its recall from 0.623 to 0.950 while simultaneously reducing demographic bias.

Additionally, the study benchmarked GPT-4 against traditional systems. GPT-4 outperformed all other methods with a recall of 0.980 and demonstrated the lowest overall bias among non-rule-based methods. While it still showed minor statistical differences across decades and genders, its reasoning capabilities allowed it to navigate complex contexts better than specialized NER tools.

Conclusion

The MIT study highlights a critical vulnerability in current clinical de-identification pipelines. When automated systems fail to recognize names from specific demographic groups, they create an inequitable distribution of privacy. To ensure that clinical data sharing remains ethical and safe for all patients, future work must focus on developing more inclusive training sets and exploring the safe integration of Large Language Models to leverage their superior reasoning and lower inherent bias.

Summary updated

BibTeX
@inproceedings{xiao2023name,
  author = {Yuxin Xiao and Shulammite Lim and Tom Joseph Pollard and Marzyeh Ghassemi},
  title = {{In the Name of Fairness: Assessing the Bias in Clinical Record De-identification}},
  booktitle = {FAccT},
  year = {2023},
  url = {https://openreview.net/forum?id=DhEmeV7rVOd},
}
Figure