[Paper Review] Narrowing the semantic gaps in U-Net with learnable skip connections: The case of medical image segmentation
This paper proposes UDTransNet, a U-Net-based medical image segmentation framework that replaces standard skip connections with learnable attention mechanisms to narrow semantic gaps between encoder and decoder features. By introducing a Dual Attention Transformer (DAT) for multi-scale feature fusion and a Decoder-guided Recalibration Attention (DRA) module for cross-stage consistency, UDTransNet achieves state-of-the-art performance on multiple medical imaging benchmarks with fewer parameters.
Most state-of-the-art methods for medical image segmentation adopt the encoder-decoder architecture. However, this U-shaped framework still has limitations in capturing the non-local multi-scale information with a simple skip connection. To solve the problem, we firstly explore the potential weakness of skip connections in U-Net on multiple segmentation tasks, and find that i) not all skip connections are useful, each skip connection has different contribution; ii) the optimal combinations of skip connections are different, relying on the specific datasets. Based on our findings, we propose a new segmentation framework, named UDTransNet, to solve three semantic gaps in U-Net. Specifically, we propose a Dual Attention Transformer (DAT) module for capturing the channel- and spatial-wise relationships to better fuse the encoder features, and a Decoder-guided Recalibration Attention (DRA) module for effectively connecting the DAT tokens and the decoder features to eliminate the inconsistency. Hence, both modules establish a learnable connection to solve the semantic gaps between the encoder and the decoder, which leads to a high-performance segmentation model for medical images. Comprehensive experimental results indicate that our UDTransNet produces higher evaluation scores and finer segmentation results with relatively fewer parameters over the state-of-the-art segmentation methods on different public datasets. Code: https://github.com/McGregorWwww/UDTransNet.
Motivation & Objective
- To investigate the limitations of fixed skip connections in U-Net for medical image segmentation.
- To identify that not all skip connections are equally useful and that optimal combinations vary by dataset.
- To address semantic gaps between multi-scale encoder features and between encoder-decoder stages.
- To design a learnable, attention-based mechanism that improves feature compatibility across the U-Net architecture.
- To achieve state-of-the-art segmentation performance with reduced parameter count.
Proposed method
- Proposes a Dual Attention Transformer (DAT) module that combines Channel-wise Fusion Attention (CFA) and Spatial-wise Selection Attention (SSA) to model channel and spatial dependencies across multi-scale encoder features.
- Uses self-attention in CFA to align channels across different encoder stages and cross-attention in SSA to highlight important spatial regions across scales.
- Introduces a Decoder-guided Recalibration Attention (DRA) module that recalibrates DAT outputs using decoder features to reduce semantic inconsistency.
- Integrates DAT and DRA into the skip connections of a U-Net backbone, enabling end-to-end training with attention-based feature fusion.
- Employs a hybrid architecture combining CNN-based encoders with transformer-based attention modules in skip connections, rather than in the main encoder or decoder.
- Optimizes hyperparameters such as number of attention heads and transformer layers, finding optimal settings at 4 heads and 4 layers.
Experimental results
Research questions
- RQ1Are all skip connections in U-Net equally effective across different medical image segmentation tasks?
- RQ2How do semantic gaps between multi-scale encoder features and between encoder-decoder stages affect segmentation performance?
- RQ3Can learnable attention mechanisms in skip connections better align features and improve segmentation accuracy?
- RQ4Is integrating attention into skip connections more effective than applying it to the encoder or decoder alone?
- RQ5What is the optimal configuration of attention heads and layers in the proposed attention modules?
Key findings
- UDTransNet achieves state-of-the-art Dice scores on three public datasets: 91.03±0.56 on GlaS and 89.28±0.58 on Synapse, outperforming existing methods.
- When using the same backbone (ResNet-34), UDTransNet achieves 91.03±0.56 Dice on GlaS, significantly outperforming MCTrans (88.44±0.74) and TransUNet (87.41±1.15).
- With Swin Transformer as backbone, UDTransNet still achieves 88.03±1.27 Dice on GlaS, outperforming Swin-UNet (89.04±0.88) when using the same backbone.
- The model is robust to hyperparameter changes, with optimal performance at 4 attention heads and 4 layers, indicating low sensitivity to these settings.
- The ablation study confirms that both DAT and DRA modules are essential, with DRA significantly improving feature consistency between encoder and decoder.
- UDTransNet achieves higher performance with fewer parameters than state-of-the-art models, demonstrating efficiency and effectiveness.
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.