SelfReg-UNet: Self-Regularized UNet for Medical Image Segmentation

Wenhui Zhu, Xiwen Chen, Peijie Qiu, Mohammad Farazi, Aristeidis Sotiras, Abolfazl Razi, Yalin Wang

Abstract

While the UNet architecture remains the standard for medical image segmentation, it suffers from two critical yet often overlooked flaws: asymmetric supervision and feature redundancy. We present SelfReg-UNet, a "plug-and-play" self-regularization framework designed to address these issues. By introducing Semantic Consistency Regularization (SCR) and Internal Feature Distillation (IFD), the model leverages the final decoder layer as a "teacher" for earlier blocks and reduces redundancy within feature channels. Experimental results across four diverse medical imaging datasets—Synapse, ACDC, GlaS, and MoNuSeg—demonstrate that SelfReg-UNet achieves state-of-the-art performance with negligible extra computational cost during inference.

Introduction

In the field of medical image segmentation, the UNet architecture and its variants (such as Swin-UNet) have become the de facto standard. However, the standard training paradigm for these models often leads to a "lazy encoder" phenomenon. Because the decoder is closer to the final output and receives the strongest supervision from ground-truth labels, the encoder often fails to learn meaningful semantic representations, focusing instead on low-level noise or irrelevant boundaries. Furthermore, modern over-parameterized models frequently suffer from feature redundancy, where deep layers learn highly correlated information, wasting representational capacity.

SelfReg-UNet addresses these challenges through a novel self-regularization approach that requires no additional parameters during inference, making it an efficient and effective upgrade for existing medical imaging pipelines.

Problem Statement

The authors identify two primary bottlenecks in standard UNet training:

  1. Asymmetric Supervision: In a standard UNet, the gradient signal weakens as it flows back from the output toward the encoder. Grad-CAM visualizations reveal that while the decoder accurately identifies target organs, the encoder often activates on unrelated background regions. This suggests the encoder is not receiving sufficient semantic guidance.
  2. Feature Redundancy: Similarity analysis of feature maps indicates that while shallow layers maintain diverse information, deeper layers tend to become highly redundant. This correlation suggests that the network is not utilizing its full capacity to represent complex medical structures.

Methodology

SelfReg-UNet introduces two primary loss components to regularize the training process without adding complexity to the model's inference architecture.

Semantic Consistency Regularization (SCR)

To resolve the issue of asymmetric supervision, SCR treats the final layer of the decoder—which contains the most refined semantic information—as a "teacher." This layer provides auxiliary supervision to all preceding encoder and decoder blocks. To align the dimensions of different layers without adding trainable parameters, the authors utilize Random Channel Selection (RSC) and average pooling. This forces the encoder to develop a clear "semantic map" early in the feature extraction process.

Internal Feature Distillation (IFD)

To combat redundancy, IFD performs distillation within each individual feature map. The channels are partitioned into "shallow" and "deep" halves. The diverse information found in the shallow channels is used to guide the deeper, more redundant channels via an $L_2$ loss. This internal pressure encourages the network to learn more distinct and useful features across its entire width.

Plug-and-Play Integration

These regularization losses are added to the standard Cross-Entropy and Dice losses during training. Because these modules are only active during the training phase, the inference speed and model size remain identical to the original UNet or Swin-UNet backbone.

Experimental Results

SelfReg-UNet was evaluated on four major benchmarks, consistently outperforming both CNN-based and Transformer-based architectures.

  • Synapse Multi-Organ Segmentation: The framework improved the average Dice Similarity Coefficient (DSC) by 3.49% for the standard UNet and 1.41% for Swin-UNet.
  • ACDC (Cardiac MRI): The model achieved a 91.49% average DSC, surpassing complex state-of-the-art models like HiFormer and TransUnet.
  • GlaS and MoNuSeg: On the GlaS histology dataset, the standard UNet saw a significant 5.48% boost in DSC. Qualitative results showed cleaner segmentations with fewer false positives in the background compared to models like UCTransNet.

Discussion and Conclusion

SelfReg-UNet demonstrates that significant performance gains in medical imaging can be achieved by improving the internal dynamics of the network rather than simply increasing model depth or complexity. By enforcing semantic consistency and reducing redundancy, the model ensures that both the encoder and decoder contribute effectively to the segmentation task.

Future work may involve exploring alternative distillation methods, such as KL divergence, and testing the framework on emerging architectures like Mamba-based models. Currently, SelfReg-UNet stands as a highly effective, low-overhead solution for improving the robustness and accuracy of medical image segmentation.

Summary updated

BibTeX
@inproceedings{zhu2024selfreg,
  author = {Wenhui Zhu and Xiwen Chen and Peijie Qiu and Mohammad Farazi and Aristeidis Sotiras and Abolfazl Razi and Yalin Wang},
  title = {{SelfReg-UNet: Self-Regularized UNet for Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.1007/978-3-031-72111-3\_56},
}
Figure