Collaborative Learning for Weakly Supervised Object Detection

Jiajie Wang, Jiangchao Yao, Ya Zhang, Rui Zhang

Training computer vision models to "see" objects typically requires Strongly Supervised Learning, where every object is meticulously outlined with a bounding box. This process is incredibly expensive and time-consuming. An alternative is Weakly Supervised Object Detection (WSOD), where models are trained using only image-level labels (e.g., "there is a dog here") without spatial information.

While WSOD is significantly cheaper, it historically suffers from a massive accuracy gap compared to strong supervision. Researchers from Shanghai Jiao Tong University have proposed a "Collaborative Learning" framework that bridges this gap by enabling two different types of AI models to work together as teammates.

The Collaborative Learning Paradigm

The core challenge in WSOD is the lack of ground-truth bounding boxes. Most existing methods treat this as a "Multiple Instance Learning" (MIL) problem, where the model guesses object locations from a "bag" of proposals. Previous attempts often used "cascaded" pipelines—a weak detector generates "pseudo-labels" (guessed boxes) to train a strong detector. However, this one-way street often amplifies errors; if the weak detector makes a mistake, the strong detector inherits it.

Comparison of learning paradigms: (a) WSCL, (b) Co-training, and (c) EM-style.

As shown in the figure above, the proposed Weakly Supervised Collaborative Learning (WSCL) differs from traditional co-training or EM-style refinement by establishing a feedback loop between a weak and a strong learner.

Methods: The WSCDN Framework

The authors introduce the Weakly Supervised Collaborative Detection Network (WSCDN). Instead of a sequential pipeline, this two-stream architecture trains simultaneously:

  1. The Weak Learner ($D_W$): Based on the WSDDN architecture, it uses pre-generated object proposals to guess locations based on image-level labels.
  2. The Strong Learner ($D_S$): Based on Faster R-CNN, it learns through "collaboration" rather than ground-truth boxes.
The architecture of the Weakly Supervised Collaborative Detection Network (WSCDN).

Prediction Consistency Loss

To facilitate learning without box labels, the framework utilizes a novel loss function with three components:

  • Inter-network Classification Consistency: Ensures both learners agree on the object's identity.
  • Inner-network Classification Consistency: Ensures the strong learner remains confident across iterations.
  • Inter-network Localization Consistency: Forces the strong learner’s predicted boxes to align with the most confident regions identified by the weak learner.

To ensure quality, a Max-out Strategy is used, calculating consistency loss only for the most confident predictions. Furthermore, the two networks share features (convolutional layers), ensuring they both optimize their internal representations in a unified way.

Key Results and Insights

The framework was evaluated on the PASCAL VOC 2007 and 2012 benchmarks. The collaborative approach ($CL_S$) outperformed previous state-of-the-art methods by a wide margin:

  • PASCAL VOC 2007: Achieved 48.3% mAP (Mean Average Precision), a significant jump from the 28.5% baseline and previous leading methods (~41.2%).
  • PASCAL VOC 2012: Achieved 43.3% mAP, setting a new high bar for weakly supervised methods.
  • Localization Accuracy: On VOC 2007, the model correctly localized objects (CorLoc) in 64.7% of images.

Mutual Enhancement

This isn't just about the strong learner getting better. The results showed that the weak learner ($D_W$) also improved significantly due to feature sharing. By training jointly, the model avoids the "garbage in, garbage out" trap of traditional pseudo-labeling. Qualitatively, this approach helps solve the "discriminative part" problem; while weak detectors often only find a distinct part (like a bird's head), the collaborative framework forces the model to identify the entire object.

Conclusion

WSCL proves that "agreement" between two different architectural views can serve as a powerful proxy for actual labels. While the model remains sensitive to initial object proposals and requires more computational power for joint training, it represents a major step toward making object detection more accessible by reducing the reliance on expensive manual annotations.

Summary updated

BibTeX
@inproceedings{wang2018collaborative,
  author = {Jiajie Wang and Jiangchao Yao and Ya Zhang and Rui Zhang},
  title = {{Collaborative Learning for Weakly Supervised Object Detection}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/135},
}
Figure