A survey of automatic de-identification of longitudinal clinical narratives

Vithya Yogarajan, Michael Mayo, Bernhard PfahringerarXiv 2018

Abstract

Automatic de-identification of clinical narratives is a critical prerequisite for the secondary use of Electronic Health Records (EHRs) in medical research. This paper reviews the technological shift from rigid rule-based systems to sophisticated deep learning architectures. By examining performance across major industry benchmarks like the i2b2 and CEGS N-GRID shared tasks, we identify key challenges in balancing data utility with patient confidentiality, particularly regarding the generalizability of models across different clinical domains.

Introduction: The De-identification Dilemma

Electronic Health Records (EHRs) represent a vast resource for advancing medical science. However, they also present a significant privacy risk. While structured data is relatively straightforward to anonymize, "longitudinal clinical narratives"—the free-form notes compiled by clinicians over months or years—contain a high density of Protected Health Information (PHI).

The challenge is twofold: manual de-identification is unscalable and prone to error, yet legal frameworks like HIPAA in the United States demand absolute patient confidentiality. This creates a "dilemma" where researchers need high-quality, granular data that must simultaneously be scrubbed of all identifying information.

The 18 standard HIPAA PHI identifier categories used as a baseline for de-identification tasks.

Evolution of De-identification Methods

The field has evolved through four primary methodological stages:

  • Rule-based Systems: These rely on regular expressions and dictionaries. While effective for structured patterns like phone numbers, they struggle with misspellings and out-of-vocabulary terms.
  • Traditional Machine Learning: Models such as Conditional Random Fields (CRF) and Support Vector Machines (SVM) introduced statistical learning but required extensive manual feature engineering.
  • Hybrid Models: By combining rules with machine learning, these systems became the state-of-the-art for several years, using rules for easy patterns and ML for contextual nuances.
  • Deep Learning: Recent advancements have shifted toward Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks, which automatically learn data representations and better capture the narrative flow.

Benchmarking Performance: i2b2 and N-GRID

The survey centers on two landmark shared tasks that provided open-source datasets to the research community:

  1. 2014 i2b2/UTHealth Task: Focused on longitudinal records of diabetic patients, introducing a granular set of 25 PHI sub-categories.
  2. 2016 CEGS N-GRID Task: Released psychiatric intake records, which are significantly harder to de-identify due to their high density of personal narrative and sensitive context compared to general medical notes.

Key Results and Insights

Performance across these tasks indicates that while systems are improving, consistency remains an issue. Top-performing hybrid and deep learning systems frequently achieve F-measures above 0.90.

A comparison of micro F-measures for various de-identification systems across i2b2 and HIPAA PHI datasets.

A significant finding is the "Generalizability Gap." Models trained on specific datasets (e.g., diabetic records) often perform poorly when applied to different domains (e.g., psychiatric records), suggesting that many systems are overfit to specific clinical styles. Furthermore, while categories like Date and Age are easily identified, Profession and Location remain persistently difficult for automated systems. Error analysis reveals that "Missing Errors" (false negatives) are far more critical than "Spurious Errors," as a single missed name can lead to a total privacy breach.

Conclusion and Future Directions

While the field has moved toward more capable deep learning models, several "unsolved" problems persist. These include the difficulty of identifying rare PHI entities and the lack of portability between clinical domains. Future research should focus on transfer learning and advanced word embeddings to enhance the semantic understanding of rare identifiers and ensure that de-identification systems can be reliably deployed across diverse real-world clinical settings.

Summary updated

BibTeX
@misc{yogarajan2018survey,
  author = {Vithya Yogarajan and Michael Mayo and Bernhard Pfahringer},
  title = {{A survey of automatic de-identification of longitudinal clinical narratives}},
  year = {2018},
  eprint = {1810.06765},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.06765},
}
Figure