Abstract
Semantic segmentation is a crucial prerequisite in clinical applications and computer-aided diagnosis. With the development of deep neural networks, biomedical image segmentation has achieved remarkable success. Encoder-decoder architectures that integrate convolutions and transformers are gaining attention for their potential to capture both global and local features. However, current designs face the contradiction that these two features cannot be continuously transmitted. In addition, some models lack a unified and standardized evaluation benchmark, leading to significant discrepancies in the experimental setup. In this study, we review and summarize these architectures and analyze their contradictions in design. We modify UNet and propose WNet to combine transformers and convolutions, addressing the transmission issue effectively. WNet captures long-range dependencies and local details simultaneously while ensuring their continuous transmission and multi-scale fusion. We integrate WNet into the nnUNet framework for unified benchmarking. Our model achieves state-of-the-art performance in biomedical image segmentation. Extensive experiments demonstrate their effectiveness on four 2D datasets (DRIVE, ISIC-2017, Kvasir-SEG, and CREMI) and four 3D datasets (Parse2022, AMOS22, BTCV, and ImageCAS). The code is available at https://github.com/Yanfeng-Zhou/nnWNet.
Introduction
Biomedical image segmentation is a cornerstone of computer-aided diagnosis. While Convolutional Neural Networks (CNNs) excel at capturing local features, Transformers have recently been introduced to model long-range dependencies. However, the integration of these two paradigms often leads to architectural "contradictions." Current hybrid models typically stack these components in series or assign them to different parts of the encoder-decoder structure. This forces local-feature-oriented layers to process global information and vice versa, leading to "feature confusion" and training instability. Furthermore, the field suffers from "benchmark bloat," where inconsistent preprocessing and evaluation metrics make it difficult to objectively compare architectural innovations.
The Architectural Contradiction
The authors identify that most existing hybrid architectures suffer from a lack of continuous transmission for both local and global features. As shown in Figure 1, many designs utilize series connections where features must pass through alternating types of blocks. This disrupts the specialized processing required for different feature scales. Ablation studies confirmed that these series connections can actually have a negative effect on performance compared to parallel processing.
Methods: The WNet Architecture
To address these issues, the authors propose WNet, a modified U-shaped architecture designed to eliminate feature confusion through a parallel stream design. It utilizes Local Scope Blocks (LSBs) based on convolutions to maintain fine-grained spatial details and Global Scope Bridges (GSBs) based on transformers to capture broad context.
Key architectural features include:
- Parallel Streams: LSBs and GSBs operate at every scale, allowing both local and global information to flow continuously without being forced into incompatible layer types.
- Feature Fusion: At each encoding and decoding stage, features from both streams are fused via channel concatenation, ensuring the decoder receives a comprehensive representation.
- nnUNet Integration: WNet is integrated into the nnUNet framework. This automatically handles preprocessing and provides a standardized, "fair-play" environment for comparison across eight diverse datasets covering CT, MRI, and Dermoscopy modalities.
Experimental Results and Benchmarking
The model was evaluated on four 2D datasets (DRIVE, ISIC-2017, Kvasir-SEG, CREMI) and four 3D datasets (Parse2022, AMOS22, BTCV, ImageCAS).
Key findings include:
- State-of-the-Art Performance: nnWNet achieved top results across metrics like Jaccard, Dice, and 95HD. Statistical tests showed improvements were significant in 87.5% of cases.
- Efficiency: Despite its power, nnWNet is remarkably efficient. The 2D version uses only 7M parameters, compared to the 92M parameters of the standard nnUNet baseline it was compared against.
- Benchmark Insights: When tested under a unified benchmark, several models that previously claimed SOTA results actually performed worse than a well-configured standard UNet. This highlights how much reported performance in literature can be attributed to specific preprocessing tweaks rather than architectural innovation.
Conclusion
nnWNet successfully resolves the feature transmission contradiction in hybrid CNN-Transformer architectures through its parallel design. By achieving SOTA results across eight datasets and advocating for the use of unified frameworks like nnUNet, this work provides a more stable and objective path forward for biomedical image segmentation research.
Summary updated