Skip to main content
QUICK REVIEW

[Paper Review] Improving Variational Auto-Encoders using Householder Flow

Jakub M. Tomczak, Max Welling|arXiv (Cornell University)|Nov 29, 2016
Generative Adversarial Networks and Image SynthesisComputer Science19 references83 citations
TL;DR

This paper proposes Householder Flow, a volume-preserving normalizing flow that enhances variational auto-encoders (VAEs) by modeling full-covariance posteriors through a series of Householder transformations. By parameterizing orthogonal matrices via basis-kernel representation and applying Householder reflections, the method achieves flexible posterior approximation with low computational cost, outperforming baseline VAEs and other normalizing flows on MNIST and histopathology data with improved likelihoods and reduced variance.

ABSTRACT

Variational auto-encoders (VAE) are scalable and powerful generative models. However, the choice of the variational posterior determines tractability and flexibility of the VAE. Commonly, latent variables are modeled using the normal distribution with a diagonal covariance matrix. This results in computational efficiency but typically it is not flexible enough to match the true posterior distribution. One fashion of enriching the variational posterior distribution is application of normalizing flows, i.e., a series of invertible transformations to latent variables with a simple posterior. In this paper, we follow this line of thinking and propose a volume-preserving flow that uses a series of Householder transformations. We show empirically on MNIST dataset and histopathology data that the proposed flow allows to obtain more flexible variational posterior and competitive results comparing to other normalizing flows.

Motivation & Objective

  • To improve the flexibility of the variational posterior in VAEs beyond diagonal Gaussian approximations.
  • To develop a normalizing flow that maintains volume preservation (Jacobian determinant = 1) for computational efficiency.
  • To model full-covariance posteriors using orthogonal transformations derived from Householder reflections.
  • To reduce parameter count compared to standard normalizing flows while maintaining or improving likelihood performance.
  • To evaluate the method on both MNIST and challenging histopathology image data for real-world applicability.

Proposed method

  • The method uses Householder transformations to construct orthogonal matrices that rotate the latent space, preserving volume and enabling flexible posterior modeling.
  • It leverages the basis-kernel representation of orthogonal matrices, where each orthogonal matrix is expressed as a product of exactly K Householder reflections.
  • The flow is applied as a series of invertible, volume-preserving transformations: z^{(t)} = f^{(t)}(z^{(t-1)}), with Jacobian determinant |det ∂f^{(t)}/∂z^{(t-1)}| = 1.
  • The posterior is modeled as q(z^{(T)}|x) = N(z^{(T)}; μ(x), Σ(x)), where Σ(x) is learned via Householder-based orthogonal transformations applied to a diagonal covariance.
  • The model is trained end-to-end using the reparameterization trick and the variational lower bound with a standard VAE objective.
  • Only T×M additional parameters are required compared to a standard VAE, significantly fewer than other normalizing flows like NICE or NF.

Experimental results

Research questions

  • RQ1Can a volume-preserving normalizing flow based on Householder transformations improve posterior flexibility in VAEs?
  • RQ2Does the Householder Flow achieve better likelihoods than standard VAEs and other normalizing flows with fewer parameters?
  • RQ3How does the Householder Flow perform on complex, real-world data such as histopathology images?
  • RQ4Can the Householder Flow reduce the Kullback-Leibler divergence penalty by enabling better posterior approximation?
  • RQ5Is the Householder Flow computationally efficient and scalable to high-dimensional latent spaces?

Key findings

  • On MNIST, VAE+HF with T=10 achieved a lower reconstruction error and reduced KL divergence compared to baseline VAE, indicating better posterior approximation.
  • On histopathology data, VAE+HF with T=20 achieved a marginal improvement in marginal log-likelihood, reaching 1398.27 ± 8.11 nats on the test set.
  • The VAE+HF model showed lower variance in performance across repeated experiments, with standard deviations of 22.09, 15.15, and 8.11 nats for T=1, 10, and 20, respectively.
  • The Householder Flow required only T×M additional parameters, significantly fewer than VAE+NICE (M(M-1)/2) and VAE+NF (O(T×M)).
  • The method achieved competitive results with reduced computational cost, demonstrating that volume-preserving flows can be both flexible and efficient.
  • The improvement in likelihood and reduced KL penalty suggests that the Householder Flow enables the posterior to model eigenvalues of the true covariance, leading to better posterior fit.

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.