Zero-Shot Object Detection

Ankan Bansal, Karan Sikka, Gaurav Sharma, Rama Chellappa, Ajay Divakaran

Abstract

Traditional object detection models are limited to a "closed-world" assumption, recognizing only categories seen during training. This paper proposes a principled framework for Zero-Shot Object Detection (ZSD), enabling models to localize and classify objects from unseen categories by leveraging visual-semantic embeddings and addressing the semantic challenges of the "background" class.

Introduction: The Challenge of the Unseen

Scaling object detection to the vast number of real-world categories is hindered by the high cost of bounding-box annotations. While Zero-Shot Classification has progressed, Zero-Shot Detection is more complex, requiring both recognition and precise localization. A significant obstacle is the "background" class: during training, regions containing unseen objects are often labeled as background, creating a semantic conflict that penalizes the model for identifying these objects later.

Methodology

The proposed framework extends the R-CNN architecture by replacing the traditional classification layer with a visual-semantic embedding space.

Visual-Semantic Projection

Deep visual features from an Inception-ResNet v2 are projected into a high-dimensional semantic word-vector space (e.g., GloVe). The model uses a max-margin loss to ensure that a bounding box's visual projection is closer to its true class embedding than to others.

Addressing the Background Problem

To mitigate the "background" conflict, the authors propose two strategies:

  1. Statically Assigned Background (SB): Maps all non-object regions to a fixed "background" vector.
  2. Latent Assignment Based (LAB): An iterative EM-like algorithm that treats the background as a collection of latent concepts from an open vocabulary, preventing the model from collapsing unseen objects into a single "nothingness" category.

Densely Sampled Embedding Space (DSES)

To improve generalization, the authors use auxiliary data from OpenImages to "densely sample" the semantic space. This helps the model learn a more robust alignment between visual features and text by filling the gaps between sparse training classes.

Datasets and Evaluation

The framework was evaluated on novel splits of major benchmarks:

  • MSCOCO: 48 seen classes for training, 17 unseen for testing.
  • VisualGenome (VG): 478 seen classes, 130 unseen.
  • OpenImages (OI): Used for auxiliary dense sampling (545 categories).

The authors advocate for Recall@K as a primary metric over mean Average Precision (mAP), as mAP heavily penalizes detections of unannotated objects common in large-scale datasets.

Results and Insights

The inclusion of DSES significantly improved performance on MSCOCO, raising Recall@100 from 22.14% to 27.19%. On the more complex VisualGenome dataset, the LAB approach proved most effective.

Qualitative results showing the model successfully detecting unseen classes like "shoulder" and "skirt" based on semantic relationships to seen concepts like "arm" and "shirt".

Qualitatively, the model successfully identifies objects like "skirt" by leveraging their semantic proximity to seen concepts like "shirt." However, "semantic confusion" remains a challenge; for instance, the model may confuse a "zebra" with a "horse" due to their semantic similarity, lacking the fine-grained visual knowledge to prioritize "stripes" as a distinguishing feature.

Limitations and Future Directions

Future work aims to incorporate attribute-level reasoning (e.g., "striped") and lexical hierarchies (e.g., WordNet) to improve discrimination and handle "near-miss" predictions. Additionally, refining bounding box regression for unseen objects remains a key open challenge, as current models rely on class-agnostic proposal generators.

Summary updated

BibTeX
@inproceedings{bansal2018zero,
  author = {Ankan Bansal and Karan Sikka and Gaurav Sharma and Rama Chellappa and Ajay Divakaran},
  title = {{Zero-Shot Object Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01246-5\_24},
}
Figure