GSCo: Towards Generalizable AI in Medicine via Generalist-Specialist Collaboration

Sunan He, Yuxiang Nie, Hongmei Wang, Shu Yang, Yihui Wang, Zhiyuan Cai, Zhixuan Chen, Yingxue Xu, Luyang Luo, Huiling Xiang, Xi Lin, Mingxiang Wu, Yifan Peng, George Shih, Ziyang Xu, Xian Wu, Qiong Wang, Ronald Cheong Kin Chan, Varut Vardhanabhuti, Winnie Chiu Wing Chu, Yefeng Zheng, Pranav Rajpurkar, Kang Zhang, Hao ChenarXiv 2024 · arXiv

TL;DR

This paper introduces Generalist-Specialist Collaboration (GSCo), a novel framework that combines the broad generalizability of a medical foundation model with the precision of lightweight specialist models. Along with the framework, the authors release MedDr, a 40-billion-parameter open-source medical generalist model, demonstrating that collaborative inference significantly boosts diagnostic accuracy—especially on out-of-domain clinical data.

What Problem Does This Paper Address?

Artificial intelligence in medicine faces a classic trade-off between generalizability and precision. Generalist Foundation Models (GFMs) possess vast medical knowledge and can handle multiple modalities (text, images) and tasks (visual question answering, report generation), but they often lack precision on specific, niche datasets. Conversely, specialist models (like a finely-tuned ResNet for chest X-rays) are highly accurate within their narrow domain but fail when faced with out-of-domain data or different tasks.

The authors address this gap by asking: Can we combine the broad reasoning of a generalist with the laser-focused precision of a specialist?

Methods

The GSCo framework operates in two main stages:

  1. Construction: The authors develop MedDr, a 40B parameter generalist foundation model consisting of a 6B vision encoder and a 34B large language model. Simultaneously, a series of lightweight, low-cost specialist models (standard computer vision architectures like ResNet, DenseNet, and ViTs) are trained on specific downstream datasets.
  2. Collaborative Inference: During testing, the generalist and specialists work together via two new cooperative mechanisms:
  3. Mixture-of-Expert Diagnosis (MoED): The test image is fed to multiple specialist models. Their predictions are aggregated and passed to MedDr as reference context, guiding the final decision.
  4. Retrieval-Augmented Diagnosis (RAD): Specialist models act as retrievers, finding the top-$k$ most visually similar cases from a medical database. The metadata and diagnoses of these historical cases are provided to MedDr as in-context examples.
Overview of the GSCo framework and performance evaluation

Datasets

  • Training Data: The training corpus consists of over 2 million samples. To enrich the data, the authors introduced two new synthetic datasets: Diagnosis-Guided Bootstrapping (DGB) (detailed medical reports generated by prompting a general-domain GFM with human-verified visual diagnosis labels) and Medical Image Description (DES) (image descriptions derived from case studies, filtered to remove non-visual data).
  • Evaluation Benchmark: The authors curated a large-scale benchmark featuring 28 public datasets containing approximately 250,000 images across 5 distinct clinical modalities: radiology, pathology, dermatology, ophthalmology, and gastroenterology. This includes 14 in-domain and 14 out-of-domain datasets.

Key Insights and Ideas

  • The Generalist as an Intelligent Decision-Maker: Unlike simple ensemble methods like majority voting, MedDr does not blindly trust the specialists. Qualitative analysis showed that if the specialists provide conflicting or incorrect guidance, MedDr can leverage its own intrinsic medical knowledge to override them and deliver the correct diagnosis.
  • Privacy-Preserving Knowledge Integration: Because specialists are lightweight and trained independently, hospitals can train local specialists on private, highly regulated data (Protected Health Information) and share only the lightweight models or their inferences. This safeguards data confidentiality while still enriching the generalist's context.
  • Efficient Clinical Adaptation: Instead of computationally expensive fine-tuning of a 40B parameter model for every new clinical environment, practitioners can simply train a lightweight specialist model on consumer hardware (like a single NVIDIA 4090) to plug into the GSCo framework.

Key Results

  • MedDr Standalone Performance: MedDr consistently outperformed existing medical GFMs (such as RadFM, LLaVA-Med, and Med-Flamingo) across visual question answering and report generation tasks. For instance, on the OmniMedVQA benchmark, MedDr established state-of-the-art performance with a 62.98% overall accuracy.
Comparison of GFMs across diverse medical tasks
  • GSCo Synergy: The collaborative framework achieved the highest overall performance on medical image diagnosis. In binary, multiclass, and multilabel classification benchmarks, GSCo outperformed both the standalone generalist model and the best specialist models. For example, it achieved an 86.21% accuracy in binary classification compared to the best specialist's 82.90%.
Overall performance on multilabel classification tasks

Limitations and Future Work

Despite the strong results, the authors note several limitations that pave the way for future research:

  • Clinical Validation: The framework has only been validated on public benchmarks; further exploration in real-world clinical practice is required to substantiate its utility.
  • Retrieval Accuracy: The current vision-based retrieval method (RAD) can still struggle to guarantee the accuracy of retrieved samples, meaning multimodal retrieval strategies need to be explored.
  • Advanced Collaboration Paradigms: Future work will look into more interactive collaboration patterns between generalists and specialists, such as incorporating Chain-of-Thought (CoT) prompting to facilitate joint reasoning.

Summary updated

Abstract

Generalist foundation models (GFMs) are renowned for their exceptional capability and flexibility in effectively generalizing across diverse tasks and modalities. In the field of medicine, while GFMs exhibit superior generalizability based on their extensive intrinsic knowledge as well as proficiency in instruction following and in-context learning, specialist models excel in precision due to their domain knowledge. In this work, for the first time, we explore the synergy between the GFM and specialist models, to enable precise medical image analysis on a broader scope. Specifically, we propose a cooperative framework, Generalist-Specialist Collaboration (GSCo), which consists of two stages, namely the construction of GFM and specialists, and collaborative inference on downstream tasks. In the construction stage, we develop MedDr, the largest open-source GFM tailored for medicine, showcasing exceptional instruction-following and in-context learning capabilities. Meanwhile, a series of lightweight specialists are crafted for downstream tasks with low computational cost. In the collaborative inference stage, we introduce two cooperative mechanisms, Mixture-of-Expert Diagnosis and Retrieval-Augmented Diagnosis, to harvest the generalist's in-context learning abilities alongside the specialists' domain expertise. For a comprehensive evaluation, we curate a large-scale benchmark featuring 28 datasets and about 250,000 images. Extensive results demonstrate that MedDr consistently outperforms state-of-the-art GFMs on downstream datasets. Furthermore, GSCo exceeds both GFMs and specialists across all out-of-domain disease diagnosis datasets. These findings indicate a significant paradigm shift in the application of GFMs, transitioning from separate models for specific tasks to a collaborative approach between GFMs and specialists, thereby advancing the frontiers of generalizable AI in medicine.
BibTeX
@misc{he2024gsco,
  author = {Sunan He and Yuxiang Nie and Hongmei Wang and Shu Yang and Yihui Wang and Zhiyuan Cai and Zhixuan Chen and Yingxue Xu and Luyang Luo and Huiling Xiang and Xi Lin and Mingxiang Wu and Yifan Peng and George Shih and Ziyang Xu and Xian Wu and Qiong Wang and Ronald Cheong Kin Chan and Varut Vardhanabhuti and Winnie Chiu Wing Chu and Yefeng Zheng and Pranav Rajpurkar and Kang Zhang and Hao Chen},
  title = {{GSCo: Towards Generalizable AI in Medicine via Generalist-Specialist Collaboration}},
  year = {2024},
  eprint = {2404.15127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.15127},
}
Figure