FIT: a Fast and Accurate Framework for Solving Medical Inquiring and Diagnosing Tasks

Weijie He, Xiaohao Mao, Chao Ma, José Miguel Hernández-Lobato, Ting Chen

TL;DR

This paper introduces BSODA, a novel non-RL framework for online disease diagnosis that efficiently handles large symptom spaces. By decoupling symptom inquiry and disease diagnosis into two cooperative branches, BSODA achieves better scalability and accuracy than existing RL methods, making it more practical for real-world online health services.

What Problem Does This Paper Address?

The paper tackles the challenge of online disease diagnosis, a process where individuals use online tools to identify their medical conditions based on reported symptoms. This self-diagnosis is often a sequential process: asking about symptoms, then diagnosing. While Reinforcement Learning (RL) has been used for this, it struggles with the vast number of symptoms (features) encountered in real-world scenarios, leading to inefficiency and poor scalability. The authors aim to create a more efficient, scalable, and accurate system for online symptom checking, especially for large symptom sets.

Methods

BSODA is a "Bipartite Scalable framework for Online Disease diAgnosis." It consists of two main, cooperating branches:

  • Inquiry Branch: This branch decides which symptom to ask about next. It uses an information-theoretic reward signal, similar to prior work (EDDI), but with key improvements:
  • Product-of-Experts (PoE) Encoder: To better handle incomplete symptom information (when a patient doesn't report a symptom), BSODA uses a PoE encoder. This is more robust than previous VAE-based approaches for large feature sets.
  • Two-Step Sampling Strategy: To estimate the reward more accurately and efficiently, BSODA employs a novel two-step sampling process. It leverages both a generative model (VAE) and a diagnostic model to approximate the joint posterior distribution of symptoms and diseases.
  • Speedup Techniques: To make the reward estimation computationally feasible for online services, BSODA incorporates:
  • Symptom Filtering: Using prior knowledge to prune irrelevant candidate symptoms.
  • Approximation Methods: Reducing the number of disease combinations to evaluate for reward calculation.
  • Diagnosis Branch: This branch predicts the disease based on the collected symptoms. It uses a knowledge-guided self-attention model. This model embeds relationships between symptoms and diseases, incorporating prior medical knowledge to improve diagnostic accuracy.

BSODA also incorporates a termination criterion that uses both the inquiry and diagnosis models to decide when to stop asking questions and provide a diagnosis.

Datasets

The paper evaluates BSODA on a variety of datasets:

  • Synthetic Datasets:
    • SymCAT: Used to build synthetic tasks with varying numbers of diseases (200, 300, 400).
  • HPO-Synthetic: A synthetic dataset derived from the Human Phenotype Ontology (HPO) database, used to create tasks with thousands of features and a large number of diseases (500, 1000). This is designed to test scalability.
  • Real-World Datasets:
    • MuZhi: A medical dialogue dataset with 4 diseases and 66 symptoms.
  • Dxy: Another medical dialogue dataset with 5 diseases and 41 symptoms.
  • HPO-HMS & HPO-MME: Real-world rare disease datasets derived from HPO, with 83 and 43 cases respectively. These are used to test transferability from synthetic to real-world scenarios.

The authors also propose a novel evaluation method to assess the transferability of symptom checking methods from synthetic to real-world tasks.

Key Insights and Ideas

  • Decoupling for Scalability: Separating the symptom inquiry and disease diagnosis tasks into distinct but cooperating branches is crucial for handling large symptom spaces, where monolithic RL approaches falter.
  • Product-of-Experts for Robustness: The PoE encoder proves more effective than standard VAEs in dealing with missing symptom information, a common issue in real-world user interactions.
  • Leveraging Diagnosis for Inquiry: Using the diagnosis model to refine the reward estimation for symptom inquiry leads to more accurate and efficient decision-making in the inquiry branch.
  • Knowledge Integration is Key: The knowledge-guided self-attention mechanism in the diagnosis branch significantly improves accuracy by incorporating prior medical knowledge.
  • Synthetic-to-Real Transfer is Hard: While synthetic data is useful for training and testing scalability, there's a notable gap in performance when transferring models to real-world datasets, highlighting the complexity of real-world medical data.

Key Results

  • Outperforms State-of-the-Art: BSODA consistently outperforms existing RL baselines (REFUEL, GAMP) across various datasets, especially on tasks with a large number of diseases.
  • Improved Accuracy: BSODA achieves higher Top1, Top3, and Top5 accuracy, particularly for Top3 and Top5 predictions, indicating a more comprehensive understanding of potential diagnoses.
  • Scalability: BSODA demonstrates significantly better performance and scalability on large symptom spaces (e.g., HPO-Synthetic dataset with 13,032 symptoms) compared to RL methods.
  • Efficiency: The speedup techniques (filtering and approximation) reduce the computational cost of reward estimation by up to 70x, making BSODA practical for online services.
  • Case Study: A case study on the Dxy dataset shows BSODA making more informed symptom inquiries, leading to a correct diagnosis, whereas a baseline RL method made a hasty, incorrect diagnosis.

Limitations and Future Work

  • Inquiry Branch Lacks Medical Knowledge: The inquiry branch currently doesn't explicitly leverage medical knowledge, which might lead to inquiry strategies that differ from how human doctors interact with patients. Future work could address this.
  • Co-morbidity Not Addressed: The current framework assumes a single disease diagnosis. Handling co-morbidities (multiple diseases) is a common real-world scenario that BSODA doesn't directly support, though the authors suggest it could be extended by training a multi-label diagnosis model.
  • Synthetic Data Gap: The performance gap between synthetic and real-world datasets remains a challenge. The authors acknowledge that synthetic data generation models often make oversimplified assumptions about symptom-disease relationships.
  • Evaluation of Transferability: The paper introduces a novel evaluation method for transferability, but further research is needed to bridge the gap between synthetic and real-world performance.

Summary updated

Abstract

A growing number of people are seeking healthcare advice online. Usually, they diagnose their medical conditions based on the symptoms they are experiencing, which is also known as self-diagnosis. From the machine learning perspective, online disease diagnosis is a sequential feature (symptom) selection and classification problem. Reinforcement learning (RL) methods are the standard approaches to this type of tasks. Generally, they perform well when the feature space is small, but frequently become inefficient in tasks with a large number of features, such as the self-diagnosis. To address the challenge, we propose a non-RL Bipartite Scalable framework for Online Disease diAgnosis, called BSODA. BSODA is composed of two cooperative branches that handle symptom-inquiry and disease-diagnosis, respectively. The inquiry branch determines which symptom to collect next by an information-theoretic reward. We employ a Product-of-Experts encoder to significantly improve the handling of partial observations of a large number of features. Besides, we propose several approximation methods to substantially reduce the computational cost of the reward to a level that is acceptable for online services. Additionally, we leverage the diagnosis model to estimate the reward more precisely. For the diagnosis branch, we use a knowledge-guided self-attention model to perform predictions. In particular, BSODA determines when to stop inquiry and output predictions using both the inquiry and diagnosis models. We demonstrate that BSODA outperforms the state-of-the-art methods on several public datasets. Moreover, we propose a novel evaluation method to test the transferability of symptom checking methods from synthetic to real-world tasks. Compared to existing RL baselines, BSODA is more effectively scalable to large search spaces.
BibTeX
@inproceedings{he2022fit,
  author = {Weijie He and Xiaohao Mao and Chao Ma and José Miguel Hernández-Lobato and Ting Chen},
  title = {{FIT: a Fast and Accurate Framework for Solving Medical Inquiring and Diagnosing Tasks}},
  booktitle = {The Web Conference},
  year = {2022},
  url = {https://openreview.net/forum?id=02S0V6S0gTb},
}
Figure