Bridging the Gap between Object and Image-level Representations for Open-Vocabulary Detection

Hanoona Abdul Rasheed, Muhammad Maaz, Muhammad Uzair Khattak, Salman H. Khan, Fahad Shahbaz Khan · DOI

TL;DR

This paper tackles the challenge of open-vocabulary object detection (OVD) by bridging the gap between image-level and object-level representations. They introduce a novel framework that aligns pre-trained vision-language models like CLIP with object detection tasks, achieving significant improvements in detecting novel object categories.

What Problem Does This Paper Address?

Open-vocabulary object detection (OVD) aims to detect objects from a vast, open-ended set of categories, not just those seen during training. This is crucial for real-world applications where new objects constantly emerge. Current OVD methods often rely on weak supervision signals, primarily from pre-trained models like CLIP (trained on image-text pairs) and image-level labels. However, these sources have limitations: CLIP excels at understanding image-text relationships but struggles with precise object localization, while image-level labels, often used with heuristics, don't accurately pinpoint object regions. This misalignment between image-level understanding and the need for precise object localization hinders OVD performance.

Methods

The authors propose a three-pronged approach to bridge this representation gap:

  1. Region-based Knowledge Distillation (RKD): They adapt image-centric CLIP embeddings to be object-centric. This involves using high-quality, class-agnostic object proposals (generated by a multi-modal ViT) to distill CLIP's visual embeddings. This process aligns the detector's region representations with CLIP's language representations, making them more suitable for object detection. Two distillation losses are employed: point-wise embedding matching and inter-embedding relationship matching.
  2. Image-level Supervision with Pseudo-Box Labels: To leverage abundant image-level data for novel categories, they employ a pseudo-labeling strategy. Using a pre-trained multi-modal ViT, they generate high-quality, class-specific object proposals for images with only image-level labels. These pseudo-boxes are then used to train the detector, effectively expanding its vocabulary.
  3. Weight Transfer Function: To synergistically combine the benefits of RKD and pseudo-labeling, they introduce a novel weight transfer mechanism. This function explicitly conditions the visual-language (VL) mapping used during image-level supervision on the mapping learned during region-based distillation. This ensures that both alignment strategies work together harmoniously, preventing conflicts and maximizing their complementary strengths.

Datasets

The paper utilizes several standard datasets for training and evaluation:

  • COCO: Used for training and evaluating OVD on base and novel categories.
  • LVIS v1.0: Used for OVD evaluation, notable for its large vocabulary and split into frequent, common, and rare categories.
  • ImageNet-21K: Used for image-level supervision (ILS) in LVIS.
  • COCO Captions: Used for ILS in COCO.
  • Flickr30k, Visual Genome, GQA: Used for pre-training the multi-modal ViT model.
  • OpenImages, Objects365: Used for cross-dataset evaluation to assess the model's generalizability.

Key Insights and Ideas

  • The "Gap" is Real: The core insight is that the misalignment between image-level understanding (CLIP) and object-level localization is a fundamental bottleneck in OVD. Simply using CLIP embeddings directly for detection is insufficient.
  • Pseudo-Labels are Powerful: Leveraging pre-trained models like MViT to generate high-quality pseudo-labels from image-level data is a highly effective way to expand the detector's vocabulary for novel classes.
  • Synergy is Key: Naively combining different weak supervision methods doesn't always work. A carefully designed mechanism (like their weight transfer function) is needed to make these complementary approaches truly work together.
  • Object-Centricity Matters: Aligning visual and language representations at the object level, rather than just the image level, is crucial for robust OVD.

Key Results

The proposed method demonstrates significant improvements across various benchmarks:

  • COCO: Achieves 36.6 AP on novel classes, an absolute gain of 8.2 AP over the previous state-of-the-art.
  • LVIS: Surpasses the ViLD model by 5.0 mask AP for rare categories and 3.4 overall AP.
  • Cross-dataset evaluation: The LVIS-trained model shows favorable results when transferred to OpenImages and Objects365 without fine-tuning, indicating strong generalization.
  • Ablation studies: The paper systematically shows the contribution of each component (RKD, ILS, weight transfer), highlighting that the combined approach yields the best results.

Limitations and Future Work

  • Vocabulary Dependence: The model's open-vocabulary capabilities are still largely dependent on the vocabulary of the pre-trained CLIP model used.
  • Performance Gap: Despite improvements, a gap still exists between the performance on base classes and novel/rare classes.
  • Future Work: The authors suggest exploring ways to further reduce the gap between base and novel class performance. They also implicitly point towards investigating how to extend the vocabulary beyond what's covered by existing pre-trained models.

Summary updated

BibTeX
@inproceedings{rasheed2022bridging,
  author = {Hanoona Abdul Rasheed and Muhammad Maaz and Muhammad Uzair Khattak and Salman H. Khan and Fahad Shahbaz Khan},
  title = {{Bridging the Gap between Object and Image-level Representations for Open-Vocabulary Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=nhtQWHMQWJ},
}
Figure