Local Obfuscation by GLINER for Impartial Context Aware Lineage: Development and evaluation of PII Removal system
Prakrithi Shivaprakash, Lekhansh Shukla, Animesh Mukherjee, Prabhat Chand, Pratima Murthy

TL;DR
This paper presents LOGICAL, a locally deployable PII removal system using a fine-tuned GLiNER model, achieving high accuracy and efficiency for de-identifying clinical notes without relying on costly LLMs.
Contribution
The development and evaluation of LOGICAL, a novel, efficient, and accurate PII removal system based on a fine-tuned GLiNER model for clinical text anonymization.
Findings
Achieved 98% F1-score in PII detection.
Successfully sanitized 95% of documents completely.
Operates efficiently on standard laptops without GPUs.
Abstract
Removing Personally Identifiable Information (PII) from clinical notes in Electronic Health Records (EHRs) is essential for research and AI development. While Large Language Models (LLMs) are powerful, their high computational costs and the data privacy risks of API-based services limit their use, especially in low-resource settings. To address this, we developed LOGICAL (Local Obfuscation by GLINER for Impartial Context-Aware Lineage), an efficient, locally deployable PII removal system built on a fine-tuned Generalist and Lightweight Named Entity Recognition (GLiNER) model. We used 1515 clinical documents from a psychiatric hospital's EHR system. We defined nine PII categories for removal. A modern-gliner-bi-large-v1.0 model was fine-tuned on 2849 text instances and evaluated on a test set of 376 instances using character-level precision, recall, and F1-score. We compared its…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Machine Learning in Healthcare · Artificial Intelligence in Healthcare and Education
