Linear Attention Mechanism: An Efficient Attention for Semantic Segmentation

Rui Li,Jianlin Su,Chenxi Duan,Shunyi Zheng
DOI: https://doi.org/10.48550/arXiv.2007.14902
2020-07-29
Computer Vision and Pattern Recognition
Abstract:In this paper, to remedy this deficiency, we propose a Linear Attention Mechanism which is approximate to dot-product attention with much less memory and computational costs. The efficient design makes the incorporation between attention mechanisms and neural networks more flexible and versatile. Experiments conducted on semantic segmentation demonstrated the effectiveness of linear attention mechanism. Code is available at https://github.com/lironui/Linear-Attention-Mechanism.
What problem does this paper attempt to address?