Institution-Specific LLM Prompting Recovers PHI That De-identification Systems and Their Gold Standards Both Miss
Not on the map. Why?
Abstract (arXiv)
Secondary use of electronic health records requires de-identification, yet existing systems miss institutionally situated protected health information (PHI) such as hospital abbreviations, building names, and internal codes whose status is locally determined. We ask whether large language models (LLMs) with in-context learning (ICL) can close this gap and control the precision--recall trade-off. On 100 annotated pediatric oncology notes (5,322 PHI spans) from Texas Children's Hospital, we benchmarked eight LLMs against two purpose-built systems (Stanford TiDE, OpenMed PII) and two pattern-based baselines. Each LLM ran under three prompts of increasing specificity: (1) a HIPAA-aligned baseline, (2) baseline plus the institutional PHI categories it missed, and (3) prompt 2 plus instructions against over-redacting clinical content. We then compared 14~multi-agent and ensemble configurations against the best single prompt, with recall the primary safety metric. LLMs outperformed the purpose-built systems (best F1=0.918±0.001 vs. TiDE 0.779), with advantages concentrated in contextual categories. Naming the missed categories recovered 79% (48/61) of them, and discouraging over-redaction restored precision. No agentic architecture beat calibrated single-pass prompting (F1 0.906--0.907), but LLM outputs surfaced 414~candidate annotation gaps; re-annotation confirmed 227~PHI spans, against which the final prompt reached recall=0.981 (F1=0.907±0.002). Well-calibrated ICL resolves both the institutional PHI gap and the precision--recall trade-off in one LLM call per note. LLMs cost more to run than traditional methods, but that cost buys a way to audit the reference standard. LLMs are a legitimate, adaptable alternative to purpose-built de-identification systems; institution-specific prompt development should be the primary adaptation strategy.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 49 references that are in the map. First posted on arXiv 17 Aug 2026.
Builds on
20 of 49 references.
References · 20
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2019Publicly Available Clinical BERT Embeddingscited by 1,002
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
- 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 159
- 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 130
- 2016De-identification of Patient Notes with Recurrent Neural Networkscited by 88
- 2024Prover-Verifier Games improve legibility of LLM outputscited by 85
- 2025BioClinical ModernBERT: A State-of-the-Art Long-Context Encoder for Biomedical and Clinical NLPcited by 28
- 2020A new paradigm for accelerating clinical data science at Stanford Medicinecited by 17
- 2024Unlocking the Potential of Large Language Models for Clinical Text Anonymization: A Comparative Studycited by 7
8 more
- 2013Matching Known Patients to Health Records in Washington State Datacited by 5
- 2025RedactOR: An LLM-Powered Framework for Automatic Clinical Data De-Identificationcited by 5
- 2025Not What the Doctor Ordered: Surveying LLM-based De-identification and Quantifying Clinical Information Losscited by 4
- 2025Towards Automatic Evaluation and Selection of PHI De-identification Models via Multi-Agent Collaborationcited by 3
- 2024DeIDClinic: A Risk-Aware Pseudonymization Framework for Clinical Text De-identification and Re-identification Risk Assessmentcited by 1
- 2025OpenMed NER: Open-Source, Domain-Adapted State-of-the-Art Transformers for Biomedical NER Across 12 Public Datasetscited by 1
- 2025OEMA: Ontology-Enhanced Multi-Agent Collaboration Framework for Zero-Shot Clinical Named Entity Recognitioncited by 1
- 2026Towards Fair and Efficient De-identification: Quantifying the Efficiency and Generalizability of De-identification Approachescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026A primer on evaluation methods for large language models in healthcare
- 2026SHIELD: A Diverse Clinical Note Dataset and Distilled Small Language Models for Enterprise-Scale De-identification
- 2026When Large Language Models Fail in Healthcare: Evaluating Sensitivity to Prompt Variations
- 2026LLM-as-a-Judge in Healthcare: A Scoping Analysis of Applications, Methods, and Human Alignment
- 2025CARES: Comprehensive Evaluation of Safety and Adversarial Robustness in Medical LLMs
- 2024Rephrasing Electronic Health Records for Pretraining Clinical Language Models
- 2024Large Language Models Struggle in Token-Level Clinical Named Entity Recognition
- 2026Safety and accuracy follow different scaling laws in clinical large language models