Deep Directed Generative Autoencoders

Sherjil Ozair, Yoshua BengioarXiv 2014

Abstract

Deep Directed Generative Autoencoders (DGAs) offer a novel framework for building generative models by "unfolding" complex data manifolds into simpler, flatter representations. By utilizing a deterministic discrete encoder and a probabilistic decoder, we demonstrate that stacking these layers can transform high-dimensional data into a factorized space where generating new samples becomes a process of sampling from independent bits. We evaluate the model on binarized MNIST, showing that depth is a critical factor in achieving high-quality generative performance.

Introduction

In unsupervised learning, a primary goal is to discover a "good representation" of data. Geometrically, high-dimensional data like images typically reside on a "manifold"—a low-dimensional, often highly curved surface embedded in a high-dimensional space. The complexity of these manifolds makes them difficult to model with simple probability distributions without "smearing" probability mass into regions of low data density. This paper addresses the problem of manifold unfolding: learning a transformation that flattens the manifold such that the data distribution becomes easy to model with simple, independent variables.

Methodology

The authors introduce the Directed Generative Autoencoder (DGA), which differs from standard Variational Autoencoders (VAEs) by employing a deterministic discrete encoder $f(x)$. The training objective maximizes a lower bound on the log-likelihood, comprising a reconstruction error term and a prior matching term.

Illustration of the manifold flattening process across multiple layers. The architecture stacks shallow DGAs, where each layer $f_i, g_i$ progressively untwists the data manifold into a flatter representation $Q(h)$.

To facilitate training with discrete units, three key techniques are used:

  1. Straight-Through Estimator (STE): Used to backpropagate gradients through discrete step functions by treating them as identity functions during the backward pass.
  2. Annealed Training: A trade-off parameter $\beta$ is introduced to balance reconstruction and prior matching, gradually increasing from 0 to 1 to prevent the model from collapsing to a constant mapping.
  3. Greedy Layer-wise Pre-training: Shallow DGAs are stacked and trained sequentially, with each layer further flattening the representation manifold.

Experimental Results

The model was evaluated on the binarized MNIST dataset. The researchers found that depth is crucial for generative quality. A 5-layer deep DGA achieved a test log-likelihood of -114.29, significantly better than a shallow 1-hidden-layer version at -118.12.

Qualitatively, samples from the deep model are much clearer and more recognizable as digits compared to the shallow model, which often produces incoherent features. This improvement is attributed to the model's ability to better factorize the representation space, as evidenced by entropy reduction in deeper layers.

Samples generated from a 5-layer deep DGA (a) vs. a 3-layer shallow DGA (b). The deeper model produces significantly more coherent and recognizable digit structures.

Discussion

The "flattening" effect is also observable through interpolation. While linear interpolation in pixel space often results in blurry, non-digit images, interpolation in the DGA's deep representation space (H-space) yields recognizable intermediate digit forms, suggesting a more continuous and well-structured latent space. This confirms that the model successfully untwists the data manifold, making it more amenable to simple, factorized priors.

Conclusion

Deep Directed Generative Autoencoders demonstrate that manifold unfolding through hierarchical discrete encoding is a viable path for generative modeling. While depth improves performance, challenges remain in balancing reconstruction fidelity with prior matching and extending these techniques to continuous data manifolds. Future research may explore more expressive priors to further enhance sample quality.

Summary updated

BibTeX
@misc{ozair2014deep,
  author = {Sherjil Ozair and Yoshua Bengio},
  title = {{Deep Directed Generative Autoencoders}},
  year = {2014},
  eprint = {1410.0630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1410.0630},
}
Figure