MDAgents: An Adaptive Collaboration of LLMs for Medical Decision-Making

Yubin Kim, Chanwoo Park, Hyewon Jeong, Yik Siu Chan, Xuhai Xu, Daniel McDuff, Hyeonhoon Lee, Marzyeh Ghassemi, Cynthia Breazeal, Hae Won Park

TL;DR

MDAgents is a novel multi-agent framework that mimics real-world clinical workflows by automatically "triaging" medical queries. It adaptively decides whether a task requires a single Large Language Model (LLM) acting as a "General Practitioner" or a collaborative "Multidisciplinary Team" of specialized agents. This dynamic approach outperforms static methods on 7 out of 10 major medical benchmarks.

The Challenge of Clinical Complexity

While LLMs have shown flashes of brilliance in medicine, they often struggle with the sheer breadth and complexity of clinical decision-making. Current approaches usually fall into two camps: a "solo" model, which might be overwhelmed by complex cases, or a "static group" of models, which is computationally expensive and often overkill for simple questions.

In the real world, medicine doesn't work this way. A primary care physician handles straightforward cases but refers complex, multi-system issues to a specialist or a multidisciplinary team. The authors of MDAgents identified a critical gap: AI frameworks lacked this adaptive, tiered approach. They set out to build a system that could assess the complexity of a medical query and assemble the right "team" for the job on the fly.

The MDAgents Framework

The MDAgents framework operates in four distinct stages, emulating a professional clinical hierarchy:

The MDAgents framework dynamically assigns a collaboration structure based on the complexity of the medical query.
  1. Medical Complexity Check: A "Moderator" LLM acts as a triage officer, classifying the query as Low, Moderate, or High complexity based on established medical constructs like acuity and comorbidity.
  2. Expert Recruitment: Based on the complexity, a "Recruiter" LLM enlists specific agents.
  3. Low: A single Primary Care Clinician (PCC).
  4. Moderate: A Multidisciplinary Team (MDT) of specialists.
  5. High: An Integrated Care Team (ICT) designed for deep, multi-stage analysis.
  6. Analysis and Synthesis: Solo agents use standard prompting (like Chain-of-Thought). Groups engage in multi-turn collaborative discussions. If they disagree, the Moderator provides feedback to help them converge. For the highest complexity, teams generate comprehensive reports that are synthesized into a final narrative.
  7. Final Decision: The system integrates all discussions, reports, and external knowledge to provide a single, well-reasoned answer.

Unlike previous multi-agent systems that use a fixed number of agents, MDAgents scales its "brainpower" to match the problem.

An example workflow of MDAgents handling a moderate-complexity multimodal query, showcasing expert recruitment and collaborative discussion.

Datasets and Evaluation

The researchers evaluated MDAgents across 10 diverse benchmarks covering three critical areas:

  • Medical Knowledge Retrieval: MedQA (USMLE style), PubMedQA, and MedBullets.
  • Diagnostic Reasoning: DDXPlus and SymCat (synthetic patient cases), and JAMA Clinical Challenges.
  • Medical Visual Interpretation: Path-VQA (pathology images), PMC-VQA (general medical images), MIMIC-CXR (chest X-rays), and MedVidQA (medical videos).

Key Insights and Results

  • State-of-the-Art Performance: MDAgents achieved the best performance in 7 out of 10 benchmarks, showing a significant improvement of up to 4.2% ($p < 0.05$) over previous best-performing methods.
  • The "Triage" LLM is Highly Effective: An LLM acting as a complexity classifier can provide an optimal complexity level with at least 80% probability, suggesting LLMs have a "meta-awareness" of what they find difficult.
  • More is Not Always Better: In group settings, performance peaked at $N=3$ agents. Adding more agents beyond that often led to diminishing returns or "noise" that hurt accuracy, highlighting the importance of the Recruiter's role.
  • Moderation + Knowledge = Power: The single biggest boost (an 11.8% average improvement) came from combining Moderator Review (structured feedback during discussion) with external medical literature retrieval.
  • Efficiency Gains: By using a single agent for "Low" complexity tasks, MDAgents significantly reduces API costs and latency compared to "always-on" multi-agent frameworks, without sacrificing accuracy.
  • Multi-modal Success: The system was particularly strong in interpreting images and videos, outperforming single-model GPT-4V by significant margins in datasets like Path-VQA and PMC-VQA.

Limitations and Future Work

The authors are transparent about several hurdles. First, most evaluations were done on multiple-choice datasets, whereas real-world medicine is open-ended and requires interactive dialogue. Second, while the LLM's complexity classification was useful for the AI, its correlation with human physician complexity ratings was relatively low, suggesting AI and humans perceive difficulty differently. Finally, despite collaborative checks, the risk of "groupthink" or collective hallucinations remains a concern in high-stakes settings.

Moving forward, the team aims to incorporate medical-specific foundation models and move toward "Patient-Centered Diagnosis," where agents can interactively ask the patient for more information when uncertainty is high.

Summary updated

BibTeX
@inproceedings{kim2024mdagents,
  author = {Yubin Kim and Chanwoo Park and Hyewon Jeong and Yik Siu Chan and Xuhai Xu and Daniel McDuff and Hyeonhoon Lee and Marzyeh Ghassemi and Cynthia Breazeal and Hae Won Park},
  title = {{MDAgents: An Adaptive Collaboration of LLMs for Medical Decision-Making}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=EKdk4vxKO4},
}
Figure