Leveraging the Structure of Medical Data for Improved Representation Learning

Andrea Agostini, Sonia Laguna, Alain Ryser, Samuel Ruipérez-Campillo, Moritz Vandenhirtz, Nicolas Deperrois, Farhad Nooralahzadeh, Michael Krauthammer, Thomas M. Sutter, Julia E. VogtarXiv 2025 · DOI

Introduction

Foundation models have revolutionized natural language processing and computer vision, primarily through pretraining on massive internet-scale datasets. However, the medical domain faces a unique challenge: clinical datasets like MIMIC-CXR are significantly smaller (hundreds of thousands vs. billions of images), and expert annotations are prohibitively expensive.

Standard self-supervised learning (SSL) techniques often treat medical images as independent entities, ignoring the rich structural information inherent in clinical practice. For instance, a single chest X-ray exam typically includes both frontal and lateral views. This paper proposes a framework to exploit this "free" structural redundancy to learn robust, view-invariant representations without requiring external text reports or manual labels.

Methodology

The authors introduce two self-supervised pretraining paradigms that utilize the multi-view structure of medical exams, both built upon Vision Transformer (ViT) backbones.

  1. Multiview Masked Autoencoder (MVMAE): This approach extends the standard MAE by adding a late-fusion alignment objective. While the model independently reconstructs masked patches from frontal and lateral views, a Mean Squared Error (MSE) loss forces the latent representations of these paired views to align in the embedding space.
  2. Contrastive Learning: Inspired by SimCLR, this method discards the reconstruction task. It encodes both views and extracts representations from the [CLS] token. A contrastive loss pulls together the embeddings of the same patient study (positive pairs) while pushing apart embeddings from different studies (negative pairs).

Datasets and Evaluation

The models were pretrained on the MIMIC-CXR dataset, specifically filtered for studies containing both frontal (AP/PA) and lateral (LL) projections. For downstream evaluation, the authors used 14 diagnostic labels from the CheXpert labeler. The performance was measured across varying levels of label availability, from 5,000 to over 100,000 labeled studies, to test label efficiency.

Key Results

The proposed methods demonstrate significant improvements in label efficiency compared to standard supervised baselines.

Downstream performance on lateral view classification as a function of labeled data size |L|.
  • Superior Performance with Limited Data: When fine-tuned on only 5,000 labeled samples, the MVMAE model achieved an AUROC of 0.75 on frontal views, markedly higher than the 0.69 AUROC of a supervised model trained from scratch. The contrastive approach also performed strongly, hitting 0.74 AUROC.
  • Structural Alignment vs. Ensembling: Interestingly, the unimodal performance of the pretrained models matched or exceeded that of supervised models that ensembled both views at inference time. This suggests that enforcing structural alignment during pretraining allows the model to capture more fundamental anatomical semantics.
  • Fine-Tuning Necessity: The authors noted that end-to-end fine-tuning is critical. Linear probing (training only a classifier on a frozen encoder) resulted in a significant performance drop (e.g., 0.65 AUROC for MVMAE with 5K labels), indicating that task-specific adaptation of the backbone is necessary.

Conclusion

This work highlights that the inherent structure of medical data—such as multi-view imaging—is a powerful and "free" supervisory signal. By aligning these views during pretraining, models can learn highly informative representations that reduce the reliance on large-scale expert annotations. This modality-agnostic blueprint offers a scalable path toward developing clinical foundation models for various structured data types, including multi-sequence MRI and longitudinal CT scans.

Summary updated

BibTeX
@misc{agostini2025leveraging,
  author = {Andrea Agostini and Sonia Laguna and Alain Ryser and Samuel Ruipérez-Campillo and Moritz Vandenhirtz and Nicolas Deperrois and Farhad Nooralahzadeh and Michael Krauthammer and Thomas M. Sutter and Julia E. Vogt},
  title = {{Leveraging the Structure of Medical Data for Improved Representation Learning}},
  year = {2025},
  eprint = {2507.02987},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.02987},
}
Figure