AVR: Attention based Salient Visual Relationship Detection

Jianming Lv, Qinzhe Xiao, Jiajie ZhongarXiv 2020

Introduction

Visual Relationship Detection (VRD) is a critical component of scene understanding, moving beyond simple object detection to identify how entities interact (e.g., <person, riding, horse>). However, traditional VRD models often suffer from informational noise. In a typical image, the sheer number of potential object pairs leads to a "sea" of trivial or irrelevant relationships (e.g., <sky, above, person>). Furthermore, the long-tail distribution of relationships makes it difficult to predict rare triplets that seldom appear in training data.

The AVR (Attention-based Salient Visual Relationship Detection) framework addresses these challenges by focusing on salient relationships—those that define the core meaning of a scene—while leveraging global knowledge to handle rare interactions.

The AVR Framework

The AVR approach consists of a multi-stage pipeline designed to filter noise and refine predictions through local and global contexts.

The AVR framework pipeline, illustrating the flow from object detection to the dual-module relationship prediction.
  1. Object Detection: A standard Faster R-CNN identifies objects and generates bounding boxes.
  2. Attention-based Relationship Prediction (Local Context): For every detected pair, the model fuses visual features (CNN outputs), spatial cues (relative positions), and semantic information (word embeddings). An Attention Module then performs binary classification to weight the importance of each relationship, prioritizing those typically deemed significant by human annotators.
  3. Priori Knowledge Graph (Global Context): To address the "long tail" problem, a heterogeneous graph is constructed where nodes represent predicates and object pairs. By using a Random Walk algorithm, the model can propagate knowledge across similar object pairs (e.g., transferring "riding" context from "person-horse" to "person-elephant"), allowing it to predict rare relationships more accurately.

Salience as a Filter

By explicitly modeling "attention," AVR effectively ranks meaningful interactions higher than trivial ones. This focus on salience ensures that the resulting scene graph is structured and useful for downstream tasks like image captioning or visual question answering.

Visual representation of salient relationship detection, showing bounding boxes, the resulting scene graph, and associated attention weights.

The integration of multi-modal features—visual, spatial, and semantic—is essential for disambiguating similar interactions. For instance, spatial cues help determine if a person is "next to" or "on" an object, while semantic priors prevent nonsensical predictions like a person "wearing" a car.

Evaluation and Results

AVR was evaluated on the VRD and Visual Genome (VG) datasets. The model demonstrated significant performance improvements across three key tasks: Predicate Detection, Phrase Detection, and Relationship Detection.

  • Recall Improvements: On the VRD dataset, AVR achieved a massive recall boost, outperforming previous state-of-the-art methods by up to 87.5% (specifically in Relationship Detection at K=70).
  • Ablation Studies: Experiments confirmed that both the local attention module and the global prior are necessary; removing either component resulted in a significant performance drop.
  • Qualitative Success: Visualizations confirm that AVR successfully prioritizes meaningful interactions (e.g., <person, on, bench>) over technically correct but trivial ones (e.g., <cup, next to, person>).

Limitations and Future Work

While effective, the global prior's performance is dependent on dataset size, showing higher efficacy on the massive Visual Genome dataset compared to the smaller VRD set. Additionally, the current model uses ground-truth annotations as a proxy for salience, which assumes consistent human labeling. Future research may involve integrating this salient detection into end-to-end Scene Graph Generation systems to produce even more refined hierarchical maps of image context.

Summary updated

BibTeX
@misc{lv2020avr,
  author = {Jianming Lv and Qinzhe Xiao and Jiajie Zhong},
  title = {{AVR: Attention based Salient Visual Relationship Detection}},
  year = {2020},
  eprint = {2003.07012},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.07012},
}
Figure