Using latent space regression to analyze and leverage compositionality in GANs

By Lucy Chai, Jonas Wulff, Phillip Isola. 2021

82 citations recorded by the source corpus.

In recent years, Generative Adversarial Networks have become ubiquitous in both research and public perception, but how GANs convert an unstructured latent code to a high quality output is still an open question. In this work, we investigate regression into the latent space as a probe to understand the compositional properties of GANs. We find that combining the regressor and a pretrained generator provides a strong image prior, allowing us to create composite images from a collage of random image parts at inference time while maintaining global consistency. To compare compositional properties across different generators, we measure the trade-offs between reconstruction of the unrealistic input and image quality of the regenerated samples. We find that the regression approach enables more localized editing of individual image parts compared to direct editing in the latent space, and we conduct experiments to quantify this independence effect. Our method is agnostic to the semantics of edits, and does not require labels or predefined concepts during training. Beyond image composition, our method extends to a number of related applications, such as image inpainting or example-based image editing, which we demonstrate on several GANs and datasets, and because it uses only a single forward pass, it can operate in real-time. Code is available on our project page: https://chail.github.io/latent-composition/.

Subfields: Artificial Intelligence, 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 Artificial Intelligence

  1. Richard Zhang
  2. Alexei A. Efros
  3. Phillip Isola
  4. Jun-Yan Zhu
  5. Eli Shechtman
  6. Allan Jabri
  7. Antonio Torralba
  8. Sergey Levine

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ming-Hsuan Yang
  3. Alexei A. Efros
  4. Dacheng Tao
  5. Trevor Darrell
  6. Jitendra Malik
  7. Andrea Vedaldi
  8. Eli Shechtman

In Generative Models

  1. Eli Shechtman
  2. Richard Zhang
  3. Jun-Yan Zhu
  4. Daniel Cohen-Or
  5. Alexei A. Efros
  6. Or Patashnik
  7. Yujiu Yang
  8. Weihao Xia

Citations in the corpus