Skip to main content
QUICK REVIEW

[Paper Review] One-shot Scene Graph Generation

Yuyu Guo, Jingkuan Song|arXiv (Cornell University)|Feb 22, 2022
Multimodal Machine Learning ApplicationsComputer Science42 references5 citations
TL;DR

This paper introduces One-Shot Scene Graph Generation, a novel task requiring models to predict visual relationships from a single labeled example. It proposes an Instance Relation Transformer and Multiple Structured Knowledge (Relational and Commonsense Knowledge) to leverage prior knowledge, achieving state-of-the-art performance on a constructed one-shot dataset, significantly outperforming existing methods with minimal supervision.

ABSTRACT

As a structured representation of the image content, the visual scene graph (visual relationship) acts as a bridge between computer vision and natural language processing. Existing models on the scene graph generation task notoriously require tens or hundreds of labeled samples. By contrast, human beings can learn visual relationships from a few or even one example. Inspired by this, we design a task named One-Shot Scene Graph Generation, where each relationship triplet (e.g., "dog-has-head") comes from only one labeled example. The key insight is that rather than learning from scratch, one can utilize rich prior knowledge. In this paper, we propose Multiple Structured Knowledge (Relational Knowledge and Commonsense Knowledge) for the one-shot scene graph generation task. Specifically, the Relational Knowledge represents the prior knowledge of relationships between entities extracted from the visual content, e.g., the visual relationships "standing in", "sitting in", and "lying in" may exist between "dog" and "yard", while the Commonsense Knowledge encodes "sense-making" knowledge like "dog can guard yard". By organizing these two kinds of knowledge in a graph structure, Graph Convolution Networks (GCNs) are used to extract knowledge-embedded semantic features of the entities. Besides, instead of extracting isolated visual features from each entity generated by Faster R-CNN, we utilize an Instance Relation Transformer encoder to fully explore their context information. Based on a constructed one-shot dataset, the experimental results show that our method significantly outperforms existing state-of-the-art methods by a large margin. Ablation studies also verify the effectiveness of the Instance Relation Transformer encoder and the Multiple Structured Knowledge.

Motivation & Objective

  • To address the limitation of existing scene graph generation models that require large-scale labeled data.
  • To enable models to learn visual relationships from a single annotated example, mimicking human few-shot learning.
  • To integrate prior knowledge—specifically relational and commonsense knowledge—into the scene graph generation process.
  • To design a novel architecture, the Instance Relation Transformer, to better capture contextual relationships among objects.
  • To construct and evaluate a one-shot scene graph dataset to benchmark few-shot visual relationship understanding.

Proposed method

  • The method introduces Multiple Structured Knowledge: Relational Knowledge from Visual Genome captures likely visual relationships (e.g., 'standing in', 'sitting in') between object pairs.
  • Commonsense Knowledge from ConceptNet encodes general-world facts (e.g., 'dog can guard yard') to support reasoning beyond visual cues.
  • These two knowledge types are organized into a graph and processed via Graph Convolution Networks (GCNs) to generate knowledge-embedded entity features.
  • An Instance Relation Transformer encoder is used to model inter-object context by attending to relationships between all object pairs, improving feature representation beyond isolated Faster R-CNN features.
  • The model is trained end-to-end on a newly constructed one-shot scene graph dataset, where each relationship has only one labeled example.
  • Performance is evaluated under the PredCls setting (predefined object categories), using Recall@K metrics to measure relationship prediction accuracy.

Experimental results

Research questions

  • RQ1Can a model generalize visual relationship prediction from only one labeled example, similar to human few-shot learning?
  • RQ2How effective is the integration of relational and commonsense knowledge in improving few-shot scene graph generation?
  • RQ3Does an attention-based relational encoder (Instance Relation Transformer) outperform standard feature extraction in capturing inter-object context?
  • RQ4Can prior knowledge reduce the need for large-scale annotated datasets in visual relationship understanding?
  • RQ5What are the failure modes of the model when spatial cues are misleading or ambiguous?

Key findings

  • The proposed method significantly outperforms existing state-of-the-art methods on the one-shot scene graph generation benchmark, demonstrating strong few-shot generalization.
  • Ablation studies confirm that both the Instance Relation Transformer and the Multiple Structured Knowledge contribute substantially to performance gains.
  • The model successfully predicts spatial relationships (e.g., 'shirt above shot', 'racker on hand') and commonsense relationships (e.g., 'dog has head', 'dog has nose') using only one example.
  • Failure cases are primarily due to spatial ambiguity—e.g., overlapping bounding boxes or complete containment leading to incorrect 'on' predictions—indicating overreliance on spatial signals.
  • The model maintains strong performance on the PredCls setting, outperforming even reinforcement learning-based methods, especially when object categories are fixed.
  • The method generalizes well to the standard scene graph generation task, achieving competitive results on standard benchmarks, showing its broader applicability beyond one-shot learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.