Self-Classification Enhancement and Correction for Weakly Supervised Object Detection

Yufei Yin, Lechao Cheng, Wengang Zhou, Jiajun Deng, Zhou Yu, Houqiang Li

Abstract

Weakly Supervised Object Detection (WSOD) aims to train object detectors using only image-level labels, bypassing the need for expensive bounding box annotations. However, current methods often struggle with classification ambiguity—where partial object parts are misidentified as background—and fail to leverage the inherent strengths of different stages in the detection pipeline. We present the Self-Classification Enhancement and Correction (SCEC) framework, which introduces an Intra-Class Binary Classification (ICBC) task to distinguish full objects from partial parts and a Self-Classification Correction (SCC) algorithm to refine final detections using initial image-level predictions. SCEC achieves new state-of-the-art performance on PASCAL VOC 2007 and 2012 benchmarks, reaching 58.2% and 55.5% mAP, respectively.

Introduction

Weakly Supervised Object Detection (WSOD) is a critical area of computer vision that seeks to train models on simple image-level tags (e.g., "this image contains a cat"). Most modern WSOD frameworks employ a two-stage pipeline: a Multiple Instance Detection Network (MIDN) to identify candidate regions, followed by a refinement stage to produce precise localizations.

Despite progress, two major challenges persist. First, Classification Ambiguity occurs when refinement stages treat partial object detections (e.g., a cat's ear) as background. This confuses the model because these parts contain the very features used to identify the object class. Second, Wasted Strengths refers to the tendency of current methods to discard the high-accuracy image-level classification knowledge from the first stage during the final inference phase.

The SCEC framework addresses classification ambiguities by distinguishing between accurate and mis-located proposals and leveraging stage-specific strengths during inference.

Methodology

The SCEC framework addresses these issues through three integrated components designed to enhance feature representation and correct final predictions.

Self-Classification Enhancement (SCE) Module

The SCE module introduces an Intra-Class Binary Classification (ICBC) task. Unlike standard classifiers that only distinguish between a target class and the background, ICBC specifically trains the network to differentiate between "positive" samples (the whole object) and "mis-located" samples (partial parts). This prevents the model from incorrectly assigning useful object features to the generic background category, maintaining a cleaner internal representation of what a complete object looks like.

ICBC Guided Seed Mining (IGSM)

To support the ICBC task, the authors implement IGSM to select high-quality "seed boxes." By employing a "gridding sampling" strategy, the model generates artificial mis-located samples, forcing it to learn the structural difference between a part and a whole. This mutual reinforcement between the ICBC task and standard multi-class tasks leads to better final classifiers.

Self-Classification Correction (SCC) Algorithm

During inference, the SCC algorithm utilizes the MIDN stage’s superior image-level classification accuracy to "veto" the refinement stage. If the MIDN is certain a class is absent, SCC suppresses any corresponding detections from the refinement stage, significantly reducing false positives. This approach effectively uses a "coarse" expert to double-check a "fine-grained" expert.

Overview of the SCEC architecture, highlighting the MIDN module, multiple SCE modules with ICBC/IGSM, and the final SCC algorithm for prediction correction.

Experimental Results

The SCEC framework was evaluated on the PASCAL VOC 2007 and 2012 benchmarks, outperforming previous state-of-the-art (SOTA) methods.

  • VOC 2007: Achieved 58.2% mAP, surpassing the previous best of 57.4% (CBL).
  • VOC 2012: Achieved 55.5% mAP, exceeding the previous SOTA of 54.6% (ODCL). It also reached 73.4% CorLoc, proving highly effective at finding objects even with minimal supervision.
  • Ablation Success: Adding the SCC algorithm alone improved the baseline mAP by 0.8%, demonstrating that simply correcting the output using early-stage knowledge is a powerful, low-cost optimization.

Conclusion

The SCEC framework successfully bridges the gap between image-level identification and instance-level localization. While it remains dependent on initial region proposals (like Selective Search), its ability to treat mis-located proposals as a distinct category and leverage stage-specific strengths sets a new standard for WSOD. Future work may involve more sophisticated background-aware sampling to further reduce noise during training.

Summary updated

BibTeX
@inproceedings{yin2025self,
  author = {Yufei Yin and Lechao Cheng and Wengang Zhou and Jiajun Deng and Zhou Yu and Houqiang Li},
  title = {{Self-Classification Enhancement and Correction for Weakly Supervised Object Detection}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/254},
}
Figure