Healthcare Copilot: Eliciting the Power of General LLMs for Medical Consultation

Zhiyao Ren, Yibing Zhan, Baosheng Yu, Liang Ding, Dacheng TaoarXiv 2024 · DOI

Introduction

Large Language Models (LLMs) like GPT-4 and LLaMA-2 have demonstrated impressive general medical knowledge. However, deploying them as reliable medical consultants in real-world scenarios remains challenging. General-purpose models often suffer from three primary hurdles: passive interaction styles (waiting for patient descriptions rather than asking follow-up questions), a lack of robust safety guardrails for urgent medical situations, and "memory gaps" that prevent continuity of care across multiple patient sessions.

To address these limitations, we present Healthcare Copilot, a modular framework designed to enhance general LLMs for medical consultation without requiring expensive domain-specific fine-tuning. By wrapping the LLM in specialized logic modules, the system transforms a passive text generator into a proactive, safe, and context-aware medical assistant.

System Architecture

The core innovation of Healthcare Copilot lies in its modular design, which separates the reasoning engine (the LLM) from the consultation logic and safety protocols. This "system-level" approach manages the logic and flow of a medical encounter more effectively than a standalone model.

The modular architecture of Healthcare Copilot, featuring Dialogue, Memory, and Processing components.

The architecture consists of three primary components:

  1. Dialogue Component: This includes a Function Module that classifies patient intent and executes an Inquiry Strategy to ask targeted follow-up questions. A Safety Module acts as a supervisor, filtering responses for ethical compliance and identifying life-threatening emergencies. Finally, a Doctor Module allows for human-in-the-loop verification and modification.
  2. Memory Component: To ensure continuity, the system maintains Conversation Memory for the current session and History Memory for past consultations. Long-term history is summarized and managed via a forgetting mechanism to maintain efficiency and relevance.
  3. Processing Component: At the end of a consultation, the system automatically generates a structured medical report, including the suspected condition, diagnosis, explanation, and suggestions.

Experimental Methodology

The framework was evaluated using a "virtual patient" simulation. One ChatGPT instance acted as a patient, drawing from real-world cases in the MedDialog dataset, while another instance served as an evaluator using Chain-of-Thought reasoning. Performance was benchmarked across several backbone models, including GPT-4, GPT-3.5, LLaMA-2-70b, and ChatGLM3-6B. The evaluation focused on four key metrics: Inquiry Capability, Conversational Fluency, Response Accuracy, and Response Safety, each scored on a scale of 0 to 5.

Results and Discussion

The experimental results demonstrate that the Healthcare Copilot framework significantly boosts the performance of all tested backbone models compared to their base versions.

Comparison of base LLMs versus their Copilot-enhanced versions across four key medical consultation metrics.

The most dramatic improvements were observed in Inquiry Capability. For instance, base GPT-4 scored only 1.60, as it often attempted to diagnose patients based on incomplete information. With the Copilot's Inquiry Sub-module, this score rose to 4.62, reflecting a more professional, iterative questioning process that gathers "missing evidence" before offering advice.

Response Accuracy and Safety also saw substantial gains. By utilizing the Safety Module as a dedicated "wrapper," the system consistently injected necessary medical disclaimers and correctly identified urgent symptoms requiring immediate clinical intervention. While GPT-4 remained the top performer, the framework successfully elevated smaller open-source models like LLaMA-2 to performance levels competitive with much larger proprietary models.

Conclusion

Healthcare Copilot demonstrates that a system-level approach can effectively bridge the gap between general LLM capabilities and specialized medical requirements. By prioritizing proactive inquiry and safety-first design, the framework provides a scalable path toward reliable AI-assisted medical consultation. Future work will focus on live clinical validation and improving the instruction-following capabilities of smaller open-source backbone models to ensure they can handle complex, multi-step medical logic.

Disclaimer: This framework is intended as a consultation tool for educational and research purposes and should not be used for final medical decisions without professional oversight.

Summary updated

BibTeX
@misc{ren2024healthcare,
  author = {Zhiyao Ren and Yibing Zhan and Baosheng Yu and Liang Ding and Dacheng Tao},
  title = {{Healthcare Copilot: Eliciting the Power of General LLMs for Medical Consultation}},
  year = {2024},
  eprint = {2402.13408},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.13408},
}
Figure