Abstract: Zero-Shot Object Detection (ZSD) aims to recognize and localize objects from classes not seen during training by leveraging semantic relationships. This paper, presented at AAAI 2020, introduces two key innovations: Polarity Loss, which maximizes the margin between positive and negative class predictions to better distinguish objects from background, and Vocabulary Metric Learning, which refines noisy semantic embeddings using an external vocabulary. Experiments on MS-COCO and Pascal VOC demonstrate state-of-the-art performance, significantly bridging the gap between visual perception and linguistic understanding.
Introduction and Problem Statement
Standard object detectors are limited to the specific categories present in their training sets. Zero-Shot Object Detection (ZSD) seeks to overcome this by utilizing semantic descriptors—typically word vectors like word2vec—to identify unseen classes based on their similarity to known ones. For instance, a model trained on "horses" and "motorcycles" might infer the appearance of a "zebra" or "bicycle" through shared semantic attributes.
Despite its potential, ZSD faces three primary challenges:
- Visual-Semantic Alignment: Mapping high-dimensional visual features to noisy, unsupervised word vectors is difficult.
- Class Imbalance: In detection tasks, background samples vastly outnumber actual objects, complicating the learning process.
- Background Confusion: Unseen objects are frequently misclassified as "background" because the model lacks explicit knowledge of their distinct identities.
Proposed Methodology
The authors propose an end-to-end framework built upon the RetinaNet architecture, introducing two novel components to address the aforementioned hurdles.
Polarity Loss
Standard losses, such as Focal Loss, focus primarily on ensuring the correct prediction score is high. Polarity Loss goes further by explicitly maximizing the margin between the ground-truth class and all other classes. It incorporates a "penalty function" that increases the loss if the gap between the positive class score and the highest negative class score is small. This polarization forces the model to create a clear separation between objects and background, which is crucial for identifying unseen classes that might otherwise be dismissed as noise.
Vocabulary Metric Learning
Most ZSD models rely on fixed, pre-trained word vectors which are often "noisy" because they were trained on general text corpora rather than visual data. To refine these embeddings, the authors introduce Vocabulary Metric Learning. They utilize an external vocabulary of 5,018 tags from the NUS-WIDE dataset as a "semantic bridge." Instead of a direct mapping, the model learns an attention-like mechanism over this large dictionary to reshape the semantic space. This ensures that visually similar classes (like "apple" and "orange") are moved closer together in the embedding space, while distinct classes are pushed apart.
Experimental Results
The proposed method was evaluated on MS-COCO and Pascal VOC, achieving significant performance gains over previous state-of-the-art (SOTA) methods.
- MS-COCO (Bansal Split): The model achieved 10.01 mAP (mean Average Precision) on unseen classes, a massive jump from the previous SOTA of 0.70 mAP.
- MS-COCO (New Split): On a more diverse split proposed by the authors, they achieved 12.40 mAP, outperforming their own baseline of 8.48.
- Pascal VOC: The model reached 44.1 mAP for unseen classes, compared to the previous best of 26.0.
Qualitative analysis via t-SNE visualizations confirms that Polarity Loss creates much tighter and more distinct clusters for unseen classes compared to standard Focal Loss. This suggests that margin maximization is key to leaving "room" in the feature space for unseen classes to reside without being swallowed by the background class.
Conclusion
By combining margin maximization with dynamic semantic embedding refinement, this work significantly advances the capabilities of zero-shot detectors. While classifier bias toward seen classes remains a challenge, the integration of external vocabularies and polarized loss functions provides a robust foundation for future visual-semantic alignment research.
Summary updated