TopoCL: Topological Contrastive Learning for Medical Imaging

Guang-Yu Meng, Peng-Fei Gu, Pei-Xian Liang, John P. Lalor, Erin W. Chambers +1 more
3/1/2026
transformer-attentionmoecontrastive-ssl

No confident code implementation found for this paper.

Abstract

Contrastive learning (CL) has become a powerful approach for learning representations from unlabeled images. However, existing CL methods focus predominantly on visual appearance features while neglecting topological characteristics (e.g., connectivity patterns, boundary configurations, cavity formations) that provide valuable cues for medical image analysis.

Show full abstract

To address this limitation, we propose a new topological CL framework (TopoCL) that explicitly exploits topological structures during contrastive learning for medical imaging. Specifically, we first introduce topology-aware augmentations that control topological perturbations using a relative bottleneck distance between persistence diagrams, preserving medically relevant topological properties while enabling controlled structural variations. We then design a Hierarchical Topology Encoder that captures topological features through self-attention and cross-attention mechanisms. Finally, we develop an adaptive mixture-of-experts (MoE) module to dynamically integrate visual and topological representations. TopoCL can be seamlessly integrated with existing CL methods. We evaluate TopoCL on five representative CL methods (SimCLR, MoCo-v3, BYOL, DINO, and Barlow Twins) and five diverse medical image classification datasets. The experimental results show that TopoCL achieves consistent improvements: an average gain of +3.26% in linear probe classification accuracy with strong statistical significance, verifying its effectiveness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{meng2026topocl,
  title  = {TopoCL: Topological Contrastive Learning for Medical Imaging},
  author = {Guang-Yu Meng and Peng-Fei Gu and Pei-Xian Liang and John P. Lalor and Erin W. Chambers and D. Chen},
  year   = {2026},
  eprint = {2603.14647},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2603.14647},
  journal = {Computer Vision and Pattern Recognition}
}

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/2603.14647.svg)](https://codeofpaper.com/paper/2603.14647)

Discussion