NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evaluation for Weakly Supervised Object Localization: Protocol, Metrics, and Datasets

Junsuk Choe, Seong Joon Oh, Sanghyuk Chun, Zeynep Akata, Hyunjung Shim

Abstract

Weakly Supervised Object Localization (WSOL) aims to localize objects using only image-level labels. However, the task is fundamentally ill-posed, leading researchers to inadvertently use full supervision for hyperparameter tuning. This paper exposes this "cheating" problem, demonstrating that many recent advancements do not actually outperform the 2016 CAM baseline under fair evaluation. We propose a new rigorous evaluation protocol, threshold-independent metrics, and a dedicated validation set to ensure honest progress in the field.

The Fundamental Flaw in WSOL

The goal of WSOL is to find objects in an image using only image-level labels (e.g., "duck") during training. This avoids the high cost of bounding box annotations. However, WSOL is fundamentally ill-posed: if a "duck" always appears in "water," a model trained only on image labels cannot distinguish between the two.

The ill-posed nature of WSOL: models often struggle to distinguish between the target object and co-occurring background features like water or dirt.

To circumvent this, researchers have frequently used "implicit" full supervision—using large sets of bounding boxes to tune hyperparameters like score-map thresholds. This violates the core premise of the task and makes comparisons between methods unreliable.

A New Evaluation Protocol

To address these issues, we propose a "reset" for the field:

  1. Strict Data Splitting: We mandate a large train-weaksup set (labels only) and a tiny, fixed train-fullsup set (e.g., 5-10 images per class with boxes) for hyperparameter tuning. This mirrors realistic scenarios where limited full supervision might be available.
  2. Threshold-Independent Metrics: Instead of arbitrary thresholds, we introduce MaxBoxAccV2 and PxAP (Pixel Average Precision). These evaluate score maps across all possible thresholds, providing a fairer assessment of localization quality.
  3. New Benchmarks: We provide updated splits and annotations for ImageNet, CUB-200-2011, and a new OpenImages subset to ensure standardized evaluation.

Key Insights and Results

Our evaluation reveals a sobering reality: the original 2016 Class Activation Mapping (CAM) baseline remains state-of-the-art when evaluated fairly. Many complex methods published since then actually perform worse than CAM under the new protocol.

Localization accuracy across different operating thresholds. Note how the 2016 CAM baseline remains highly competitive, and how a "no-learning" center Gaussian can outperform some trained models.

Furthermore, we found that:

  • Few-Shot Learning (FSL) is superior: Training a model on the tiny 10-image-per-class validation set (FSL) yields significantly better results (72.3%) than using those images to tune a WSOL model (64.5%).
  • Dataset Bias: On the CUB dataset, a "no-learning" baseline predicting a center Gaussian blob outperformed several trained models, highlighting significant spatial biases in common datasets.

Conclusion

This work serves as a reality check for the WSOL community. Future progress should focus on data-centric solutions—such as including background-only images—or formally embracing semi-weakly supervised learning rather than relying on implicit full supervision. Rigorous evaluation is essential for genuine architectural innovation.

Summary updated

BibTeX
@article{choe2023evaluation,
  author = {Junsuk Choe and Seong Joon Oh and Sanghyuk Chun and Zeynep Akata and Hyunjung Shim},
  title = {{Evaluation for Weakly Supervised Object Localization: Protocol, Metrics, and Datasets}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2022.3169881},
}
Figure