Semantic Segmentation by Early Region Proxy

Yifan Zhang, Bo Pang, Cewu Lu
3/26/2022
cs.CV
transformer-attention

Official code: YiF-Zhang/RegionProxy (62 stars, Python, MIT, PyTorch, last commit 2022-04-21).

Abstract

Typical vision backbones manipulate structured features. As a compromise, semantic segmentation has long been modeled as per-point prediction on dense regular grids.

Show full abstract

In this work, we present a novel and efficient modeling that starts from interpreting the image as a tessellation of learnable regions, each of which has flexible geometrics and carries homogeneous semantics. To model region-wise context, we exploit Transformer to encode regions in a sequence-to-sequence manner by applying multi-layer self-attention on the region embeddings, which serve as proxies of specific regions. Semantic segmentation is now carried out as per-region prediction on top of the encoded region embeddings using a single linear classifier, where a decoder is no longer needed. The proposed RegProxy model discards the common Cartesian feature layout and operates purely at region level. Hence, it exhibits the most competitive performance-efficiency trade-off compared with the conventional dense prediction methods. For example, on ADE20K, the small-sized RegProxy-S/16 outperforms the best CNN model using 25% parameters and 4% computation, while the largest RegProxy-L/16 achieves 52.9mIoU which outperforms the state-of-the-art by 2.1% with fewer resources. Codes and models are available at https://github.com/YiF-Zhang/RegionProxy.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[CVPR22] Official codebase of Semantic Segmentation by Early Region Proxy.

621PythonMar 26, 20224 years agoMIT
computer-visioncvpr2022pytorchsemantic-segmentationvision-transformer

Similar Papers

Cite this paper

@article{zhang2022semantic,
  title  = {Semantic Segmentation by Early Region Proxy},
  author = {Yifan Zhang and Bo Pang and Cewu Lu},
  year   = {2022},
  eprint = {2203.14043},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.14043}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.14043.svg)](https://codeofpaper.com/paper/2203.14043)

Discussion