Skip to main content
QUICK REVIEW

[Paper Review] Zero-Shot Detection via Vision and Language Knowledge Distillation.

Xiuye Gu, Tsung-Yi Lin|arXiv (Cornell University)|Apr 28, 2021
Domain Adaptation and Few-Shot LearningComputer Science29 citations
TL;DR

This paper proposes ViLD, a vision-and-language knowledge distillation method that transfers zero-shot image classification capabilities from models like CLIP to two-stage object detectors, aligning region embeddings with image and text embeddings. It achieves 16.1 mask AP$_r$ on LVIS for zero-shot detection, outperforming supervised baselines by 3.8 points and generalizing effectively to PASCAL VOC, COCO, and Objects365.

ABSTRACT

Zero-shot image classification has made promising progress by training the aligned image and text encoders. The goal of this work is to advance zero-shot object detection, which aims to detect novel objects without bounding box nor mask annotations. We propose ViLD, a training method via Vision and Language knowledge Distillation. We distill the knowledge from a pre-trained zero-shot image classification model (e.g., CLIP) into a two-stage detector (e.g., Mask R-CNN). Our method aligns the region embeddings in the detector to the text and image embeddings inferred by the pre-trained model. We use the text embeddings as the detection classifier, obtained by feeding category names into the pre-trained text encoder. We then minimize the distance between the region embeddings and image embeddings, obtained by feeding region proposals into the pre-trained image encoder. During inference, we include text embeddings of novel categories into the detection classifier for zero-shot detection. We benchmark the performance on LVIS dataset by holding out all rare categories as novel categories. ViLD obtains 16.1 mask AP$_r$ with a Mask R-CNN (ResNet-50 FPN) for zero-shot detection, outperforming the supervised counterpart by 3.8. The model can directly transfer to other datasets, achieving 72.2 AP$_{50}$, 36.6 AP and 11.8 AP on PASCAL VOC, COCO and Objects365, respectively.

Motivation & Objective

  • To advance zero-shot object detection by enabling detection of novel categories without bounding box or mask annotations.
  • To bridge the gap between zero-shot image classification and object detection using pre-trained vision-language models.
  • To develop a knowledge distillation framework that transfers alignment between image and text embeddings to object detector features.
  • To enable direct transfer of the detector to new datasets without retraining on annotated data.

Proposed method

  • Distill knowledge from a pre-trained CLIP-like image-text encoder into a two-stage detector such as Mask R-CNN.
  • Use text embeddings of category names from the pre-trained text encoder as detection classifier heads.
  • Align region embeddings from the detector with image embeddings from the pre-trained image encoder by minimizing their distance.
  • During inference, inject text embeddings of novel categories into the classifier head for zero-shot detection.
  • Train the detector by minimizing the contrastive loss between region embeddings and corresponding image embeddings.
  • Leverage the pre-trained model's semantic understanding to guide detector learning without requiring bounding box or mask annotations.

Experimental results

Research questions

  • RQ1Can knowledge distillation from a pre-trained vision-language model improve zero-shot object detection performance?
  • RQ2How well can a detector generalize to novel categories without any annotated training data?
  • RQ3To what extent does aligning region embeddings with pre-trained image and text embeddings improve detection accuracy?
  • RQ4Can the proposed method transfer effectively to diverse datasets like COCO and PASCAL VOC without fine-tuning?

Key findings

  • ViLD achieves 16.1 mask AP$_r$ on the LVIS dataset for zero-shot detection using a Mask R-CNN (ResNet-50 FPN), outperforming the supervised baseline by 3.8 points.
  • The model generalizes directly to PASCAL VOC, achieving 72.2 AP$_{50}$, 36.6 AP, and 11.8 AP on COCO and Objects365, respectively.
  • The method enables zero-shot detection by injecting text embeddings of novel categories into the classifier head at inference time.
  • Performance gains are attributed to effective alignment of region embeddings with both image and text embeddings from the pre-trained model.
  • The approach demonstrates strong zero-shot generalization across multiple datasets without any retraining or additional annotations.
  • The results show that distillation from a pre-trained vision-language model significantly enhances detection performance for unseen 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.