SS-3DCAPSNET: Self-Supervised 3d Capsule Networks for Medical Segmentation on Less Labeled Data

Minh Tran, Loi Ly, Binh-Son Hua, Ngan Le

Abstract

Volumetric medical image segmentation is often hindered by the scarcity of high-quality labeled data. This paper introduces SS-3DCapsNet, a novel architecture that integrates the spatial reasoning capabilities of 3D Capsule Networks with the data efficiency of self-supervised learning (SSL). By utilizing a reconstruction-based pretext task for pre-training, the model achieves state-of-the-art performance on infant brain and cardiac datasets. Notably, SS-3DCapsNet maintains a shallower profile than traditional deep CNNs while demonstrating superior robustness and parameter efficiency.

Introduction

Accurate segmentation of organs and tumors in 3D medical scans is critical for diagnosis and treatment planning. However, producing large-scale labeled datasets is expensive and time-consuming. Standard U-Net-based Convolutional Neural Networks (CNNs) often struggle with limited data and lose vital spatial hierarchy information—the "part-whole" relationship—due to pooling operations.

Capsule Networks address these limitations by representing entities as vectors (capsules) that preserve orientation and relative position. Despite their potential, 3D capsule architectures have historically faced challenges regarding weight initialization and computational stability. SS-3DCapsNet bridges this gap by employing self-supervision to stabilize training and enhance feature extraction.

Methodology

The SS-3DCapsNet architecture is a hybrid model designed to leverage both convolutional efficiency and capsule-based spatial reasoning. It operates in three distinct stages:

  1. Visual Representation: Input volumes are processed through three dilated convolutional layers. These layers expand the receptive field to capture broader context without sacrificing spatial resolution.
  2. Capsule Encoder: Extracted features are reshaped into 3D capsules. This stage utilizes 3D convolutional capsules with dynamic routing to learn complex spatial relationships.
  3. Convolutional Decoder: To produce the final segmentation mask, capsule outputs are mapped back to tensors. A 3D U-Net-style decoder, featuring deconvolutional layers and skip connections, performs the final upsampling.
Figure 1: The SS-3DCapsNet architecture, featuring a visual representation front-end, a capsule-based encoder, and a convolutional decoder with skip connections.

Self-Supervised Pre-training

A core innovation of this work is the use of a self-supervised pretext task. Before fine-tuning on labeled data, the visual representation layers are trained to reconstruct original volumes from transformed versions (e.g., noisy or blurred inputs). This "warm start" stabilizes the capsule network's weights, which are notoriously sensitive to initialization.

Figure 2: Visualizations of the self-supervised pretext task, showing various transformations applied to the input MRI volumes for reconstruction training.

Experiments and Results

The model was evaluated on three diverse volumetric datasets: iSeg-2017 (infant brain MRI), Hippocampus (Medical Segmentation Decathlon), and a Cardiac dataset (3D ultrasound/MRI).

Performance Metrics

  • iSeg-2017: SS-3DCapsNet achieved an average Dice Score of 92.39%, outperforming both the previous capsule-based leader, 3D-UCaps (92.08%), and the standard 3D-UNet (91.59%).
  • Cardiac: The model reached a Dice score of 89.77%, significantly surpassing 3D DR-UNet (87.40%) and 3D Vnet (84.20%).

Ablation studies confirmed the impact of self-supervision: removing the SSL pretext task resulted in a performance drop from 92.39% to 92.08% on the iSeg dataset, highlighting the tangible benefits of the pre-training phase.

Discussion and Conclusion

The success of SS-3DCapsNet underscores several key insights:

  • Parameter Efficiency: The model achieves competitive results with only 17 layers, compared to the 82 layers required by some state-of-the-art CNNs.
  • Hybrid Advantages: Combining capsules for encoding with CNNs for decoding allows the model to retain spatial hierarchy while maintaining efficient upsampling.
  • SSL as a Stabilizer: Self-supervision effectively mitigates the initialization sensitivity typical of Capsule Networks.

Future work will explore more advanced SSL frameworks, such as contrastive learning (e.g., SimCLR), to further prevent potential model collapse and improve performance on even more sparsely labeled datasets.

Summary updated

BibTeX
@inproceedings{tran2022ss,
  author = {Minh Tran and Loi Ly and Binh-Son Hua and Ngan Le},
  title = {{SS-3DCAPSNET: Self-Supervised 3d Capsule Networks for Medical Segmentation on Less Labeled Data}},
  booktitle = {ISBI},
  year = {2022},
  doi = {10.1109/isbi52829.2022.9761627},
}
Figure