Structured Sparse R-CNN for Direct Scene Graph Generation

Yao Teng, Limin Wang
6/21/2021
cs.CV

Official code: MCG-NJU/Structured-Sparse-RCNN (64 stars, last commit 2022-06-07).

Abstract

Scene graph generation (SGG) is to detect object pairs with their relations in an image. Existing SGG approaches often use multi-stage pipelines to decompose this task into object detection, relation graph construction, and dense or dense-to-sparse relation prediction. Instead, from a perspective on SGG as a direct set prediction, this paper presents a simple, sparse, and unified framework, termed as Structured Sparse R-CNN. The key to our method is a set of learnable triplet queries and a structured triplet detector which could be jointly optimized from the training set in an end-to-end manner. Specifically, the triplet queries encode the general prior for object pairs with their relations, and provide an initial guess of scene graphs for subsequent refinement. The triplet detector presents a cascaded architecture to progressively refine the detected scene graphs with the customized dynamic heads. In addition, to relieve the training difficulty of our method, we propose a relaxed and enhanced training strategy based on knowledge distillation from a Siamese Sparse R-CNN. We perform experiments on several datasets: Visual Genome and Open Images V4/V6, and the results demonstrate that our method achieves the state-of-the-art performance. In addition, we also perform in-depth ablation studies to provide insights on our structured modeling in triplet detector design and training strategies. The code and models are made available at https://github.com/MCG-NJU/Structured-Sparse-RCNN.

View on arXivView PDF

Code Implementations(1)

[CVPR 2022] Structured Sparse R-CNN for Direct Scene Graph Generation

641C, C++Mar 9, 20224 years agoNOASSERTION

Similar Papers

Cite this paper

@article{teng2021structured,
  title  = {Structured Sparse R-CNN for Direct Scene Graph Generation},
  author = {Yao Teng and Limin Wang},
  year   = {2021},
  eprint = {2106.10815},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.10815}
}

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/2106.10815.svg)](https://codeofpaper.com/paper/2106.10815)

Discussion