arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.05217cs.CV

Positional Encoding as Spatial Inductive Bias in GANs

The Chinese University of Hong Kong(香港中文大学);Nanyang Technological University(南洋理工大学);Tencent PCG(腾讯平台与内容事业群);SenseTime Research(商汤科技研究院)

Rui Xu, Xintao Wang, Kai Chen, Bolei Zhou, Chen Change Loy

英文摘要:

SinGAN shows impressive capability in learning internal patch distribution despite its limited effective receptive field. We are interested in knowing how such a translation-invariant 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 improve SinGAN for more versatile image manipulation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑