This work proposes a bilingual healthcare chatbot based on RAG for medically accurate AI that is multilingual, accessible and computationally sustainable. The trained pipeline uses 182,822 clinical explanatory paragraphs sourced from the MedMCQA corpu...
This work proposes a bilingual healthcare chatbot based on RAG for medically accurate AI that is multilingual, accessible and computationally sustainable. The trained pipeline uses 182,822 clinical explanatory paragraphs sourced from the MedMCQA corpus and leverages the combined efforts of Dense Retrieval (MiniLM-L12-v2), Cross-encoder Reranking (ms-marco-MiniLM-L-6-v2), text generation (FLAN-T5) and bidirectional translation between English and Chinese (Helsinki-NLP) to mitigate hallucinations, false inferences and bilingual inaccuracies that plague large language models to date. A comprehensive evaluation of 300 held-out validation questions shows that the reranking significantly improves retrieval alignment (Recall@5 = 0.197 ± 0.398, MRR = 0.104 ± 0.267). An average cosine similarity score of 0.333 ± 0.245 substantiates clinically coherent multilingual results produced by the generator. Multilingual tests suggest that the results are coherent, clinically sound and semantically comparable in and across English and Chinese.
System latency (1961.3 ± 1574.7 ms) and small model parameters align with Green AI which suggests that it's adaptive and doesn't need intensive resources. The varied assessment across 21 domains suggests that performance differs which denotes the challenging nature of domain specific medical explanations on a large scale. These findings suggest that retrieval conditioned generation is a trustworthy method to advance factual citation and suppress unfounded statements even across medically diverse QA settings. Low retrieval efficacy and a dataset containing Q-A pairs like practical exams limitation results, however, this paper offers three novel contributions to the field: (1) A trustworthy end to end bilingual RAG framework for medical QA, (2) Empirical data championing the significant findings on reranking and retrieval depth, and (3) An integrative evaluation that brings together semantic, multilingual and Green AI considerations for clinical responsible AI. This research establishes the foundation for future domain specific retrievers, hybrid search algorithms, multilingual expansions, uncertainty-aware reasoning, and real-world trials with clinicians and patients. Finally, the proposed strategy provides a realistic, transparent, and morally sound pathway for developing AI technology capable of supporting modern global healthcare circumstances.
Keywords: AI in healthcare, LLM, Chatbots, Patient Support System, RAG, Hallucination, Privacy and Data Security, AI sustainability or Green AI.