All models

DAEFormer

U-Net-like pure Transformer for medical image segmentation with dual spatial and channel attention.

Medical imaging · 922 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 (21 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
48.1M
Operations
922
Framework
PyTorch
Recurrent
No
Published
MICCAI 2023 PRIME workshop
Cited by
212 (as of 30 October 2026)
Authors
Reza Azad, René Arimond, Ehsan Khodapanah Aghdam and others
License
MIT
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
m15524
Graph hash
e3c0fd30491f6d5e41a9dd56d8ee2db3cd0d11eadf0af603c58e9553cf477034
Skeleton hash
2b46f02740d47126da5b4d7feae3cb451c3c3472ef429e20269df50848f6a3bb
Architecture hash
c603bbeb69fd7e59cd5aff5fada2fc8aebd8ecb532d0cbafaec6150383d2017a
Diagram SHA-256
672d5f8feef81482cb2f1a8881772832f008ecc8c6d6854a0e9d02d0dd2777b8
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

DAE-Former is a U-Net-shaped network for medical image segmentation that is built from Transformer blocks throughout, with attention over both spatial positions and channels. Its starting point is the cost of self-attention, which grows quadratically with the number of tokens. Rather than limiting attention to local regions, each block applies two cheaper forms of attention in sequence, efficient attention followed by transpose attention. Efficient attention handles the spatial side at linear cost, and transpose attention is a channel attention mechanism.

The skip connections are changed as well: instead of concatenating encoder and decoder features, a skip connection cross attention (SCCA) module cross-attends them. The encoder and the decoder each have 3 blocks.

On the Synapse multi-organ CT dataset the paper reports a Dice score 0.67% higher than the earlier MISSFormer. It also evaluates on ISIC 2018 skin lesion segmentation, where it gives its own model's size as 48.1M parameters. An ablation of ways to combine the two attentions found the sequential order best, with the fewest parameters, and it is used in all layers.

Key idea. DAE-Former pairs efficient spatial attention with transpose channel attention in each Transformer block and fuses encoder and decoder features by cross attention in a U-Net-like segmentation network.

  • DAE-Former
  • DAEFormer
  • dual attention
  • efficient transformer
  • medical image segmentation
  • multi-organ segmentation
  • skin lesion segmentation
  • Synapse
  • skip connection cross attention

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

Cite the paper

@misc{azad2023daeformerdualattentionguidedefficient,
      title={DAE-Former: Dual Attention-guided Efficient Transformer for Medical Image Segmentation}, 
      author={Reza Azad and René Arimond and Ehsan Khodapanah Aghdam and Amirhossein Kazerouni and Dorit Merhof},
      year={2023},
      eprint={2212.13504},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2212.13504}, 
}