Introduction
As India rapidly digitizes its healthcare infrastructure, linking over 330 million patient records to a central ID system, the protection of patient privacy has transitioned from a best practice to a legal mandate under the Digital Personal Data Protection Act (DPDPA) of 2023. De-identification—the process of redacting Protected Health Information (PHI) from clinical text—is the primary technical solution for enabling data sharing while maintaining privacy. However, existing de-identification tools, largely trained on Western datasets, struggle to generalize to the unique linguistic and structural nuances of Indian clinical records.
The Challenge of Indian Clinical Data
Standard Natural Language Processing (NLP) benchmarks, such as the US-centric n2c2 datasets, do not account for "data drift" encountered in Indian hospitals. Indian discharge summaries feature distinct date formats, unique naming conventions (e.g., "B/O" for "Baby of"), and specific institutional identifiers like Central Registration Numbers (CRNO). Furthermore, Indian summaries tend to be more lab-result oriented compared to the narrative-heavy summaries common in the US.
Accessing real Indian clinical data for model training is difficult due to strict privacy regulations, creating a bottleneck for developing localized solutions. This study addresses this scarcity by leveraging Large Language Models (LLMs) to generate high-quality synthetic Indian clinical data.
Methodology
The researchers developed a two-stage pipeline to bridge the performance gap:
- Synthetic Data Generation: Using In-Context Learning (ICL), LLMs including Gemini-pro-1.0, Llama-3-8B-Instruct, and Mistral-7B-Instruct were prompted with a limited set of real examples to generate thousands of synthetic discharge summaries. These summaries were designed to mimic the structure and PHI patterns found in Indian clinical settings.
- Model Fine-Tuning: The synthetic data was used to fine-tune PI-RoBERTa, a transformer-based model optimized for Named Entity Recognition (NER). The study explored various training recipes, combining real US data with synthetic Indian data to maximize cross-context generalization.
Physicians conducted a "face validity" check on the generated data. While experts could occasionally identify synthetic reports due to minor formatting or diagnostic inconsistencies, the linguistic structure was deemed realistic enough to serve as effective training material for de-identification tasks.
Dataset Characteristics
The study utilized a combination of legacy US benchmarks and newly developed Indian datasets. The primary Indian test set, $ICDS_R$, consists of 99 manually annotated summaries from the Sanjay Gandhi Post Graduate Institute of Medical Sciences (SGPGIMS), Lucknow.
As shown in the statistics above, the synthetic Indian dataset ($ICDS^l_G$) provided a substantial volume of training examples (1,043 summaries) that closely mirrored the token distribution and tag sets required for the Indian context.
Results and Performance
The results demonstrate a significant "local advantage." The PI-RoBERTa model trained on synthetic Indian data ($ICDS^l_G$) achieved a 98% Micro F1-score on the real Indian test set, vastly outperforming models trained solely on US data, which saw performance drop to as low as 41% F1.
Furthermore, the study compared the custom pipeline against major commercial cloud solutions. Services from AWS and GCP performed poorly on the Indian test set, yielding F1-scores of 0.37 and 0.47, respectively. These commercial models frequently misidentified medical terminology (e.g., "BILIRUBIN") as patient names and failed to recognize Indian-specific ID formats.
Conclusion
This research highlights that synthetic data tailored to a specific cultural and institutional context is more valuable than real data from a different context. By augmenting real-world data with LLM-generated synthetic summaries, the authors developed a de-identification tool that meets the rigorous requirements of the Indian healthcare landscape. Future work will focus on active learning workflows to iteratively refine the model and expanding synthetic generation to specialized medical domains like cardiology and oncology.
Summary updated