Back to paper library
arXiv 2020ICASSP 2020Feature fusionPaper notes

UNet 3+

Design Changes UNet++

Original paper

UNet 3+: A Full-Scale Connected UNet for Medical Image Segmentation

Paper authors

Huimin Huang · Lanfen Lin · Ruofeng Tong …

Show all 9 authors

Huimin Huang · Lanfen Lin · Ruofeng Tong · Hongjie Hu · Qiaowei Zhang · Yutaro Iwamoto · Xianhua Han · Yen-Wei Chen · Jian Wu

Publication
ICASSP 2020Conference
First submitted to arXiv
arXiv:2004.08790
Cite this paper · BibTeX

The citation identifies the linked source version. It cites the original paper and its authors.

@misc{featurefusionunetppp2020,
  title = {{UNet 3+: A Full-Scale Connected UNet for Medical Image Segmentation}},
  author = {Huimin Huang and Lanfen Lin and Ruofeng Tong and Hongjie Hu and Qiaowei Zhang and Yutaro Iwamoto and Xianhua Han and Yen-Wei Chen and Jian Wu},
  year = {2020},
  eprint = {2004.08790},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.08790}
}
On this page

This is also a paper in the medical field, aimed at medical image segmentation.

The authors found an idea to improve the structure of UNet++, but naming it UNet+++ did not quite capture the researchers' aesthetic.

So, let’s call it “UNet 3+”!

Problem Definition

Speaking of U-Net, it’s well known, and the architecture looks like this:

This classic architecture uses skip connections to combine high-level semantics with low-level details, achieving significant results in fields like medical image segmentation.

However, there are a few issues. First, multi-scale features might get diluted during the progressive downsampling and upsampling processes, preventing the model from fully utilizing information at different scales to improve segmentation accuracy. Secondly, the traditional U-Net’s skip connections directly fuse semantically mismatched high- and low-level features, potentially limiting fusion. This is the authors’ design motivation, not a claim that skip connections necessarily harm performance.

Thus, UNet++ reduces this semantic gap with nested and dense skip connections, modifying the entire architecture as follows:

However, the authors of this paper felt that this architecture has too many redundant connections, making it inefficient!

We should consider a different connection method.

Solution

Model Architecture

The encoder combines downsampling with feature extraction; the decoder progressively raises resolution and fuses features. Neither consists solely of a sampling operation. In UNet 3+, they redesigned the skip connections between the encoder and decoder, allowing multi-scale features to be more thoroughly integrated.

Each decoder stage combines shallow, higher-resolution encoder features, same-resolution encoder features and deeper, lower-resolution decoder features. Max pooling reduces higher-resolution inputs, while bilinear interpolation enlarges lower-resolution inputs before fusion.

At each decoder stage, a 3×3 convolution maps each of the five aligned features to 64 channels. Concatenation produces 320 channels, followed by another 3×3 convolution with 320 filters, batch normalization and ReLU. A separate 3×3 convolution produces each stage's segmentation side output; bilinear upsampling and sigmoid bring it to a full-resolution mask for supervision. The authors call this "full-scale deep supervision."

Loss Function

To emphasize organ boundaries, the authors introduced Multi-scale Structural Similarity (MS-SSIM) as one of the loss functions.

Intuitively, MS-SSIM is used to compare the similarity of local patches, where structural disagreement lowers similarity and raises the MS-SSIM loss. Similarity and loss move in opposite directions.

The mathematical formula is as follows:

ℓms-ssim(p,g)=1−∏s=1S(2μpsμgs+c1(μps)2+(μgs)2+c1)βs(2σpgs+c2(σps)2+(σgs)2+c2)γs\ell_{\text{ms-ssim}}(p,g) = 1 - \prod_{s=1}^S \Biggl( \frac{2\mu_p^s \mu_g^s + c_1}{(\mu_p^s)^2 + (\mu_g^s)^2 + c_1} \Biggr)^{\beta_s} \Biggl( \frac{2\sigma_{pg}^s + c_2}{(\sigma_p^s)^2 + (\sigma_g^s)^2 + c_2} \Biggr)^{\gamma_s}
  • pp and gg are the segmentation result and ground truth, respectively; the local patch size for both pp and gg is N×NN \times N.
  • μps,μgs\mu_p^s, \mu_g^s represent the mean values of pp and gg at scale ss, σps,σgs\sigma_p^s, \sigma_g^s represent the standard deviations, and σpgs\sigma_{pg}^s is the covariance between them.
  • βs,γs\beta_s, \gamma_s are the paper's scale weights for the luminance and contrast terms, respectively; c1=0.012,c2=0.032c_1=0.01^2, c_2=0.03^2 prevent division by zero.
  • The experiment uses 5 scales (S=5).

The larger the MS-SSIM value, the more similar the segmentation is to the ground truth, resulting in a smaller loss.

The authors combine the MS-SSIM loss, Focal loss, and IoU loss to form a three-tier hybrid loss (pixel-level, patch-level, and map-level):

ℓseg=ℓfocal+ℓms-ssim+ℓiou\ell_{\text{seg}} = \ell_{\text{focal}} + \ell_{\text{ms-ssim}} + \ell_{\text{iou}}

This combination balances "pixel-level errors," "local region structural similarity," and "overall image region overlap," achieving better segmentation performance.

Classification-guided Module (CGM)

In common medical image segmentation tasks, a "false positive" error might occur when the input image does not contain the organ, but the model still makes a segmentation.

To avoid this situation, the authors propose guiding the segmentation model through "an additional classification task": first determining whether the organ is present in the image. If the classification result is "not present," the output should be a blank segmentation; if "present," the segmentation result should be retained.

As Figure 3 shows, the deepest encoder feature E5iE^i_5 enters a classifier with dropout, a 1×1 convolution, adaptive max pooling and sigmoid. It produces two class scores for organ presence or absence. The classification branch is also trained with binary cross-entropy.

During inference, the binary classification result is obtained using argmax, resulting in either a 0 or 1. This 0/1 result is then multiplied with the segmentation output from each decoder layer. If the classification result is 0 (no organ), the segmentation result is cleared; if 1 (organ present), the original segmentation is kept.

A classification false negative also clears a correct segmentation. CGM therefore requires evaluation of missed organs as well as false-positive reduction.

Experimental Setup

The authors selected two organs for validation: the liver and spleen.

The study uses the LiTS liver segmentation dataset and an ethically approved, internal hospital spleen dataset. The reported results cover these two datasets and the authors' train/test splits.

  • Liver Dataset (LiTS 2017 Challenge)
    • 131 contrast-enhanced 3D abdominal CT scans.
    • 103 used for training, 28 for testing.
  • Spleen Dataset (hospital-acquired, ethically approved)
    • 49 CT scans (40 for training, 9 for testing).

Each input uses three adjacent CT slices as its three channels:

  • Current CT slice
  • Previous slice
  • Next slice

This allows the network to receive contextual information from the adjacent slices, aiding the segmentation of organ boundaries. Additionally, the images are cropped to 320×320320 \times 320 size.

The evaluation metric used is the Dice coefficient to measure segmentation quality, calculated for each 3D volume.

Discussion

Comparison with UNet and UNet++

The authors first compare UNet 3+ with the classic model UNet and the improved model UNet++. All comparisons use focal loss as the loss function, with tests conducted on both VGG-16 and ResNet-101 backbone networks.

The table above shows the experimental results on the liver and spleen datasets. We can observe:

  • Without deep supervision, UNet 3+ averages 0.9511 Dice: about 2.74 percentage points above UNet (0.9237) and 1.59 above UNet++ (0.9352). These are averages over both backbones and both organs, not separate gains for VGG-16 and ResNet-101.
  • With the addition of multi-scale deep supervision (still using focal loss in this table, without hybrid loss or CGM), mean Dice rises from 0.9511 to 0.9552, a gain of about 0.41 percentage points.

Under Table 1's settings, UNet 3+ has higher mean Dice and fewer parameters than the listed U-Net and UNet++ implementations. The table alone cannot assign an independent gain to every design choice.

Comparison with SOTA

The authors compare ResNet-101-based UNet 3+ with several methods. All entries use a single model at test time and no post-processing, but each method uses its own training loss; cross-model differences cannot be attributed to architecture alone.

Within the UNet 3+ ablation, liver/spleen Dice is 0.9601/0.9560 with focal loss, 0.9643/0.9588 with hybrid loss, and 0.9675/0.9620 with hybrid loss plus CGM. The hybrid objective combines pixel, patch and map levels. The patch-level MS-SSIM loss is intended to emphasize boundaries; this table does not isolate its individual effect.

CGM clears whole-slice false positives when the classifier correctly predicts that the organ is absent. A wrong classification can also erase a real organ.

Ultimately, UNet 3+ achieves the best results in liver segmentation (Dice = 0.9675) and spleen segmentation (Dice = 0.9620), exceeding Attention UNet, the strongest external baseline in the table, by 0.0334 and 0.0296. This comparison excludes UNet 3+’s own ablation variants.

Visualization Results

The pink-purple region is TP; the yellow region is FN; the green region is FP


The figure above shows the segmentation results for the liver dataset based on ResNet-101, comparing UNet, UNet++, and UNet 3+ (with multi-scale deep supervision).

In the two slices shown in Figure 4, UNet 3+ has smaller green false-positive and yellow false-negative regions and a more continuous boundary. These are qualitative examples; Tables 1 and 2 give the dataset-level Dice results.

Conclusion

This paper is easy to read, and the authors have made several key improvements:

  1. Redesigning skip connections: Integrating multi-scale features more comprehensively and applying deep supervision in the decoder layers.
  2. Introducing MS-SSIM loss: Emphasizing the structural similarity of local regions, benefiting boundary perception.
  3. CGM module: Guiding the segmentation model through an additional classification task to reduce false positives on slices without the organ.

In the reported liver and spleen comparisons, these changes give UNet 3+ the highest Dice scores among the listed methods. The Table 1 U-Net and UNet++ implementations also use more parameters, while the visual examples show more consistent boundaries. The results are specific to the paper's datasets and comparison settings.