Mitigating Spurious Invariance in Contrastive Learning: A Probabilistic Self-Supervised Learning Framework for Medical Image Analysis

Wei Wei, Yading Yuan
11/3/2026
1 citation
cs.CV
contrastive-ssl

Official code: wwzjer/ProbSSL (0 stars, Python, Apache-2.0, last commit 2026-11-05).

Abstract

Owing to the prohibitive cost of manual annotation for enormous medical images, self-supervised learning (SSL) has gained substantial attention and shown promise in various medical imaging tasks. Among SSL approaches, contrastive learning has emerged as a prominent one, encouraging models to encode semantic information that remains invariant between different augmented views.

Show full abstract

However, this invariance can be spurious for medical images, as subtle but critical medical features can be suppressed during augmentations. In this paper, we mitigate this issue by encoding the learned feature embeddings as probability distributions rather than fixed vectors, thus capturing a richer and more nuanced spectrum of information. Furthermore, we propose a unified probabilistic framework that seamlessly integrates multiple SSL approaches. Our method achieves superior performance over the state-of-the-art SSL methods on various downstream tasks across multiple datasets, including medical image segmentation and classification. We further validate the method through additional analyses of robustness to stronger augmentations, label efficiency under limited fine-tuning labels, and computational trade-offs. The code is released at https://github.com/wwzjer/ProbSSL.

View on arXivView PDF

Code Implementations(1)

wwzjer/ProbSSLOfficial100%
Apache-2.0
00Python, ShellApr 3, 20263 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{wei2026mitigating,
  title  = {Mitigating Spurious Invariance in Contrastive Learning: A Probabilistic Self-Supervised Learning Framework for Medical Image Analysis},
  author = {Wei Wei and Yading Yuan},
  year   = {2026},
  eprint = {2611.05734},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.05734v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.05734.svg)](https://codeofpaper.com/paper/2611.05734)

Discussion