A study of deep learning methods for de-identification of clinical notes in cross-institute settings

Xi Yang, Tianchen Lyu, Qian Li, Chih-Yin Lee, Jiang Bian, William R. Hogan, Yonghui Wu

Introduction

De-identifying clinical notes—the process of removing sensitive patient information like names, dates, and IDs—is a critical prerequisite for medical research. While modern Natural Language Processing (NLP) models achieve high accuracy on internal datasets, they often suffer from a "brittleness" problem when deployed across different institutions. A model trained at one hospital frequently performs poorly at another due to variations in note templates, local jargon, and naming conventions. This study investigates the "cross-institute" gap, identifying the causes of performance degradation and proposing efficient adaptation strategies.

Methodology

The researchers utilized a state-of-the-art Bi-LSTM-CRF (Bidirectional Long Short-Term Memory with Conditional Random Fields) architecture, which serves as the standard for Named Entity Recognition (NER) tasks.

Overview of the LSTM-CRFs model architecture with knowledge-based features.

The model incorporates several technical layers to enhance robustness:

  • Feature Embedding Layer: Integrates character-level embeddings to manage typographical errors, linguistic features (Part-of-Speech tags), and knowledge-based features (dictionaries of names, cities, and zip codes).
  • Embedding Comparison: Five pre-trained word embeddings were evaluated, ranging from general English (Google News, CommonCrawl) to specialized medical corpora (MIMIC-III, PubMed).
  • Customization Strategies: Two adaptation methods were compared: Merging (retraining on combined datasets) and Fine-tuning (adjusting a pre-trained model on a small local dataset).

Data Description

The study leveraged two primary corpora:

  1. 2014 i2b2/UTHealth Corpus: A public gold-standard dataset containing 1,304 clinical notes, used for initial training.
  2. UF Health Corpus: A target dataset consisting of 500 clinical notes from the University of Florida, manually annotated by experts to evaluate cross-institute performance.

Results and Discussion

A significant finding of this study is the "De-identification Paradox" regarding word embeddings. Contrary to expectations, general English embeddings (specifically CommonCrawl) outperformed clinical-specific embeddings like MIMIC-III.

Performance comparison of various word embeddings on the i2b2/UTHealth validation set.

The authors hypothesize that because clinical corpora used for embedding training are often already de-identified, they lack the context for real names and IDs, making them less effective for NER tasks.

Furthermore, the study documented a "Performance Cliff": the model's F1-score dropped from 0.9547 on the source data to 0.8568 when applied to the UF Health data. However, fine-tuning on just a few hundred local notes proved highly effective, recovering the strict F1-score to 0.9288. This suggests that hospitals can efficiently adapt existing models without needing access to the original institution's private training data.

Conclusion

While deep learning models for de-identification are powerful, their "off-the-shelf" performance in cross-institute settings is limited. This research demonstrates that a combination of general-purpose embeddings and local fine-tuning provides a practical roadmap for deploying robust de-identification systems across diverse healthcare environments. Future work will focus on addressing rare PHI categories and refining boundary detection for complex entities.

Summary updated

BibTeX
@article{yang2019study,
  author = {Xi Yang and Tianchen Lyu and Qian Li and Chih-Yin Lee and Jiang Bian and William R. Hogan and Yonghui Wu},
  title = {{A study of deep learning methods for de-identification of clinical notes in cross-institute settings}},
  journal = {BMC Medical Informatics Decis. Mak.},
  year = {2019},
  doi = {10.1186/s12911-019-0935-4},
}
Figure