English

Expectation-Maximization Attention Networks for Semantic Segmentation

Computer Vision and Pattern Recognition 2024-05-28 v2

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 PASCAL VOC, PASCAL Context and COCO Stuff, on which we set new records.

Keywords

Cite

@article{arxiv.1907.13426,
  title  = {Expectation-Maximization Attention Networks for Semantic Segmentation},
  author = {Xia Li and Zhisheng Zhong and Jianlong Wu and Yibo Yang and Zhouchen Lin and Hong Liu},
  journal= {arXiv preprint arXiv:1907.13426},
  year   = {2024}
}

Comments

In Proceedings of International Conference in Computer Vision (ICCV), 2019. Oral

R2 v1 2026-06-23T10:35:53.466Z