Repository Record

Clinical Tools

Deep-DxSearch

by MAGIC-AI4Med

View on GitHub
84stars
10forks
Python
Apache-2.0

About

Deep-DxSearch is an end-to-end agentic RAG system for traceable diagnostic reasoning that jointly optimizes retrieval and reasoning using LLM-based reinforcement learning. It operates through five structured action modes (reason, lookup, match, search, diagnose) and distinguishes from prior work by providing real control of medical retrieval and reasoning, covering both knowledge enhancement and similar case retrieval.

Tech Stack

PythonPyTorchTransformersverlSGLangFastAPIQwen2.5LLaMA

Research Paper

View Paper

Quick Start

conda create -n DiagRL python==3.10 && conda activate DiagRL && cd verl && pip3 install torch==2.4.0 --index-url https://download.pytorch.org/whl/cu124 && pip3 install -e . && pip3 install -r requirements.txt