[Paper Review] Capsules for Object Segmentation
This paper introduces SegCaps, a deep convolutional-deconvolutional capsule network for object segmentation that uses locally-constrained routing and deconvolutional capsules to achieve segmentation on 512x512 images with far fewer parameters than U-Net. It demonstrates competitive dice scores on pathological lung segmentation from CT scans.
Convolutional neural networks (CNNs) have shown remarkable results over the last several years for a wide range of computer vision tasks. A new architecture recently introduced by Sabour et al., referred to as a capsule networks with dynamic routing, has shown great initial results for digit recognition and small image classification. The success of capsule networks lies in their ability to preserve more information about the input by replacing max-pooling layers with convolutional strides and dynamic routing, allowing for preservation of part-whole relationships in the data. This preservation of the input is demonstrated by reconstructing the input from the output capsule vectors. Our work expands the use of capsule networks to the task of object segmentation for the first time in the literature. We extend the idea of convolutional capsules with locally-connected routing and propose the concept of deconvolutional capsules. Further, we extend the masked reconstruction to reconstruct the positive input class. The proposed convolutional-deconvolutional capsule network, called SegCaps, shows strong results for the task of object segmentation with substantial decrease in parameter space. As an example application, we applied the proposed SegCaps to segment pathological lungs from low dose CT scans and compared its accuracy and efficiency with other U-Net-based architectures. SegCaps is able to handle large image sizes (512 x 512) as opposed to baseline capsules (typically less than 32 x 32). The proposed SegCaps reduced the number of parameters of U-Net architecture by 95.4% while still providing a better segmentation accuracy.
Motivation & Objective
- Extend capsule networks to object segmentation for the first time in literature.
- Address memory and parameter explosion of traditional capsules via locally-constrained routing and shared transformations.
- Introduce deconvolutional capsules to enable deep segmentation architectures on large images.
- Regularize segmentation with masked reconstruction of the positive class to improve embedding of input space.
- Demonstrate SegCaps on pathological lung segmentation and compare with U-Net and Tiramisu.
Proposed method
- Replace max-pooling with convolutional strides and routing to preserve part-whole relationships.
- Introduce locally-constrained dynamic routing where routing coefficients are computed within a k_h x k_w kernel.
- Share transformation matrices within each capsule type to reduce parameters.
- Add deconvolutional capsules using transposed convolutions routed by local routing to enable deep segmentation.
- Use masked reconstruction of the positive class as a regularization loss via a 3-layer 1x1 conv net and masked MSE.
- Train and evaluate on 512x512 CT slices from LUNA16 subset of LIDC-IDRI with four-fold cross-validation.
Experimental results
Research questions
- RQ1Can capsule networks be effectively adapted for pixel-level object segmentation at large image sizes (512x512)?
- RQ2Do locally-constrained routing and shared transformation matrices reduce memory/parameters while maintaining or improving segmentation accuracy?
- RQ3Does introducing deconvolutional capsules and masked reconstruction improve segmentation performance compared to U-Net and related architectures?
- RQ4What is SegCaps’ performance on pathological lung segmentation in CT scans relative to state-of-the-art methods?
Key findings
- SegCaps achieves an average dice score of 98.479% across 4 folds, slightly outperforming U-Net and Tiramisu.
- SegCaps uses 1.4M parameters, reducing parameters by 95.4% compared to U-Net and 38.4% vs Tiramisu.
- Baseline three-layer capsule network performs significantly worse, highlighting benefits of deep convolutional-deconvolutional architecture.
- SegCaps operates on 512x512 inputs, unlike prior capsule models restricted to small inputs (<=32x32).
- Qualitative results show SegCaps reduces segmentation leakages compared to U-Net on CT slices.
- Visualization suggests final capsule vectors capture distinct textural attributes across segmentation regions.
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.