Command Palette
Search for a command to run...
Huiyu Wang Yukun Zhu Bradley Green Hartwig Adam Alan Yuille Liang-Chieh Chen

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.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| panoptic-segmentation-on-cityscapes-test | Axial-DeepLab-XL (Mapillary Vistas, multi-scale) | PQ: 66.6 |
| panoptic-segmentation-on-cityscapes-val | Axial-DeepLab-XL (Mapillary Vistas, multi-scale) | AP: 44.2 PQ: 68.5 mIoU: 84.6 |
| panoptic-segmentation-on-coco-minival | Axial-DeepLab-L (multi-scale) | PQ: 43.9 |
| panoptic-segmentation-on-coco-minival | Axial-DeepLab-L(multi-scale) | PQst: 36.8 PQth: 48.6 |
| panoptic-segmentation-on-coco-minival | Axial-DeepLab-L (single-scale) | PQ: 43.4 PQst: 35.6 PQth: 48.5 |
| panoptic-segmentation-on-coco-test-dev | Axial-DeepLab-L (multi-scale) | PQ: 44.2 PQst: 36.8 PQth: 49.2 |
| panoptic-segmentation-on-coco-test-dev | Axial-DeepLab-L | PQ: 43.6 PQst: 35.6 PQth: 48.9 |
| panoptic-segmentation-on-mapillary-val | Axial-DeepLab-L (multi-scale) | PQ: 41.1 PQst: 51.3 PQth: 33.4 mIoU: 58.4 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.