MedAdaptAgent: An Automatic Harness for Adapting Medical Imaging Models to New Sites
Hanxue Gu, Zhonghao Liu, Xingrui Gu, Kang Wang, Yang Yang
Key points
From the paper's conclusion- We present MedAdaptAgent, an automatic harness that turns a supplied model, target data, and a free-text request into a new-site adaptation workflow.
Abstract
Reusing pretrained medical-imaging models offers an alternative to training from scratch. A model trained for the same task may perform poorly at a new hospital because imaging protocols and preprocessing differ. Effective adaptation depends on the model architecture, domain shift, and available labels and compute. Adaptation can improve scores on a small labeled set yet reduce performance on unseen data. We present MedAdaptAgent, an automatic harness that turns a supplied model, target data, and a free-text request into a new-site adaptation workflow. Its LLM-driven Adaptation Planner uses model-site evidence to choose compatible experiments and revise subsequent adjustments. The harness requires evidence of improvement over the pretrained model, then delivers the selected model as a complete, runnable package. Evaluation spans 26 segmentation and classification transfers across architectures and compute settings, with segmentation annotation budgets ranging from zero-shot transfer to few-shot adaptation. With 20 local annotations, mean segmentation Dice rises from 0.483 to 0.774 across 10 transfers, a 60.1% relative gain, with no harmful replacements. Mean classification AUROC rises from 0.810 to 0.837 across 13 transfers, a 3.4% relative gain. Comparing adapted models with the pretrained model reduces harmful classification replacements by 30.8% versus selecting the highest-scoring model on the available labels, using identical candidates. Seven public-model deployments demonstrate adaptation and reproducible package delivery across contrast and modality shifts. A CT-to-MRI study extends the evaluation to four LLM planners, including two open-weight models. We release the code on GitHub.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Autoadaptive medical segment anything modelScientific Reports · 2026
- Medical Image Segmentation: Foundation Model Adaptation versus Task-Specific TrainingarXiv · 2026
- Adaptation of foundation models in medical image analysis: mechanisms, evidence, and deployment considerationsArtificial Intelligence Review · 2026
- AutoAdapt: Reliable Few-Shot Adaptation under Clinical Distribution ShiftsarXiv · 2026
- PACE-MoE: Adaptive Domain Sampling and Domain-Specific LoRA for Medical Visual GroundingarXiv · 2026
- Segment Anything Models for medical image segmentation: From native capabilities to clinical requirements.Computerized medical imaging and graphics : the official journal of the Computerized Medical Imaging Society · 2026