Union Visual Translation Embedding for Visual Relationship Detection and Scene Graph Generation

Zih-Siou Hung, Arun Mallya, Svetlana LazebnikarXiv 2019

Introduction

Visual Relationship Detection (VRD) is a critical task in computer vision that involves identifying pairs of objects and the predicates that describe their interactions (e.g., "person riding bicycle"). While object detection has matured significantly, reasoning about these interactions remains challenging due to the vast number of possible object-predicate combinations. This paper introduces UVTransE (Union Visual Translation Embedding), a framework that leverages a novel subtractive logic to isolate relationship features, significantly improving performance in rare and zero-shot scenarios.

The Challenge of Combinatorial Explosion

The primary hurdle in VRD is the "combinatorial explosion" of triplets. For instance, a dataset with 100 object classes and 70 predicates can theoretically contain 700,000 unique triplets. Most of these are absent from training data, leading to a long-tail distribution where many relationships are rarely seen. Furthermore, the visual appearance of a predicate like "holding" varies drastically depending on the objects involved (e.g., holding a phone vs. holding a surfboard). Previous translation-based models, such as VTransE, attempted to model relationships as $subject + predicate \approx object$. However, this additive approach often proved too rigid to generalize across diverse contexts or to unseen pairings.

Methodology: UVTransE

The authors propose a two-stage pipeline consisting of a visual module and a language module.

The Visual Module and Subtractive Logic

The core innovation of UVTransE lies in its use of the Union Box—a bounding box that encompasses both the subject and the object. The model maps features from the subject ($s$), object ($o$), and union ($u$) boxes into a shared embedding space. Unlike previous additive models, UVTransE employs a subtractive logic: $$f_u(u) - f_s(s) - f_o(o) \approx p$$ The intuition is that by subtracting the individual object features from the combined scene (the union box), the model effectively filters out the participants to isolate the representation of the interaction itself. This allows the predicate embedding to focus purely on the relationship context.

The UVTransE architecture integrates a Visual Module using subtractive logic on ROI-pooled features and a Language Module using a Bi-GRU to refine relationship predictions.

The Language Module

To combat data sparsity, the framework includes a language module. It utilizes a Bi-Directional GRU initialized with GloVe word embeddings to capture semantic similarities between object labels. For example, by recognizing that "bicycle" and "motorcycle" are semantically related, the model can better infer relationships for one based on patterns learned from the other.

Datasets and Evaluation

UVTransE was evaluated across four diverse benchmarks:

  1. Stanford VRD: A standard 5,000-image benchmark for relationship detection.
  2. UnRel: A dataset specifically designed to test generalization on "unusual" relationships (e.g., "person riding dog").
  3. Visual Genome (VG): A large-scale dataset used for comprehensive scene graph generation.
  4. Open Images: A massive dataset with nearly 100,000 images, used to test scalability.

Results and Discussion

UVTransE demonstrates state-of-the-art performance, particularly in challenging settings. On the Stanford VRD dataset, it achieved an 11.00% Recall@50 in zero-shot relationship detection, a nearly ten-fold improvement over the original VTransE's 1.71%. On the UnRel dataset, it reached 71.7 mAP (with ground truth boxes), significantly outperforming the previous state-of-the-art of 62.6 mAP.

Qualitative results from UVTransE showing correctly recognized triplets, cases where the ground truth was missing from the dataset, and incorrect predictions.

Qualitative Insights

Qualitative analysis reveals that the model often identifies valid relationships that are absent from the ground truth annotations. This suggests that standard metrics may actually underestimate the model's true performance. However, limitations remain; the model can struggle with fine-grained spatial predicates when objects overlap significantly, as the union box becomes indistinguishable from the individual object boxes.

Conclusion

UVTransE offers a simple yet powerful shift in how visual relationships are modeled. By treating context as a subtraction of participants from a union scene, it achieves remarkable generalization to rare and unseen relationships. While bottlenecks in object detection and spatial ambiguity persist, UVTransE sets a new standard for translation-based relationship detection.

Summary updated

BibTeX
@misc{hung2019union,
  author = {Zih-Siou Hung and Arun Mallya and Svetlana Lazebnik},
  title = {{Union Visual Translation Embedding for Visual Relationship Detection and Scene Graph Generation}},
  year = {2019},
  eprint = {1905.11624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11624},
}
Figure