Automatic end-to-end De-identification: Is high accuracy the only metric?

Vithya Yogarajan, Bernhard Pfahringer, Michael Mayo · DOI

Abstract

De-identification of electronic health records (EHR) is a vital step towards advancing health informatics research and maximising the use of available data. It is a two-step process where step one is the identification of protected health information (PHI), and step two is replacing such PHI with surrogates. Despite the recent advances in automatic de-identification of EHR, significant obstacles remain if the abundant health data available are to be used to the full potential. Accuracy in de-identification could be considered a necessary, but not sufficient condition for the use of EHR without individual patient consent. We present here a comprehensive review of the progress to date, both the impressive successes in achieving high accuracy and the significant risks and challenges that remain. To best of our knowledge, this is the first paper to present a complete picture of end-to-end automatic de-identification. We review 18 recently published automatic de-identification systems—designed to de-identify EHR in the form of free text—to show the advancements made in improving the overall accuracy of the system, and in identifying individual PHI. We argue that despite the improvements in accuracy there remain challenges in surrogate generation and replacements of identified PHIs, and the risks posed to patient protection and privacy.

The De-identification Challenge

To advance medical research, scientists require access to Electronic Health Records (EHR). However, privacy regulations like HIPAA and GDPR mandate that this data be "de-identified" to protect patient privacy. This process is more complex than simple redaction; it is a two-step pipeline:

  1. Identification: Locating Protected Health Information (PHI) such as names, dates, and locations within clinical text.
  2. Replacement: Swapping that PHI with realistic "surrogates" (e.g., changing "Anna Smith" to "Rose Benjamin" and shifting dates consistently).
Figure 1: The two-step process of de-identification, moving from raw clinical notes to a de-identified version through identification and surrogate replacement.

A major gap in current research is the disproportionate focus on Step 1. While identifying PHI has reached high levels of accuracy, the pitfalls of Step 2—surrogate replacement—are often ignored. Poor replacement can break medical logic (e.g., making a pediatric record appear geriatric) or leave patients vulnerable to re-identification if pronouns or family names are not updated consistently.

Review Methodology and Datasets

This study reviews 18 automatic de-identification systems, categorized into Machine Learning (ML) Only (relying on neural networks like RNNs and LSTMs) and Hybrid Systems (combining ML with hand-crafted rules). These systems were evaluated against industry-standard benchmarks:

  • i2b2 Shared Tasks (2006, 2014, 2016): Longitudinal medical records and discharge summaries.
  • MIMIC III: A massive database of ICU patient data.
  • CEGS N-GRID (2016): Narrative-heavy psychiatric records, which present unique challenges for de-identification.

Key Insights: The 95% Mirage

In the Natural Language Processing (NLP) community, a 95% F-measure is often considered the "gold standard." However, this metric can be misleading. High accuracy in identification is a "necessary but not sufficient" condition for safe data sharing.

One major hurdle is ambiguity. For instance, the word "Aaron" could be a patient's name (PHI) or part of a medical term like "Aaron’s sign" (clinical information). Furthermore, maintaining medical correctness during date-shifting or location-swapping is vital; changing a zip code randomly might move a patient between vastly different socioeconomic environments, distorting social determinants of health data.

Performance Results

Modern deep learning models, particularly those using LSTMs and RNNs, have achieved remarkable success. Some systems reached F-measures as high as 0.9926 on the MIMIC III dataset.

Figure 5: Performance of various de-identification systems across different PHI categories and datasets, highlighting high accuracy for common fields and lower performance for rare ones.

As shown in the performance data, "easy" categories like Names, Dates, and Ages are largely considered solved, frequently hitting the >0.95 accuracy mark. However, "hard" categories—such as fax numbers, device identifiers, and organization names—still lag behind due to data sparsity. Psychiatric data also remains a frontier, as narrative-heavy notes are significantly more difficult to process than structured discharge summaries.

Limitations and Future Directions

Despite high performance on benchmarks, several "red flags" persist:

  • Overfitting: High scores may reflect systems tuned to specific dataset quirks rather than real-world clinical variety.
  • Manual Bottlenecks: Surrogate generation (Step 2) is still largely handled by manual rules rather than full automation.
  • Human-in-the-Loop: No current system is trusted enough to operate without human verification for medical correctness.

Future research should look beyond simple accuracy metrics toward "model-to-data" approaches, such as federated learning, which may eventually bypass the need for traditional de-identification by keeping raw data within hospital firewalls.

Summary updated

BibTeX
@article{yogarajan2020automatic,
  author = {Vithya Yogarajan and Bernhard Pfahringer and Michael Mayo},
  title = {{Automatic end-to-end De-identification: Is high accuracy the only metric?}},
  journal = {Appl. Artif. Intell.},
  year = {2020},
  doi = {10.1080/08839514.2020.1718343},
}
Figure