Introduction
Weakly Supervised Object Localization (WSOL) and Semantic Segmentation (WSSS) aim to identify and delineate objects using only image-level labels, significantly reducing the cost of data annotation. However, traditional methods based on Class Activation Maps (CAMs) often suffer from the "discriminative part" problem, where the model focuses only on the most salient features of an object (e.g., a bird's head) rather than its entire extent.
This paper introduces Background Activation Suppression (BAS), a novel approach that addresses this limitation by identifying a fundamental mismatch in standard classification training and proposing a method to force the model to "see" the entire object.
The Motivation: The Cross-Entropy Mismatch
A key insight of this work is that standard cross-entropy loss is a poor proxy for full object localization. Due to the exponential nature of the softmax function, classification loss often converges to near zero as soon as a small, highly discriminative part of the object is identified. At this point, the model has no further incentive to expand its focus to the rest of the object.
In contrast, the authors observed that raw activation values (pre-softmax) continue to increase until the predicted mask covers the entire object. This suggests that "confidence" (probability) and "coverage" (activation) are decoupled in standard classifiers, and that raw activations are a much better indicator of object extent.
Proposed Method: Background Activation Suppression (BAS)
To leverage this observation, the authors propose a framework consisting of three main components: an Extractor, a Generator, and an Activation Map Constraint (AMC) module.
The Generator-Evaluator Paradigm
Unlike traditional CAM-based methods that extract maps directly from a classifier, BAS employs a dedicated generator to produce a Foreground Prediction Map (FPM). This map is then evaluated and refined through the AMC module.
Activation Map Constraint (AMC)
The AMC module supervises the generator using four distinct losses:
- BAS Loss: The core innovation. It minimizes the ratio of background activation to total activation. The authors found that this "symmetry"—minimizing background rather than directly maximizing foreground—is mathematically more stable and effective for achieving full object coverage.
- Area Constraint ($\mathcal{L}_{ac}$): Prevents the foreground mask from expanding infinitely into the background.
- Foreground Region Guidance ($\mathcal{L}_{frg}$): Uses high-level semantic information to ensure the mask remains on the target object.
- Classification Loss ($\mathcal{L}_{cls}$): Ensures the localized region contains features representative of the correct category.
An additional technical discovery was that keeping negative activation values during training (by removing the final ReLU layer in parts of the pipeline) is crucial for the model to effectively learn what constitutes the background.
Key Results
The BAS method was evaluated on several major benchmarks, including CUB-200-2011, ImageNet, and PASCAL VOC 2012.
- Localization: On the CUB-200-2011 dataset using a ResNet50 backbone, BAS achieved a 95.41% GT-known localization accuracy, a substantial jump over previous state-of-the-art methods.
- Segmentation: On PASCAL VOC 2012, the method reached 69.6% mIoU on the validation set, outperforming many complex multi-stage models.
- Qualitative Improvement: Visual results demonstrate that BAS produces significantly "sharper" and more complete object masks compared to the often blurry and part-focused maps generated by standard CAMs.
Conclusion and Future Work
BAS demonstrates that suppressing background activations is a powerful and efficient way to achieve high-quality object localization from weak labels. While highly effective, the current method uses a global hyperparameter for the area constraint, which can be sensitive to object scale variance. Future research will explore adaptive constraints and extending this principle to instance-level segmentation tasks.
Summary updated