Swapping Autoencoder for Deep Image Manipulation
Taesung Park12 Jun-Yan Zhu23 Oliver Wang2 Jingwan Lu2 Eli Shechtman2 Alexei A. Efros12 Richard Zhang2 1UC Berkeley 2Adobe Research 3CMU
Abstract
Deep generative models have become increasingly effective at producing realistic images from randomly sampled seeds, but using such models for controllable manipulation of existing images remains challenging. We propose the Swapping Autoencoder, a deep model designed specifically for image manipulation, rather than random sampling. The key idea is to encode an image into two independent components and enforce that any swapped combination maps to a realistic image. In particular, we encourage the components to represent structure and texture, by enforcing one component to encode co-occurrent patch statistics across different parts of the image. As our method is trained with an encoder, finding the latent codes for a new input image becomes trivial, rather than cumbersome. As a result, our method enables us to manipulate real input images in various ways, including texture swapping, local and global editing, and latent code vector arithmetic. Experiments on multiple datasets show that our model produces better results and is substantially more efficient compared to recent generative models.
原文 arXiv:2007.00653;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2007.00653v2