Lune

ICLR2021Top-tier venue

Using latent space regression to analyze and leverage compositionality in GANs

Lucy Chai, Jonas Wulff, Phillip Isola

Abstract

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/ .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Effective Real Image Editing with Accelerated Iterative Diffusion Inversion cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • Effective Real Image Editing with Accelerated Iterative Diffusion Inversion cites ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement
  • ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement cites On the "steerability" of generative adversarial networks
  • ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement cites GANalyze: Toward Visual Definitions of Cognitive Image Properties
  • ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Diffusion Self-Guidance for Controllable Image GenerationDave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros et al.NeurIPS 2023 · 411 citations
  2. ReStyle: A Residual-Based StyleGAN Encoder via Iterative RefinementYuval Alaluf, Or Patashnik, Daniel Cohen-OrICCV 2021 · 377 citations
  3. Illiterate DALL-E Learns to ComposeGautam Singh, Fei Deng, Sungjin AhnICLR 2022 · 182 citations
  4. Effective Real Image Editing with Accelerated Iterative Diffusion InversionZhihong Pan, Riccardo Gherardi, Xiufeng Xie, Stephen HuangICCV 2023 · 86 citations
  5. Rethinking Fast Fourier Convolution in Image InpaintingTianyi Chu, Jiafu Chen, Jiakai Sun, Shuobin Lian et al.ICCV 2023 · 54 citations

Builds on16

  1. Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?Rameen Abdal, Yipeng Qin, Peter WonkaICCV 2019 · 1,195 citations
  2. Reliable Fidelity and Diversity Metrics for Generative ModelsMuhammad Ferjad Naeem, Seong Joon Oh, Youngjung Uh, Yunjey Choi et al.ICML 2020 · 553 citations
  3. On the "steerability" of generative adversarial networksAli Jahanian, Lucy Chai, Phillip IsolaICLR 2020 · 421 citations
  4. GANalyze: Toward Visual Definitions of Cognitive Image PropertiesLore Goetschalckx, Alex Andonian, Aude Oliva, Phillip IsolaICCV 2019 · 345 citations
  5. Seeing What a GAN Cannot GenerateDavid Bau, Jun-Yan Zhu, Jonas Wulff, William S. Peebles et al.ICCV 2019 · 342 citations

Related papers

  1. High Fidelity GAN Inversion via Prior Multi-Subspace Feature CompositionGuanyue Li, Qianfen Jiao, Sheng Qian, Si Wu et al.AAAI 2021
  2. SemanticStyleGAN: Learning Compositional Generative Priors for Controllable Image Synthesis and EditingYichun Shi, Xiao Yang, Yangyue Wan, Xiaohui ShenCVPR 2022 · 88 citations
  3. Enjoy Your Editing: Controllable GANs for Image Editing via Latent Space NavigationPeiye Zhuang, Oluwasanmi Koyejo, Alexander G. SchwingICLR 2021 · 88 citations
  4. Designing an encoder for StyleGAN image manipulationOmer Tov, Yuval Alaluf, Yotam Nitzan, Or Patashnik et al.SIGGRAPH 2021 · 692 citations
  5. FEditNet: Few-Shot Editing of Latent Semantics in GAN SpacesMengfei Xia, Yezhi Shu, Yuji Wang, Yu-Kun Lai et al.AAAI 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines