MedCoAct: Confidence-Aware Multi-Agent Collaboration for Complete Clinical Decision

Hongjie Zheng, Zesheng Shi, Ping YiarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) have demonstrated proficiency in isolated medical tasks but often struggle with integrated clinical workflows that require transitioning from diagnosis to medication prescription. We present MedCoAct (Medical Collaborative Action), a dual-agent framework that simulates professional clinical collaboration between a Doctor Agent and a Pharmacist Agent. By incorporating role specialization and a confidence-aware reflection mechanism, MedCoAct mitigates hallucination propagation and improves decision-making accuracy. Evaluated on our new DrugCareQA benchmark, MedCoAct achieves a 7% performance gain over single-agent systems, highlighting the efficacy of multi-agent orchestration in complex medical scenarios.

1. Introduction

While AI has made strides in medical examinations and report summarization, real-world clinical practice demands a cohesive pipeline from symptom analysis to treatment planning. Existing single-agent AI systems often process these steps in isolation, leading to "hallucination propagation"—where a minor diagnostic error cascades into a dangerous medication recommendation. Furthermore, these systems lack the cross-validation typical of human medical teams, where specialists provide second opinions and verify treatment safety.

The challenges of single-agent medical systems, including hallucination propagation and lack of benchmarks.

To address these gaps, we introduce MedCoAct, a framework designed to mimic the collaborative nature of healthcare teams, and DrugCareQA, a benchmark for evaluating the full "diagnosis-to-medication" pipeline.

2. Methodology: The MedCoAct Framework

MedCoAct employs a dual-agent architecture to simulate professional medical collaboration:

  • Role Specialization: The framework divides labor between a Doctor Agent, tasked with symptom analysis and diagnosis, and a Pharmacist Agent, focused on drug indications, contraindications, and dosages.
  • Collaborative Workflow: The Doctor Agent formulates a diagnostic plan, which the Pharmacist Agent then reviews. The Pharmacist can autonomously decide to adopt the diagnosis or request further clarification before generating a personalized prescription.
  • Confidence-Aware Reflection: To prevent reasoning collapses, agents utilize an "internal critic." If confidence in retrieved data or reasoning falls below a threshold, the system triggers an iterative optimization loop to re-plan and re-query.
  • Specialized RAG: A two-stage Retrieval-Augmented Generation (RAG) architecture provides role-specific knowledge, ensuring the Doctor accesses clinical guidelines while the Pharmacist retrieves pharmaceutical data.

3. The DrugCareQA Benchmark

To evaluate integrated decision-making, we developed DrugCareQA, a dataset comprising 2,700 real-world medical consultation cases sourced from Chinese online platforms and PubMed clinical reports.

The multi-stage construction and human expert review pipeline for the DrugCareQA benchmark.

The dataset construction involved rigorous data preprocessing and a multi-layer verification process. Cases were cross-checked against 300 medical textbooks and underwent final adjudication by senior medical experts to ensure clinical reasoning, symptom-disease fit, and safety.

4. Results and Discussion

MedCoAct achieved 67.58% Top-1 accuracy in both diagnosis and medication recommendation, representing a significant improvement (~7%) over standard single-agent RAG systems.

Key insights from our evaluation include:

  • Division of Labor: Specialization allows models to achieve higher precision. The Pharmacist Agent proved more effective at extracting actionable insights when focused solely on pharmaceutical data.
  • Prescription Fragility: Ablation studies showed that medication tasks are highly sensitive to the removal of specialized agents, as they depend heavily on the integrity of the preceding diagnostic reasoning.
  • Safety via Reflection: The self-reflection loop successfully prevented the model from following low-quality search results, improving performance by restarting the search process when uncertainty was high.

5. Conclusion

MedCoAct demonstrates that multi-agent collaboration and confidence-aware reflection can significantly enhance the reliability of AI in clinical workflows. While performance remains tied to the capabilities of the underlying LLM, this framework provides a robust foundation for future multidisciplinary medical AI systems. Future work will focus on extending the framework to more complex specialties and refining inter-agent communication protocols.

Summary updated

BibTeX
@misc{zheng2025medcoact,
  author = {Hongjie Zheng and Zesheng Shi and Ping Yi},
  title = {{MedCoAct: Confidence-Aware Multi-Agent Collaboration for Complete Clinical Decision}},
  year = {2025},
  eprint = {2510.10461},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.10461},
}
Figure