Expectation-Maximization Attention Networks for Semantic Segmentation
Xia Li, Zhisheng Zhong, Jianlong Wu, Yibo Yang, Zhouchen Lin, Hong Liu
Abstract
Self-attention mechanism has been widely used for various tasks. It is designed to compute the representation of each position by a weighted sum of the features at all positions. Thus, it can capture long-range relations for computer vision tasks. However, it is computationally consuming. Since the attention maps are computed w.r.t all other positions. In this paper, we formulate the attention mechanism into an expectation-maximization manner and iteratively estimate a much more compact set of bases upon which the attention maps are computed. By a weighted summation upon these bases, the resulting representation is low-rank and deprecates noisy information from the input. The proposed Expectation-Maximization Attention (EMA) module is robust to the variance of input and is also friendly in memory and computation. Moreover, we set up the bases maintenance and normalization methods to stabilize its training procedure. We conduct extensive experiments on popular semantic segmentation benchmarks including PAS-CAL VOC, PASCAL Context and COCO Stuff, on which we set new records 1 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers80
- SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
- SegNeXt: Rethinking Convolutional Attention Design for Semantic SegmentationMeng-Hao Guo, Cheng-Ze Lu, Qibin Hou, Zhengning Liu et al.NeurIPS 2022 · 1,385 citations
- K-Net: Towards Unified Image SegmentationWenwei Zhang, Jiangmiao Pang, Kai Chen, Chen Change LoyNeurIPS 2021 · 500 citations
- Rethinking Semantic Segmentation: A Prototype ViewTianfei Zhou, Wenguan Wang, Ender Konukoglu, Luc Van GoolCVPR 2022 · 353 citations
- Perturbed and Strict Mean Teachers for Semi-supervised Semantic SegmentationYuyuan Liu, Yu Tian, Yuanhong Chen, Fengbei Liu et al.CVPR 2022 · 287 citations
Related papers
- Compressed Self-Attention for Deep Metric LearningZiye Chen, Mingming Gong, Yanwu Xu, Chaohui Wang et al.AAAI 2020 · 7 citations
- SegViT: Semantic Segmentation with Plain Vision TransformersBowen Zhang, Zhi Tian, Quan Tang, Xiangxiang Chu et al.NeurIPS 2022 · 242 citations
- Self-Supervised Equivariant Attention Mechanism for Weakly Supervised Semantic SegmentationYude Wang, Jie Zhang, Meina Kan, Shiguang Shan et al.CVPR 2020
- MCA: Moment Channel Attention NetworksYangbo Jiang, Zhiwei Jiang, Le Han, Zenan Huang et al.AAAI 2024 · 15 citations
- Fully Attentional Network for Semantic SegmentationQi Song, Jie Li, Chenghong Li, Hao Guo et al.AAAI 2022 · 63 citations
