Controllable and Progressive Image Extrapolation

Yijun Li, Lu Jiang, Ming-Hsuan Yang

Abstract

Image extrapolation, or outpainting, typically lacks user control over generated content. We present a method for conditional image extrapolation that expands a small image patch into a full scene guided by structured scene graphs. By employing a three-stage progressive generative model—moving from bounding boxes to segmentation layouts to final pixels—we achieve significantly higher control and visual quality than previous unconditional methods.

Introduction

Traditional image extrapolation is often an unconditional task where models extend textures without user guidance. This lack of control is problematic when specific semantic outcomes are desired, such as choosing a person's attire or facial features. Mapping raw text directly to high-dimensional pixels is challenging and often results in blurry artifacts. We address two primary challenges: controllability (specifying what and where to generate) and alignment (ensuring seamless connection to the original patch).

The task of conditional image extrapolation using an image patch and a scene graph.

Methodology

Our approach utilizes a Progressive Generative Model inspired by an artist's workflow, breaking the complex generation task into three manageable stages.

  1. Stage I: Bounding-box Layout Generation: A Graph Convolutional Network (GCN) processes a scene graph—representing objects as nodes and spatial relationships as edges—to predict object bounding boxes.
  2. Stage II: Segmentation Layout Generation: Using the predicted boxes and the original patch, the model generates a pixel-wise semantic map. This intermediate representation ensures structural alignment with the input.
  3. Stage III: Layout-to-Image Generation: A GAN-based translation network converts the semantic layout into realistic RGB pixels, maintaining color and texture consistency from the original patch.
The three-stage progressive generative model architecture.

A key innovation is the use of progressive training, where stages are trained independently before joint optimization. This curriculum-based approach is essential for learning the mapping from abstract graphs to concrete pixels.

Experiments and Results

The model was evaluated on the Helen (faces), Clothing Co-Parsing (CCP), and Synthetic 2D Shape datasets. Quantitative results on the Helen dataset showed a Fréchet Inception Distance (FID) of 49.21, outperforming the best baseline (56.84). Qualitatively, our method produced sharper results than direct translation models like sg2im. In a double-blind study, users preferred our results 74.22% of the time. The model demonstrated significant diversity, generating varied outfits and facial features from the same starting patch based on scene graph modifications.

Conclusion

This work demonstrates that using layouts as an intermediate representation significantly improves the controllability and quality of image extrapolation. While currently focused on single-subject scenes like faces and bodies, future work will explore more complex multi-object environments and finer-grained spatial controls.

Summary updated

BibTeX
@inproceedings{li2021controllable,
  author = {Yijun Li and Lu Jiang and Ming-Hsuan Yang},
  title = {{Controllable and Progressive Image Extrapolation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00219},
}
Figure