Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation

UNet++ redesigns skip connections and stacks U-Nets for better segmentation

  • Problem Segmentation networks need a depth that is hard to fix in advance, and their skip connections fuse only maps at the same scale. Ensembles of separate depths are costly to deploy.
  • Method UNet++ stacks U-Nets of several depths on a shared encoder. Dense skip connections let each decoder node fuse maps from all scales, and deep supervision trains every output.
  • Results On Liver, UNet++ with deep supervision reached 82.60±1.11 IoU against 79.90±1.38 for U-Net. On Nuclei, Mask RCNN++ reached 95.10% IoU against 93.28% for Mask R-CNN.

Two limits of U-Net-style segmentation networks

Encoder-decoder networks with skip connections are the standard template for semantic and instance segmentation, and the skip connections are credited with restoring fine spatial detail. The work targets two weaknesses of this template, both tied to how the network is built rather than to a particular dataset. The depth that works best seems to depend on how hard the task is and how much labelled data is available, so a depth chosen in advance may be wrong for a given problem.

One workaround trains several depths separately and ensembles them at inference, but those networks share no encoder, which makes deployment costly, and training them independently gives up the benefit of joint learning. Automatic architecture search could pick the depth, yet the authors note that it is limited by available computing resources.

The second weakness is that a decoder can only fuse an encoder map from the same scale, although those maps are semantically different and nothing guarantees that they are the best pairing.

A depth ablation on the Cell, EM and Brain Tumor datasets shows the first weakness in practice. On Cell, U-Net L3 reached 90.14±1.57 IoU (mean±s.d., %) against 88.73±1.64 for the deepest U-Net, and on Brain Tumor it reached 89.62±1.41 against 89.21±1.55. On EM the deeper variants were ahead, though only by a small margin.

From U-Net e to UNet++ through connectivity changes

The first step is U-Net e, which places U-Nets of depths one to four into one structure. The U-Nets share one encoder while each keeps its own decoder, every decoder output at X0,j receives a separate loss, and the outputs are averaged at inference. This design still has two faults: the decoders are disconnected, so deeper decoders give no supervision to shallower ones, and the skip connections remain restricted to same-scale maps.

UNet+ removes the original skip connections and links each pair of neighbouring nodes, so gradients can flow from the deeper decoders back to the shallower ones. Each decoder node in UNet+ sees the aggregate of the feature maps computed on the shallower stream, which is less restrictive than a single same-scale map.

UNet++ adds dense connectivity to UNet+. Each decoder node receives the aggregated maps from the shallower stream, the intermediate aggregated maps, and the same-scale encoder maps. The aggregation layer at a node can therefore rely on the same-scale encoder map alone or draw on every map available to it. Deep supervision is optional for UNet+ and UNet++, whereas it is required to train U-Net e.

What each node computes

Each node is indexed by i for the down-sampling level along the encoder and by j for the position in the dense block along the skip path, and x_{i,j} denotes its output. The output is given by the following relation.

\[ x_{i,j}=\begin{cases} H\big(D(x_{i-1,j})\big), & j=0 \\ H\big(\big[\,[x_{i,k}]_{k=0}^{\,j-1},\; U(x_{i+1,j-1})\,\big]\big), & j>0 \end{cases} \] Here \(H(\cdot)\) is a convolution followed by an activation function, \(D(\cdot)\) and \(U(\cdot)\) are the down-sampling and up-sampling layers, and the square brackets denote concatenation.

A node at level j = 0 takes one input from the encoder above it. A node at level j = 1 takes two inputs from the encoder at two consecutive levels. A node at level j > 1 takes j+1 inputs: the outputs of the j earlier nodes on the same skip path, and one up-sampled output from the lower skip path. The dense convolution block along each skip path is what lets all earlier maps accumulate at the current node.

Deep supervision and the hybrid loss

Deep supervision is attached to the outputs of X0,1, X0,2, X0,3 and X0,4, each through a 1×1 convolution with C kernels followed by a Sigmoid activation, where C is the number of classes in the dataset. Common deep supervision places auxiliary losses on nodes along the decoder path, whereas UNet++ places them on the X0,j nodes of the top skip row.

Each head is trained with a hybrid segmentation loss that adds pixel-wise cross-entropy to a soft dice-coefficient term. The authors argue that the combination gives smooth gradients and handles class imbalance. The loss is defined as follows.

\[ L(Y,P)=-\frac{1}{N}\sum_{c=1}^{C}\sum_{n=1}^{N}\left(y_{n,c}\log p_{n,c}+\frac{2\,y_{n,c}\,p_{n,c}}{y_{n,c}^{2}+p_{n,c}^{2}}\right) \] Here \(y_{n,c}\) is the target label and \(p_{n,c}\) the predicted probability for class \(c\) at pixel \(n\), and \(N\) is the number of pixels in one batch.

The total loss is the weighted sum of the hybrid losses over the decoders, \(L=\sum_{i=1}^{d}\eta_i\,L(Y,P^i)\), with every \(\eta_i\) set to 1 in the experiments. The ground truth is used unchanged for every output and is not blurred for the shallower ones.

Because each head yields a full segmentation, a trained UNet++ can run in ensemble mode, which averages the outputs of all branches, or in pruned mode, which keeps the output of one branch. Taking the output of X0,4 removes nothing, while taking the output of X0,1 removes the most nodes.

Six biomedical datasets and their splits

The six datasets cover microscopy, computed tomography and magnetic resonance imaging, and include neuronal structures, cells, nuclei, brain tumors, liver and lung nodules. The EM dataset contains 30 images of 512×512 pixels, split into 24 for training, 3 for validation and 3 for testing, and models are trained and inferred on 96×96 patches that overlap by half.

The Cell dataset keeps 354 images with the highest agreement between two expert annotators, split into 212 for training, 70 for validation and 72 for testing.

The Nuclei dataset has 670 images with instance-level annotation, randomly split 50% for training, 20% for validation and 30% for testing, with 96×96 patches extracted at 32-pixel stride for training and validation and 1-pixel stride for testing. The Brain Tumor dataset uses 20 high-grade and 10 low-grade patients with Flair, T1, T1c and T2 scans, giving 66,348 slices re-scaled to 256×256, and the 30 patients are split into five folds for three training folds, one validation fold and one test fold.

The Liver dataset has 331 CT scans, split into 100 training, 15 validation and 15 test patients, with only the liver counted as the positive class. The Lung Nodule dataset starts from 1018 cases, removes six with ground truth issues, and splits the rest into 510 training, 100 validation and 408 test cases, with each nodule cropped to 64×64×64 after resampling to 1-1-1 spacing.

The baselines are U-Net for 2D tasks and V-Net for 3D tasks, each with a wide variant of similar parameter count, so that gains are not attributed to size alone. The parameter counts are 7.8M for U-Net, 9.1M for wide U-Net, 8.7M for UNet+ and 9.0M for UNet++.

Semantic results against U-Net and wide U-Net

Without deep supervision, UNet++ improved on U-Net by 0.62±0.10 IoU on neuronal structures and by 2.30±0.30 on cell segmentation. Across all six tasks the text reports gains over both U-Net and wide U-Net, and it attributes the wide U-Net gain over U-Net to its larger parameter count.

Adding deep supervision with average voting raised the IoU by up to 0.8 points. The authors attribute the largest benefit to neuronal structure and lung nodule segmentation, since those objects appear at varying scales in EM and CT slices. Deep supervision is only marginally effective on the other datasets at best.

With deep supervision, UNet++ reached 89.33±0.10 IoU on EM against 88.30±0.24 for U-Net, and 82.60±1.11 on Liver against 79.90±1.38. On the 3D lung nodule task, VNet++ with deep supervision reached 77.05±2.42 against 71.17±4.53 for V-Net.

Swapping in other encoder backbones

The authors took vgg-19, resnet-152 and densenet-201 and turned each into a U-Net by adding a decoder sub-network, then replaced the plain skip connections with the redesigned ones. U-Net and UNet+ were trained with the same backbones for comparison.

The comparison covers EM, Cell, Nuclei, Brain Tumor and Liver, and each pair of models was compared with an independent two-sample t-test over 20 trials. UNet++ outperformed U-Net and UNet+ across the backbones and applications, and the figure shows it ahead of UNet+ in most configurations. The error bars are 95% confidence intervals, and the authors describe UNet++ as an effective, backbone-agnostic extension of U-Net.

Mask RCNN++ on nuclei instances

Mask R-CNN is the instance baseline. Its feature pyramid network produces proposals at several scales, and a dedicated segmentation branch outputs masks for them. Mask RCNN++ replaces the plain skip connections of that feature pyramid with the redesigned skip connections of UNet++, using a resnet101 backbone. Nuclei is used because each instance is annotated in a different colour, so the same images can be scored for semantic and for instance segmentation.

Mask RCNN++ reached 95.10% IoU against 93.28% for Mask R-CNN, a gain of 1.82 points, and 91.36% Dice against 87.91%, a gain of 3.45 points. Its leaderboard score rose from 0.401 to 0.414.

The semantic rows of the same table point the other way on one metric: UNet++ with resnet101 scored 89.74 Dice, above the 87.91 of Mask R-CNN, while its IoU of 92.55 is below Mask R-CNN's 93.28. U-Net with resnet101 scored 91.03 IoU and 75.73 Dice, with a leaderboard score of 0.244, against 0.327 for UNet++.

Speed and accuracy after pruning

Once trained, the decoder path at depth d does not depend on the path at depth d+1, so the decoder for depth d+1 can be removed. Figure 5 plots complexity, inference time and IoU across pruning levels. Inference time comes from timing 10K test images on one NVIDIA TITAN X (Pascal) GPU with 12 GB memory.

UNet++ L3 reduced average inference time by 32.2% and memory footprint by 75.6% relative to the full network, while IoU fell by 0.6 points. More aggressive pruning reduced the inference time further, but at a cost of large IoU degradation. The authors recommend setting the pruning level on the validation set.

The authors connect these savings to computer-aided diagnosis on mobile devices, where existing deep networks are costly in computation and memory.

Embedded versus isolated sub-networks

In embedded training, the full UNet++ is trained with deep supervision and then pruned to the target depth. In isolated training, the same shallow sub-network is trained alone, without the deeper encoder and decoder nodes. The comparison covers several pruning depths on two datasets.

Embedded training produced a better model than isolated training, and the advantage was largest at the most aggressive pruning, when the full network is pruned to UNet++ L1. For liver segmentation, embedded UNet++ L1 was 5 IoU points above the same sub-network trained in isolation.

The authors read this as supervision from deeper outputs helping to train shallower sub-networks, and they relate the effect to knowledge distillation. They also link it to collaborative learning, since the shallower heads receive both strong ground-truth losses and soft losses propagated from deeper nodes.

Gains across brain tumor sizes

Tumors are grouped into seven size buckets using the ground truth masks, and the figure shows the size distribution alongside box plots of U-Net and UNet++ performance in each bucket.

UNet++ outperformed U-Net in every bucket. Using two-sample t-tests over 20 trials, five of the seven comparisons reached p < 0.05.

The authors attribute the ability to segment tumors of varying size to the built-in ensemble of U-Nets, which gives multi-receptive-field networks.

What the intermediate features show

The left column of the figure uses a loss only on X0,4, while the right column is trained with deep supervision, and a 1×1 convolution is added to each decoder branch to form the final segmentation.

The authors observe that U-Net's intermediate outputs are semantically dissimilar, whereas the outputs of UNet+ and UNet++ are built up gradually. From this gap the authors conclude that simply concatenating X0,4 with X1,3 is not an optimal fusion.

The authors also report learning curves in an appendix and state that dense connections reach lower validation loss; this analysis did not read that appendix.

Where the design sits among earlier networks

FCN fuses up-sampled decoder maps with encoder maps by summation, while U-Net concatenates them followed by convolutions and non-linearities. Residual and dense networks use skip connections to ease gradient flow in classification networks.

GridNet wires feature maps in a grid but lacks the up-sampling between skip connections that UNet++ uses. FRRN and MRRN use a two-stream design with a residual stream. DLA is topologically similar to UNet+, and the authors report that UNet++ with dense connections scores higher than UNet+ and DLA.

The authors cite prior work suggesting depth can act as a regularizer and that deeply supervised layers help intermediate layers learn discriminative features. They list four reasons their nested networks suit deep supervision, including multiple decoders that output full-resolution maps and the ability to prune at inference.

UNet++ was first presented at DLMIA 2018, and the current work adds a depth study, embedded versus isolated training, a new MRI dataset, Mask RCNN++, backbone tests, tumor-size analysis and feature visualization.

Limits of the evidence

Aggressive pruning beyond UNet++ L3 costs substantial IoU, and the text gives no exact figure for that cost; the trade-off curve appears only in Figure 5. Speed and memory were measured for 10K test images on one NVIDIA TITAN X (Pascal) GPU with 12 GB memory, and no other hardware is reported.

The instance segmentation comparison uses one dataset, Nuclei, and one backbone, resnet101. The embedded versus isolated comparison covers two datasets, and the text gives an exact gap only for liver.

A footnote to the brain tumor column states that the BraTS 2013 winner reports a complete Dice of 92%, against 90.83%±2.46% for UNet++ with deep supervision. The ablation that studies depth uses three relatively small datasets, and the text describes the deep supervision effect as marginal on most datasets.

The main text reports IoU and Dice, and the sensitivity, specificity, F1 and F2 scores are referred to an appendix that this analysis did not read.

Paper info

Authors
Zongwei Zhou, Md Mahfuzur Rahman Siddiquee, Nima Tajbakhsh, Jianming Liang
Venue
arXiv · Preprint
First published
2019-12-11
Added
2026-11-12
Updated
2020-1-28
Version
v2
arXiv
1912.05074
Category
eess.IV · cs.CV · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Zongwei Zhou, Md Mahfuzur Rahman Siddiquee, Nima Tajbakhsh, Jianming Liang (2019). UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation. arXiv:1912.05074v2. https://arxiv.org/abs/1912.05074v2

BibTeX
@misc{zhou2019unet,
  title = {{UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation}},
  author = {Zongwei Zhou and Md Mahfuzur Rahman Siddiquee and Nima Tajbakhsh and Jianming Liang},
  year = {2019},
  eprint = {1912.05074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.05074v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up