SupReMix: Supervised Contrastive Learning for Medical Imaging Regression with Mixup
Yilei Wu, Zijian Dong, Chongyao Chen, Wangchunshu Zhou, Juan Helen Zhou
TL;DR
SupReMix tackles the challenge of learning robust representations for medical-imaging regression by introducing embedding-level mixup to create hard negatives and hard positives that encode ordinal relationships. A distance-magnifying, label-aware loss encourages continuous, globally ordered and locally linear representations, backed by theoretical guarantees. Empirically, SupReMix consistently outperforms classification-based and existing regression-focused contrastive methods across six diverse modalities (MRI, X-ray, ultrasound, PET) and tasks (brain age, bone age, ejection fraction, SUVR), including notable improvements on RSNA bone age (MAE drop from 6.79 to 4.08 months) and strong transferability and few-shot resilience. The approach also supports pretraining to boost task-specific models and enables gender-aware representations in bone-age assessment, underscoring its practical impact for robust, cross-site medical diagnostics.
Abstract
In medical image analysis, regression plays a critical role in computer-aided diagnosis. It enables quantitative measurements such as age prediction from structural imaging, cardiac function quantification, and molecular measurement from PET scans. While deep learning has shown promise for these tasks, most approaches focus solely on optimizing regression loss or model architecture, neglecting the quality of learned feature representations which are crucial for robust clinical predictions. Directly applying representation learning techniques designed for classification to regression often results in fragmented representations in the latent space, yielding sub-optimal performance. In this paper, we argue that the potential of contrastive learning for medical image regression has been overshadowed due to the neglect of two crucial aspects: ordinality-awareness and hardness. To address these challenges, we propose Supervised Contrastive Learning for Medical Imaging Regression with Mixup (SupReMix). It takes anchor-inclusive mixtures (mixup of the anchor and a distinct negative sample) as hard negative pairs and anchor-exclusive mixtures (mixup of two distinct negative samples) as hard positive pairs at the embedding level. This strategy formulates harder contrastive pairs by integrating richer ordinal information. Through theoretical analysis and extensive experiments on six datasets spanning MRI, X-ray, ultrasound, and PET modalities, we demonstrate that SupReMix fosters continuous ordered representations, significantly improving regression performance.
