Abstract
Weakly Supervised Object Detection (WSOD) reduces labeling costs by training models on image-level annotations rather than bounding boxes. However, WSOD typically struggles with instance ambiguity and the "partial detection" problem, where models focus only on the most discriminative parts of an object. This paper introduces Negative Prototypes Guided Contrastive Learning (NPGC), a framework that utilizes high-confidence model errors—Negative Prototypes—to improve detection accuracy. By contrasting these "best mistakes" against true object features in a global feature bank, NPGC achieves state-of-the-art results on PASCAL VOC benchmarks.
Introduction
The primary challenge in WSOD is the lack of precise spatial supervision. Models often fall into two traps:
- Instance Ambiguity: Difficulty in distinguishing individual objects in a cluster.
- Partial Detection: Over-reliance on specific features (e.g., a dog's face) while ignoring the full extent of the object.
Traditional methods treat false positives as simple errors. NPGC reframes these high-confidence mistakes as valuable information. By identifying features that look like a target class but are known to be absent (Negative Prototypes), the model can learn more robust decision boundaries.
Methodology: Learning from Mistakes
The core of the NPGC framework is the identification and utilization of Negative Prototypes (NP). An NP is a proposal that the model strongly classifies as a certain category despite that category being absent from the image's ground-truth labels.
The NPGC Architecture
The architecture extends the standard WSOD pipeline with several key components:
- Global Feature Bank: Maintains an online-updated collection of Positive Prototypes (representative features) and Negative Prototypes (confusing features) across the entire dataset.
- Pseudo Label Sampling (PLS): A filtering module that compares new proposals against the global bank to distinguish between missing instances and partial detections.
- Contrastive Branch: Employs a contrastive loss to pull features of the same class together while pushing away features from different classes and negative prototypes.
Experimental Results
The NPGC method was evaluated on the PASCAL VOC 2007 and 2012 datasets.
- PASCAL VOC 2007: Achieved 57.7% mAP, setting a new state-of-the-art by outperforming previous leaders like NDI and CASD (56.8%).
- PASCAL VOC 2012: Reached 54.3% mAP, matching or exceeding top-tier methods.
Qualitative analysis shows that NPGC is particularly effective at capturing full object bodies and separating grouped instances, directly addressing the partial detection and ambiguity issues.
Conclusion and Future Work
NPGC demonstrates that "mistakes are information." By mining Negative Prototypes globally, the model learns a more stable and discriminative representation for each object class. While the method introduces some hyperparameter sensitivity regarding the feature bank size, it offers a significant leap in WSOD performance. Future research may explore scaling this approach to larger, more complex datasets like COCO.
Summary updated