cs.CVNov 23, 2026

WaDiS: Boundary-Preserving Diffusion Segmentation via Multi-Scale Wavelet Conditioning and Frequency-Aware Gating

Authors: Qiang Gao, Yi Wang, Yong Zhang, Bin Fang, Yong Li, Lan Du, Cunjian Chen

Organizations: Department of Data Science and AI, Monash University, Melbourne, Australia · College of Computer Science, Chongqing University, Chongqing, China

Abstract

Diffusion models have shown strong potential in medical image segmentation due to their generative capabilities and robustness. However, existing methods often struggle to preserve fine anatomical boundaries and to retain multi-scale structural information due to the loss of spatial and frequency details during feature encoding, particularly in complex clinical imaging conditions. This work presents WaDiS, a wavelet-powered conditional latent diffusion framework for medical image segmentation that addresses these limitations through multi-scale wavelet conditioning and frequency-aware information filtering for boundary preservation. The model adopts a multi-scale wavelet conditioning encoder to retain rich structural features, leveraging its lossless nature to better preserve semantic priors critical to the diffusion process. In addition, a Frequency-Aware Gating Block (FAGB) is introduced into the skip connections of the diffusion U-Net, enabling adaptive spectral filtering and residual fusion to better emphasize boundary structures while reducing irrelevant content. To improve generalization across clinical domains, we adopt a structure-preserving color augmentation strategy during training. Specifically, global color statistics are transferred between samples in the LAB color space, allowing the model to decouple appearance from structure and focus more on anatomical shape rather than color bias. Experiments on five benchmark datasets demonstrate that WaDiS consistently outperforms existing diffusion-based and conventional segmentation methods, with notable improvements in boundary accuracy, robustness to noise, and generalization under color variation. The code for this work will be made publicly available upon acceptance.

Figures & tables

Explore similar work

Mar 9, 2026

Structure and Progress Aware Diffusion for Medical Image Segmentation

Medical image segmentation is crucial for computer-aided diagnosis, which necessitates understanding both coarse morphological and semantic structures, as well as carving fine boundaries. The morphological and semantic structures in medical images are beneficial and stable clues for target understanding. While the fine boundaries of medical targets (like tumors and lesions) are usually ambiguous and noisy since lesion overlap, annotation uncertainty, and so on, making it not reliable to serve as early supervision. However, existing methods simultaneously learn coarse structures and fine boundaries throughout the training process. In this paper, we propose a structure and progress-aware diffusion (SPAD) for medical image segmentation, which consists of a semantic-concentrated diffusion (ScD) and a boundary-centralized diffusion (BcD) modulated by a progress-aware scheduler (PaS). Specifically, the semantic-concentrated diffusion introduces anchor-preserved target perturbation, which perturbs pixels within a medical target but preserves unaltered areas as semantic anchors, encouraging the model to infer noisy target areas from the surrounding semantic context. The boundary-centralized diffusion introduces progress-aware boundary noise, which blurs unreliable and ambiguous boundaries, thus compelling the model to focus on coarse but stable anatomical morphology and global semantics. Furthermore, the progress-aware scheduler gradually modulates noise intensity of the ScD and BcD forming a coarse-to-fine diffusion paradigm, which encourage focusing on coarse morphological and semantic structures during early target understanding stages and gradually shifting to fine target boundaries during later contour adjusting stages.
Aug 26, 2026

Unsupervised Anatomical Feature Learning via Diffusion Models: Enhanced Medical Image Segmentation with Denoising Diffusion Probabilistic Models

Acquiring pixel-level annotations for medical image segmentation is a severe bottleneck. Traditional U-Net architectures, while effective, learn local texture patterns and lack awareness of global anatomical structures, leading to boundary delineation failures in low-data regimes. This research paper proposes utilizing unsupervised Denoising Diffusion Probabilistic Models (DDPMs) to extract anatomical features. We train a DDPM on 21 unlabeled abdominal CT scans to learn structural representations, transferring the encoder weights to a downstream segmentation task evaluated on the BTCV multi-organ dataset. Diffusion pretraining significantly improved liver segmentation: Dice increased from 0.75±0.360.75\pm0.36 to 0.93±0.160.93\pm0.16 (p<5.33×10−26p < 5.33\times10^{-26}, 0.529 Cohen's d), Average Surface Distance (ASD) decreased by 66%, and 95th-percentile Hausdorff Distance (HD95) reduced by 45%. For kidney segmentation, Dice improved from 0.90±0.190.90\pm0.19 to 0.95±0.100.95\pm0.10 (p<4.01×10−11p < 4.01\times10^{-11}). Multi-organ pooled performance showed a 68% variance reduction and a 74% improvement in boundary precision (Dice 0.95±0.070.95\pm0.07). Crucially, frozen encoder models retained > 80% of fine-tuned performance without exposure to segmentation labels, proving the existence of learned anatomical priors. In low-data scenarios, diffusion-pretrained models maintained robust performance with only 50% (Dice: 0.92 liver, 0.94 kidney), 25%, and even 10% (Dice: 0.89 liver, 0.71 kidney) of labeled data. Using unlabeled images for diffusion-based pretraining successfully embeds robust anatomical features prior to human supervision, transforming U-Nets into anatomy-aware systems.
Apr 21, 2026

MedFlowSeg: Flow Matching for Medical Image Segmentation with Frequency-Aware Attention

Flow matching has recently emerged as a principled framework for learning continuous-time transport maps, enabling efficient ODE-based sampling without relying on stochastic diffusion processes. While generative modeling has shown promise for medical image segmentation, particularly in capturing uncertainty and complex anatomical variability, existing approaches are predominantly based on diffusion models, which require iterative sampling and incur substantial computational overhead. In this work, we propose MedFlowSeg, a conditional flow matching framework that formulates medical image segmentation as learning a time-dependent vector field that transports a simple prior distribution to the target segmentation distribution. Compared to diffusion-based methods, our formulation enables more efficient inference through solving an ordinary differential equation, while preserving the flexibility of generative modeling. To effectively incorporate conditional information, we introduce a dual-conditioning mechanism. Specifically, we propose a Dual-Branch Spatial Attention (DB-SA) module to inject multi-frequency structural priors, and a Frequency-Aware Attention (FA-Attention) module to model interactions between spatial and spectral representations via discrepancy-aware fusion and time-dependent modulation. These components improve the alignment between noisy intermediate states and clean semantic features, leading to better structural consistency and boundary delineation. We conduct extensive experiments across multiple medical imaging modalities, where MedFlowSeg consistently outperforms prior state-of-the-art (SOTA) baselines, including diffusion-based and flow-based methods.