English

WegFormer: Transformers for Weakly Supervised Semantic Segmentation

Computer Vision and Pattern Recognition 2022-03-17 v1

Abstract

Although convolutional neural networks (CNNs) have achieved remarkable progress in weakly supervised semantic segmentation (WSSS), the effective receptive field of CNN is insufficient to capture global context information, leading to sub-optimal results. Inspired by the great success of Transformers in fundamental vision areas, this work for the first time introduces Transformer to build a simple and effective WSSS framework, termed WegFormer. Unlike existing CNN-based methods, WegFormer uses Vision Transformer (ViT) as a classifier to produce high-quality pseudo segmentation masks. To this end, we introduce three tailored components in our Transformer-based framework, which are (1) a Deep Taylor Decomposition (DTD) to generate attention maps, (2) a soft erasing module to smooth the attention maps, and (3) an efficient potential object mining (EPOM) to filter noisy activation in the background. Without any bells and whistles, WegFormer achieves state-of-the-art 70.5% mIoU on the PASCAL VOC dataset, significantly outperforming the previous best method. We hope WegFormer provides a new perspective to tap the potential of Transformer in weakly supervised semantic segmentation. Code will be released.

Keywords

Cite

@article{arxiv.2203.08421,
  title  = {WegFormer: Transformers for Weakly Supervised Semantic Segmentation},
  author = {Chunmeng Liu and Enze Xie and Wenjia Wang and Wenhai Wang and Guangyao Li and Ping Luo},
  journal= {arXiv preprint arXiv:2203.08421},
  year   = {2022}
}

Comments

Tech Report

R2 v1 2026-06-24T10:15:14.662Z