Skip to main content
QUICK REVIEW

[Paper Review] Threshold Matters in WSSS: Manipulating the Activation for the Robust and Accurate Segmentation Model Against Thresholds

Minhyun Lee, Dongseob Kim|arXiv (Cornell University)|Mar 30, 2022
Advanced Neural Network ApplicationsComputer Science8 citations
TL;DR

This paper identifies global thresholding after class activation mapping (CAM) as a key bottleneck in weakly supervised semantic segmentation (WSSS), not sparse object coverage. It proposes an Activation Manipulation Network (AMN) with per-pixel classification and label conditioning to reduce foreground activation imbalance and increase foreground-background activation gaps, enabling robust, high-accuracy pseudo-masks independent of threshold choice, achieving new state-of-the-art mIoU scores of 70.7% on PASCAL VOC 2012 and 44.7% on MS COCO 2014.

ABSTRACT

Weakly-supervised semantic segmentation (WSSS) has recently gained much attention for its promise to train segmentation models only with image-level labels. Existing WSSS methods commonly argue that the sparse coverage of CAM incurs the performance bottleneck of WSSS. This paper provides analytical and empirical evidence that the actual bottleneck may not be sparse coverage but a global thresholding scheme applied after CAM. Then, we show that this issue can be mitigated by satisfying two conditions; 1) reducing the imbalance in the foreground activation and 2) increasing the gap between the foreground and the background activation. Based on these findings, we propose a novel activation manipulation network with a per-pixel classification loss and a label conditioning module. Per-pixel classification naturally induces two-level activation in activation maps, which can penalize the most discriminative parts, promote the less discriminative parts, and deactivate the background regions. Label conditioning imposes that the output label of pseudo-masks should be any of true image-level labels; it penalizes the wrong activation assigned to non-target classes. Based on extensive analysis and evaluations, we demonstrate that each component helps produce accurate pseudo-masks, achieving the robustness against the choice of the global threshold. Finally, our model achieves state-of-the-art records on both PASCAL VOC 2012 and MS COCO 2014 datasets.

Motivation & Objective

  • To investigate whether the performance bottleneck in WSSS stems from sparse CAM coverage or from the use of a global threshold after CAM.
  • To analyze why a global threshold fails to generalize across images due to varying optimal thresholds per image.
  • To develop a method that produces high-quality, threshold-robust pseudo-masks without requiring per-image threshold tuning.
  • To achieve state-of-the-art performance in WSSS using only image-level labels by manipulating activation maps to reduce imbalance and increase foreground-background gaps.

Proposed method

  • Propose an Activation Manipulation Network (AMN) that learns to produce two-level activations (1 for foreground, 0 for background) via a per-pixel classification loss.
  • Introduce a label conditioning module that enforces pseudo-mask outputs to match true image-level labels, penalizing incorrect activations for non-target classes.
  • Use per-pixel classification to simultaneously penalize highly discriminative regions and promote less discriminative parts within the same object.
  • Apply global thresholding on the manipulated activation maps, ensuring consistent performance across different threshold values due to increased activation gap.
  • Train the model in three stages: pre-train a classifier, train AMN with per-pixel loss and label conditioning, then fine-tune the segmentation head.
  • Leverage global average pooling (GAP) in the classifier but counteract its averaging effect through activation manipulation to avoid threshold sensitivity.

Experimental results

Research questions

  • RQ1Does the performance bottleneck in WSSS stem from sparse CAM coverage or from the use of a global threshold after CAM?
  • RQ2Why does a global threshold fail to generalize across images, and how does the optimal threshold vary per image?
  • RQ3Can we achieve threshold-robust pseudo-masks by manipulating activation maps to reduce imbalance and increase foreground-background gaps?
  • RQ4Can a per-pixel classification loss and label conditioning module jointly improve pseudo-mask quality and robustness?
  • RQ5Does the proposed AMN method achieve state-of-the-art performance on standard WSSS benchmarks like PASCAL VOC 2012 and MS COCO 2014?

Key findings

  • The optimal threshold for CAM varies significantly across images, with a wide distribution on the PASCAL VOC 2012 training set, indicating that a global threshold is suboptimal.
  • A global threshold can lead to either overly sparse or overly dense masks, depending on the image, demonstrating its instability.
  • The proposed AMN method achieves 70.7% mIoU on PASCAL VOC 2012 using a MS COCO-pretrained backbone, setting a new state-of-the-art for image-level supervised WSSS.
  • On MS COCO 2014, AMN achieves 44.7% mIoU, also a new state-of-the-art, confirming effectiveness on large-scale benchmarks.
  • The method significantly improves performance on previously challenging classes like 'dining table' (from 37.5% to 53.8% mIoU) and 'tv' (from 54.9% to 57.5% mIoU), demonstrating robustness to activation imbalance.
  • Qualitative results show full object coverage and reduced boundary errors, especially for complex or visually ambiguous objects.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.