Rethinking the Localization in Weakly Supervised Object Localization

Rui Xu, Yong Luo, Han Hu, Bo Du, Jialie Shen, Yonggang Wen · DOI

Abstract

Weakly Supervised Object Localization (WSOL) aims to identify object locations using only image-level labels. Traditional approaches often rely on a "separated" pipeline that generates pseudo-labels to train a Single-Class Regressor (SCR). However, SCR is limited by its inability to detect multiple objects and its sensitivity to noisy pseudo-labels. This paper introduces WEND (Weighted ENtropy guided binary-class Detector), a framework that reframes localization as a binary detection task. By employing a Binary-Class Detector (BCD) and a novel Weighted Entropy (WE) loss, WEND achieves state-of-the-art performance on CUB-200-2011 and ImageNet-1K while enabling simultaneous multi-object detection.

Introduction

Weakly Supervised Object Localization (WSOL) is a critical task for scenarios where bounding box annotations are unavailable. The prevailing paradigm involves generating "pseudo" bounding boxes (e.g., via class activation maps) and training a regressor to predict coordinates. The authors identify two fundamental weaknesses in the standard Single-Class Regression (SCR) baseline:

  1. Inflexibility: SCR is designed to output exactly one box per image, failing in scenes with multiple instances of the same class.
  2. Noise Sensitivity: Pseudo-labels are inherently noisy. Standard regression treats these labels as ground truth, causing the model to overfit to inaccurate boundaries.
Comparison between the traditional Single-Class Regression (SCR) approach and the proposed Binary-Class Detector (BCD), which supports multiple object instances.

Methods: The WEND Framework

The authors propose WEND, which shifts the focus from coordinate regression to discriminative detection. The framework introduces two primary components:

Binary-Class Detector (BCD)

Instead of a simple regressor, WEND utilizes a full object detector (such as Faster R-CNN or FCOS) modified for binary classification. This BCD is class-agnostic, learning to distinguish "foreground" (objects) from "background" (stuff). This architectural shift allows the model to propose multiple bounding boxes per image, overcoming the one-box limitation of SCR.

Weighted Entropy (WE) Loss

To mitigate the impact of noisy pseudo-labels, the authors introduce an unsupervised constraint based on entropy minimization. Recognizing that the background is typically vast and easy to classify while the foreground is sparse and complex, the Weighted Entropy (WE) loss applies a weighting mechanism inspired by Focal Loss. It down-weights the entropy of high-confidence background samples, forcing the model to focus on refining uncertain foreground regions. This effectively "sharpens" the model's predictions and allows it to ignore inaccuracies in the initial pseudo-labels.

The WEND architecture, illustrating the BCD head and the integration of Weighted Entropy (WE) loss for refining localization.

Datasets and Evaluation

The researchers evaluated WEND on two benchmark datasets:

  • CUB-200-2011: A fine-grained dataset of 200 bird species, testing the model's ability to distinguish subtle features.
  • ImageNet-1K: A large-scale dataset with 1,000 categories, testing generalization across diverse object types.

Key Results and Insights

WEND consistently outperformed previous state-of-the-art (SOTA) methods:

  • Performance Gains: On CUB-200-2011, WEND achieved a Top-1 Localization accuracy of 83.77%, a ~2% improvement over the previous best ($C^2AM$). On ImageNet-1K, it reached 60.69% Top-1 Loc.
  • Multi-Object Localization: Qualitative analysis confirmed that WEND can successfully localize multiple distinct objects in a single frame, whereas SCR-based methods typically draw a single encompassing box.
  • Efficiency: Despite using a more complex detector architecture, the binary nature of the BCD (reducing the class count to two) allowed it to run faster than standard multi-class SCR baselines in several test environments.

Conclusion and Future Work

WEND demonstrates that reframing WSOL as a binary detection task is more robust and flexible than traditional regression. By leveraging entropy minimization to clean noisy labels, the model achieves superior localization accuracy. Future research will address remaining challenges, such as handling highly complex backgrounds and improving performance in scenes with significant object occlusion.

Summary updated

BibTeX
@inproceedings{xu2023rethinking,
  author = {Rui Xu and Yong Luo and Han Hu and Bo Du and Jialie Shen and Yonggang Wen},
  title = {{Rethinking the Localization in Weakly Supervised Object Localization}},
  booktitle = {ACM Multimedia},
  year = {2023},
  doi = {10.1145/3581783.3611959},
}
Figure