All models

3D-UCaps (3D Capsule U-Net)

A U-shaped network for volumetric medical image segmentation with a 3D capsule encoder and a convolutional decoder.

Medical imaging · 247 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (191 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.4M
Operations
247
Framework
PyTorch
Recurrent
Yes
Published
MICCAI 2021
Cited by
40 (as of 29 October 2026)
Authors
Tan Nguyen, Binh-Son Hua, Ngan Le
License
BSD-3-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14443
Graph hash
aecc1f755b9562135d4d8a0a900b0a68ef78623554b49b1d0a268fbd718a8e98
Skeleton hash
83e5fc00f54455cebc3e9260cf2732e831a619b2101ae28e9e835340af9a68b2
Architecture hash
165a4a98b59e3353d7a7eba2916a10703263746101513f0ba7a9f8e957df685e
Diagram SHA-256
34c277eecdd6e1de4588d9129c8cca28ddc042a992a2cef88f97633f219f437e
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

3D-UCaps is a capsule network that segments volumetric medical images, working on voxels in 3D. The motivation is that pooling layers in conventional CNNs tend to discard information such as position, while capsule networks replace pooling with dynamic routing and convolutional strides to preserve part-whole relationships.

The network follows a Unet-like layout with three components. A visual feature extractor of three dilated convolution layers, with 16, 32 and 64 channels and 5×5×5 kernels, turns the input into features the capsules can process. The encoder is built from 3D convolutional capsule layers that take the volume directly instead of treating it as separate slices, as SegCaps does. The decoder is the convolutional decoder of 3D Unet, with deconvolution, skip connections, convolution and BatchNorm layers. Capsules appear only in the contracting path: the paper reports that capsules in the expanding path had negligible effect while adding high computational cost from routing.

Training applies a margin loss at the capsule encoder, using a downsampled ground truth segmentation, and a weighted cross entropy loss at the decoder head. An additional branch reconstructs the original input image as a regularizer, scored with a masked mean-squared error. The paper's experiments use iSeg-2017, LUNA16, Hippocampus and Cardiac.

Key idea. 3D-UCaps pairs an encoder of 3D capsule blocks with a decoder of 3D convolutional blocks for volumetric medical image segmentation.

  • 3D-UCaps
  • UCaps
  • 3D Capsules Unet
  • capsule network
  • medical image segmentation
  • volumetric image segmentation
  • MRI segmentation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{nguyen20223ducaps3dcapsulesunet,
      title={3D-UCaps: 3D Capsules Unet for Volumetric Image Segmentation}, 
      author={Tan Nguyen and Binh-Son Hua and Ngan Le},
      year={2022},
      eprint={2203.08965},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2203.08965}, 
}