CoDiR: Confidence-Guided Diffusion Refinement for Semi-Supervised Histopathology Segmentation

Hoai Nhan Pham, Dang-Nguyen Bui, Le-Van Thai, Thanh-Hiep Vo, Lan Anh Dinh Thi +5 more
8/12/2026
cs.CV
diffusion-flow

Official code: vongla345/codir (1 star, Python, last commit 2026-06-25).

Abstract

Semi-supervised histopathology segmentation is challenging due to scarce annotations and unreliable pseudo-labels in ambiguous gland regions. To address this problem, we propose Confidence-Guided Diffusion Refinement (CoDiR), a semi-supervised framework that combines a Mean Teacher segmentation model with diffusion-based pseudo-label refinement.

Show full abstract

Given an unlabeled image, the teacher first produces a soft prediction, and only low-confidence regions are refined by a conditional diffusion model trained to capture plausible mask structures from labeled data. The refined mask is then fused with reliable teacher predictions and used to train the student with confidence weighting and consistency regularization. On the GlaS and CRAG datasets CoDiR reaches 88.09\% and 89.83\% mDice with 10\% labeled data, and 89.19\% and 90.29\% mDice with 20\%, matching or exceeding the strongest published method on seven of the eight benchmark metrics. Ablations attribute the largest single contribution to the refinement module, which adds +6.36\% mDice over the Mean Teacher baseline. The implementation code is publicly available at: https://github.com/vongla345/codir

View on arXivView PDF

Code Implementations(1)

vongla345/codirOfficial100%
10PythonJun 25, 20265 months ago

Similar Papers

Cite this paper

@article{pham2026codir,
  title  = {CoDiR: Confidence-Guided Diffusion Refinement for Semi-Supervised Histopathology Segmentation},
  author = {Hoai Nhan Pham and Dang-Nguyen Bui and Le-Van Thai and Thanh-Hiep Vo and Lan Anh Dinh Thi and Tien Dat Nguyen and Duy-Dong Nguyen and Ngoc Lam Quang Bui and Tam Tran and Zhi Huang},
  year   = {2026},
  eprint = {2608.11807},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.11807v1}
}

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

Discussion