A local language model layered with rule-based and neural detectors for clinical text de-identification: an open-source toolkit and evaluation
Not on the map. Why?
Abstract (arXiv)
Objectives: To measure whether a locally hosted large language model (LLM), stacked with deterministic and clinical named-entity recognition (NER) detectors, finds more protected health information (PHI) than open tools, and at what precision. Materials and Methods: DeidSharp, an open-source .NET toolkit, combines the findings of pluggable detectors (patterns, a clinical NER model, a local 26B mixture-of-experts LLM) and fails closed on any detector error. Configurations fixed on tuning halves were compared, under a prespecified protocol, with deid, Philter, the Stanford/Penn de-identifier, OpenAI Privacy Filter and GLiNER on reporting halves of PhysioNet's nursing notes (889 spans) and semi-synthetic MIMIC-IV-Note discharge summaries (29,023 spans), and on synthetic ASQ-PHI queries, with paired patient-level bootstrap intervals. Results: In the nursing notes, against Stanford/Penn, the recall-first stack found 98.9% of PHI (+2.8, 95% CI 1.4 to 4.4) at 9.3 points lower precision; the precision-first stack, without NER, found 96.5%, matching Stanford/Penn, at 19.6 points higher precision (83.2%). In the discharge summaries, both stacks led Stanford/Penn by more than 20 points (recall-first 95.3%, +21.5, 20.5 to 22.4), almost entirely on generated untyped names; on typed labels all three exceeded 99%. All four prespecified comparisons held. No configuration beat deid significantly on its home corpus; Philter found more discharge-summary spans than the recall-first stack at 23 points lower precision. Discussion: The LLM was the main detector and NER added place names; asked to verify its own findings, the LLM discarded a quarter of true PHI. Conclusion: A local LLM layered with deterministic detectors offers recall-first and precision-first operating points without sending text off-site.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 17 of its 47 references that are in the map. Submitted 9 Nov 2026.
Builds on
17 of 47 references.
References · 17
- 2026Gemma 4 Technical Reportcited by 464
- 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 142
- 2026Ministral 3cited by 134
- 2023GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformercited by 98
- 2016De-identification of Patient Notes with Recurrent Neural Networkscited by 94
- 2025RedactOR: An LLM-Powered Framework for Automatic Clinical Data De-Identificationcited by 7
- 2025Not What the Doctor Ordered: Surveying LLM-based De-identification and Quantifying Clinical Information Losscited by 7
- 2026Model Card for OpenAI Privacy Filtercited by 6
- 2025Towards Automatic Evaluation and Selection of PHI De-identification Models via Multi-Agent Collaborationcited by 5
- 2025Large Language Model Empowered Privacy-Protected Framework for PHI Annotation in Clinical Notescited by 4
- 2025Improving the Performance of Radiology Report De-identification with Large-Scale Training and Benchmarking Against Cloud Vendor Methodscited by 4
- 2026SHIELD: A Diverse Clinical Note Dataset and Distilled Small Language Models for Enterprise-Scale De-identificationcited by 4
5 more
- 2025Can Zero-Shot Commercial APIs Deliver Regulatory-Grade Clinical Text DeIdentification?cited by 2
- 2026Institution-Specific LLM Prompting Recovers PHI That De-identification Systems and Their Gold Standards Both Misscited by 2
- 2026MedDeID enables locally governed clinical-text de-identification from real or synthetic training datacited by 2
- 2026TIDE 2.0: an open, model-agnostic engine for keyed de-identification of clinical notescited by 2
- 2023Pyclipse, a library for deidentification of free-text clinical notescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Large Language Models Struggle in Token-Level Clinical Named Entity Recognition
- 2025Leveraging Open-Source Large Language Models for Clinical Information Extraction in Resource-Constrained Settings
- 2026EdgeDeID: A 0.6B Clinical De-identifier Trained Without Real Patient Data
- 2024PrecLLM: A Privacy-Preserving Framework for Efficient Clinical Annotation Extraction from Unstructured EHRs using Small-Scale LLMs
- 2024Distilling Large Language Models for Efficient Clinical Information Extraction
- 2025How to Train Private Clinical Language Models: A Comparative Study of Privacy-Preserving Pipelines for ICD-9 Coding
- 2026Generating Diverse and Verified Synthetic Clinical Notes with Labels by Construction
- 2024Rephrasing Electronic Health Records for Pretraining Clinical Language Models