Introduction
REFUEL is a reinforcement learning (RL) framework designed to make medical "symptom checkers" faster and more accurate. By introducing reward shaping to encourage the discovery of positive symptoms and feature rebuilding to learn symptom correlations, the model successfully navigates the "needle-in-a-haystack" problem of sparse medical data, significantly outperforming standard RL baselines and previous state-of-the-art methods.
The Challenge: Sparse Medical Data
Online self-diagnosis is a growing trend, but most symptom checkers are either inaccurate or inefficient. From a machine learning perspective, disease diagnosis is a sequential decision process: a doctor (or agent) must decide which questions to ask to reach an accurate diagnosis with the fewest possible queries.
The authors identify two major hurdles for deep RL in this domain:
- Large Search Space: There are hundreds of possible diseases and symptoms.
- Sparse Feature Space: A patient typically suffers from only a handful of symptoms out of hundreds of possibilities.
Standard RL agents struggle here because they usually only receive a reward at the very end (a correct or incorrect diagnosis). In a sparse environment, an agent might ask dozens of questions, receive "no" for every answer, and wander aimlessly without ever finding the "positive" symptoms needed to make a call.
Methods: The REFUEL Architecture
The authors propose REFUEL (REward shaping and FeatUrE rebuiLding), which augments the standard REINFORCE algorithm with two novel components:
- Potential-Based Reward Shaping: To give the agent "breadcrumbs" during the search, the authors provide an auxiliary reward whenever the agent discovers a positive symptom. Crucially, they use a principled "potential function" approach. This ensures policy invariance—meaning the added rewards guide the agent toward the goal faster without accidentally changing what the "optimal" diagnosis would be.
- Feature Rebuilding (Representation Learning): The model uses a dual-branch neural network architecture.
As shown in the architecture diagram, the network splits into two branches:
- The Policy Branch ($\pi$) decides which symptom to ask about or which diagnosis to make.
- The Rebuilding Branch ($z$) tries to reconstruct the patient's entire symptom profile (including unasked questions) from the partial information gathered so far.
By forcing the model to minimize a reconstruction loss (binary cross-entropy), the shared layers are pressured to learn the underlying correlations between symptoms (e.g., if a patient has a "runny nose," they are likely to also have a "sore throat"). This acts as a form of self-supervision, allowing the model to develop an internal "medical logic" without researchers having to manually hard-code medical rules.
Datasets
Due to strict medical privacy laws (HIPAA), real-world clinical datasets are difficult to access for large-scale RL training. The authors used a simulation procedure established in prior work:
- Source: Generative models based on CDC (Centers for Disease Control and Prevention) records.
- Scale: The full distribution covers 650 diseases and 376 symptoms.
- Benchmarks: They created specific subsets for Top-200, Top-300, and Top-400 diseases to test scalability. They also compared against a 2018 AAAI benchmark featuring tasks with 73, 136, 196, and 255 diseases.
Key Results
The experimental results demonstrate that REFUEL is both faster and more accurate than the alternatives.
- Accuracy Boost: In the most difficult 400-disease task, the baseline RL model failed completely (near 0% accuracy), while REFUEL achieved 43.8% Top-1 and 67.1% Top-5 accuracy.
- Efficiency in Discovery: In the 400-disease case, the baseline agent found an average of only 0.01 positive symptoms per session. REFUEL found 1.31, proving it is much more effective at "hunting" for relevant information.
- Beating the State-of-the-Art: When compared to the previous best-performing hierarchical model (AAAI 2018), REFUEL nearly doubled the Top-1 accuracy on the 255-disease dataset (50.66% vs 26.26%).
Limitations and Future Work
- Simulated Data: While the simulation is based on real CDC statistics, it may not capture the full complexity, noise, or "human factor" of real-world clinical interactions.
- Binary Features: The current model assumes symptoms are binary (present/absent). The authors note that real-world symptoms often have degrees of severity or continuous values.
- Future Directions: The authors plan to extend REFUEL to handle continuous features and have already begun deploying the system in a service called "DeepQuest" across several hospitals to gather real-world feedback.
Summary updated