CheXmix: Unified Generative Pretraining for Vision Language Models in Medical Imaging
About
Recent medical multimodal foundation models are built as multimodal LLMs (MLLMs) by connecting a CLIP-pretrained vision encoder to an LLM using LLaVA-style finetuning. This two-stage, decoupled approach introduces a projection layer that can distort visual features. This is especially concerning in medical imaging where subtle cues are essential for accurate diagnoses. In contrast, early-fusion generative approaches such as Chameleon eliminate the projection bottleneck by processing image and text tokens within a single unified sequence, enabling joint representation learning that leverages the inductive priors of language models. We present CheXmix, a unified early-fusion generative model trained on a large corpus of chest X-rays paired with radiology reports. We expand on Chameleon's autoregressive framework by introducing a two-stage multimodal generative pretraining strategy that combines the representational strengths of masked autoencoders with MLLMs. The resulting models are highly flexible, supporting both discriminative and generative tasks at both coarse and fine-grained scales. Our approach outperforms well-established generative models across all masking ratios by 6.0% and surpasses CheXagent by 8.6% on AUROC at high image masking ratios on the CheXpert classification task. We further inpaint images over 51.0% better than text-only generative models and outperform CheXagent by 45% on the GREEN metric for radiology report generation. These results demonstrate that CheXmix captures fine-grained information across a broad spectrum of chest X-ray tasks. Our code is at: https://github.com/StanfordMIMI/CheXmix.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Radiology Report Generation | Radiology Report Generation Dataset 1,000 image (random sample) | GREEN Score0.224 | 20 | |
| Image-to-Text Retrieval | Medical Image-Report Retrieval | Recall50.1 | 18 | |
| Text-to-Image Retrieval | Medical Image-Report Retrieval | Recall48.9 | 18 | |
| Image Inpainting | Chest X-rays random sample of 5,000 images (test) | PSNR24.13 | 16 | |
| Findings Classification | CheXpert 40% masking (test) | AUROC0.702 | 7 | |
| Findings Classification | CheXpert 60% masking (test) | AUROC0.689 | 7 | |
| Findings Classification | CheXpert 80% masking (test) | AUROC0.656 | 7 | |
| Report Generation | ReXGradient-160K External Validation (test) | GREEN21.7 | 7 | |
| Findings Classification | CheXpert 0% masking (test) | AUROC0.712 | 7 | |
| Findings Classification | CheXpert 20% masking (test) | AUROC0.705 | 7 |