[Paper Review] ZSD-YOLO: Zero-Shot YOLO Detection using Vision-Language KnowledgeDistillation.
ZSD-YOLO proposes a vision-language knowledge distillation method that aligns CLIP's image and text embeddings with a modified YOLOv5 head to enable zero-shot object detection on COCO with state-of-the-art accuracy using fewer parameters. The approach supports inference on any unseen class without retraining and improves further via self-training without additional data.
Real-world object sampling produces long-tailed distributions requiring exponentially more images for rare types. Zero-shot detection, which aims to detect unseen objects, is one direction to address this problem. A dataset such as COCO is extensively annotated across many images but with a sparse number of categories and annotating all object classes across a diverse domain is expensive and challenging. To advance zero-shot detection, we develop a Vision-Language distillation method that aligns both image and text embeddings from a zero-shot pre-trained model such as CLIP to a modified semantic prediction head from a one-stage detector like YOLOv5. With this method, we are able to train an object detector that achieves state-of-the-art accuracy on the COCO zero-shot detection splits with fewer model parameters. During inference, our model can be adapted to detect any number of object classes without additional training. We also find that the improvements provided by the scaling of our method are consistent across various YOLOv5 scales. Furthermore, we develop a self-training method that provides a significant score improvement without needing extra images nor labels.
Motivation & Objective
- To address the long-tailed distribution problem in real-world object detection where rare categories lack sufficient training data.
- To enable zero-shot detection of unseen object categories without requiring additional training or annotations.
- To improve detection accuracy on COCO's zero-shot splits using a lightweight, parameter-efficient method.
- To explore the scalability and consistency of the method across different YOLOv5 model sizes.
Proposed method
- Leverages CLIP's pre-trained vision and text encoders to extract aligned image and text embeddings.
- Adapts a modified YOLOv5 one-stage detector head to predict object classes using CLIP’s text embeddings as class prototypes.
- Performs knowledge distillation by aligning the detector’s feature maps with CLIP’s image-text contrastive representations.
- Introduces a self-training strategy that improves performance without requiring extra images or labels.
- Uses a distillation loss that minimizes the discrepancy between the detector’s predictions and CLIP’s zero-shot classification scores.
- Applies the method end-to-end during training, enabling direct inference on any unseen class at test time.
Experimental results
Research questions
- RQ1Can vision-language knowledge distillation improve zero-shot object detection accuracy on COCO with minimal parameter overhead?
- RQ2How does the proposed method scale across different YOLOv5 model sizes in terms of zero-shot detection performance?
- RQ3To what extent can self-training enhance zero-shot detection without additional labeled data?
- RQ4Does the alignment of CLIP embeddings with a YOLO-based detector head lead to consistent improvements across diverse object categories?
- RQ5Can the method generalize to detect any number of unseen object classes without retraining?
Key findings
- ZSD-YOLO achieves state-of-the-art accuracy on COCO’s zero-shot detection benchmarks with fewer model parameters than prior methods.
- The method maintains consistent performance improvements across all YOLOv5 scale variants, indicating strong scalability.
- Self-training significantly boosts detection scores without requiring additional images or annotations.
- The model enables inference on any unseen object class without retraining, demonstrating true zero-shot generalization.
- The vision-language distillation framework effectively transfers CLIP’s zero-shot capabilities to a one-stage object detector.
- The approach reduces the need for costly data collection and annotation by enabling detection of rare or unseen classes through semantic alignment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.