Skip to main content
QUICK REVIEW

[Paper Review] Variational Autoencoder with Arbitrary Conditioning

О. А. Иванов, Michael Figurnov|arXiv (Cornell University)|Jun 6, 2018
Generative Adversarial Networks and Image SynthesisComputer Science29 references67 citations
TL;DR

The paper introduces VAEAC, a variational autoencoder that can condition on an arbitrary subset of observed features and sample the remaining features in one shot, for real-valued and categorical data, enabling missing data imputation and image inpainting.

ABSTRACT

We propose a single neural probabilistic model based on variational autoencoder that can be conditioned on an arbitrary subset of observed features and then sample the remaining features in "one shot". The features may be both real-valued and categorical. Training of the model is performed by stochastic variational Bayes. The experimental evaluation on synthetic data, as well as feature imputation and image inpainting problems, shows the effectiveness of the proposed approach and diversity of the generated samples.

Motivation & Objective

  • Generalize the VAE framework to learn all conditional distributions p(x_b|x_{1-b}, b) for arbitrary conditioning masks b.
  • Handle datasets with real-valued and categorical features within a single probabilistic model.
  • Enable one-shot sampling of unobserved features given observed ones, including missing data scenarios.
  • Demonstrate effectiveness on feature imputation and image inpainting tasks, showing diverse and realistic samples.

Proposed method

  • Define a generative process with a prior network p_psi(z|x_{1-b}, b) and a generative network p_theta(x_b|z, x_{1-b}, b).
  • Model p_{psi,theta}(x_b|x_{1-b}, b)=E_{z~p_psi(z|x_{1-b},b)}[p_theta(x_b|z,x_{1-b},b)].
  • Use Gaussian latent variables z with a neural-network parameterized prior p_psi(z|x_{1-b}, b).
  • Parameterize real-valued components and categorical components (via logits) of x_b conditioned on z, x_{1-b}, b.
  • Derive and optimize a variational lower bound L_VAEAC analogous to VAE, using a factorized Gaussian q_phi(z|x,b) and reparameterization.
  • Regularize the prior parameters with a Normal-Gamma prior to prevent numerical divergence.
  • Extend to missing-feature settings by conditioning p(b) on x (p(b|x)) and marginalizing missing features in the reconstruction term.

Experimental results

Research questions

  • RQ1Can the model learn the entire set of conditional distributions p(x_b|x_{1-b}, b) for arbitrary conditioning masks b?
  • RQ2How accurately does VAEAC approximate the true conditional distribution, particularly in multi-modal scenarios?
  • RQ3Is VAEAC effective for missing features imputation and image inpainting compared to existing methods?
  • RQ4How does VAEAC compare to Universal Marginalizer and GAN-based approaches in terms of quality and computational efficiency?

Key findings

  • VAEAC achieves competitive performance for missing feature imputation against methods like MICE, MissForest, and GAIN across several UCI datasets.
  • The model can generate diverse and realistic image inpaintings on MNIST, Omniglot, and CelebA, with PSNR competitive to or surpassing some state-of-the-art methods for multiple masks.
  • VAEAC is a single-shot method that samples from the conditional distribution, offering faster test-time performance than some autoregressive or optimization-based approaches while maintaining sample diversity.
  • Compared to Universal Marginalizer, VAEAC can better capture conditional joint distributions in cases with many local optima or real-valued data, where UM struggles to approximate marginals.
  • Experiments indicate that VAEAC can learn the joint data distribution effectively and yield useful imputations and inpaintings across diverse tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.