HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

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

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. 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.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
semantic-segmentation-on-cityscapesCAA (ResNet-101)
Mean IoU (class): 82.6%
semantic-segmentation-on-coco-stuff-testCAA (ResNet-101)
mIoU: 41.2%
semantic-segmentation-on-coco-stuff-testCAA (Efficientnet-B7)
mIoU: 45.4%
semantic-segmentation-on-pascal-contextCAA + Simple decoder (Efficientnet-B7)
mIoU: 60.5
semantic-segmentation-on-pascal-contextCAA (Efficientnet-B7)
mIoU: 60.1
semantic-segmentation-on-pascal-contextCAA (ResNet-101)
mIoU: 55.0

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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp