RelTR: Relation Transformer for Scene Graph Generation

Yuren Cong, Michael Ying Yang, Bodo Rosenhahn
1/27/2022
cs.CV
transformer-attention

Official code: yrcong/RelTR (317 stars, Python, last commit 2024-08-20).

Abstract

Different objects in the same scene are more or less related to each other, but only a limited number of these relationships are noteworthy. Inspired by DETR, which excels in object detection, we view scene graph generation as a set prediction problem and propose an end-to-end scene graph generation model RelTR which has an encoder-decoder architecture.

Show full abstract

The encoder reasons about the visual feature context while the decoder infers a fixed-size set of triplets subject-predicate-object using different types of attention mechanisms with coupled subject and object queries. We design a set prediction loss performing the matching between the ground truth and predicted triplets for the end-to-end training. In contrast to most existing scene graph generation methods, RelTR is a one-stage method that predicts a set of relationships directly only using visual appearance without combining entities and labeling all possible predicates. Extensive experiments on the Visual Genome and Open Images V6 datasets demonstrate the superior performance and fast inference of our model.

View on arXivView PDF

Code Implementations(1)

yrcong/RelTROfficial100%

RelTR: Relation Transformer for Scene Graph Generation: https://arxiv.org/abs/2201.11460v2

31758Python, CythonNov 16, 20212 years ago
end-to-endscene-graph-generationvisual-relationship-detection

Similar Papers

Cite this paper

@article{cong2022reltr,
  title  = {RelTR: Relation Transformer for Scene Graph Generation},
  author = {Yuren Cong and Michael Ying Yang and Bodo Rosenhahn},
  year   = {2022},
  eprint = {2201.11460},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.11460}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.11460.svg)](https://codeofpaper.com/paper/2201.11460)

Discussion