All models

CASCADE

PVTv2-b2 encoder with a cascaded attention decoder for 2D medical image segmentation.

Medical imaging · 808 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 (17 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
35.3M
Operations
808
Framework
PyTorch
Recurrent
No
Published
WACV 2023
Cited by
421 (as of 28 October 2026)
Authors
Md Mostafijur Rahman, Radu Marculescu
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
m15043
Graph hash
bced257568cd4ae33649149fd3dee1b35f16974f288ba41a506e3e70f53f91c1
Skeleton hash
111175eecfab5755cf839e241c5e86a1a6031b81c6613fcd4c6e38729fc50511
Architecture hash
4def228f02e45c1dff516fb9722921ec57676d265cc3d3f2ae54d3a9a7799310
Diagram SHA-256
b24adf6321997067e7d06fe1d149bb063ae51379e851b36bb7471b482ec4ce3e
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

CASCADE (CASCaded Attention DEcoder) is an attention-based decoder for medical image segmentation that works on the multi-scale features of a hierarchical vision transformer. The paper's starting point is that transformers capture long-range dependencies through self-attention but lack the ability to learn local relations among pixels. This model is PVT-CASCADE, which pairs the decoder with the PVTv2-b2 encoder.

The decoder has four convolutional attention modules (CAMs), one for each stage of the encoder's pyramid features, and three attention gates (AGs) for the three skip connections. Each gate uses additive attention, as in Attention UNet, to fuse upsampled features with a skip connection. Each CAM applies channel attention, spatial attention and a convolutional block. The output of every CAM goes to a prediction head, and the four predictions are aggregated into the final segmentation map, which is why the graph ends in four mask outputs.

For polyp segmentation the paper resizes images to 352 × 352. On polyp test sets not seen in training, it reports 2.04 - 3.2% higher DICE than the previous best model using the same pre-trained transformer backbone. On the ACDC dataset it reports a 91.46% DICE score for PVT-CASCADE.

Key idea. CASCADE decodes hierarchical transformer features with attention gates on the skip connections and convolutional attention modules, aggregating four stage-wise predictions into one segmentation map.

  • CASCADE
  • CASCaded Attention DEcoder
  • PVT-CASCADE
  • TransCASCADE
  • cascaded attention decoding
  • medical image segmentation
  • polyp segmentation
  • attention gate
  • convolutional attention module

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

Cite the paper

@inproceedings{Rahman_2023, title={Medical Image Segmentation via Cascaded Attention Decoding}, url={http://dx.doi.org/10.1109/WACV56688.2023.00616}, DOI={10.1109/wacv56688.2023.00616}, booktitle={2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)}, publisher={IEEE}, author={Rahman, Md Mostafijur and Marculescu, Radu}, year={2023}, month=Jan, pages={6211–6220} }