An Interpretable Model for Scene Graph Generation

Ji Zhang, Kevin J. Shih, Andrew Tao, Bryan Catanzaro, Ahmed ElgammalarXiv 2018

Abstract

Scene Graph Generation (SGG) is the task of identifying objects and the semantic relationships between them in an image. While most existing models rely on "black box" early-fusion architectures, this paper proposes a modular, late-fusion design that separates visual, spatial, and semantic features into independent branches. This approach provides transparency into the model's decision-making process while setting new state-of-the-art benchmarks. The model notably secured first place in the OpenImages Visual Relationship Detection Challenge, demonstrating its effectiveness on large-scale datasets.

Introduction

Scene graph generation serves as a critical bridge between low-level object detection and high-level visual reasoning. By identifying relationships such as "man riding horse" or "bottle inside box," models can provide a structured representation of visual scenes. This structured data is essential for downstream tasks like image captioning and visual question answering.

A significant challenge in SGG is the lack of interpretability in traditional models. Most architectures utilize early fusion, mixing visual pixels, object coordinates, and category labels into a single complex feature vector early in the pipeline. This makes it difficult to discern whether a model's prediction is based on visual evidence (e.g., seeing a hand on a guitar) or semantic bias (e.g., knowing that men often play guitars). This paper addresses this by untangling these influences through a tripartite architecture.

Methodology

The proposed model decomposes the relationship classification task into three distinct, independent streams, combined via a late-fusion strategy. This design assumes that semantic, spatial, and visual features provide complementary but largely independent information.

The three-branch architecture decomposes relationship classification into visual, spatial, and semantic modules, combined through late fusion.

The Three-Branch Architecture

  1. Semantic Module: This module acts as a "common sense" prior. It calculates the empirical probability of a relationship based solely on object labels. By explicitly modeling these biases, the other modules can focus on learning the "residual"—the visual or spatial nuances that deviate from the statistical average.
  2. Spatial Module: This branch focuses on geometry by analyzing bounding box coordinates. It calculates "box deltas"—relative distance, scale, and overlap—to identify positional predicates like "under," "on," or "inside."
  3. Visual Module: Serving as the "eyes" of the model, this module extracts CNN features from the subject, the object, and their union. The authors found that training a specific "predicate backbone" allowed the model to focus on interaction areas (e.g., the point where a hand touches a cup) rather than just the objects themselves.

Late Fusion and Interpretability

Unlike early-fusion models, these branches produce independent scores that are summed and passed through a softmax function for the final prediction. This late-fusion strategy is what makes the model interpretable; researchers can look at the raw scores of each branch to see which one "won" the argument for a specific prediction.

Experimental Results

The model was evaluated on three major benchmarks: OpenImages (OI), Visual Genome (VG), and Visual Relationship Detection (VRD).

Qualitative examples of scene graphs generated by the model, illustrating its ability to detect complex multi-object relationships across various scenes.

Performance Benchmarks

  • OpenImages Champion: The model won 1st place in the Visual Relationship Detection Challenge, outperforming the runner-up by 5% absolute (a 20% relative improvement).
  • State-of-the-Art on Visual Genome: The model achieved a Recall@100 of 32.5% in Scene Graph Detection, surpassing previous leaders like MotifNet.
  • Efficiency: Because the model uses an off-the-shelf object detector (like Faster R-CNN) and only trains the small relationship sub-networks, it is significantly more efficient to train than end-to-end "message-passing" models.

Conclusion

By prioritizing independence between feature types, the authors developed a model that is both highly accurate and inherently interpretable. The success of this modular approach suggests that explicit modeling of semantic and spatial priors can effectively complement visual features. Future work may involve integrating attribute detection more deeply into the architecture and applying these interpretable outputs to complex reasoning tasks like Visual Question Answering (VQA).

Summary updated

BibTeX
@misc{zhang2018interpretable,
  author = {Ji Zhang and Kevin J. Shih and Andrew Tao and Bryan Catanzaro and Ahmed Elgammal},
  title = {{An Interpretable Model for Scene Graph Generation}},
  year = {2018},
  eprint = {1811.09543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.09543},
}
Figure