Object Relation Detection Based on One-shot Learning

Li Zhou, Jian Zhao, Jianshu Li, Li Yuan, Jiashi FengarXiv 2018

Abstract

Understanding the interactions between objects in an image is a fundamental challenge in computer vision. This paper introduces the Semantics Induced Learner (SIL), a novel framework that utilizes one-shot learning to detect complex object relations (e.g., "person ride horse"). By dynamically generating model parameters based on the semantic categories of the objects involved, SIL effectively addresses the "long-tail" problem of rare relations and the high visual variability of common predicates. Our approach demonstrates significant performance gains on major benchmarks, highlighting the importance of top-down semantic guidance in visual relationship detection.

Introduction

While deep learning has achieved remarkable success in individual object detection, identifying how those objects interact—Object Relation Detection (ORD)—remains a significant hurdle. The authors identify three primary challenges:

  1. Combinatorial Explosion: With $N$ objects and $R$ predicates, there are $O(N^2R)$ possible relations, making it impossible to collect sufficient training data for every combination.
  2. The Long-Tail Problem: Real-world datasets are dominated by a few common relations (e.g., "person wear shirt"), while the vast majority of interactions are extremely rare.
  3. Intra-class Divergence: The visual appearance of a predicate can vary wildly depending on the subjects. For instance, "apple on tree" and "cat on sofa" share a predicate but possess zero visual similarity.
Intra-class divergence (a, b) and semantic dependency (c, d) illustrate the difficulty of predicate classification based on visual features alone.

Existing methods often rely purely on bottom-up visual features, failing to capture the nuances dictated by the semantic categories of the objects involved.

Methodology

The proposed SIL framework utilizes a two-stage pipeline: an initial object detection stage followed by a specialized predicate classification stage. The core innovation is the Semantics Induced Learner (SIL) module.

Bottom-Up Visual Features

The model uses a standard Faster R-CNN to propose object regions and extract visual features ($F_v$) from the union of the bounding boxes of the subject and object.

Top-Down Semantics and One-Shot Adaptation

Instead of a static classifier, the SIL module employs a One-shot Learner Network (OLN). This network takes the semantic category vectors of the subject and object (e.g., "person" and "horse") and outputs adaptive convolution parameters ($F_s$). These generated parameters are then used to perform a convolution on the visual features $F_v$. This effectively "tunes" the visual model on-the-fly to look for features relevant to that specific pair of objects, implementing a form of top-down attention that filters out irrelevant visual noise.

Experimental Results

The SIL framework was evaluated on the Visual Relationship Dataset (VRD) and Visual Genome (VG) benchmarks.

Quantitative Performance

SIL demonstrated significant improvements over state-of-the-art methods such as VTranE and Joint-CNN:

  • VRD Predicate Recognition: Improved Recall@50 from 47.87% to 56.56%.
  • VG Predicate Recognition: Improved Recall@50 from 62.63% to 68.63%.

An ablation study confirmed that removing the dynamic parameter generation led to a sharp drop in performance, validating the SIL module as the primary driver of the model's success.

Qualitative Analysis

Qualitative results show the model successfully localizing and labeling complex scenes. As seen in the output examples, the model can identify multiple overlapping relations, such as a person "playing" a skateboard while simultaneously "wearing" a hat, shirt, and pants.

Qualitative examples of the Object Relation Detector identifying multiple complex relations in real-world scenes.

Conclusion

The Semantics Induced Learner provides a powerful mechanism for handling the diversity and scarcity of object relations by treating predicate recognition as a one-shot adaptation task. While the model significantly improves predicate classification, end-to-end relation detection remains limited by the performance of underlying object detectors and the sparsity of current dataset annotations. Future work will focus on improving detector robustness and developing evaluation metrics that better account for incomplete ground-truth data.

Summary updated

BibTeX
@misc{zhou2018object,
  author = {Li Zhou and Jian Zhao and Jianshu Li and Li Yuan and Jiashi Feng},
  title = {{Object Relation Detection Based on One-shot Learning}},
  year = {2018},
  eprint = {1807.05857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.05857},
}
Figure