CrossMed: A Multimodal Cross-Task Benchmark for Compositional Generalization in Medical Imaging
Pooja Singh, Siddhant Ujjain, Tapan Kumar Gandhi, Sandeep Kumar
TL;DR
CrossMed addresses compositional generalization for medical vision-language systems by defining MAT triplets and unifying tasks under a four-option VQA format. It shows that related MAT training yields strong CG gains and enables cross-task transfer, with zero-overlap tests revealing the remaining generalization gap. The benchmark is demonstrated on CheXpert, SIIM-ACR, BraTS 2020, and MosMedData using LLaVA-Vicuna-7B and Qwen2-VL-7B, highlighting the superiority of multimodal LLMs in compositional reasoning. These results provide a scalable testbed for zero-shot, cross-task, and modality-agnostic generalization, with practical relevance for clinical AI deployment.
Abstract
Recent advances in multimodal large language models have enabled unified processing of visual and textual inputs, offering promising applications in general-purpose medical AI. However, their ability to generalize compositionally across unseen combinations of imaging modality, anatomy, and task type remains underexplored. We introduce CrossMed, a benchmark designed to evaluate compositional generalization (CG) in medical multimodal LLMs using a structured Modality-Anatomy-Task (MAT) schema. CrossMed reformulates four public datasets, CheXpert (X-ray classification), SIIM-ACR (X-ray segmentation), BraTS 2020 (MRI classification and segmentation), and MosMedData (CT classification) into a unified visual question answering (VQA) format, resulting in 20,200 multiple-choice QA instances. We evaluate two open-source multimodal LLMs, LLaVA-Vicuna-7B and Qwen2-VL-7B, on both Related and Unrelated MAT splits, as well as a zero-overlap setting where test triplets share no Modality, Anatomy, or Task with the training data. Models trained on Related splits achieve 83.2 percent classification accuracy and 0.75 segmentation cIoU, while performance drops significantly under Unrelated and zero-overlap conditions, demonstrating the benchmark difficulty. We also show cross-task transfer, where segmentation performance improves by 7 percent cIoU even when trained using classification-only data. Traditional models (ResNet-50 and U-Net) show modest gains, confirming the broad utility of the MAT framework, while multimodal LLMs uniquely excel at compositional generalization. CrossMed provides a rigorous testbed for evaluating zero-shot, cross-task, and modality-agnostic generalization in medical vision-language models.
