Axial-DeepLab
Image classifier built from position-sensitive axial-attention layers after a convolutional stem.
Image classification · 578 operations Checked
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
- Task
- Image classification
- Parameters
- 5.9M
- Operations
- 578
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECCV 2020
- Cited by
- 809 (as of 27 October 2026)
- Authors
- Huiyu Wang, Yukun Zhu, Bradley Green and others
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14792
- Graph hash
- e4c3bee517a4e29a3440ccb80d018f8855543304c5ce4906bb9c49d0c5817471
- Skeleton hash
- 6bf93cbfa1d8594e4bad523fd8ccd1eda3c2380a4f0ed5cff97fd93f7eabc239
- Architecture hash
- a4766ec0365e0153d4b7cbfa574549e50dcf8271508031ed257344c350d00771
- Diagram SHA-256
- 50e30ddf135097b7a0688c1a3aebbff24ad02952601abc820be6547f64823b6b
- 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
Axial-DeepLab builds image models from axial attention, which factorizes 2D self-attention into two 1D self-attentions. The paper starts from the observation that convolution exploits locality for efficiency but misses long range context. Earlier fully attentional networks stacked self-attention layers by restricting the attention to a local region. The factorization reduces computation complexity and allows attention within a larger or even global region. Combined with a position-sensitive self-attention design, it gives the position-sensitive axial-attention layer, a building block that can be stacked into models for image classification and dense prediction.
On ImageNet, the paper reports that its model outperformed the stand-alone self-attention models that existed at the time. For panoptic segmentation, it reports that Axial-DeepLab improves 2.8% PQ over the best earlier bottom-up result on COCO test-dev.
This model is the classification backbone from the PyTorch re-implementation of the paper, which supports only ImageNet classification with the "Conv-Stem + Axial-Attention" backbone. The panoptic segmentation model has an official TF2 re-implementation in DeepLab2. The repository's model zoo lists Axial-ResNet-26-S at 5.9M parameters and 75.8% top-1 accuracy, against 13.7M and 74.5% for ResNet-26.
Key idea. Axial-DeepLab factorizes 2D self-attention into two 1D self-attentions and adds position sensitivity, giving a stackable layer that can attend within a larger or even global region.
- Axial-DeepLab
- Axial-ResNet
- Axial-ResNet-26-S
- axial26s
- axial attention
- position-sensitive axial-attention
- stand-alone self-attention
- panoptic segmentation
- image classification
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2020axialdeeplabstandaloneaxialattentionpanoptic,
title={Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentation},
author={Huiyu Wang and Yukun Zhu and Bradley Green and Hartwig Adam and Alan Yuille and Liang-Chieh Chen},
year={2020},
eprint={2003.07853},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2003.07853},
}