Evidence Hub

MEDRAG-SHIELD: A Privacy-Preserving Retrieval-Augmented Generation Framework for Clinical Text Analysis Using BiLSTM-Attention Mechanisms

Hao-Yang Guan

2025 International Conference on Neural Networks and Natural Language Processing (NNNLP), 2025

Abstract

Clinical text analysis using large language models (LLMs) presents significant privacy challenges due to the sensitive nature of protected health information (PHI). This paper introduces MEDRAG-SHIELD, a novel privacy-preserving framework that integrates BiLSTM-attention mechanisms with retrieval-augmented generation for secure clinical text processing. The framework implements a three-stage architecture: privacy-aware retrieval, BiLSTM-attention based filtering, and enhanced generation with hallucination reduction. Experiments conducted on multiple clinical datasets demonstrate that MEDRAG-SHIELD achieves superior performance compared to state-of-the-art approaches, with 96.3% F1-score in PHI detection and protection while maintaining 87.5% information accuracy. The BiLSTM-attention mechanism effectively identifies contextual privacy risks in clinical text that conventional approaches often miss. Comparative analysis shows that MEDRAG-SHIELD outperforms existing clinical NLP systems across privacy protection, information accuracy, and clinical relevance metrics. The framework exhibits 8.56% improvement in patient name protection and 7.30% improvement in contact information protection compared to baseline models. This research demonstrates that strong privacy guarantees can be achieved without compromising the utility of clinical information retrieval, providing a foundation for responsible AI adoption in healthcare contexts where information accuracy and patient…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free