Source-linked AI summary

Deconstructing the Ladder Network Architecture

Mohammad Pezeshki, Linxi Fan, Philemon Brakel, Aaron Courville, Yoshua Bengio

arXiv:1511.06430v4cs.LG

TL;DR

Because labeled data are costly, the paper investigates how the intertwined components of the Ladder Network contribute to semi-supervised learning. It systematically compares component-removal and component-replacement variants, finding unequal contributions and improved Permutation-Invariant MNIST error rates with a new combinator.

  • Problem

    Ladder Network components are intertwined, so their relative contributions to semi-supervised and fully supervised performance are not obvious.

  • Method

    The paper systematically compares Ladder Network variants created by removing or replacing individual components while controlling other experimental factors.

  • Results

    0.569 ± 0.010 average test error is achieved fully supervised by the AMLP combinator, versus 1.002 ± 0.037 and 0.974 ± 0.021 with 100 and 1000 labeled examples.

  • Takeaways & Limitations

    Lateral connections are most important for semi-supervised performance, followed by noise and then the combinator function, while AMLP improves reported record error rates.

  • Takeaways & Limitations

    The paper leaves open whether the Ladder Network can generate samples or whether its semi-supervised success transfers to generative use.

Abstract

from arXiv · show

The Manual labeling of data is and will remain a costly endeavor. For this reason, semi-supervised learning remains a topic of practical importance. The recently proposed Ladder Network is one such approach that has proven to be very successful. In addition to the supervised objective, the Ladder Network also adds an unsupervised objective corresponding to the reconstruction costs of a stack of denoising autoencoders. Although the empirical results are impressive, the Ladder Network has many components intertwined, whose contributions are not obvious in such a complex architecture. In order to help elucidate and disentangle the different ingredients in the Ladder Network recipe, this paper presents an extensive experimental investigation of variants of the Ladder Network in which we replace or remove individual components to gain more insight into their relative importance. We find that all of the components are necessary for achieving optimal performance, but they do not contribute equally. For semi-supervised tasks, we conclude that the most important contribution is made by the lateral connection, followed by the application of noise, and finally the choice of what we refer to as the `combinator function' in the decoder path. We also find that as the number of labeled training examples increases, the lateral connections and reconstruction criterion become less important, with most of the improvement in generalization being due to the injection of noise in each layer. Furthermore, we present a new type of combinator function that outperforms the original design in both fully- and semi-supervised tasks, reducing record test error rates on Permutation-Invariant MNIST to 0.57% for the supervised setting, and to 0.97% and 1.0% for semi-supervised settings with 1000 and 100 labeled examples respectively.

1. Introduction

Semi-supervised learning addresses costly labeling by combining labeled and unlabeled data, and this paper empirically disentangles the Ladder Network’s intertwined design choices.

  • Semi-supervised learning is practically important because labeling datasets is costly and often fewer labeled examples are available than unlabeled ones.
  • The Ladder Network adds an unsupervised reconstruction objective to a supervised deep network by treating it as a stack of denoising autoencoders.
  • The paper systematically compares many Ladder Network variants while controlling hyperparameters and dataset selection to identify essential design choices.
  • The study introduces a Ladder Network variant that achieves new state-of-the-art results on Permutation-Invariant MNIST in semi-supervised and fully supervised settings.

2. The Ladder Network Architecture

The Ladder Network combines noisy and noiseless encoder paths with a decoder that reconstructs hidden representations using lateral and vertical information, optimizing supervised and unsupervised costs jointly.

  • The architecture uses a noisy encoder, a shared-parameter noiseless encoder, and a decoder that reconstructs each layer from corrupted representations.Noise is injected into all hidden layers, while the noiseless path supplies clean reconstruction targets.
  • The objective is a weighted sum of supervised Cross Entropy and unsupervised denoising reconstruction costs at every decoder layer.
  • Lateral skip connections combine each noisy encoder layer with the corresponding decoder layer, while vertical signals arrive from the layer above.These two streams are combined element-wise through a learned combinator function.
  • At test time, classification uses the noiseless output even though training’s Cross Entropy term uses the noisy output.
  • Encoder layers apply linear transformations, Batch Normalization, Gaussian noise, and nonlinear activation functions in sequence.

3. Components of the Ladder Network

The paper isolates reconstruction costs, Gaussian noise, lateral connections, and the combinator function as distinct Ladder Network components whose roles require empirical comparison.

  • Reconstruction costs provide the unsupervised objective, but their layerwise importance and role in fully supervised tasks are initially unclear.
  • The experiments test whether Gaussian noise at every layer contributes through a useful reconstruction task or through feedforward regularization.
  • Lateral connections are the Ladder Network’s main departure from standard denoising autoencoders and are evaluated alongside alternative combinator functions.

4. Experimental Setup

The experiments organize single-component Ladder variants and matched baselines to compare how architectural choices affect performance.

  • Each VANILLA variant removes or replaces one component, enabling its effect to be isolated while the remaining architecture stays unchanged.
  • The BASELINE is a feedforward neural network with the same number of layers and units as the VANILLA model but no Ladder-specific component changes.
  • Figure 1 depicts two encoders and one decoder, with noisy and clean paths connected through layerwise reconstruction and lateral information.

4.1. Variants derived by removal of a component

The paper tests Ladder Network variants by removing noise, reconstruction penalties, lateral connections, and components of the vanilla combinator to isolate their contributions.

  • Noise and reconstruction variants: Four variants remove or restrict noise injection, reconstruction penalties, and lateral connections, including NOLATERAL, which leaves only the topmost encoder–decoder connection.
  • The variants are designed to separate whether Ladder performance depends on layerwise noise, layerwise reconstruction, lateral skip connections, or the combinator’s internal structure.
  • Vanilla combinator variants: The vanilla combinator variants remove its sigmoid nonlinearity, multiplicative term, or both, producing NOSIG, NOMULT, and LINEAR alternatives.
  • Vanilla combinator variants: The LINEAR variant simply adds the lateral and vertical signals element-wise, unlike the vanilla combinator’s nonlinear and multiplicative combination.

4.2. Variants derived by replacement of a component

The paper replaces the vanilla decoder combinator with alternative initialization schemes, Gaussian formulations, and multilayer perceptrons to test different ways of combining lateral and vertical signals.

  • Initialization variants: The vanilla decoder initializes lateral weights to 1 and vertical weights to 0, making lateral information dominate the decoder at the start of training.
  • Initialization variants: RANDINIT and REVINIT replace this initialization with random or reversed parameter settings for comparison.
  • Gaussian combinator variants: The GAUSSIAN combinator models reconstruction as a weighted combination of noisy activations and a prior, with weights and prior determined by the vertical signal.
  • Gaussian combinator variants: GATEDGAUSS constrains ν(u) to 0 < ν(u) < 1 so it can act as a proper interpolation weight between lateral and vertical information.
  • MLP combinator variants: MLP and AMLP combinators learn nonlinear combinations of [u, ˜z], with AMLP adding a multiplicative input intended to mediate interactions between vertical and lateral signals.

4.3. Methodology

The experiments compare Ladder variants on Permutation-Invariant MNIST under two semi-supervised settings and one fully supervised setting using repeated, independently tuned runs.

  • The study evaluates 100-, 1000-, and 60000-labeled-example classification tasks, with balanced random labeled subsets and an untouched test set.
  • Each experiment is repeated 10 times with different fixed random seeds to estimate standard errors across parameter initializations and data selections.
  • Variants receive separate tuning of noise and denoising weights for each labeling regime, using ADAM optimization with a scheduled learning rate.

5. Results & Discussion

Across PI MNIST experiments, AMLP achieves the strongest reported performance, while ablations show that lateral connections, noise, and combinator structure contribute unequally.

  • Overall results: 0.569 ± 0.010, 1.002 ± 0.037, and 0.974 ± 0.021 are AMLP’s best average error rates with 60000, 100, and 1000 labeled examples, respectively.These results are collected in Table 2 across the fully supervised and two semi-supervised settings.
  • Noise effects: In fully supervised training, adding noise to the first layer or all layers lowers error relative to the baselines, consistent with a regularization effect similar to dropout or weight noise.
  • Removal variants: Removing lateral connections hurts more than omitting noise injection or intermediate-layer reconstruction penalties, while hidden-layer reconstruction weights are relatively small in semi-supervised settings.
  • Combinator variants: Removing the multiplicative term worsens performance more than removing the sigmoid unit, while removing both produces the LINEAR variant and further degrades performance.
  • Initialization variants: Random and reverse initialization perform worse than the vanilla initialization, which may ease reconstruction by starting from the noisy lateral representation.
  • Replacement variants: The GAUSSIAN combinator outperforms the vanilla combinator, whereas GATEDGAUSS performs worse than the unconstrained formulation.GAUSSIAN interpolates between noisy activations and predicted reconstruction, with its scaling parameter interpretable as network certainty.
  • Overall results: AMLP achieves state-of-the-art PI MNIST results in all 100-, 1000-, and 60000-labeled experiments and outperforms MLP and the vanilla model.The added multiplicative input ˜z ⊙u is reported to help the learning process significantly.
  • Probabilistic interpretations: The Ladder Network’s probabilistic similarities provide intuition, but it differs too much from a variational autoencoder to be treated as one.

6. Conclusion

The study’s deconstructive comparisons identify reconstruction cost and layerwise noise as important, while lateral connections are vital for semi-supervised performance. The Augmented MLP combinator improves the Ladder Network’s benchmark results despite the combinator’s comparatively smaller overall impact.

  • The systematic variant comparisons aim to clarify why the Ladder Network and related deep architectures succeed.
  • The reconstruction cost is crucial for obtaining the intended regularization from unlabeled data.
  • Layerwise additive noise, especially at the first layer, regularizes the model and is among the most important contributors to fully supervised performance.
  • Removing lateral connections considerably deteriorates performance across all semi-supervised tasks, making them a vital Ladder Network component.
  • The combinator choice has a smaller impact, but replacing the vanilla design with the Augmented MLP improves record error rates in semi- and fully supervised Permutation-Invariant MNIST.
Loading 1511.06430v4…