Learning to Generate Scene Graph from Natural Language Supervision

Yiwu Zhong, Jing Shi, Jianwei Yang, Chenliang Xu, Yin Li
9/6/2021
cs.CV

Official code: YiwuZhong/SGG_from_NLS (99 stars, Jupyter Notebook, last commit 2023-04-04).

Abstract

Learning from image-text data has demonstrated recent success for many recognition tasks, yet is currently limited to visual features or individual visual concepts such as objects. In this paper, we propose one of the first methods that learn from image-sentence pairs to extract a graphical representation of localized objects and their relationships within an image, known as scene graph.

Show full abstract

To bridge the gap between images and texts, we leverage an off-the-shelf object detector to identify and localize object instances, match labels of detected regions to concepts parsed from captions, and thus create "pseudo" labels for learning scene graph. Further, we design a Transformer-based model to predict these "pseudo" labels via a masked token prediction task. Learning from only image-sentence pairs, our model achieves 30% relative gain over a latest method trained with human-annotated unlocalized scene graphs. Our model also shows strong results for weakly and fully supervised scene graph generation. In addition, we explore an open-vocabulary setting for detecting scene graphs, and present the first result for open-set scene graph generation. Our code is available at https://github.com/YiwuZhong/SGG_from_NLS.

View on arXivView PDF

Code Implementations(1)

[ICCV 2021] Official code for "Learning to Generate Scene Graph from Natural Language Supervision"

9913Jupyter Notebook, PythonAug 16, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhong2021learning,
  title  = {Learning to Generate Scene Graph from Natural Language Supervision},
  author = {Yiwu Zhong and Jing Shi and Jianwei Yang and Chenliang Xu and Yin Li},
  year   = {2021},
  eprint = {2109.02227},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.02227}
}

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

Discussion