Abstract
Deep-DxSearch is an agentic Retrieval-Augmented Generation (RAG) system designed to transform medical diagnosis from a "black box" prediction into a traceable, iterative investigation. By employing reinforcement learning to train a Large Language Model (LLM) to actively query medical guidelines, literature, and patient records, the system achieves state-of-the-art accuracy. Crucially, it provides a verifiable "Chain of Evidence" that significantly enhances physician performance in complex diagnostic scenarios.
Introduction: Bridging the Trust Gap in AI Healthcare
While Large Language Models (LLMs) demonstrate significant potential in clinical settings, they are frequently hindered by a "trust gap." Standard models often rely on "parametric intuition"—essentially statistical predictions based on training data—which can lead to hallucinations and a lack of grounding in Evidence-Based Medicine (EBM).
Existing Retrieval-Augmented Generation (RAG) systems attempt to mitigate this by providing external data, but they are typically "one-shot" and static, performing a single search without refinement. In contrast, human clinical reasoning is inherently hypothetico-deductive: physicians iteratively form hypotheses, consult guidelines, search for similar cases, and refine their conclusions. Deep-DxSearch bridges this gap by training an AI agent to act as an active investigator rather than a passive predictor.
Methodology: Agentic Training and Reinforcement Learning
Deep-DxSearch treats the diagnostic process as a sequential decision-making problem, modeled as a Markov Decision Process. The system is trained using Reinforcement Learning (RL), specifically Group Relative Policy Optimization (GRPO), to optimize its investigative strategy.
The model is equipped with five "Clinical Primitives" represented by specific tags:
<reason>: Internal reasoning and hypothesis formation.<lookup>: Querying disease-specific guidelines.<match>: Identifying similar historical patient cases.<search>: Browsing broader biomedical literature.<diagnose>: Formulating the final clinical assessment.
Unlike systems using fixed prompts, Deep-DxSearch learns when to think internally and when to seek external evidence. The RL process utilizes a composite reward function that values not only the final diagnostic accuracy but also "soft verifiable rewards" for following clinical protocols, exploring diverse search paths, and acquiring high-quality evidence.
Data Infrastructure: The Medical Retrieval Corpus
To support the agent's investigative capabilities, the researchers constructed a comprehensive "Medical Retrieval Corpus":
- Disease Information: 16,371 guideline-derived profiles.
- Patient Records: A database of over 155,000 validated clinical cases (e.g., MIMIC-IV) for case-based reasoning.
- Biomedical Literature: A repository of over 27 million documents, including PubMed abstracts and 18 authoritative textbooks.
Evaluation was conducted on a multi-center cohort of over 24,000 cases, including specialized benchmarks for rare diseases (RareArena, RareBench) and out-of-distribution (OOD) sets.
Key Results and Clinical Impact
Deep-DxSearch demonstrates a paradigm shift from "Chain of Thought" (internal logic) to a "Chain of Evidence" (traceable audit trails). This approach yields significant performance gains across multiple metrics.
Superior Diagnostic Accuracy
The system achieved a 44.1% Top-1 accuracy, an average improvement of 22.7% over leading models like GPT-4o and DeepSeek-R1. In the challenging domain of rare disease diagnosis, performance improved by up to 31.8% compared to specialized medical foundation models.
Physician-in-the-Loop Performance
In a study involving 150 real-world cases, the presence of Deep-DxSearch as a diagnostic assistant raised physicians' average accuracy from 45.6% to 69.1%. Qualitative evaluations using both LLM-as-a-judge and physician judges confirmed high scores for clinical utility, diagnostic fidelity, and hallucination prevention.
Discussion and Limitations
The study highlights that rewarding the process of reasoning—how the model searches—yields a 13.7% accuracy boost over rewarding only the final answer. This move from "System 1" (intuitive) to "System 2" (deliberative) thinking is essential for high-stakes medical applications.
However, limitations remain:
- Knowledge Gaps: Errors often stem from missing information in the retrieval corpus.
- Modality: The current system is text-only, whereas real-world diagnosis requires multimodal data (radiology, pathology).
- Efficiency: The iterative nature of the model makes it slower than one-shot models, a trade-off for increased transparency and accuracy.
Conclusion
Deep-DxSearch represents a significant step toward trustworthy AI in healthcare. By prioritizing a traceable "Chain of Evidence" and training models to actively investigate, the system provides a verifiable framework that aligns with the rigorous standards of Evidence-Based Medicine.
Summary updated