Latent Constraints: Learning to Generate Conditionally from Unconditional Generative Models

11/15/2017
by   Jesse Engel, et al.
0

Deep generative neural networks have proven effective at both conditional and unconditional modeling of complex data distributions. Conditional generation enables interactive control, but creating new controls often requires expensive retraining. In this paper, we develop a method to condition generation without retraining the model. By post-hoc learning latent constraints, value functions that identify regions in latent space that generate outputs with desired attributes, we can conditionally sample from these regions with gradient-based optimization or amortized actor functions. Combining attribute constraints with a universal "realism" constraint, which enforces similarity to the data distribution, we generate realistic conditional images from an unconditional variational autoencoder. Further, using gradient-based optimization, we demonstrate identity-preserving transformations that make the minimal adjustment in latent space to modify the attributes of an image. Finally, with discrete sequences of musical notes, we demonstrate zero-shot conditional generation, learning latent constraints in the absence of labeled data or a differentiable reward function. Code with dedicated cloud instance has been made publicly available (https://goo.gl/STGMGx).

READ FULL TEXT

page 3

page 5

page 6

page 14

page 15

page 16

page 17

page 19

research
05/24/2018

Cross Domain Image Generation through Latent Space Exploration with Adversarial Loss

Conditional domain generation is a good way to interactively control sam...
research
10/21/2021

Controllable and Compositional Generation with Latent-Space Energy-Based Models

Controllable generation is one of the key requirements for successful ad...
research
10/19/2020

Evidential Sparsification of Multimodal Latent Spaces in Conditional Variational Autoencoders

Discrete latent spaces in variational autoencoders have been shown to ef...
research
04/26/2023

TR0N: Translator Networks for 0-Shot Plug-and-Play Conditional Generation

We propose TR0N, a highly general framework to turn pre-trained uncondit...
research
01/07/2022

Deep Generative Framework for Interactive 3D Terrain Authoring and Manipulation

Automated generation and (user) authoring of the realistic virtual terra...
research
02/22/2017

Counterfactual Control for Free from Generative Models

We introduce a method by which a generative model learning the joint dis...
research
06/09/2021

Stein Latent Optimization for GANs

Generative adversarial networks (GANs) with clustered latent spaces can ...

Please sign up or login with your details

Forgot password? Click here to reset