Skip to main content
QUICK REVIEW

[Paper Review] Learning Hierarchical Priors in VAEs

Alexej Klushyn, Nutan Chen|arXiv (Cornell University)|May 13, 2019
Generative Adversarial Networks and Image SynthesisComputer Science30 references6 citations
TL;DR

This paper proposes a hierarchical prior in variational autoencoders (VAEs) to overcome over-regularization from standard normal priors, using a constrained optimization framework with an importance-weighted bound to learn a non-trivial, data-adapted prior. The method enables smoother, more interpretable latent representations and achieves state-of-the-art log-likelihood performance on MNIST, Fashion-MNIST, and OMNIGLOT while preserving data manifold topology.

ABSTRACT

We propose to learn a hierarchical prior in the context of variational autoencoders to avoid the over-regularisation resulting from a standard normal prior distribution. To incentivise an informative latent representation of the data, we formulate the learning problem as a constrained optimisation problem by extending the Taming VAEs framework to two-level hierarchical models. We introduce a graph-based interpolation method, which shows that the topology of the learned latent representation corresponds to the topology of the data manifold---and present several examples, where desired properties of latent representation such as smoothness and simple explanatory factors are learned by the prior.

Motivation & Objective

  • To address over-regularization in VAEs caused by the standard normal prior, which can obscure meaningful data structure.
  • To learn a hierarchical prior that reflects the intrinsic topology of the data manifold, improving interpretability and representation quality.
  • To extend the constrained optimization framework from Taming VAEs to two-level hierarchical models with a continuous mixture prior.
  • To develop an optimization algorithm that avoids posterior collapse and enhances disentanglement in latent representations.
  • To validate the quality of the learned latent space using graph-based interpolation that preserves data manifold structure.

Proposed method

  • Extends the VAE objective as a Lagrangian constrained optimization problem, replacing the standard normal prior with a hierarchical prior composed of a first-level latent variable and a second-level continuous mixture prior.
  • Uses an importance-weighted bound to approximate the intractable marginal likelihood of the hierarchical prior, enabling differentiable training.
  • Employs a novel optimization algorithm inspired by GECO but enhanced to avoid posterior collapse and improve encoding quality.
  • Applies a graph-based interpolation method using nearest neighbors in the latent space to assess topological fidelity to the data manifold.
  • Introduces the REWO (Reconstruction-Weighted Optimization) and GECO-based training schedules to balance reconstruction and prior terms.
  • Uses a two-stage inference model where the first layer encodes data and the second layer models the hierarchical prior distribution.

Experimental results

Research questions

  • RQ1Can a hierarchical prior in VAEs lead to more informative and less over-regularized latent representations compared to standard normal priors?
  • RQ2Does the proposed constrained optimization framework with a hierarchical prior preserve the topological structure of the data manifold in the latent space?
  • RQ3How does the performance of the hierarchical prior compare to state-of-the-art methods like VampPrior and IWAE in terms of log-likelihood and interpolation quality?
  • RQ4Can the hierarchical prior learn disentangled, interpretable factors of variation, such as the angle of a pendulum, through simple regression?
  • RQ5Does the graph-based interpolation method reveal smoother and more realistic transitions in latent space than standard baselines?

Key findings

  • The VHP + REWO method achieves a test log-likelihood of 78.88 on dynamic MNIST, outperforming VampPrior (80.42) and matching or surpassing state-of-the-art baselines.
  • On Fashion-MNIST, the method achieves a negative log-likelihood of 225.37 with 5,000 importance samples, comparable to or better than VampPrior (232.78) and IWAE (226.83).
  • In human motion data, the VHP enables significantly smoother interpolations—measured by lower RMS of second-order finite differences—than both VampPrior and IWAE.
  • On 3D Faces and Chairs datasets, VHP + REWO produces less blurry and more realistic interpolations than IWAE, as shown in qualitative comparisons.
  • The hierarchical prior successfully learns the pendulum’s angle as a disentangled factor, enabling accurate prediction via OLS regression, demonstrating interpretability.
  • The graph-based interpolation method confirms that the latent space topology aligns with the data manifold, validating the structural fidelity of the learned representation.

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.