Skip to main content
QUICK REVIEW

[Paper Review] Aligning Bag of Regions for Open-Vocabulary Object Detection

Size Wu, Wenwei Zhang|arXiv (Cornell University)|Feb 27, 2023
Multimodal Machine Learning ApplicationsComputer Science3 citations
TL;DR

This paper proposes BARON (Bag of Regions Alignment Network), a novel method for open-vocabulary object detection that groups contextually related region proposals into a 'bag' and encodes them as pseudo-words in a vision-language model's text encoder. By aligning the resulting bag-of-regions embedding to frozen VLM image features via contrastive learning, BARON achieves state-of-the-art performance, improving novel category box AP by 4.6 and mask AP by 2.8 on OV-COCO and OV-LVIS benchmarks respectively.

ABSTRACT

Pre-trained vision-language models (VLMs) learn to align vision and language representations on large-scale datasets, where each image-text pair usually contains a bag of semantic concepts. However, existing open-vocabulary object detectors only align region embeddings individually with the corresponding features extracted from the VLMs. Such a design leaves the compositional structure of semantic concepts in a scene under-exploited, although the structure may be implicitly learned by the VLMs. In this work, we propose to align the embedding of bag of regions beyond individual regions. The proposed method groups contextually interrelated regions as a bag. The embeddings of regions in a bag are treated as embeddings of words in a sentence, and they are sent to the text encoder of a VLM to obtain the bag-of-regions embedding, which is learned to be aligned to the corresponding features extracted by a frozen VLM. Applied to the commonly used Faster R-CNN, our approach surpasses the previous best results by 4.6 box AP50 and 2.8 mask AP on novel categories of open-vocabulary COCO and LVIS benchmarks, respectively. Code and models are available at https://github.com/wusize/ovdet.

Motivation & Objective

  • To address the limitation of existing open-vocabulary object detectors that only align individual region embeddings, ignoring compositional scene structures.
  • To exploit the implicit compositional knowledge of pre-trained vision-language models (VLMs) by modeling co-occurring visual concepts in a bag-of-regions framework.
  • To enhance detection performance on novel and rare object categories by learning richer, structured scene representations beyond isolated object recognition.
  • To enable effective distillation of VLM knowledge using both image-text and image-caption supervision, improving zero-shot generalization.

Proposed method

  • The method samples contextually interrelated region proposals using a neighborhood strategy centered on RPN proposals to form a bag of regions.
  • Region features are projected into word embedding space to form 'pseudo-words', which are then encoded by the frozen text encoder of a pre-trained VLM.
  • Spatial information (box center and size) is embedded and concatenated with pseudo-words before text encoding to preserve localization context.
  • A contrastive learning objective aligns the bag-of-regions embedding with the corresponding image feature from the VLM’s frozen image encoder.
  • The approach is compatible with standard detectors like Faster R-CNN and can be trained end-to-end with standard detection heads.
  • The method supports image-guided inference, where a reference image is encoded by the VLM to guide detection of unseen concepts.

Experimental results

Research questions

  • RQ1Can modeling co-occurring visual concepts as a bag of regions improve open-vocabulary object detection beyond individual region alignment?
  • RQ2Does encoding grouped region embeddings via a VLM’s text encoder lead to better generalization on novel and rare categories?
  • RQ3How does the choice of region sampling strategy (e.g., random, neighbor-based) affect the performance of bag-of-regions alignment?
  • RQ4Can the proposed method effectively leverage caption supervision for knowledge distillation in open-vocabulary detection?
  • RQ5To what extent does the model generalize to out-of-domain datasets like Objects365 when trained on LVIS?

Key findings

  • BARON achieves a 34.0 box AP on novel categories of OV-COCO, representing a 4.6 absolute improvement over previous SoTA.
  • On OV-LVIS, BARON achieves 22.6 mask mAP on novel categories, a 2.8 improvement over the prior state of the art.
  • When trained with COCO captions, BARON achieves 32.7 box AP on novel categories of OV-COCO, outperforming prior caption-based methods.
  • The method generalizes well to out-of-domain datasets: the LVIS-trained detector successfully detects objects from the Objects365 dataset with high accuracy.
  • Image-guided inference demonstrates strong zero-shot generalization, enabling detection of cartoon characters like 'Pikachu' and 'Winnie the Pooh' from reference images.
  • t-SNE visualization confirms that pseudo-word encoding leads to better-separated and more diverse cluster structures for base and novel categories.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.