AICurious Logo

What is: Adversarially Learned Inference?

SourceAdversarially Learned Inference
Year2000
Data SourceCC BY-SA - https://paperswithcode.com

Adversarially Learned Inference (ALI) is a generative modelling approach that casts the learning of both an inference machine (or encoder) and a deep directed generative model (or decoder) in an GAN-like adversarial framework. A discriminator is trained to discriminate joint samples of the data and the corresponding latent variable from the encoder (or approximate posterior) from joint samples from the decoder while in opposition, the encoder and the decoder are trained together to fool the discriminator. Not is the discriminator asked to distinguish synthetic samples from real data, but it is required it to distinguish between two joint distributions over the data space and the latent variables.

An ALI differs from a GAN in two ways:

  • The generator has two components: the encoder, G_z(x)G\_{z}\left(\mathbf{x}\right), which maps data samples xx to zz-space, and the decoder G_x(z)G\_{x}\left(\mathbf{z}\right), which maps samples from the prior p(z)p\left(\mathbf{z}\right) (a source of noise) to the input space.
  • The discriminator is trained to distinguish between joint pairs (x,z~=G_x(x))\left(\mathbf{x}, \tilde{\mathbf{z}} = G\_{\mathbf{x}}\left(\mathbf{x}\right)\right) and (x~=G_x(z),z)\left(\tilde{\mathbf{x}} = G\_{x}\left(\mathbf{z}\right), \mathbf{z}\right), as opposed to marginal samples xq(x)\mathbf{x} \sim q\left(\mathbf{x}\right) and x~p(x)\tilde{\mathbf{x}} ∼ p\left(\mathbf{x}\right).