Positional Encoding as Spatial Inductive Bias in GANs

By Rui Xu, Xintao Wang, Kai Chen, Bolei Zhou, Chen Change Loy. 2020

96 citations recorded by the source corpus.

SinGAN shows impressive capability in learning internal patch distribution despite its limited effective receptive field. We are interested in knowing how such a translationinvariant convolutional generator could capture the global structure with just a spatially i.i.d. input. In this work, taking SinGAN and StyleGAN2 as examples, we show that such capability, to a large extent, is brought by the implicit positional encoding when using zero padding in the generators. Such positional encoding is indispensable for generating images with high fidelity. The same phenomenon is observed in other generative architectures such as DCGAN and PGGAN. We further show that zero padding leads to an unbalanced spatial bias with a vague relation between locations. To offer a better spatial inductive bias, we investigate alternative positional encodings and analyze their effects. Based on a more flexible positional encoding explicitly, we propose a new multi-scale training strategy and demonstrate its effectiveness in the state-of-the-art unconditional generator StyleGAN2. Besides, the explicit spatial inductive bias substantially improves SinGAN for more versatile image manipulation. 1

Subfields: Computer Vision and Pattern Recognition, Generative Models

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ming-Hsuan Yang
  3. Chen Change Loy
  4. Dacheng Tao
  5. Xiaogang Wang
  6. Andrea Vedaldi
  7. Trevor Darrell
  8. Jitendra Malik

In Generative Models

  1. Eli Shechtman
  2. Daniel Cohen-Or
  3. Jun-Yan Zhu
  4. Andreas Geiger
  5. Richard Zhang
  6. Yujun Shen
  7. Axel Sauer
  8. Tero Karras

Citations in the corpus