Controllable and Compositional Generation with Latent-Space Energy-Based Models
By Weili Nie, Arash Vahdat, Anima Anandkumar. 2021
87 citations recorded by the source corpus.
Controllable generation is one of the key requirements for successful adoption of deep generative models in real-world applications, but it still remains as a great challenge. In particular, the compositional ability to generate novel concept combinations is out of reach for most current models. In this work, we use energy-based models (EBMs) to handle compositional generation over a set of attributes. To make them scalable to high-resolution image generation, we introduce an EBM in the latent space of a pre-trained generative model such as StyleGAN. We propose a novel EBM formulation representing the joint distribution of data and attributes together, and we show how sampling from it is formulated as solving an ordinary differential equation (ODE). Given a pre-trained generator, all we need for controllable generation is to train an attribute classifier. Sampling with ODEs is done efficiently in the latent space and is robust to hyperparameters. Thus, our method is simple, fast to train, and efficient to sample. Experimental results show that our method outperforms the state-of-the-art in both conditional sampling and sequential editing. In compositional generation, our method excels at zero-shot generation of unseen attribute combinations. Also, by composing energy functions with logical operators, this work is the first to achieve such compositionality in generating photo-realistic images of resolution 1024x1024. Code is available at https://github.com/NVlabs/LACE.
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
- Yilun Du
- Josh Tenenbaum
- Shuang Li
- Antonio Torralba
- Alexei A. Efros
- Xiaogang Wang
- Luc Van Gool
- Yi Yang
In Generative Models
Citations in the corpus
- Score-based Generative Modeling in Latent Space (2021, neutral): “Our work also bears a resemblance to recent methods on improving the sampling quality in generative adversarial networks using gradient flows in the latent space [65, 66, 67, 68], with the main difference that these prior works use a discriminator to update the latent variables, whereas we train an ”
- Compositional Visual Generation with Composable Diffusion Models (2022, methodology): “LACE [36] trains classifiers for image generation using the generated images from StyleGAN2 and labels provided by the neural network.”