Rethinking the Route Towards Weakly Supervised Object Localization

Chen-Lin Zhang, Yun-Hao Cao, Jianxin Wu

Abstract

Weakly supervised object localization (WSOL) aims to localize objects with only image-level labels. Previous methods often try to utilize feature maps and classification weights to localize objects using image level annotations indirectly. In this paper, we demonstrate that weakly supervised object localization should be divided into two parts: class-agnostic object localization and object classification. For class-agnostic object localization, we should use class-agnostic methods to generate noisy pseudo annotations and then perform bounding box regression on them without class labels. We propose the pseudo supervised object localization (PSOL) method as a new way to solve WSOL. Our PSOL models have good transferability across different datasets without fine-tuning. With generated pseudo bounding boxes, we achieve 58.00% localization accuracy on ImageNet and 74.74% localization accuracy on CUB-200, which have a large edge over previous models.

Introduction

Weakly supervised object localization (WSOL) is the challenge of finding where an object is in an image when only image-level labels (e.g., "cat") are available, without explicit bounding box annotations. Traditionally, researchers have relied on Class Activation Maps (CAM), which identify the regions a classification network focuses on to make its decision.

However, a fundamental "dilemma" exists: a classifier only needs to see the most discriminative part of an object (like a bird’s beak) to identify it, whereas localization requires identifying the entire extent of the object. Forcing a single model to perform both tasks often leads to sub-optimal performance for both.

Methodology: Decoupling Localization and Classification

The authors propose PSOL (Pseudo Supervised Object Localization), a paradigm shift that decouples localization from classification, treating the former as a class-agnostic task.

Comparison between standard WSOL and the proposed PSOL framework.

The PSOL pipeline consists of three main components:

  1. Pseudo Bounding Box Generation: Instead of class-specific weights, PSOL uses class-agnostic methods like Deep Descriptor Transformation (DDT) to find the "main object" by looking at commonalities across images. This produces noisy "pseudo" ground-truth boxes.
  2. Class-Agnostic Localization: A dedicated regression network is trained to predict these bounding boxes. This regressor is class-agnostic; it learns to identify object boundaries regardless of the specific category.
  3. Independent Classification: A standard, high-performing classification model (e.g., EfficientNet) handles the "what" part independently.

At inference time, the localization model predicts a box, and the classification model predicts a label. These independent outputs are combined for the final result.

Key Insights and Results

A major finding of this work is that localization is largely class-agnostic. A model does not need to know a bird's species to draw a box around it. Furthermore, the authors demonstrate that joint training—the standard approach—actually hurts performance. Decoupling allows each model to specialize.

Qualitative comparison between CAM and PSOL on the CUB-200-2011 dataset.

PSOL achieves state-of-the-art results on major benchmarks:

  • ImageNet: 58.00% Top-1 localization accuracy.
  • CUB-200: 74.97% localization accuracy, outperforming previous methods by over 10%.

Notably, PSOL exhibits superior transferability. A model trained on ImageNet can be applied to CUB-200 without fine-tuning and still outperform previous methods specifically trained on birds. This suggests that localization features are more universal than classification features.

Conclusion

PSOL demonstrates that decoupling localization and classification is a more effective route for WSOL. While powerful, it currently assumes one primary object per image, which is a limitation in complex scenes. Future work may explore better pseudo-label generation and joint optimization strategies that avoid the discriminative-part dilemma while maintaining the benefits of decoupling.

Summary updated

BibTeX
@inproceedings{zhang2020rethinking,
  author = {Chen-Lin Zhang and Yun-Hao Cao and Jianxin Wu},
  title = {{Rethinking the Route Towards Weakly Supervised Object Localization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=ChgZVpOn_we},
}
Figure