SemFormer: Semantic Guided Activation Transformer for Weakly Supervised Semantic Segmentation

Junliang Chen, Xiaodong Zhao, Cheng Luo, Linlin Shen
10/26/2022
cs.CV
transformer-attention

Official code: JLChen-C/SemFormer (18 stars, Python, last commit 2022-06-25).

Abstract

Recent mainstream weakly supervised semantic segmentation (WSSS) approaches are mainly based on Class Activation Map (CAM) generated by a CNN (Convolutional Neural Network) based image classifier. In this paper, we propose a novel transformer-based framework, named Semantic Guided Activation Transformer (SemFormer), for WSSS.

Show full abstract

We design a transformer-based Class-Aware AutoEncoder (CAAE) to extract the class embeddings for the input image and learn class semantics for all classes of the dataset. The class embeddings and learned class semantics are then used to guide the generation of activation maps with four losses, i.e., class-foreground, class-background, activation suppression, and activation complementation loss. Experimental results show that our SemFormer achieves \textbf{74.3}\% mIoU and surpasses many recent mainstream WSSS approaches by a large margin on PASCAL VOC 2012 dataset. Code will be available at \url{https://github.com/JLChen-C/SemFormer}.

View on arXivView PDF

Code Implementations(1)

JLChen-C/SemFormerOfficial100%
182PythonMay 26, 20224 years ago

Similar Papers

Cite this paper

@article{chen2022semformer,
  title  = {SemFormer: Semantic Guided Activation Transformer for Weakly Supervised Semantic Segmentation},
  author = {Junliang Chen and Xiaodong Zhao and Cheng Luo and Linlin Shen},
  year   = {2022},
  eprint = {2210.14618},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.14618}
}

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/2210.14618.svg)](https://codeofpaper.com/paper/2210.14618)

Discussion