SG-Adapter: Enhancing Text-to-Image Generation with Scene Graph Guidance

Guibao Shen, Luozhou Wang, Jiantao Lin, Wenhang Ge, Chaozhe Zhang +7 more
5/24/2024
cs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Recent advancements in text-to-image generation have been propelled by the development of diffusion models and multi-modality learning. However, since text is typically represented sequentially in these models, it often falls short in providing accurate contextualization and structural control. So the generated images do not consistently align with human expectations, especially in complex scenarios involving multiple objects and relationships. In this paper, we introduce the Scene Graph Adapter(SG-Adapter), leveraging the structured representation of scene graphs to rectify inaccuracies in the original text embeddings. The SG-Adapter's explicit and non-fully connected graph representation greatly improves the fully connected, transformer-based text representations. This enhancement is particularly notable in maintaining precise correspondence in scenarios involving multiple relationships. To address the challenges posed by low-quality annotated datasets like Visual Genome, we have manually curated a highly clean, multi-relational scene graph-image paired dataset MultiRels. Furthermore, we design three metrics derived from GPT-4V to effectively and thoroughly measure the correspondence between images and scene graphs. Both qualitative and quantitative results validate the efficacy of our approach in controlling the correspondence in multiple relationships.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2024sgadapter,
  title  = {SG-Adapter: Enhancing Text-to-Image Generation with Scene Graph Guidance},
  author = {Guibao Shen and Luozhou Wang and Jiantao Lin and Wenhang Ge and Chaozhe Zhang and Xin Tao and Yuan Zhang and Pengfei Wan and Zhongyuan Wang and Guangyong Chen and Yijun Li and Ying-Cong Chen},
  year   = {2024},
  eprint = {2405.15321},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15321v1}
}

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

Discussion