RAGClin: A Privacy-Preserving Retrieval-Augmented Generation Framework for Clinical Question
Abstract
Generative AI is rapidly transforming healthcare by enabling smarter tools for clinical decision support, automated documentation, and patient interaction. However, alongside these opportunities, current Large Language Models (LLMs) present significant challenges: they frequently produce hallucinations—information that appears credible but is factually incorrect—and they often depend on cloud-based deployment, raising critical concerns about patient data privacy and compliance with healthcare regulations.As our key contribution, we present RAGClin, a privacy-preserving Retrieval-Augmented Generation (RAG) framework designed for clinical question-answering. RAGClin combines synthetic medical documents with a local semantic search pipeline to supply verifiable context during inference. Using MiniLM for lightweight dense embeddings and a FAISS vector database for top-k cosine similarity retrieval, relevant context is dynamically fetched and appended to the user query. This combined input is processed by a locally hosted LLaMA 3.1 model via the Ollama runtime, ensuring that sensitive information remains fully local.By grounding generative outputs in domain-specific retrieved knowledge, our contribution mitigates hallucinations, improves factual accuracy, and upholds strict privacy requirements. Preliminary experiments show high semantic precision, reduced hallucination rates, and near real-time performance on both high-performance compute nodes and consumer-grade hardware. These…
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
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.