# Adaptive Top-K Algorithm for Medical Conversational Diagnostic Model

**Authors:** Yiqing Yang, Guoyin Zhang, Yanxia Wu, Zhixiang Zhao, Yan Fu

PMC · DOI: 10.3390/e26090740 · Entropy · 2024-08-30

## TL;DR

This paper introduces an optimized Top-K algorithm for medical diagnostic systems that improves accuracy and response speed in telemedicine.

## Contribution

The study proposes an adaptive Top-K algorithm that dynamically adjusts disease and symptom processing for faster and more accurate differential diagnoses.

## Key findings

- The algorithm achieves a diagnostic accuracy of 99.81%.
- It improves system response speed by 1.3–1.9 times compared to existing systems.
- The method enhances the exclusion rate of severe pathologies.

## Abstract

With advancements in computing technology and the rapid progress of data science, machine learning has been widely applied in various fields, showing great potential, especially in digital healthcare. In recent years, conversational diagnostic systems have been used to predict diseases through symptom checking. Early systems predicted the likelihood of a single disease by minimizing the number of questions asked. However, doctors typically perform differential diagnoses in real medical practice, considering multiple possible diseases to address diagnostic uncertainty. This requires systems to ask more critical questions to improve diagnostic accuracy. Nevertheless, such systems in acute medical situations need to process information quickly and accurately, but the complexity of differential diagnosis increases the system’s computational cost. To improve the efficiency and accuracy of telemedicine diagnostic systems, this study developed an optimized algorithm for the Top-K algorithm. This algorithm dynamically adjusts the number of the most likely diseases and symptoms by real-time monitoring of case progress, optimizing the diagnostic process, enhancing accuracy (99.81%), and increasing the exclusion rate of severe pathologies. Additionally, the Top-K algorithm optimizes the diagnostic model through a policy network loss function, effectively reducing the number of symptoms and diseases processed and improving the system’s response speed by 1.3–1.9 times compared to the state-of-the-art differential diagnosis systems.

## Full-text entities

- **Diseases:** Truth Pathological (MESH:D005598), injury to people or property (MESH:C000719191)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC11431395/full.md

## Figures

1 figure with captions in the complete paper: https://tomesphere.com/paper/PMC11431395/full.md

## References

21 references — full list in the complete paper: https://tomesphere.com/paper/PMC11431395/full.md

---
Source: https://tomesphere.com/paper/PMC11431395