Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentation
Huiyu Wang, Yukun Zhu, Bradley Green, Hartwig Adam, Alan Yuille, Liang-Chieh Chen
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/google-research/deeplab2Officialtf★ 1,034
- github.com/The-AI-Summer/self_attentionpytorch★ 1,215
- github.com/csrhddlam/axial-deeplabIn paperpytorch★ 461
- github.com/xiaofeng94/gmflownetpytorch★ 104
- github.com/MartinGer/Stand-Alone-Axial-Attentionpytorch★ 12
Abstract
Convolution exploits locality for efficiency at a cost of missing long range context. Self-attention has been adopted to augment CNNs with non-local interactions. Recent works prove it possible to stack self-attention layers to obtain a fully attentional network by restricting the attention to a local region. In this paper, we attempt to remove this constraint by factorizing 2D self-attention into two 1D self-attentions. This reduces computation complexity and allows performing attention within a larger or even global region. In companion, we also propose a position-sensitive self-attention design. Combining both yields our position-sensitive axial-attention layer, a novel building block that one could stack to form axial-attention models for image classification and dense prediction. We demonstrate the effectiveness of our model on four large-scale datasets. In particular, our model outperforms all existing stand-alone self-attention models on ImageNet. Our Axial-DeepLab improves 2.8% PQ over bottom-up state-of-the-art on COCO test-dev. This previous state-of-the-art is attained by our small variant that is 3.8x parameter-efficient and 27x computation-efficient. Axial-DeepLab also achieves state-of-the-art results on Mapillary Vistas and Cityscapes.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| Cityscapes test | Axial-DeepLab-XL (Mapillary Vistas, multi-scale) | PQ | 66.6 | — | Unverified |
| Cityscapes val | Axial-DeepLab-XL (Mapillary Vistas, multi-scale) | PQ | 68.5 | — | Unverified |
| COCO minival | Axial-DeepLab-L(multi-scale) | PQst | 36.8 | — | Unverified |
| COCO minival | Axial-DeepLab-L (multi-scale) | PQ | 43.9 | — | Unverified |
| COCO minival | Axial-DeepLab-L (single-scale) | PQ | 43.4 | — | Unverified |
| COCO test-dev | Axial-DeepLab-L (multi-scale) | PQ | 44.2 | — | Unverified |
| COCO test-dev | Axial-DeepLab-L | PQ | 43.6 | — | Unverified |
| Mapillary val | Axial-DeepLab-L (multi-scale) | PQ | 41.1 | — | Unverified |