Revisiting CLIP: Efficient Alignment of 3D MRI and Tabular Data using Domain-Specific Foundation Models
Jakob Krogh Petersen, Valdemar Licht, Mads Nielsen, Asbjørn Munk
TL;DR
This work demonstrates CLIP-style alignment between native 3D brain MRI and tabular data by training domain-specific 3D MRI encoders pretrained with foundation-model techniques. It introduces an embedding accumulation strategy to scale negative samples across multiple batches, enabling stable training with limited 3D data. The approach yields meaningful zero-shot classification and retrieval signals, with Swin-T as a strong image encoder and BERT-based tabular encoding, while highlighting the challenges of zero-shot image retrieval on very small datasets. The study provides code and model weights, underscoring practical potential for domain-specific multi-modal alignment in medicine despite data scarcity.
Abstract
Multi-modal models require aligned, shared embedding spaces. However, common CLIP-based approaches need large amounts of samples and do not natively support 3D or tabular data, both of which are crucial in the medical domain. To address these issues, we revisit CLIP-style alignment by training a domain-specific 3D foundation model as an image encoder and demonstrate that modality alignment is feasible with only 62 MRI scans. Our approach is enabled by a simple embedding accumulation strategy required for training in 3D, which scales the amount of negative pairs across batches in order to stabilize training. We perform a thorough evaluation of various design choices, including the choice of backbone and loss functions, and evaluate the proposed methodology on zero-shot classification and image-retrieval tasks. While zero-shot image-retrieval remains challenging, zero-shot classification results demonstrate that the proposed approach can meaningfully align the representations of 3D MRI with tabular data.
