SFC: Shared Feature Calibration in Weakly Supervised Semantic Segmentation

Xinqiao Zhao, Feilong Tang, Xiaoyang Wang, Jimin Xiao
1/22/2024
cs.CVcs.AI

Official code: Barrett-python/SFC (25 stars, MIT, last commit 2024-07-02).

Abstract

Image-level weakly supervised semantic segmentation has received increasing attention due to its low annotation cost. Existing methods mainly rely on Class Activation Mapping (CAM) to obtain pseudo-labels for training semantic segmentation models. In this work, we are the first to demonstrate that long-tailed distribution in training data can cause the CAM calculated through classifier weights over-activated for head classes and under-activated for tail classes due to the shared features among head- and tail- classes. This degrades pseudo-label quality and further influences final semantic segmentation performance. To address this issue, we propose a Shared Feature Calibration (SFC) method for CAM generation. Specifically, we leverage the class prototypes that carry positive shared features and propose a Multi-Scaled Distribution-Weighted (MSDW) consistency loss for narrowing the gap between the CAMs generated through classifier weights and class prototypes during training. The MSDW loss counterbalances over-activation and under-activation by calibrating the shared features in head-/tail-class classifier weights. Experimental results show that our SFC significantly improves CAM boundaries and achieves new state-of-the-art performances. The project is available at https://github.com/Barrett-python/SFC.

View on arXivView PDF

Code Implementations(1)

Barrett-python/SFCOfficial100%
MIT

SFC: Shared Feature Calibration in Weakly Supervised Semantic Segmentation (AAAI24)

253Shell, PythonMay 24, 20232 years agoMIT

Cite this paper

@article{zhao2024sfc,
  title  = {SFC: Shared Feature Calibration in Weakly Supervised Semantic Segmentation},
  author = {Xinqiao Zhao and Feilong Tang and Xiaoyang Wang and Jimin Xiao},
  year   = {2024},
  eprint = {2401.11719},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.11719v1}
}

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

Discussion