TL;DR
This paper explores how to best de-identify clinical notes for research, finding that while fully customized systems achieve high accuracy (97-99% recall), even off-the-shelf systems can be significantly improved with minimal effort. The study provides a practical framework for healthcare organizations to choose the right de-identification strategy based on their resources and desired performance.
What Problem Does This Paper Address?
The increasing use of electronic health records (EHRs) for medical research is hampered by the need to protect patient privacy. De-identifying clinical notes – removing personally identifiable information (PII) – is crucial, but automated systems have faced challenges in achieving both high recall (not missing any PII) and high precision (not removing non-PII) across diverse datasets. This uncertainty about performance has limited the widespread adoption of these systems. The paper addresses this by investigating different levels of customization for de-identification systems, from "off-the-shelf" to fully custom-trained models, and evaluating their performance across various clinical note datasets.
Methods
The authors employ a state-of-the-art recurrent neural network (RNN) based named entity recognition (NER) system for de-identification. The system architecture includes:
- Tokenization and Normalization: Breaking text into tokens and standardizing them.
- Pretrained Token Embedding: Using GloVe or custom embeddings to represent words.
- Character BiRNN: Generating character-based embeddings to handle out-of-vocabulary words and variations.
- Casing Features: Incorporating information about word capitalization.
- Named Entity Sequence Tagger: A core component using a Token BiRNN and a Conditional Random Field (CRF) layer to predict PII tags (e.g., Name, Date, Location) for each token, ensuring contextual awareness.
The study evaluates four main scenarios:
- Fully Customized System: Training a model from scratch on a large, labeled dataset.
- Off-the-Shelf System: Using a pre-trained model without any further training or customization.
- Partial Customization with Labeled Data: Fine-tuning a pre-trained model with a small number of labeled examples.
- Partial Customization with Unlabeled Data: Using unlabeled data to create custom token embeddings to improve the model.
Datasets
The paper utilizes several publicly available clinical note datasets:
- i2b2-2006 and i2b2-2014: Corpora from the Informatics for Integrating Biology & the Bedside (i2b2) Natural Language Processing (NLP) Shared Tasks, which include de-identified clinical notes with specific guidelines.
- PhysioNet Gold Standard Corpus: A collection of de-identified medical text with surrogate information.
- MIMIC-III Dataset: A large critical care database, from which three subsets were created:
mimic3-radiology,mimic3-echo, andmimic3-discharge.
These datasets vary in size, source, and the specific types of PII they identify, allowing for a comprehensive evaluation of de-identification performance across different scenarios.
Key Insights and Ideas
- Customization is Key, but Not Always Necessary: Fully customized systems achieve the highest performance (97-99% recall), but the cost of labeling large datasets can be prohibitive.
- Off-the-Shelf Systems Can Be Surprisingly Good (with a Caveat): While performance varies, off-the-shelf systems often achieve over 90% recall. However, they can miss domain-specific jargon or abbreviations, highlighting the need for some level of adaptation.
- Small Amounts of Labeled Data Go a Long Way: Even with as few as 20-80 labeled examples, performance can be significantly boosted over an off-the-shelf system. This "partial customization" offers a strong return on investment for labeling efforts.
- Unlabeled Data is a Powerful Resource: Creating custom token embeddings from large unlabeled datasets can substantially improve performance without the privacy concerns or cost of manual annotation.
- Context is Crucial for PII Identification: The system's ability to understand sentence structure and word context is vital for correctly identifying PII (e.g., distinguishing "London" as a name versus a location).
- Imbalanced Data is a Challenge: Clinical notes contain far more non-PII than PII, which can skew evaluation metrics and requires careful consideration of recall.
Key Results
- Fully Customized Systems: Achieved recall of 97-99% and precision of 85-96% across datasets like i2b2-2014, i2b2-2006, and mimic-discharge.
- Off-the-Shelf Systems: Performance varied significantly. For example, an i2b2-2014 model tested on physionet yielded 76.6% recall, but this improved to 89.1% with simple heuristics. Cross-dataset analysis for "Name" PII showed recall generally above 90%, with exceptions for datasets with less informative names.
- Partial Customization (Labeled Data): Using ~20 labeled examples for radiology notes significantly improved performance over off-the-shelf. Around 1000 labeled examples for mimic-discharge approached fully customized performance.
- Partial Customization (Unlabeled Data): Custom embeddings (e.g.,
embed-mimic) consistently improved performance over generic GloVe embeddings across various datasets, demonstrating the value of domain-specific representations.
Limitations and Future Work
- Generalizability: The study's guidelines are based on available datasets and cannot guarantee performance on all real-world deployments.
- Need for More Data: The authors highlight the need for additional medical corpora with identical labeling schemes from diverse healthcare systems to build a truly generic, off-the-shelf system.
- Metrics for Real-World Deployments: Future work should focus on establishing metrics that better incorporate the balance between privacy, analytic utility, and the risk of re-identification in real-world scenarios.
- Hybrid Approaches: The paper suggests that combining automated de-identification with organization-specific heuristics or human-in-the-loop review can further enhance baseline performance.
Summary updated