Weakly Supervised Open-Vocabulary Object Detection

Jianghang Lin, Yunhang Shen, Bingquan Wang, Shaohui Lin, Ke Li, Liujuan Cao

Introduction

Weakly Supervised Open-Vocabulary Object Detection (WSOVOD) represents a significant shift in how computer vision models learn to localize objects. Traditional Weakly Supervised Object Detection (WSOD) relies on image-level tags, which are significantly cheaper to obtain than bounding boxes but limit the model to a "closed-set" of predefined categories. WSOVOD breaks these chains by integrating vision-language alignments, allowing models to detect objects they have never explicitly seen during training.

The Challenge of Open-Vocabulary Detection

Object detection typically requires either Fully Supervised (FSOD) data—thousands of hand-annotated bounding boxes—or Weakly Supervised (WSOD) data—simple image-level labels. While FSOD is accurate, it is prohibitively expensive to scale to the millions of concepts found in the real world. Conversely, standard WSOD is scalable but restricted to known classes.

Open-Vocabulary Object Detection (OVOD) attempts to bridge this gap by detecting any object described in text, but most existing OVOD models still require a "base" set of categories with perfect bounding box annotations. WSOVOD addresses the ultimate challenge: performing open-vocabulary detection using only image-level labels for training, effectively removing the need for human-drawn boxes entirely.

Methodology

The WSOVOD framework introduces three core innovations to achieve high-quality localization without box supervision:

  1. Data-Aware Feature Extractor (DAFE): To handle the "dataset bias" inherent in training across diverse sources like COCO and ImageNet, DAFE generates a unique signature for each image. This calibrates features, ensuring the model generalizes effectively across different scene complexities.
  2. SAM-Guided Proposal Generation: Accurate boundary detection is a major hurdle for weakly supervised models. WSOVOD leverages the Segment Anything Model (SAM) to generate high-quality, category-agnostic masks. These masks serve as high-fidelity candidate regions for the detector.
  3. Proposal-Concept Synchronization: Instead of fixed classifiers, the model uses CLIP-like text embeddings as semantic anchors. Detection is framed as a matching task between SAM-generated regions and the text descriptions of image tags.
Figure 3: Comparison of detection paradigms and performance radar chart. WSOVOD (right) learns from tags but detects novel classes like 'Flag' and 'Fence' at test time, outperforming SOTA WSOD and FSOVOD methods across multiple metrics.

Key Results

The model was evaluated on Pascal VOC 2007/2012, MS COCO, and large-scale datasets like ImageNet and LVIS, demonstrating superior performance across the board.

  • Novel Class Detection: On the MS COCO "novel" categories, WSOVOD achieved 35.0% APN, outperforming well-known fully supervised open-vocabulary methods like OVR-CNN (22.8%) and ViLD (27.6%).
  • Weakly Supervised Benchmarks: In the traditional VOC 2007 setting, the model reached 63.4% mAP, a substantial improvement over previous state-of-the-art methods which typically ranged between 55-58%.
  • Localization Precision: The model achieved an 80.6% CorLoc on VOC 2007, demonstrating its ability to find precise object boundaries without ever being shown a single human-drawn box.
Figure 1: Qualitative detection results from WSOVOD. The model successfully localizes both base classes (Person, Horse) and novel classes (Flag, Fence) using only image-level tags for training.

Key Insights

  • Flexibility Over Precision: Surprisingly, fully supervised models can overfit to the specific bounding box styles of "base" classes, hindering their ability to generalize. WSOVOD’s flexible learning from tags allows for better generalization to unseen concepts.
  • Foundation Model Synergy: By distilling localization knowledge from SAM and semantic knowledge from CLIP, WSOVOD bridges the performance gap between weakly and fully supervised systems.
  • Dataset Scaling: Training on multiple datasets simultaneously (e.g., COCO and LVIS) yields synergistic improvements, proving that the model benefits from increased data diversity.

Limitations and Future Work

Despite its success, WSOVOD still requires image-level tags for training, leaving "zero-shot" detection (requiring no training images at all) as a future goal. Additionally, the integration of SAM increases computational overhead during training. Future research will likely explore the use of massive, web-crawled image-caption pairs to further expand the model's vocabulary and reduce reliance on curated tags.

Summary updated

BibTeX
@inproceedings{lin2024weakly,
  author = {Jianghang Lin and Yunhang Shen and Bingquan Wang and Shaohui Lin and Ke Li and Liujuan Cao},
  title = {{Weakly Supervised Open-Vocabulary Object Detection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i4.28127},
}
Figure