Skip to main content
QUICK REVIEW

[Paper Review] Learning Object-Language Alignments for Open-Vocabulary Object Detection

Chuang Lin, Peize Sun|arXiv (Cornell University)|Nov 27, 2022
Multimodal Machine Learning ApplicationsComputer Science36 citations
TL;DR

VLDet learns region-word alignments directly from image-text pairs by solving a bipartite matching problem, enabling open-vocabulary object detection without grounding annotations. It achieves state-of-the-art novel-class detection on COCO and LVIS open-vocabulary benchmarks.

ABSTRACT

Existing object detection methods are bounded in a fixed-set vocabulary by costly labeled data. When dealing with novel categories, the model has to be retrained with more bounding box annotations. Natural language supervision is an attractive alternative for its annotation-free attributes and broader object concepts. However, learning open-vocabulary object detection from language is challenging since image-text pairs do not contain fine-grained object-language alignments. Previous solutions rely on either expensive grounding annotations or distilling classification-oriented vision models. In this paper, we propose a novel open-vocabulary object detection framework directly learning from image-text pair data. We formulate object-language alignment as a set matching problem between a set of image region features and a set of word embeddings. It enables us to train an open-vocabulary object detector on image-text pairs in a much simple and effective way. Extensive experiments on two benchmark datasets, COCO and LVIS, demonstrate our superior performance over the competing approaches on novel categories, e.g. achieving 32.0% mAP on COCO and 21.7% mask mAP on LVIS. Code is available at: https://github.com/clin1223/VLDet.

Motivation & Objective

  • Motivate open-vocabulary object detection to recognize novel categories without bounding-box annotations.
  • Propose a language-supervised training paradigm that bypasses expensive grounding data.
  • Formulate region-word alignment as a set-matching problem solvable by bipartite matching.
  • Integrate image-text supervision into a two-stage detector to generalize to unseen classes.

Proposed method

  • Represent image regions as a set of region features and nouns from captions as a set of word embeddings.
  • Compute region-word alignment scores via dot-product between region features and word embeddings.
  • Solve the region-word assignment with the Hungarian algorithm to obtain a one-to-one region-word matching per image-caption pair.
  • Train with a region-word cross-entropy loss conditioned on the bipartite matching results.
  • Include an image-text alignment loss that treats the whole image and caption as special region/word pairs for additional supervision.
  • Use CLIP as a fixed text encoder to embed caption words and words from captions for classifier head replacement in a Faster R-CNN baseline.

Experimental results

Research questions

  • RQ1Can open-vocabulary object detection be learned directly from image-text pairs without grounding annotations?
  • RQ2Does formulating region-word alignment as a set-matching problem improve novel-category detection performance?
  • RQ3How does the size of the object vocabulary and the matching strategy affect open-vocabulary generalization?
  • RQ4What is the impact of incorporating image-text alignment losses alongside region-word alignment?
  • RQ5How well does the proposed method transfer to other datasets and domains without retraining?

Key findings

  • VLDet achieves state-of-the-art novel-class mAP on open-vocabulary COCO (32.0) and LVIS (21.7) in the reported settings.
  • On COCO, VLDet surpasses PB-OVD and related methods in novel-class detection while using only COCO Caption data for training.
  • On LVIS with CC3M data, VLDet outperforms DetPro and other baselines in novel-class mask AP (21.7 for novel classes with RN50 backbone; 26.3 with Swin-B).
  • A one-to-one region-word assignment (Hungarian) outperforms one-to-many (Sinkhorn) in novel-class AP (32.0 vs. 29.1 on OV-COCO; 21.7 vs. 18.5 on OV-LVIS).
  • Using a larger open vocabulary (all nouns from captions) improves generalization to unseen classes compared to restricting to predefined category names.
  • Jointly optimizing region-word alignment and image-text alignment losses yields stronger performance than either alone.
  • The approach demonstrates transfer to VOC and LVIS without re-training, indicating cross-domain robustness.

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.