Spiral Generative Network for Image Extrapolation

Dongsheng Guo, Hongzhi Liu, Haoru Zhao, Yunhao Cheng, Qingwei Song, Zhaorui Gu, Haiyong Zheng, Bing ZhengECCV 2020

Introduction

Image extrapolation—the task of predicting what lies beyond the boundaries of a given sub-image—is a notoriously difficult challenge in computer vision. Unlike inpainting, where a model fills a missing hole within a known context, extrapolation requires "hallucinating" entirely new content with fewer constraints. Existing methods often struggle with two major hurdles: the "distant contextual generation problem," where pixels far from the original image become blurry or nonsensical, and "jarring boundaries," where visible seams appear between the original and generated content.

The spiral generation concept (a) and examples of image extrapolation across various datasets (b).

SpiralNet addresses these issues by treating extrapolation as an evolutionary process, "growing" an image outward along a spiral path. By decoupling the problem into global semantic imagination and local slice-by-slice generation, it achieves state-of-the-art results in creating realistic, consistent surroundings for cropped images.

Methodology

The core innovation of SpiralNet is its two-stage "Imagine-then-Slice" approach, which mimics human intuition. When a human draws the rest of a face, they often first imagine the whole head preliminarily and then fill in the details.

Architecture Overview

The framework consists of two main components working in tandem:

  1. ImagineGAN: This component acts as the "mind's eye," generating a low-resolution, coarse version of the entire expanded image. This provides a global semantic roadmap that guides the subsequent detailed generation.
  2. SliceGAN: This is the workhorse that performs the actual expansion. It takes a thin "slice" of the image and extends it in one of four directions (left, top, right, bottom) following a spiral curve.
Architecture of SpiralNet, illustrating the interaction between ImagineGAN (global roadmap) and SliceGAN (local expansion).

SliceGAN utilizes a sophisticated "Encoder-AdaIN-SPADE|Decoder" structure. It fuses style information from the original sub-image via Adaptive Instance Normalization (AdaIN) and semantic structure from the "imagined" image via Spatially-Adaptive Denormalization (SPADE). To maintain efficiency, the same SliceGAN weights are reused for every step of the spiral.

Specialized Loss Functions

To tackle common GAN issues like unnatural color spots or darkening, the authors introduced a Hue-Color Loss. This loss constrains hue consistency and color harmony, ensuring vibrant datasets like "Flowers" maintain realistic color transitions.

Evaluation and Results

SpiralNet was evaluated across eight diverse datasets, including objects (CelebA-HQ, Stanford Cars, CUB, Flowers) and scenes (Paris StreetView, Cityscapes, Place365).

Quantitative Performance

SpiralNet consistently outperformed state-of-the-art models such as Boundless and SRN across nearly all metrics, including PSNR, SSIM, and FID. For instance, on the CelebA-HQ dataset for four-side extrapolation, SpiralNet achieved an FID of 21.17, significantly better than SRN's 32.25 (where lower is better).

Qualitative Analysis

Visual results demonstrate sharper textures and superior structural continuity compared to previous methods. In user studies, participants overwhelmingly preferred SpiralNet’s results; it was judged more realistic than Boundless in 93.33% of cases on the Paris StreetView dataset.

Conclusion and Future Work

By employing a "divide-and-conquer" strategy via a spiral path, SpiralNet ensures that every new slice is always adjacent to a previously generated area, making the generation task more tractable. While the model produces impressive results, the authors note a limitation regarding "trivial block effects"—subtle seams that can appear where slices meet. Future research will focus on refining the stitching process and exploring the application of spiral generation to other image synthesis tasks.

Summary updated

BibTeX
@inproceedings{guo2020spiral,
  author = {Dongsheng Guo and Hongzhi Liu and Haoru Zhao and Yunhao Cheng and Qingwei Song and Zhaorui Gu and Haiyong Zheng and Bing Zheng},
  title = {{Spiral Generative Network for Image Extrapolation}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58529-7\_41},
}
Figure