CVMar 2, 2023

Token Contrast for Weakly-Supervised Semantic Segmentation

arXiv:2303.01267v1175 citationsh-index: 28Has Code
Originality Incremental advance
AI Analysis

This work addresses a specific bottleneck in weakly-supervised semantic segmentation for computer vision applications, offering an incremental improvement over existing methods.

The paper tackles the over-smoothing issue in Vision Transformers for Weakly-Supervised Semantic Segmentation by proposing Token Contrast (ToCo), which improves Class Activation Map accuracy and achieves comparable performance to state-of-the-art multi-stage methods on PASCAL VOC and MS COCO datasets.

Weakly-Supervised Semantic Segmentation (WSSS) using image-level labels typically utilizes Class Activation Map (CAM) to generate the pseudo labels. Limited by the local structure perception of CNN, CAM usually cannot identify the integral object regions. Though the recent Vision Transformer (ViT) can remedy this flaw, we observe it also brings the over-smoothing issue, \ie, the final patch tokens incline to be uniform. In this work, we propose Token Contrast (ToCo) to address this issue and further explore the virtue of ViT for WSSS. Firstly, motivated by the observation that intermediate layers in ViT can still retain semantic diversity, we designed a Patch Token Contrast module (PTC). PTC supervises the final patch tokens with the pseudo token relations derived from intermediate layers, allowing them to align the semantic regions and thus yield more accurate CAM. Secondly, to further differentiate the low-confidence regions in CAM, we devised a Class Token Contrast module (CTC) inspired by the fact that class tokens in ViT can capture high-level semantics. CTC facilitates the representation consistency between uncertain local regions and global objects by contrasting their class tokens. Experiments on the PASCAL VOC and MS COCO datasets show the proposed ToCo can remarkably surpass other single-stage competitors and achieve comparable performance with state-of-the-art multi-stage methods. Code is available at https://github.com/rulixiang/ToCo.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes