From Node to Graph: Joint Reasoning on Visual-Semantic Relational Graph for Zero-Shot Detection

Hui Nie, Ruiping Wang, Xilin Chen

Abstract

Zero-Shot Detection (ZSD) involves identifying and localizing objects from categories not seen during training. While conventional ZSD methods map isolated visual features to semantic embeddings, they often overlook the contextual relationships inherent in natural scenes. This paper introduces the GRaph Aligning Network (GRAN), a framework that treats ZSD as a joint reasoning process over a heterogeneous graph. By modeling visual similarities and semantic co-occurrences, GRAN effectively leverages scene context to improve the detection of unseen objects.

Introduction: The Importance of Context in ZSD

The primary challenge in Zero-Shot Detection is generalizing from a set of "seen" classes to "unseen" ones. Most existing models approach this by learning a projection between visual features and semantic word vectors (e.g., Word2Vec). However, this "isolated node" strategy ignores a fundamental aspect of human perception: contextual reasoning.

Semantic co-occurrence provides critical context for identifying unseen objects.

As illustrated in Figure 2, humans can often infer the identity of an ambiguous object based on its neighbors—such as identifying a banana because it frequently appears alongside oranges. Without this relational knowledge, ZSD models are prone to "hallucinations," such as predicting a "mouse" in a forest setting where it is semantically out of place. This paper aims to bridge that gap by treating a scene not as a collection of independent boxes, but as a relational graph.

Methodology: The GRaph Aligning Network (GRAN)

The proposed GRAN architecture is designed as a modular addition to standard detectors like Faster R-CNN. Its core component is the Visual-Semantic Relational Graph (VSRG), which facilitates information exchange between visual and semantic domains.

Overview of the GRaph Aligning Network (GRAN) architecture.

As shown in Figure 6, the process involves several key stages:

  1. Visual Relational Graph (VRG): Nodes represent region proposals (Regions of Interest), with edges capturing visual similarities between these regions.
  2. Semantic Relational Graph (SRG): Nodes represent class labels (word embeddings), with edges defined by semantic co-occurrence priors derived from external knowledge bases like Wikipedia.
  3. Heterogeneous Integration: The VRG and SRG are linked, where the connection strength between a visual node and a semantic node is initialized by the model's prediction confidence.
  4. Joint Reasoning: Information is propagated across the graph using Gated Recurrent Units (GRUs). This "message passing" allows high-confidence detections of seen objects to refine the classification of nearby unseen candidates.

Experimental Results

GRAN was evaluated on the MSCOCO dataset using two standard splits (48/17 and 65/15 seen/unseen classes). The model achieved state-of-the-art results in both ZSD and Generalized ZSD (GZSD) settings.

On the MSCOCO 48/17 split, GRAN reached a Recall@100 of 55.03% and an mAP of 11.40, notably surpassing previous benchmarks such as BLC (48.87% Recall / 10.60 mAP). Qualitative analysis confirmed that the model successfully utilizes context, such as identifying a "cup" through its proximity to a "hot dog" or detecting small, distant "airplanes" by leveraging their relationship to larger, more prominent ones in the same scene. The method proved particularly effective at recovering small or occluded objects that traditional "isolated" ZSD methods missed entirely.

Conclusion and Future Directions

By shifting the focus from isolated nodes to relational graphs, GRAN addresses a significant limitation in Zero-Shot Detection. While the approach introduces some computational overhead due to graph reasoning and remains dependent on the initial quality of region proposals from the RPN, it demonstrates that contextual alignment is a powerful tool for visual recognition. Future research may explore incorporating spatial relationships (e.g., "on top of") or temporal consistency in video data to further enhance relational reasoning.

Summary updated

BibTeX
@inproceedings{nie2022from,
  author = {Hui Nie and Ruiping Wang and Xilin Chen},
  title = {{From Node to Graph: Joint Reasoning on Visual-Semantic Relational Graph for Zero-Shot Detection}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  doi = {10.1109/wacv51458.2022.00171},
}
Figure