arXiv(opens in a new tab)EngineeringDec 2019

Manuscript Offprint

arXiv:1912.05074

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

Zongwei Zhou, M. R. Siddiquee, Nima Tajbakhsh, Jianming Liang

Zongwei Zhou, Member, IEEE, Md Mahfuzur Rahman Siddiquee, Member, IEEE, Nima Tajbakhsh, Member, IEEE, and Jianming Liang, Senior Member, IEEE

Abstract—The state-of-the-art models for medical image segmentation are variants of U-Net and fully convolutional networks (FCN). Despite their success, these models have two limitations: (1) their optimal depth is apriori unknown, requiring extensive architecture search or inefficient ensemble of models of varying depths; and (2) their skip connections impose an unnecessarily restrictive fusion scheme, forcing aggregation only at the same-scale feature maps of the encoder and decoder sub-networks. To overcome these two limitations, we propose UNet++, a new neural architecture for semantic and instance segmentation, by (1) alleviating the unknown network depth with an efficient ensemble of U-Nets of varying depths, which partially share an encoder and co-learn simultaneously using deep supervision; (2) redesigning skip connections to aggregate features of varying semantic scales at the decoder sub-networks, leading to a highly flexible feature fusion scheme; and (3) devising a pruning scheme to accelerate the inference speed of UNet++. We have evaluated UNet++ using six different medical image segmentation datasets, covering multiple imaging modalities such as computed tomography (CT), magnetic resonance imaging (MRI), and electron microscopy (EM), and demonstrating that (1) UNet++ consistently outperforms the baseline models for the task of semantic segmentation across different datasets and backbone architectures; (2) UNet++ enhances segmentation quality of varying-size objects—an improvement over the fixed-depth U-Net; (3) Mask RCNN++ (Mask R-CNN with UNet++ design) outperforms the original Mask R-CNN for the task of instance segmentation; and (4) pruned UNet++ models achieve significant speedup while showing only modest performance degradation. Our implementation and pre-trained models are available at https://github.com/MrGiovanni/UNetPlusPlus.

Index Terms—Neuronal Structure Segmentation, Liver Segmentation, Cell Segmentation, Nuclei Segmentation, Brain Tumor Segmentation, Lung Nodule Segmentation, Medical Image Segmentation, Semantic Segmentation, Instance Segmentation, Deep Supervision, Model Pruning.

I. INTRODUCTION

The encoder-decoder networks are widely used in modern semantic and instance segmentation models [1], [2], [3], [4], [5], [6]. Their success is largely attributed to their skip connections, which combine deep, semantic, coarse-grained feature maps from the decoder sub-network with shallow, low-level, fine-grained feature maps from the encoder sub-network, and have proven to be effective in recovering fine-grained details of the target objects [7], [8], [9] even on complex background [10], [11]. Skip connections have also played a key role in the success of instance-level segmentation models such as [12], [13] where the idea is to segment and distinguish each instance of desired objects.

However, these encoder-decoder architectures for image segmentation come with two limitations. First, the optimal depth of an encoder-decoder network can vary from one application to another, depending on the task difficulty and the amount of labeled data available for training. A simple approach would be to train models of varying depths separately and then ensemble the resulting models during the inference time [14], [15], [16]. However, this simple approach is inefficient from a deployment perspective, because these networks do not share a common encoder. Furthermore, being trained independently, these networks do not enjoy the benefits of multi-task learning [17], [18]. Second, the design of skip connections used in an encoder-decoder network is unnecessarily restrictive, demanding the fusion of the same-scale encoder and decoder feature maps. While striking as a natural design, the same-scale feature maps from the decoder and encoder networks are semantically dissimilar and no solid theory guarantees that they are the best match for feature fusion.

In this paper, we present UNet++, a new general purpose image segmentation architecture that aims at overcoming the above limitations. As presented in Fig. 1(g), UNet++ consists of U-Nets of varying depths whose decoders are densely connected at the same resolution via the redesigned skip connections. The architectural changes introduced in UNet++ enable the following advantages. First, UNet++ is not prone to the choice of network depth because it embeds U-Nets of varying depths in its architecture. All these U-Nets partially share an encoder, while their decoders are intertwined. By training UNet++ with deep supervision, all the constituent U-Nets are trained simultaneously while benefiting from a shared image representation. This design not only improves the overall segmentation performance, but also enables model pruning during the inference time. Second, UNet++ is not handicapped by unnecessarily restrictive skip connections where only the same-scale feature maps from the encoder and decoder can be fused. The redesigned skip connections introduced in UNet++ present feature maps of varying scales at a decoder node, allowing the aggregation layer to decide how various feature maps carried along the skip connections should be fused with the decoder feature maps. The redesigned skip connections are realized in UNet++ by densely connecting the decoders.

Z. Zhou, N. Tajbakhsh and J. Liang are with the Department of Biomedical Informatics, Arizona State University, Scottsdale, AZ 85259 USA. (zongweiz@asu.edu; ntajbakh@asu.edu; jianming.liang@asu.edu)

M M. Rahman Siddiquee is with School of Computing, Informatics, and Decision Systems Engineering, Arizona State University, Tempe, AZ 85281 USA. (mrahmans@asu.edu)

Published in IEEE Transactions on Medical Imaging

(a) U-Net L 1^{1}

(b) U-Net L 2^{2}

Figure

(c) U-Net L 3^{3}

(d) U-Net (L 4^{4})

(e) U-Net e^{e}

(f) UNet+

(g) UNet++

Fig. 1: Evolution from U-Net to UNet++. Each node in the graph represents a convolution block, downward arrows indicate down-sampling, upward arrows indicate up-sampling, and dot arrows indicate skip connections. (a–d) U-Nets of varying depths. (e) Ensemble architecture, U-Net e^{e}, which combines U-Nets of varying depths into one unified architecture. All U-Nets (partially) share the same encoder, but have their own decoders. (f) UNet+ is constructed from U-Net e^{e} by dropping the original skip connections and connecting every two adjacent nodes with a short skip connection, enabling the deeper decoders to send supervision signals to the shallower decoders. (g) UNet++ is constructed from U-Net e^{e} by connecting the decoders, resulting in densely connected skip connections, enabling dense feature propagation along skip connections and thus more flexible feature fusion at the decoder nodes. As a result, each node in the UNet++ decoders, from a horizontal perspective, combines multiscale features from its all preceding nodes at the same resolution, and from a vertical perspective, integrates multiscale features across different resolutions from its preceding node, as formulated at Eq. 1. This multiscale feature aggregation of UNet++ gradually synthesizes the segmentation, leading to increased accuracy and faster convergence, as evidenced by our empirical results in Section IV. Note that, explicit deep supervision is required (bold links) to train U-Net e^{e} but optional (pale links) for UNet+ and UNet++.

of the constituents U-Nets at the same resolution. We have extensively evaluated UNet++ across six segmentation datasets and multiple backbones of different depths. Our results demonstrate that UNet++ powered by redesigned skip connections and deep supervision enables a significantly higher level of performance for both semantic and instance segmentation. This significant improvement of UNet++ over the classical U-Net architecture is ascribed to the advantages offered by the redesigned skip connections and the extended decoders, which together enable gradual aggregation of the image features across the network, both horizontally and vertically.

In summary, we make the following five contributions:

  1. We introduce a built-in ensemble of U-Nets of varying depths in UNet++, enabling improved segmentation performance for varying size objects—an improvement over the fixed-depth U-Net (see Section II-B).

  2. We redesign skip connections in UNet++, enabling flexible feature fusion in decoders—an improvement over the restrictive skip connections in U-Net that require fusion of only same-scale feature maps (see Section II-B).

  3. We devise a scheme to prune a trained UNet++, accelerating its inference speed while maintaining its performance (see Section IV-C).

  4. We discover that simultaneously training multi-depth U-Nets embedded within the UNet++ architecture stimulates collaborative learning among the constituent U-Nets, leading to much better performance than individually training isolated U-Nets of the same architecture (see Section IV-D and Section V-C).

  5. We demonstrate the extensibility of UNet++ to multiple backbone encoders and further its applicability to various medical imaging modalities including CT, MRI, and electron microscopy (see Section IV-A and Section IV-B).

References (67)

  • Academic Press, 2017
  • Deep learning in medical image analysis
  • A survey on deep learning in medical image analysis
  • Deep learning: a primer for radiologists
  • U-net: deep learning for cell counting, detection, and morphometry
  • Embracing imperfect datasets: A review of deep learning solutions for medical image segmentation (opens arXiv in a new tab)
  • The importance of skip connections in biomedical image segmentation
  • Deep residual learning for image recognition
  • Densely connected convolutional networks
  • Hypercolumns for object segmentation and fine-grained localization
  • Feature pyramid networks for object detection
  • Mask r-cnn
  • Learning to segment every thing
  • Ensemble methods in machine learning
  • Deep convolutional neural networks for computer-aided detection: Cnn architectures, dataset characteristics and transfer learning
  • Automatic classification of pulmonary peri-fissural nodules in computed tomography using an ensemble of 2d views and a convolutional neural network out-of-the-box
  • Learning deep architectures for ai
  • A Survey on Multi-Task Learning
  • Progressive neural architecture search
  • Learning transferable architectures for scalable image recognition
  • Auto-deeplab: Hierarchical neural architecture search for semantic image segmentation
  • Customizable architecture search for semantic segmentation
  • Partial order pruning: for best speed/accuracy trade-off in neural architecture search
  • Holistically-nested edge detection
  • Deep contextual networks for neuronal structure segmentation
  • 3d deeply supervised network for automated segmentation of volumetric medical images
  • Deeply-supervised nets
  • V-net: Fully convolutional neural networks for volumetric medical image segmentation
  • Generalised dice overlap as a deep learning loss function for highly unbalanced segmentations
  • An integrated micro-and macroarchitectural analysis of the drosophila brain by computer-assisted serial section electron microscopy
  • The cell-ct 3-dimensional cell imaging technology platform enables the detection of lung cancer using the noninvasive luced sputum test
  • The multimodal brain tumor image segmentation benchmark (brats)
  • The lung image database consortium (lidc) and image database resource initiative (idri): a completed reference database of lung nodules on ct scans
  • The virtual skeleton database: an open access repository for biomedical research and collaboration
  • U-net: Convolutional networks for biomedical image segmentation
  • Very Deep Convolutional Networks for Large-Scale Image Recognition
  • Collaborative learning for deep neural networks
  • Distilling the Knowledge in a Neural Network
  • Fully convolutional networks for semantic segmentation
  • Linknet: Exploiting encoder representations for efficient semantic segmentation
  • Refinenet: Multi-path refinement networks for high-resolution semantic segmentation
  • Icnet for real-time semantic segmentation on high-resolution images
  • Errornet: Learning error representations from limited data to improve vascular segmentation (opens arXiv in a new tab)
  • Identity mappings in deep residual networks
  • Residual conv-deconv grid network for semantic segmentation
  • Full-resolution residual networks for semantic segmentation in street scenes
  • Multiple resolution residually connected feature streams for automatic lung tumor segmentation from ct images
  • Deep layer aggregation
  • 3d deeply supervised network for automatic liver segmentation from ct volumes
  • Deeply-supervised cnn for prostate segmentation
  • Unet++: A nested u-net architecture for medical image segmentation
  • High-resolution representations for labeling pixels and regions
  • Selective feature aggregation network with area-boundary constraints for polyp segmentation
  • An improved mpb-cnn segmentation method for edema area and neurosensory retinal detachment in sd-oct images
  • Multiscale dense convolutional neural network for dsa cerebrovascular segmentation
  • Mdu-net: Multi-scale densely connected u-net for biomedical image segmentation (opens arXiv in a new tab)
  • An improved framework called du++ applied to brain tumor segmentation
  • Learning contextual and attentive information for brain tumor segmentation
  • Automatical segmentation of pelvic organs after hysterectomy by using dilated convolution u-net++
  • U-next: A novel convolution neural network with an aggregation u-net architecture for gallstone segmentation in ct images
  • Eda-net: Dense aggregation of deep and shallow information achieves quantitative photoacoustic blood oxygenation imaging deep in human breast
  • Comparison of unet architectures for segmentation of the left ventricle endocardial border on two-dimensional ultrasound images
  • Pulmonary vessel segmentation based on orthogonal fused u-net++ of chest ct images
  • Deep high-resolution representation learning for human pose estimation
  • End-to-end change detection for high resolution satellite images using improved unet++
  • Web-net: A novel nest networks with ultra-hierarchical sampling for building extraction from aerial imageries
  • Feature optimization of contact map predictions based on inter-residue distances and u-net++ architecture