Towards Doctor-Like Reasoning: Medical RAG Fusing Knowledge with Patient Analogy through Textual Gradients
Yuxing Lu, Gecheng Fu, Wei Wu, Xukai Zhao, Sin Yee Goi, Jinzhuo Wang
Abstract
Existing medical RAG systems mainly leverage knowledge from medical knowledge bases, neglecting the crucial role of experiential knowledge derived from similar patient cases -a key component of human clinical reasoning. To bridge this gap, we propose DoctorRAG, a RAG framework that emulates doctor-like reasoning by integrating both explicit clinical knowledge and implicit case-based experience. DoctorRAG enhances retrieval precision by first allocating conceptual tags for queries and knowledge sources, together with a hybrid retrieval mechanism from both relevant knowledge and patient. In addition, a Med-TextGrad module using multi-agent textual gradients is integrated to ensure that the final output adheres to the retrieved knowledge and patient query. Comprehensive experiments on multilingual, multitask datasets demonstrate that DoctorRAG significantly outperforms strong baseline RAG models and gains improvements from iterative refinements. Our approach generates more accurate, relevant, and comprehensive responses, taking a step towards more doctor-like medical reasoning systems. Human clinicians routinely integrate formal medical knowledge (Expertise) with experiential insights gleaned from similar past situations (Experience, i.e., case-based reasoning) iteratively to make diagnoses, formulate treatment plans, and answer patient queries [10] . Existing medical RAG frameworks fail to capture the information from similar patients, limiting their ability to truly emulate
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MedCoG: Maximizing LLM Inference Density in Medical Reasoning via Meta-Cognitive Regulation cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Cited by top-tier papers2
- MedCoG: Maximizing LLM Inference Density in Medical Reasoning via Meta-Cognitive RegulationYu Zhao, Hao Guan, Yongcheng Jing, Ying Zhang et al.ICML 2026
- MEDA: Medical-Oriented Activation Editing for Hallucination Mitigation in Medical Large Vision-Language ModelTianbo Wang, Yuqing Ma, Lingyan Meng, Zhange Zhang et al.ICML 2026
Builds on9
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI FeedbackHarrison Lee, Samrat Phatale, Hassan Mansoor, Thomas Mesnard et al.ICML 2024 · 598 citations
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 citations
Related papers
- Experience Retrieval-Augmentation with Electronic Health Records Enables Accurate Discharge QAJustice Ou, Tinglin Huang, Yilun Zhao, Ziyang Yu et al.ACL 2026 · 9 citations
- HeteroRAG: A Heterogeneous Retrieval-Augmented Generation Framework for Medical Vision Language TasksZhe Chen, Yusheng Liao, Zhiyuan Zhu, Haolin Li et al.ACL Findings 2026 · 3 citations
- MedRAG: Enhancing Retrieval-augmented Generation with Knowledge Graph-Elicited Reasoning for Healthcare CopilotXuejiao Zhao, Siyan Liu, Su-Yin Yang, Chunyan MiaoWWW 2025 · 134 citations
- RAR²: Retrieval-Augmented Medical Reasoning via Thought-Driven RetrievalKaishuai Xu, Wenjun Hou, Yi Cheng, Wenjie LiEMNLP Findings 2025 · 2 citations
- SEMA-RAG: A Self-Evolving Multi-Agent Retrieval-Augmented Generation Framework for Medical ReasoningYongfeng Huang, Ruiying Chen, James ChengACL Findings 2026
