Context-Aware Layout to Image Generation with Enhanced Object Appearance

Sen He, Wentong Liao, Michael Ying Yang, Yongxin Yang, Yi-Zhe Song +2 more
3/22/2021
cs.CV

Official code: wtliao/layout2img (50 stars, Python, last commit 2023-01-25).

Abstract

A layout to image (L2I) generation model aims to generate a complicated image containing multiple objects (things) against natural background (stuff), conditioned on a given layout. Built upon the recent advances in generative adversarial networks (GANs), existing L2I models have made great progress.

Show full abstract

However, a close inspection of their generated images reveals two major limitations: (1) the object-to-object as well as object-to-stuff relations are often broken and (2) each object's appearance is typically distorted lacking the key defining characteristics associated with the object class. We argue that these are caused by the lack of context-aware object and stuff feature encoding in their generators, and location-sensitive appearance representation in their discriminators. To address these limitations, two new modules are proposed in this work. First, a context-aware feature transformation module is introduced in the generator to ensure that the generated feature encoding of either object or stuff is aware of other co-existing objects/stuff in the scene. Second, instead of feeding location-insensitive image features to the discriminator, we use the Gram matrix computed from the feature maps of the generated object images to preserve location-sensitive information, resulting in much enhanced object appearance. Extensive experiments show that the proposed method achieves state-of-the-art performance on the COCO-Thing-Stuff and Visual Genome benchmarks.

View on arXivView PDF

Code Implementations(1)

wtliao/layout2imgOfficial100%

Context-Aware Layout to Image Generation with Enhanced Object Appearance

5010Python, ShellMar 19, 20213 years ago

Similar Papers

Cite this paper

@article{he2021contextaware,
  title  = {Context-Aware Layout to Image Generation with Enhanced Object Appearance},
  author = {Sen He and Wentong Liao and Michael Ying Yang and Yongxin Yang and Yi-Zhe Song and Bodo Rosenhahn and Tao Xiang},
  year   = {2021},
  eprint = {2103.11897},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.11897}
}

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

Discussion