Introduction
In many healthcare systems, particularly in regions with high population density, medical resources are often misallocated. Specialist doctors in tertiary hospitals are frequently overwhelmed by patients with minor ailments that could be handled through preliminary triage. This "light consultation" gap presents a significant opportunity for automated systems. However, building an AI doctor requires balancing structured medical reasoning with the efficiency of human-like dialogue.
The Proposed Framework
This research introduces a hybrid framework that treats medical diagnosis as a goal-oriented game. The system aims to reach a correct diagnosis using the minimum number of questions, effectively navigating a Knowledge Graph (KG) to find the shortest path to clinical certainty. The architecture consists of four primary components:
- Semantic Embedding (TransE): To handle the complexity of medical terminology, the system utilizes Translation-based Embedding (TransE). This model maps discrete entities—574 diseases and 941 symptoms from the SNOMED CT database—into a 512-dimensional vector space, allowing the AI to compute relationships between medical concepts mathematically.
- Diagnosis Network: This three-layer fully connected network processes the symptoms collected during an interaction to output a probability distribution across potential diseases.
- Decision-making Network: Acting as a "gatekeeper," this component evaluates the confidence of the Diagnosis Network. It determines whether the current evidence is sufficient to conclude the consultation or if further inquiry is required.
- Action Network (The RL Core): The heart of the system is a Policy Gradient reinforcement learning agent. It treats the consultation as a Markov Decision Process, where the "Actor" (the system) interacts with an "Environment" (the Knowledge Graph) to decide which symptom to inquire about next.
Training Strategies and Reward Shaping
Training a reinforcement learning agent in a medical context presents unique challenges. To ensure convergence and efficiency, the authors employed two key strategies: Boltzmann Exploration and Reward Shaping.
Boltzmann Exploration prevents the agent from becoming stuck in local optima by allowing it to occasionally explore less obvious diagnostic paths. More critically, Reward Shaping provides a "guiding hand" during the early stages of training.
As shown in the figure above, the system initially relies heavily on known symptom-disease relationships to guide the agent's actions. Over 5,000 training steps, this guidance parameter decays, forcing the agent to rely on its learned policy to maximize rewards. The reward structure penalizes redundant questions (-1) and rewards the identification of critical symptoms (+1), teaching the AI to be both accurate and concise.
Experimental Results
The framework was evaluated using 2,000 simulated patient cases derived from the SNOMED CT dataset. The results demonstrate a high level of diagnostic proficiency:
- Accuracy: The system achieved a Top-1 accuracy of 88.7% and a Top-5 accuracy of 97%.
- Efficiency: On average, the system reached a conclusion in just 15 interactions, with a median of 11 questions. Even in complex cases, the interaction length remained manageable, peaking at 35 questions.
Discussion and Future Work
While the results are promising, several hurdles remain for real-world deployment. The current system operates on structured data; a production version would require a Natural Language Processing (NLP) layer to interpret patient descriptions, which are often vague or non-standard. Furthermore, the reliance on a Knowledge Graph means the system's "knowledge" is limited by the completeness of the underlying database.
Future research will focus on integrating robust NLP components and conducting clinical trials to compare the system's performance against human practitioners in real-world triage scenarios. By bridging the gap between structured medical logic and flexible reinforcement learning, this framework moves us closer to scalable, automated healthcare assistance.
Summary updated