Conditional diffusion model with spatial attention and latent embedding for medical image segmentation

Behzad Hejrati, Soumyanil Banerjee, Carri Glide-Hurst, Ming Dong
2/10/2025
eess.IVcs.CV

Official code: Hejrati/cDAL (49 stars, last commit 2025-07-01).

Abstract

Diffusion models have been used extensively for high quality image and video generation tasks. In this paper, we propose a novel conditional diffusion model with spatial attention and latent embedding (cDAL) for medical image segmentation. In cDAL, a convolutional neural network (CNN) based discriminator is used at every time-step of the diffusion process to distinguish between the generated labels and the real ones. A spatial attention map is computed based on the features learned by the discriminator to help cDAL generate more accurate segmentation of discriminative regions in an input image. Additionally, we incorporated a random latent embedding into each layer of our model to significantly reduce the number of training and sampling time-steps, thereby making it much faster than other diffusion models for image segmentation. We applied cDAL on 3 publicly available medical image segmentation datasets (MoNuSeg, Chest X-ray and Hippocampus) and observed significant qualitative and quantitative improvements with higher Dice scores and mIoU over the state-of-the-art algorithms. The source code is publicly available at https://github.com/Hejrati/cDAL/.

View on arXivView PDF

Code Implementations(1)

Hejrati/cDALOfficial100%

Conditional diffusion model with spatial attention and latent embedding for medical image segmentation

496C++, CudaJun 27, 20241 years agoNOASSERTION
diffusion-modelsimage-segmentationmiccai2024

Similar Papers

Cite this paper

@article{hejrati2025conditional,
  title  = {Conditional diffusion model with spatial attention and latent embedding for medical image segmentation},
  author = {Behzad Hejrati and Soumyanil Banerjee and Carri Glide-Hurst and Ming Dong},
  year   = {2025},
  eprint = {2502.06997},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.06997v2}
}

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

Discussion