On Exploring Undetermined Relationships for Visual Relationship Detection

Yibing Zhan, Jun Yu, Ting Yu, Dacheng Tao

Abstract

In visual relationship detection, human-notated relationships can be regarded as determinate relationships. However, there are still large amount of unlabeled data, such as object pairs with less significant relationships or even with no relationships. We refer to these unlabeled but potentially useful data as undetermined relationships. Although a vast body of literature exists, few methods exploit these undetermined relationships for visual relationship detection. In this paper, we explore the beneficial effect of undetermined relationships on visual relationship detection. We propose a novel multi-modal feature based undetermined relationship learning network (MF-URLN) and achieve great improvements in relationship detection. In detail, our MF-URLN automatically generates undetermined relationships by comparing object pairs with human-notated data according to a designed criterion. Then, the MF-URLN extracts and fuses features of object pairs from three complementary modals: visual, spatial, and linguistic modals. Further, the MF-URLN proposes two correlated subnetworks: one subnetwork decides the determinate confidence, and the other predicts the relationships. We evaluate the MF-URLN on two datasets: the Visual Relationship Detection (VRD) and the Visual Genome (VG) datasets. The experimental results compared with state-of-the-art methods verify the significant improvements made by the undetermined relationships, e.g., the top-50 relation detection recall improves from 19.5% to 23.9% on the VRD dataset.

Introduction

Visual Relationship Detection (VRD) aims to identify pairs of objects in an image and predict the relationship between them, typically formatted as a (subject, predicate, object) triplet—for example, person-wear-hat or dog-in-trees.

The core challenge is that the number of possible relationships is astronomical ($O(N^2M)$ for $N$ objects and $M$ predicates), making human annotation incredibly expensive and tedious. Consequently, most datasets are "sparse"—humans only label the most obvious or significant relationships. Existing models usually treat these unlabeled pairs as noise or ignore them entirely.

This paper argues that these undetermined relationships (unlabeled pairs, pairs with no relationship, or even falsely detected objects) are actually goldmines of information. They contain valuable negative samples and reflect human "dislike preferences" (e.g., we naturally prefer saying "cup-on-table" rather than "table-under-cup").

Examples of undetermined relationships (marked with red 'x') where object pairs do not form a determinate relationship.

Methodology: The MF-URLN Framework

The authors propose the Multi-modal Feature based Undetermined Relationship Learning Network (MF-URLN), a framework designed to exploit both labeled and unlabeled data.

The MF-URLN architecture, illustrating the flow from object detection to multi-modal feature fusion and dual-subnetwork prediction.

Its architecture consists of three main components:

  1. Undetermined Relationship Generator: This module uses an object detector (Faster R-CNN) to find all possible object pairs. It then compares these pairs against the ground-truth annotations. Pairs that don't match a human label are classified as "undetermined."
  2. Multi-modal Feature Extraction: To capture the nuance of a relationship, the network fuses three types of data:
  3. Visual: Features from the subject, the object, and their "union box" (the area encompassing both).
  4. Spatial: The relative positions, sizes, and overlap of the two objects.
  5. Linguistic: Semantic meanings from word embeddings (word2vec) and internal statistics about how often certain triplets appear in the training set.
  6. Dual Subnetworks:
    • Determinate Confidence Subnetwork: Predicts the probability $P(d)$ that a pair actually has a meaningful, human-like relationship.
  7. Relationship Detection Subnetwork: Predicts the specific predicate $P(p)$ (e.g., "on," "near," "wearing"). Crucially, this subnetwork incorporates the confidence score from the first subnetwork to refine its predictions.

Experimental Evaluation

The model was evaluated on two primary benchmarks: the Visual Relationship Detection (VRD) dataset and the Visual Genome (VG) dataset. The MF-URLN achieved state-of-the-art results across both:

  • VRD Dataset: The top-50 relation detection recall (R@50) improved from 19.5% to 23.9%, a significant jump in this field.
  • Visual Genome Dataset: The improvements were even more dramatic. In the "Phrase Detection" task, R@50 leaped from 13.1% to 26.6%, effectively doubling the performance of previous leading methods.

Ablation studies proved that the "Transforming" method of fusing features (mapping different modalities into the same dimensional space before concatenating) was superior to simple concatenation.

Key Insights and Conclusion

By explicitly training the model to recognize when a pair has no relationship, the model becomes much better at distinguishing actual relationships from random object coincidences. Multi-modal synergy is equally vital; spatial cues help distinguish "on" from "under," while linguistic priors prevent the model from predicting nonsensical relationships like "phone-eats-person."

While the MF-URLN shows great promise, the authors acknowledge that detecting relationships for triplets never seen in training (zero-shot) remains difficult. Future work will focus on applying these undetermined relationship insights to full Scene Graph Generation, where the goal is to map out every interaction in an entire image.

Summary updated

BibTeX
@inproceedings{zhan2019exploring,
  author = {Yibing Zhan and Jun Yu and Ting Yu and Dacheng Tao},
  title = {{On Exploring Undetermined Relationships for Visual Relationship Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00527},
}
Figure