Interactive Image Synthesis with Panoptic Layout Generation

Bo Wang, Tao Wu, Minfeng Zhu, Peng DuCVPR 2022

Abstract

Interactive image synthesis allows users to control scene structure via simple inputs like bounding boxes. However, existing models often suffer from the "region missing" problem, where gaps between user-defined objects result in visual artifacts. We present PLGAN (Panoptic Layout Generative Adversarial Network), which introduces a panoptic approach to layout generation. By distinguishing between structured "things" and amorphous "stuff," PLGAN ensures 100% semantic coverage, producing robust and aesthetically pleasing images even from sparse or imprecise user inputs.

Introduction: The Region Missing Problem

In interactive image synthesis, users typically provide scene graphs or bounding boxes to define the desired composition. A significant challenge in current layout-to-image models is the "region missing" problem. When user-provided boxes do not cover the entire image lattice—a common occurrence in interactive GUIs—the model lacks semantic information for the gaps. This leads to "black holes" or distorted artifacts in the generated output.

Comparison of Grid2Im and PLGAN layouts showing how PLGAN fills 'missing regions' in the layout.

As shown in Figure 1, while previous methods like Grid2Im leave empty regions in the instance layout, PLGAN generates a complete panoptic layout that fills the entire frame, acting as a safety net for messy user inputs.

Methodology

The core of PLGAN is the Panoptic Layout Generation (PLG) module, which processes "thing" and "stuff" categories through specialized parallel branches.

The PLGAN architecture featuring parallel Stuff and Instance branches for panoptic layout generation.

Panoptic Layout Generation (PLG)

  1. Instance Branch ("Things"): This branch handles countable objects with distinct shapes (e.g., people, animals). It predicts bounding boxes and masks, utilizing a Guided Filter (GF) to refine object boundaries based on image features.
  2. Stuff Branch ("Stuff"): This branch generates pixel-wise masks for uncountable background elements like sky, grass, or water. By design, the "stuff" layout acts as a background "glue," ensuring that every pixel in the image is assigned a semantic category.

Instance- and Stuff-Aware Normalization (ISA-Norm)

To integrate these disparate layouts, the authors introduced ISA-Norm. This layer intelligently fuses embeddings from both branches into the image generation process, preventing background features from bleeding into foreground objects and maintaining sharp boundaries while ensuring a seamless background.

Experiments and Results

PLGAN was evaluated on COCO-Stuff, Visual Genome, and a newly introduced Landscape dataset consisting of 27,000 high-resolution natural scenery photos. This dataset specifically highlights the importance of "stuff" generation, as it contains no "thing" objects.

Key Findings

  • Robustness: PLGAN maintains 100% semantic coverage regardless of input perturbations, whereas competing models see significant drops in coverage as inputs become sparser.
  • Quantitative Performance: On the COCO-Stuff benchmark (128x128), PLGAN achieved an Inception Score (IS) of 15.6 and a Frechet Inception Distance (FID) of 22.70, outperforming baselines like LostGAN-V2 and CAL2I.
  • User Preference: In human evaluation studies involving 600 votes, PLGAN was preferred for its realism 197 times, significantly higher than Grid2Im (118) and LostGAN (142).
  • Efficiency: The model is optimized for real-time interaction, with an average inference time of approximately 26ms per image.

Conclusion

PLGAN effectively solves the "region missing" problem in interactive image synthesis by adopting a panoptic perspective. By treating background "stuff" as a foundational layer for foreground "things," the model provides a robust framework for generating high-quality, gap-free images from user-defined layouts.

Summary updated

BibTeX
@inproceedings{wang2022interactive,
  author = {Bo Wang and Tao Wu and Minfeng Zhu and Peng Du},
  title = {{Interactive Image Synthesis with Panoptic Layout Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure