Privacy-Preserving Medical Record Masking for Safe LLM Fine-Tuning in Healthcare AI: De-Identifying Clinical Data for Large Language Models: Risks, Methods, and Frameworks
The adoption of large language models (LLMs) in healthcare requires access to sensitive electronic health records, raising significant privacy and regulatory concerns. Traditional de-identification methods often fail to adequately protect unstructured clinical data while preserving its utility for model training. This paper proposes a semantic-aware, privacy-preserving masking framework designed for safe LLM fine-tuning. The approach combines entity recognition with hybrid masking techniques, including tokenization, pseudonymization, and format-preserving transformations, applied dynamically across structured and unstructured data. A dual evaluation model is introduced to assess both privacy risk, through reidentification testing, and data utility, via downstream LLM task performance. Experimental results demonstrate that the proposed framework effectively reduces privacy leakage while maintaining high semantic fidelity. This work provides a practical foundation for enabling secure and compliant use of healthcare data in artificial intelligence systems.
Authors
- Upendra Singh Jadon (ORCID: https://orcid.org/0009-0002-4200-9321)
Publication Details
- Journal
- International Journal of Healthcare Information Systems and Informatics
- Published
- 2026-12-03
- DOI
- https://doi.org/10.4018/ijhisi.429278
- Primary Topic
- Privacy-Preserving Technologies in Data
- Type
- article
- Field-Weighted Citation Impact
- 0.00