Channelized Axial Attention for Semantic Segmentation -- Considering Channel Relation within Spatial Attention for Semantic Segmentation

Ye Huang, Di Kang, Wenjing Jia, Xiangjian He, Liu Liu
1/19/2021
cs.CV

Official code: edwardyehuang/CAA (31 stars, Python, MIT, last commit 2022-07-12).

Abstract

Spatial and channel attentions, modelling the semantic interdependencies in spatial and channel dimensions respectively, have recently been widely used for semantic segmentation. However, computing spatial and channel attentions separately sometimes causes errors, especially for those difficult cases.

Show full abstract

In this paper, we propose Channelized Axial Attention (CAA) to seamlessly integrate channel attention and spatial attention into a single operation with negligible computation overhead. Specifically, we break down the dot-product operation of the spatial attention into two parts and insert channel relation in between, allowing for independently optimized channel attention on each spatial location. We further develop grouped vectorization, which allows our model to run with very little memory consumption without slowing down the running speed. Comparative experiments conducted on multiple benchmark datasets, including Cityscapes, PASCAL Context, and COCO-Stuff, demonstrate that our CAA outperforms many state-of-the-art segmentation models (including dual attention) on all tested datasets.

View on arXivView PDF

Code Implementations(1)

edwardyehuang/CAAOfficial100%
MIT

Channelized Axial Attention for Semantic Segmentation (AAAI-2022)

315PythonMar 2, 20214 years agoMIT

Similar Papers

Cite this paper

@article{huang2021channelized,
  title  = {Channelized Axial Attention for Semantic Segmentation -- Considering Channel Relation within Spatial Attention for Semantic Segmentation},
  author = {Ye Huang and Di Kang and Wenjing Jia and Xiangjian He and Liu Liu},
  year   = {2021},
  eprint = {2101.07434},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.07434}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.07434.svg)](https://codeofpaper.com/paper/2101.07434)

Discussion