---
title: 'MDTeamGPT: Multi-disciplinary Medical LLM'
url: https://www.emergentmind.com/topics/mdteamgpt
type: topic
---

# MDTeamGPT: Multi-disciplinary Medical LLM

MDTeamGPT is a collaborative large language model (LLM) framework for multi-disciplinary team (MDT) medical consultation, implementing expertise-aware multi-agent orchestration, evidence-driven consensus, and self-evolution via structured knowledge bases. It combines adaptive recruitment of specialist expert agents with adversarial and consensus-driven answer synthesis, continuous learning from consultation history, and robust evaluation against physician-generated benchmarks. MDTeamGPT is positioned as a high-accuracy, interpretable, and adaptable architecture for both clinical decision support and medical question answering, capable of handling real-world complexity in medical team workflows [2503.13856][2508.13754].

## 1. System Architecture and Agent Roles

MDTeamGPT operationalizes a multi-stage agent-based workflow, reflecting key MDT processes in clinical settings. The architecture typically comprises:

- **Patient Agent:** Presents case background $B$ and medical query $Q$.
- **Primary Care Doctor Agent:** Receives $(B, Q)$, selects required specialist roles $\text{Roles}\subseteq\mathcal S$ (e.g., General Internal Medicine, Radiology, Neurology), and justifies selection.
- **Specialist Doctor Agents:** Parallel instantiation for each specialty in $\mathcal S$, generating candidate answers per round.
- **Lead Physician Agent:** Aggregates and summarizes specialist outputs across four categories: Consistency, Conflict, Independence, Integration. Drives consensus aggregation.
- **Chain-of-Thought Reviewer Agent:** Extracts reasoning steps and updates knowledge bases (CorrectKB/ChainKB) with correct and erroneous chains, respectively.
- **Safety & Ethics Reviewer Agent:** Validates final output for safety/ethical compliance.

The system employs a **residual discussion structure**: each specialist prompt in round $i+1$ accesses prior summaries ($S^4_i, S^4_{i-1}$) to minimize information loss and enable experience reuse across rounds [2503.13856].

## 2. Expertise-Aware Recruitment and Dynamic Agent Selection

At its core, MDTeamGPT implements an *Expertise-aware Multi-LLM Recruitment and Collaboration* (EMRC) framework. Its primary stages are:

1. **LLM Expertise Table Construction:** Offline, a publicly available corpus (e.g., MedQA-valid) is used to record for each candidate LLM its classification and answering accuracy across medical departments and difficulty levels.
2. **Dynamic Agent Selection:** Online, given a medical query $Q$, MDTeamGPT classifies $Q$ by department/difficulty, consults the expertise table, and recruits the top $N$ LLMs using a scoring function $S_n^{ans} = \beta\;\text{Acc}^{n,d} + (1-\beta)\;\text{Acc}^{n,l}$ (where $d$ is department, $l$ is difficulty, $\beta\in[0.5,0.8]$).
3. **Confidence Fusion:** Each agent returns answer $R_i$ and self-confidence $c_i$; a fused score $\text{Conf}_i = \alpha c_i + (1-\alpha) S_i^{ans}$ ($\alpha\in[0.3,0.7]$) weights the agent in voting or aggregation.
4. **Adversarial Validation:** The highest-scoring agent is assigned as Judge, provides error signals or critiques for peer agents, and may trigger answer refinement.
5. **Final Aggregation:** Aggregator LLM combines all responses, confidences, and error signals to produce the final diagnosis or recommendation $\hat y$ [2508.13754].

Parameter selection (e.g., $N_{max}=4$ agents, $2$ collaboration layers) is validated empirically for robustness and efficiency.

## 3. Consensus Aggregation, Residual Discussion, and Knowledge Bases

MDTeamGPT’s answer synthesis relies on both formal consensus protocols and persistent learning across sessions:

- **Consensus Rule:** After each round, outputs $o_{i,k}$ from all $k$ specialists are compared. If all agree, the answer is accepted; otherwise, after $N=\text{max\_rounds}$, majority voting is applied.
- **Residual Discussion:** Specialist prompts in round $i + 1$ are augmented by four-category summaries $S^4_i$, $S^4_{i-1}$ constructed by the Lead Physician Agent, facilitating memory-efficient, stable convergence [2503.13856].
- **Structured Knowledge Bases:**
  - *CorrectKB:* Archives correct question–answer–summary quadruplets for fast retrieval and case augmentation in future sessions.
  - *ChainKB:* Captures full error-chain trajectories for incorrect cases, including analysis process and error reflections. Similarity-based retrieval injects top $K$ past chains to inform ongoing consultations.
- **Self-Evolution:** After each session, the final output is cross-verified against a gold label; CorrectKB or ChainKB are updated accordingly. Retrieval from these stores enables few-shot in-context learning without explicit model fine-tuning.

## 4. Orchestration, Implementation, and Practical Guidance

MDTeamGPT is designed for scalability and maintainability in real-world settings. Key considerations include:

- **Orchestration:** Each agent is wrapped as a microservice; a central controller handles $Q$ classification, agent selection, fanning out queries, collecting responses and confidences, running the Judge module, and aggregating.
- **Scalability:** Dynamic instantiation of up to four agents per query balances diversity and computational load; microservice caching and periodic expertise table refresh cycles improve performance.
- **Latency and Throughput:** Multi-round group discussions incur higher latency (seconds per query), justified by improved accuracy (e.g., $90.1\%$ MedQA, $83.9\%$ PubMedQA; average $87.0\%$) [2503.13856]. Adaptive recruitment in EMRC improves scalability over static agent pools [2508.13754].
- **Safety and Monitoring:** Role-based safety/effectiveness reviewers, logging, and consistent output vetting are advised for compliance and mitigation of hallucinations and ethical risk.

## 5. Empirical Performance and Benchmarking

MDTeamGPT has been evaluated on standard medical QA benchmarks and ablation studies:

| Method / Dataset             | MedQA Acc | PubMedQA Acc | Avg Acc |
|------------------------------|-----------|--------------|---------|
| Single-Agent                 | 77.4%     | 75.3%        | 76.4    |
| Multi-expert Prompting       | 86.6%     | 82.7%        | 84.2    |
| MedAgents [13]               | 83.7%     | 76.8%        | 80.3    |
| MDTeamGPT (self-evolving, full)| **90.1%**| **83.9%**    | **87.0**|

Ablation confirms that removing residual discussion, lead physician aggregation, or either CorrectKB/ChainKB degrades accuracy by 2–10%. EMRC methodology on MMLU-Pro-Health achieves $+2.69\%$ over GPT-4-0613 and $+4\%$ over naive multi-agent selection [2508.13754][2503.13856].

## 6. Evaluation and Ethical Considerations

Rigorous evaluation, both quantitative and qualitative, is integral to MDTeamGPT’s deployment:

- **Criteria:** Considers medical professional accuracy, logic, informativeness, expansiveness, social interaction, empathy, and computational robustness [2305.07340], incorporating multi-expert contextual and conflict-resolution metrics.
- **Evaluation Protocols:** Blind scoring by clinicians, stratified specialty/difficulty performance monitoring, and dedicated ablation for conflict resolution and evidence synthesis robustness are recommended [2503.13856].
- **Ethics and Safety:** Advisory boards, user flagging mechanisms, bias audits, and privacy safeguards (HIPAA/GDPR compliance, de-identification) mitigate risks of misdiagnosis, data breaches, and health disparities [2506.13805].

## 7. Future Directions and Limitations

MDTeamGPT’s foundational architecture is extensible across several axes:

- **Incorporation of Retrieval-Augmented Generation (RAG):** Integration of federated, multi-institutional knowledge sources (e.g., UMLS, SNOMED CT, PubMed) for real-time evidence retrieval [2506.13805][2503.13856].
- **Online Learning:** Per-query expertise updating and agent performance tracking for dynamic expertise table refinement.
- **Human-in-the-Loop:** Deferred handoff to clinicians for low-confidence or high-risk cases.
- **Multi-Modal Expansion:** Enabling radiology, pathology, EHR text, and structured laboratory data handling via multi-modal LLMs [2411.00248][2404.15155].
- **Efficiency Optimizations:** Early-exit consensus, dynamic agent scheduling, and memory-efficient inference for deployment at clinical scale.
- **Benchmarking:** Continuous comparison against public and in-the-wild clinical dialogue datasets, adopting and extending the MedGPTEval rubric for robust, interpretable assessment [2305.07340].

Limitations include persistent risks from foundational LLM hallucinations, table staleness as new models emerge, and untested real-world robustness in clinical environments. Ongoing work is required on real-world datasets, dynamic agent orchestration, and further integration of ethical and regulatory frameworks.

Source: https://www.emergentmind.com/topics/mdteamgpt