[Paper Review] Deep Directed Generative Autoencoders
This paper proposes Deep Directed Generative Autoencoders (DDGAs), a probabilistic framework that trains deep autoencoders to learn hierarchical, disentangled representations by minimizing a lower bound on data likelihood. The method uses a deep encoder to map data to a compact, factorized latent space with a simple prior, enabling high-quality sample generation via ancestral sampling, and achieves state-of-the-art generation quality on MNIST through pre-training and gradual prior weighting.
For discrete data, the likelihood $P(x)$ can be rewritten exactly and parametrized into $P(X = x) = P(X = x | H = f(x)) P(H = f(x))$ if $P(X | H)$ has enough capacity to put no probability mass on any $x'$ for which $f(x') eq f(x)$, where $f(\cdot)$ is a deterministic discrete function. The log of the first factor gives rise to the log-likelihood reconstruction error of an autoencoder with $f(\cdot)$ as the encoder and $P(X|H)$ as the (probabilistic) decoder. The log of the second term can be seen as a regularizer on the encoded activations $h=f(x)$, e.g., as in sparse autoencoders. Both encoder and decoder can be represented by a deep neural network and trained to maximize the average of the optimal log-likelihood $\log p(x)$. The objective is to learn an encoder $f(\cdot)$ that maps $X$ to $f(X)$ that has a much simpler distribution than $X$ itself, estimated by $P(H)$. This "flattens the manifold" or concentrates probability mass in a smaller number of (relevant) dimensions over which the distribution factorizes. Generating samples from the model is straightforward using ancestral sampling. One challenge is that regular back-propagation cannot be used to obtain the gradient on the parameters of the encoder, but we find that using the straight-through estimator works well here. We also find that although optimizing a single level of such architecture may be difficult, much better results can be obtained by pre-training and stacking them, gradually transforming the data distribution into one that is more easily captured by a simple parametric model.
Motivation & Objective
- To develop a deep generative model that learns hierarchical representations by transforming complex, curved data manifolds into flatter, more factorizable forms in latent space.
- To provide a probabilistic interpretation of autoencoders as maximum-likelihood models, with training objective derived from a variational lower bound on log-likelihood.
- To enable efficient sampling via ancestral sampling by ensuring the latent code distribution is simple and well-approximated by a factorized prior.
- To improve sample quality and likelihood by pre-training deep stacks of autoencoders and gradually increasing the prior regularization term.
- To empirically validate that deeper representations reduce entropy and correlation, enabling better modeling with simple priors.
Proposed method
- The model decomposes the data likelihood as P(x) = P(x|h=f(x))P(h), where f is a deterministic encoder and P(x|h) is a probabilistic decoder, both implemented as deep neural networks.
- The training objective maximizes the variational lower bound on log P(x), combining reconstruction error and a regularizer on the latent code distribution P(h).
- The encoder is trained using the straight-through estimator to backpropagate gradients through the discrete, deterministic encoding function f(x).
- The method employs a continuation strategy, gradually increasing the weight of the prior term during training to stabilize optimization and improve sample quality.
- Pre-training is applied to each layer in sequence, with lower layers constrained to achieve low reconstruction error before stacking, enabling hierarchical manifold unfolding.
- Ancestral sampling is used for generation: first sample h from P(h), then sample x from P(x|h), producing realistic samples without MCMC.
Experimental results
Research questions
- RQ1Can a deep autoencoder be trained as a generative model by maximizing a lower bound on data likelihood?
- RQ2Does stacking autoencoders with pre-training lead to better manifold flattening and improved sample quality?
- RQ3How does the choice of prior and gradual weighting affect the optimization and generation performance?
- RQ4To what extent do deeper representations reduce entropy and correlation, enabling better modeling with a factorized prior?
- RQ5Can the straight-through estimator effectively train a deterministic encoder in a differentiable autoencoder framework?
Key findings
- The model achieves high-quality sample generation on MNIST, with samples that are mostly digits and visually plausible, even when the prior is simple and factorized.
- Pre-training the stack of autoencoders significantly improves sample quality, with the second autoencoder reducing entropy from 297.6 bits (raw data) to 47.6 bits in the final representation.
- The average number of active bits (rarely active units) drops from 102.1 in raw data to 17.4 in the final latent representation, indicating increased sparsity and factorizability.
- The Frobenius norm of off-diagonal correlations in the representation decreases from 63.5 (raw data) to 9.4 (final layer), showing that deeper layers remove inter-dimension correlations.
- Gradual increase of the prior weight during training yields better results than fixed weighting, suggesting improved optimization stability.
- The method successfully flattens the data manifold: interpolations in the latent space produce realistic images, unlike in input space, confirming the manifold unfolding effect.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.