[Paper Review] UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-wise Perspective with Transformer
UCTransNet replaces plain U-Net skip connections with a Channel Transformer (CTrans) that fuses multi-scale encoder features (CCT) and aligns them with decoder features (CCA), improving medical image segmentation across datasets.
Most recent semantic segmentation methods adopt a U-Net framework with an encoder-decoder architecture. It is still challenging for U-Net with a simple skip connection scheme to model the global multi-scale context: 1) Not each skip connection setting is effective due to the issue of incompatible feature sets of encoder and decoder stage, even some skip connection negatively influence the segmentation performance; 2) The original U-Net is worse than the one without any skip connection on some datasets. Based on our findings, we propose a new segmentation framework, named UCTransNet (with a proposed CTrans module in U-Net), from the channel perspective with attention mechanism. Specifically, the CTrans module is an alternate of the U-Net skip connections, which consists of a sub-module to conduct the multi-scale Channel Cross fusion with Transformer (named CCT) and a sub-module Channel-wise Cross-Attention (named CCA) to guide the fused multi-scale channel-wise information to effectively connect to the decoder features for eliminating the ambiguity. Hence, the proposed connection consisting of the CCT and CCA is able to replace the original skip connection to solve the semantic gaps for an accurate automatic medical image segmentation. The experimental results suggest that our UCTransNet produces more precise segmentation performance and achieves consistent improvements over the state-of-the-art for semantic segmentation across different datasets and conventional architectures involving transformer or U-shaped framework. Code: https://github.com/McGregorWwww/UCTransNet.
Motivation & Objective
- Demonstrate that simple skip connections in U-Net are not universally beneficial and can hurt performance on some datasets.
- Propose a channel-wise Transformer-based skip mechanism (CCT + CCA) to better fuse multi-scale encoder features with decoder features.
- Show that channel-wise fusion reduces semantic and resolution gaps and improves segmentation accuracy across datasets.
- Evaluate UCTransNet on GlaS, MoNuSeg, and Synapse datasets and compare against strong U-Net and Transformer-based baselines.
Proposed method
- Replace standard skip connections with Channel Transformer (CTrans) consisting of CCT (Channel-wise Cross Fusion Transformer) for multi-scale encoder feature fusion and CCA (Channel-wise Cross Attention) for decoder feature fusion with the Transformer outputs.
- CCT fuses multi-scale encoder features by tokenizing four skip layers into patches, performing multi-head channel-wise cross-attention with a concatenated key/value, and applying an MLP with residual connections across L layers.
- CCA performs channel-wise attention by pooling O_i and D_i to compute a channel attention map, recalibrating O_i before concatenation with up-sampled decoder features.
Experimental results
Research questions
- RQ1Can channel-wise transformer-based skip connections outperform traditional skip connections in U-Net for medical image segmentation?
- RQ2How does multi-scale channel-wise fusion (CCT) interact with decoder-aware fusion (CCA) to bridge semantic and resolution gaps between encoder and decoder?
- RQ3Do UCTransNet and its CTrans module provide consistent improvements across multiple medical imaging datasets and architectures compared to state-of-the-art baselines?
Key findings
- UCTransNet achieves notable improvements over baselines on GlaS and MoNuSeg (Dice and IoU gains) and on Synapse (Dice and Hausdorff Distance improvements are reported.
- Ablation shows Baseline+CCT+CCA consistently outperforms Baseline, Baseline+CCT, and Baseline+CCA across datasets.
- Increasing the number of skip-scale inputs in CCT improves performance, indicating the value of multi-scale feature fusion.
- Cross-attention visualizations indicate which encoder levels contribute most to segmentation, aligning with the skip-connection analysis results.
- Pre-training UCTransNet further improves convergence speed and final performance on MoNuSeg and Synapse.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.