cs.CVMar 17, 2026

Pixel-level Counterfactual Contrastive Learning for Medical Image Segmentation

Authors: Marceau Lafargue-Hauret, Raghav Mehta, Fabio De Sousa Ribeiro, Mélanie Roschewitz, Ben Glocker

Organizations: Department of Computing, Imperial College London, UK

Abstract

Image segmentation relies on large annotated datasets, which are expensive and slow to produce. Silver-standard (AI-generated) labels are easier to obtain, but they risk introducing bias. Self-supervised learning, needing only images, has become key for pre-training. Recent work combining contrastive learning with counterfactual generation improves representation learning for classification but does not readily extend to pixel-level tasks. We propose a pipeline combining counterfactual generation with dense contrastive learning via Dual-View (DVD-CL) and Multi-View (MVD-CL) methods, along with supervised variants that utilize available silver-standard annotations. A new visualisation algorithm, the Color-coded High Resolution Overlay map (CHRO-map) is also introduced. Experiments show annotation-free DVD-CL outperforms other dense contrastive learning methods, while supervised variants using silver-standard labels outperform training on the silver-standard labeled data directly, achieving ∼\sim94% DSC on challenging data. These results highlight that pixel-level contrastive learning, enhanced by counterfactuals and silver-standard annotations, improves robustness to acquisition and pathological variations.

Figures & tables

Explore similar work

CardsList
  1. SPARC: SuperPixel-Aware Region Contrastive Learning for Self-Supervised Dense Prediction

    Sep 16, 2026David Szczecina, Yuanpei Xiang, Jitao Hu +4Self-Supervised Visual Representation LearningContrastive Learning

  2. ConPro: Contrast Projection Pretraining for Label-Efficient Vessel Segmentation in DSA Sequences

    Sep 24, 2026Xinge Guo, Yuanhao Wang, Liqi Shu +2Medical ImagingSemi-Supervised Medical Image Segmentation

  3. Semantic Class Distribution Learning for Debiasing Semi-Supervised Medical Image Segmentation

    Mar 5, 2026Yingxue Su, Yiheng Zhong, Keying Zhu +7Semi-Supervised Medical Image SegmentationClass-Imbalanced Learning