Zero-shot Object Detection Through Vision-Language Embedding Alignment

Johnathan Xie, Shuai Zheng
9/24/2021
cs.CV

Official code: Johnathan-Xie/ZSD-YOLO (57 stars, Python, GPL-3.0, last commit 2024-07-21).

Abstract

Recent approaches have shown that training deep neural networks directly on large-scale image-text pair collections enables zero-shot transfer on various recognition tasks. One central issue is how this can be generalized to object detection, which involves the non-semantic task of localization as well as semantic task of classification.

Show full abstract

To solve this problem, we introduce a vision-language embedding alignment method that transfers the generalization capabilities of a pretrained model such as CLIP to an object detector like YOLOv5. We formulate a loss function that allows us to align the image and text embeddings from the pretrained model CLIP with the modified semantic prediction head from the detector. With this method, we are able to train an object detector that achieves state-of-the-art performance on the COCO, ILSVRC, and Visual Genome zero-shot detection benchmarks. During inference, our model can be adapted to detect any number of object classes without additional training. We also find that standard object detection scaling can transfer well to our method and find consistent improvements across various scales of YOLOv5 models and the YOLOv3 model. Lastly, we develop a self-labeling method that provides a significant score improvement without needing extra images nor labels.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
572Python, Jupyter NotebookAug 22, 20222 years agoGPL-3.0

Similar Papers

Cite this paper

@article{xie2021zeroshot,
  title  = {Zero-shot Object Detection Through Vision-Language Embedding Alignment},
  author = {Johnathan Xie and Shuai Zheng},
  year   = {2021},
  eprint = {2109.12066},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.12066}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.12066.svg)](https://codeofpaper.com/paper/2109.12066)

Discussion