Contrastive Learning with Diffusion Features for Weakly Supervised Medical Image Segmentation
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
Weakly supervised semantic segmentation (WSSS) methods using class labels often rely on class activation maps (CAMs) to localize objects. However, traditional CAM-based methods struggle with partial activations and imprecise object boundaries due to optimization discrepancies between classification and segmentation. Recently, the conditional diffusion model (CDM) has been used as an alternative for generating segmentation masks in WSSS, leveraging its strong image generation capabilities tailored to specific class distributions. By modifying or perturbing the condition during diffusion sampling, the related objects can be highlighted in the generated images. Yet, the saliency maps generated by CDMs are prone to noise from background alterations during reverse diffusion. To alleviate the problem, we introduce Contrastive Learning with Diffusion Features (CLDF), a novel method that uses contrastive learning to train a pixel decoder to map the diffusion features from a frozen CDM to a low-dimensional embedding space for segmentation. Specifically, we integrate gradient maps generated from CDM external classifier with CAMs to identify foreground and background pixels with fewer false positives/negatives for contrastive learning, enabling robust pixel embedding learning. Experimental results on four segmentation tasks from two public medical datasets demonstrate that our method significantly outperforms existing baselines.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 20 of its 24 references that are in the map. First posted on arXiv 30 Jun 2025.
Builds on
20 of 24 references.
Closest ancestors · 4
Same direction, newest first
- 2023Conditional Diffusion Models for Weakly Supervised Medical Image Segmentation6 Jun
- 2022Fast Unsupervised Brain Anomaly Detection and Segmentation with Diffusion Models7 Jun
- 2021Diffusion Models for Implicit Image Segmentation Ensembles6 Dec
- 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec
Other references · 16
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
- 2020Supervised Contrastive Learningcited by 2,829
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
- 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 582
- 2021The RSNA-ASNR-MICCAI BraTS 2021 Benchmark on Brain Tumor Segmentation and Radiogenomic Classificationcited by 518
- 2020Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentationcited by 300
4 more
- 2022Diffusion models as plug-and-play priorscited by 231
- 2019Smooth Grad-CAM++: An Enhanced Inference Level Visualization Technique for Deep Convolutional Neural Network Modelscited by 118
- 2021Pseudo-mask Matters in Weakly-supervised Semantic Segmentationcited by 48
- 2023AME-CAM: Attentive Multiple-Exit CAM for Weakly Supervised Segmentation on MRI Brain Tumorcited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Enhancing Label-efficient Medical Image Segmentation with Text-guided Diffusion Models
- 2025Conditional diffusion model with spatial attention and latent embedding for medical image segmentation
- 2024Latent Diffusion for Medical Image Segmentation: End to end learning for fast sampling and accuracy
- 2025Diff-CL: A Novel Cross Pseudo-Supervision Method for Semi-supervised Medical Image Segmentation
- 2026SD-FSMIS: Adapting Stable Diffusion for Few-Shot Medical Image Segmentation
- 2023Stochastic Segmentation with Conditional Categorical Diffusion Models
- 2025Semi-Supervised Biomedical Image Segmentation via Diffusion Models and Teacher-Student Co-Training
- 2025Robust Noisy Pseudo-label Learning for Semi-supervised Medical Image Segmentation Using Diffusion Model