Is Joint Training Better for Deep Auto-Encoders?

Yingbo Zhou, Devansh Arpit, Ifeoma Nwogu, Venu Govindaraju · DOI

Abstract

Traditionally, when generative models of data are developed via deep architectures, greedy layer-wise pre-training is employed. In a well-trained model, the lower layer of the architecture models the data distribution conditional upon the hidden variables, while the higher layers model the hidden distribution prior. But due to the greedy scheme of the layerwise training technique, the parameters of lower layers are fixed when training higher layers. This makes it extremely challenging for the model to learn the hidden distribution prior, which in turn leads to a suboptimal model for the data distribution. We therefore investigate joint training of deep autoencoders, where the architecture is viewed as one stack of two or more single-layer autoencoders. A single global reconstruction objective is jointly optimized, such that the objective for the single autoencoders at each layer acts as a local, layer-level regularizer. We empirically evaluate the performance of this joint training scheme and observe that it not only learns a better data model, but also learns better higher layer representations, which highlights its potential for unsupervised feature learning. In addition, we find that the usage of regularizations in the joint training scheme is crucial in achieving good performance. In the supervised setting, joint training also shows superior performance when training deeper models. The joint training framework can thus provide a platform for investigating more efficient usage of different types of regularizers, especially in light of the growing volumes of available unlabeled data.

Introduction: The Limitations of Greedy Training

For years, the standard approach for training deep neural networks involved "greedy layer-wise pre-training." Because deep networks are notoriously difficult to optimize from scratch, researchers typically trained one layer at a time to reconstruct its input, froze its parameters, and then moved to the next.

However, the authors argue this approach is fundamentally "shortsighted." Once a lower layer is frozen, it cannot adapt to the needs of the higher layers. If the first layer fails to capture a specific nuance of the data distribution, that information is lost to the layers above. This "blindness" to the global goal leads to suboptimal data modeling. This paper investigates whether training the entire stack simultaneously—joint training—can overcome these limitations without the optimization process collapsing.

Methods: A Joint Training Framework

The authors propose a framework where deep auto-encoders are viewed as a single stack of multiple single-layer auto-encoders. Instead of training layers in isolation, they define a single global objective: reconstruct the original input $x$ from the deepest hidden representation.

Comparison of greedy layer-wise training (left) and the proposed joint training framework (right).

Key components of this approach include:

  • Global Reconstruction: The loss is measured between the final output and the original input, forcing every layer in the stack to coordinate to preserve essential information.
  • Local Regularization: To prevent the model from trivially copying data, local constraints are incorporated at each layer. These act as "anchors" that keep individual layers learning meaningful features while the global objective coordinates the stack. Two variants were tested: Denoising Auto-encoders (DAE) and Contractive Auto-encoders (CAE).
  • Simultaneous Optimization: All parameters are updated at once using techniques like RMSProp, allowing lower layers to "know" what higher layers need.

Key Insights: Why Joint Training Succeeds

The study reveals several critical advantages of the joint approach:

  1. Global Coordination: Joint training allows lower layers to adapt to the requirements of higher layers, preventing the error propagation common in greedy schemes where small mistakes in early layers snowball as depth increases.
  2. The Role of Regularization: Joint training without strong local regularizers performs poorly. The local objectives (e.g., denoising or contractive penalties) are essential for guiding the optimization toward useful representations.
  3. Improved Generative Mixing: Jointly trained networks produce higher-quality samples and exhibit better "mixing" in Markov chains, moving more fluidly between different data modes (e.g., different digits) rather than getting stuck.

Key Results and Evaluation

The framework was evaluated on MNIST, its challenging variants (rotations, background noise), and geometric shape datasets.

Visual comparison of samples generated by layer-wise training versus joint training across various datasets.
  • Generative Performance: Using Parzen window density estimation, joint training consistently achieved higher log-likelihoods. For instance, on the "convex" dataset, the DAE-3J (Joint) model scored -704 compared to -1011 for the DAE-3L (Layer-wise) model.
  • Classification Accuracy: Features learned via joint training proved superior for downstream tasks. On the "bg-rand" MNIST variant, joint training reduced the error rate from 12.7% to 8.5% when using a simple linear SVM.
  • Depth Scalability: As models grew deeper (e.g., 3 layers), the performance gap widened. While greedy training often saw performance plateau or drop with added depth, joint training successfully leveraged the extra capacity.

Conclusion and Future Work

While joint training is more challenging to implement and requires careful tuning of learning rates and regularizers, it offers a superior path for both generative modeling and unsupervised feature learning. The authors acknowledge a "depth paradox" where better data modeling doesn't always perfectly align with better discriminative features, suggesting room for further exploration. Future work will focus on integrating more sophisticated regularizers into this modular joint training platform.

Summary updated

Abstract

Traditionally, when generative models of data are developed via deep architectures, greedy layer-wise pre-training is employed. In a well-trained model, the lower layer of the architecture models the data distribution conditional upon the hidden variables, while the higher layers model the hidden distribution prior. But due to the greedy scheme of the layerwise training technique, the parameters of lower layers are fixed when training higher layers. This makes it extremely challenging for the model to learn the hidden distribution prior, which in turn leads to a suboptimal model for the data distribution. We therefore investigate joint training of deep autoencoders, where the architecture is viewed as one stack of two or more single-layer autoencoders. A single global reconstruction objective is jointly optimized, such that the objective for the single autoencoders at each layer acts as a local, layer-level regularizer. We empirically evaluate the performance of this joint training scheme and observe that it not only learns a better data model, but also learns better higher layer representations, which highlights its potential for unsupervised feature learning. In addition, we find that the usage of regularizations in the joint training scheme is crucial in achieving good performance. In the supervised setting, joint training also shows superior performance when training deeper models. The joint training framework can thus provide a platform for investigating more efficient usage of different types of regularizers, especially in light of the growing volumes of available unlabeled data.
BibTeX
@misc{zhou2014is,
  author = {Yingbo Zhou and Devansh Arpit and Ifeoma Nwogu and Venu Govindaraju},
  title = {{Is Joint Training Better for Deep Auto-Encoders?}},
  year = {2014},
  eprint = {1405.1380},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1405.1380},
}
Figure