All models

DDANet

Polyp segmentation network with one shared encoder and two decoders, one for the mask and one for reconstruction.

Medical imaging · 466 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 (36 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
6.8M
Operations
466
Framework
PyTorch
Recurrent
No
Published
ICPR 2020 Workshops (EndoTect challenge)
Cited by
162 (as of 28 October 2026)
Authors
Nikhil Kumar Tomar, Debesh Jha, Sharib Ali and others
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
m15584
Graph hash
3b9fe63ebb28395d3f4f0206e75b5cc8cc47083a21c2a515e5ce08ca593de7a7
Skeleton hash
fe20bca89bb428e53bf4d52804151afe14e0ebbf4ad2c25719930c47cb84eba6
Architecture hash
9d2921d90872098fe176c4eb9ec1c0729ee0738cd8322db007b48883c1bb0c1e
Diagram SHA-256
c7eb6e6dadf35daa702b6d6a56bb59ede2607ec2255141839816bc8c54dc23d8
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

DDANet (Dual Decoder Attention Network) is a fully convolutional network for segmenting polyps in colonoscopy images. A single encoder is shared by two parallel decoders: the first acts as a segmentation network and the second as an autoencoder. The network takes an RGB image and predicts both the segmentation mask and a reconstructed grayscale image.

The reconstruction is an auxiliary task that exists to produce attention. After each decoder block of the autoencoder branch, a 1 × 1 convolution and a sigmoid turn its output into an attention map, which is multiplied by the output of the segmentation branch before the next decoder block. The layout follows an encoder-decoder design similar to ResUNet++ and combines residual learning with squeeze and excitation, a channel-wise attention mechanism. The encoder has four blocks and each decoder has four blocks.

The model was built for the Endotect challenge. Trained on Kvasir-SEG and tested on the unseen challenge dataset, the paper reports a dice coefficient of 0.7874 and an mIoU of 0.7010. The authors report an average speed of 70.23 frames per second, and they note that flat polyps remain hard to identify.

Key idea. DDANet shares one encoder between a segmentation decoder and an autoencoder decoder, and uses the autoencoder branch to generate attention maps for the segmentation branch.

  • DDANet
  • Dual Decoder Attention Network
  • polyp segmentation
  • colonoscopy
  • Kvasir-SEG
  • Endotect challenge
  • dual decoder
  • medical image segmentation
  • autoencoder branch

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

Cite the paper

@misc{tomar2020ddanetdualdecoderattention,
      title={DDANet: Dual Decoder Attention Network for Automatic Polyp Segmentation}, 
      author={Nikhil Kumar Tomar and Debesh Jha and Sharib Ali and Håvard D. Johansen and Dag Johansen and Michael A. Riegler and Pål Halvorsen},
      year={2020},
      eprint={2012.15245},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2012.15245}, 
}