Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Real-time Semantic Segmentation with Fast Attention

About

In deep CNN based models for semantic segmentation, high accuracy relies on rich spatial context (large receptive fields) and fine spatial details (high resolution), both of which incur high computational costs. In this paper, we propose a novel architecture that addresses both challenges and achieves state-of-the-art performance for semantic segmentation of high-resolution images and videos in real-time. The proposed architecture relies on our fast spatial attention, which is a simple yet efficient modification of the popular self-attention mechanism and captures the same rich spatial context at a small fraction of the computational cost, by changing the order of operations. Moreover, to efficiently process high-resolution input, we apply an additional spatial reduction to intermediate feature stages of the network with minimal loss in accuracy thanks to the use of the fast attention module to fuse features. We validate our method with a series of experiments, and show that results on multiple datasets demonstrate superior performance with better accuracy and speed compared to existing approaches for real-time semantic segmentation. On Cityscapes, our network achieves 74.4$\%$ mIoU at 72 FPS and 75.5$\%$ mIoU at 58 FPS on a single Titan X GPU, which is~$\sim$50$\%$ faster than the state-of-the-art while retaining the same accuracy.

Ping Hu, Federico Perazzi, Fabian Caba Heilbron, Oliver Wang, Zhe Lin, Kate Saenko, Stan Sclaroff• 2020

Related benchmarks

TaskDatasetResultRank
Semantic segmentationCityscapes (test)
mIoU75.5
1145
Semantic segmentationCityscapes (val)
mIoU76.3
572
Semantic segmentationCOCO Stuff
mIoU29.5
195
Semantic segmentationCityscapes (val)
mIoU71.3
133
Semantic segmentationPotsdam (test)
mIoU84.2
104
Semantic segmentationVaihingen
mIoU75.6
95
Video Semantic SegmentationCityscapes (val)
mIoU76.7
91
Semantic segmentationCamVid
mIoU70.1
61
Semantic segmentationDensePASS (test)
mIoU26.9
51
Semantic segmentationVaihingen (test)
OA0.889
43
Showing 10 of 12 rows

Other info

Follow for update