Convergence rates for pretraining and dropout: Guiding learning parameters using network structure

Vamsi Krishna Ithapu, Sathya N. Ravi, Vikas SingharXiv 2015 · DOI

TL;DR

This paper provides a theoretical framework to analyze the convergence rates of deep neural networks trained with denoising autoencoders (DA) and dropout. It offers insights into how network structure and learning parameters (like denoising/dropout rates) influence convergence, guiding practitioners in choosing optimal hyperparameters for better accuracy.

What Problem Does This Paper Address?

While unsupervised pretraining (like DA) and dropout have proven effective for regularization and improving model consistency, a deep theoretical understanding of their convergence rates and how they interact with network architecture remains elusive. Specifically, it's unclear how factors like network depth, layer sizes, and corruption rates (denoising/dropout) affect how quickly a network's parameters converge to a good solution. This paper aims to bridge this gap by providing explicit convergence rate bounds and using them to guide the selection of learning parameters and network structures.

Methods

The authors leverage a recent theoretical framework for analyzing the convergence of stochastic gradient descent (SGD) on general non-convex objectives, specifically using "expected gradients" derived from randomized stopping iterations (RSG). They extend this to analyze:

  • Single-layer networks: As a foundational step, they derive convergence bounds for a basic single-layer network.
  • Denoising Autoencoders (DA): They incorporate the DA objective into their framework to derive convergence rates that depend on network dimensions and the denoising rate.
  • Multi-layer Networks with Dropout: They extend the analysis to multi-layer networks, deriving convergence rates that depend on layer-specific dropout rates and network dimensions.
  • Distributed DA: They analyze a setting where a large DA is broken down into smaller, synchronously trained sub-DAs, showing how this impacts convergence and offering a speedup.

The core of their method involves bounding the variance of noisy gradients and the Lipschitz continuity of the objective function, without assuming convexity.

Datasets

The paper uses the following standard datasets for experiments:

  • MNIST: Digit recognition dataset.
  • ImageNet: Natural image dataset.
  • MRI images (referred to as "neuro"): Neuroimaging dataset.

These datasets represent different scales of data dimensionality and instance counts, allowing the authors to evaluate their theoretical findings across various scenarios.

Key Insights and Ideas

  • Network Structure as a Guide: The paper demonstrates that network structure (depth, layer sizes) can indeed "guide" the choice of learning parameters (denoising/dropout rates) to achieve desired convergence accuracy.
  • Fractional Dependence on Network Size: Convergence rates often exhibit a fractional dependence on network dimensions (e.g., $\sqrt{d_x}$ or $d_x^{1/4}$), suggesting that simply increasing network size doesn't always lead to proportional improvements in convergence speed.
  • Denoising Rate Influence: The denoising rate in DA has a weaker influence on convergence compared to dropout rates, which is supported by their theoretical bounds.
  • Distributed Learning Benefits: Distributed DA pretraining can offer significant speedups without sacrificing generalization error, especially for tasks with a large number of parameters.
  • Hyperparameter Feasibility: The derived bounds can be used to determine "allowable" ranges for dropout and denoising rates, helping to avoid combinations that might hinder convergence or regularization.

Key Results

  • Explicit Convergence Rates: The paper provides explicit, theoretically derived convergence rate bounds for DA and dropout in multi-layer networks, often in the form of $O(1/\sqrt{N})$ where $N$ is the number of iterations.
  • Sample Complexity Bounds: They derive bounds on the number of data instances and independent runs required to achieve a certain level of accuracy (an $(\epsilon, \delta)$-solution). For example, for a single-layer NN, the sample complexity is $O(r d_x d_y / (t \epsilon^2))$.
  • Distributed DA Speedup: Experiments show that distributed DA can achieve substantial time speedups (e.g., up to 5x for tasks with >50M parameters) while maintaining generalization performance.
  • Hyperparameter Guidance: The theoretical analysis provides concrete formulas (e.g., Equation (9) for DA, Proposition 5.3 for dropout) to guide the selection of denoising and dropout rates based on network architecture and desired accuracy. For instance, for a specific L-layer NN configuration, they predict an allowable dropout rate $\zeta \le 0.51$.

Limitations and Future Work

  • Assumptions and Approximations: The theoretical bounds are often worst-case and may overestimate the required sample sizes or convergence rates in practice. The analysis also relies on specific activation functions (sigmoid) and might require extensions for others.
  • Generalization vs. Convergence: While the paper focuses on parameter convergence, it acknowledges that generalization is the ultimate goal and that the derived bounds provide insights into achieving it.
  • Future Work: The authors intend to extend their framework to analyze large-scale convolutional and recurrent networks and to incorporate Restricted Boltzmann Machines. They also suggest building upon the interplay between structure and learning parameters for more complex architectures.

Summary updated

Abstract

Unsupervised pretraining and dropout have been well studied, especially with respect to regularization and output consistency. However, our understanding about the explicit convergence rates of the parameter estimates, and their dependence on the learning (like denoising and dropout rate) and structural (like depth and layer lengths) aspects of the network is less mature. An interesting question in this context is to ask if the network structure could "guide" the choices of such learning parameters. In this work, we explore these gaps between network structure, the learning mechanisms and their interaction with parameter convergence rates. We present a way to address these issues based on the backpropagation convergence rates for general nonconvex objectives using first-order information. We then incorporate two learning mechanisms into this general framework -- denoising autoencoder and dropout, and subsequently derive the convergence rates of deep networks. Building upon these bounds, we provide insights into the choices of learning parameters and network sizes that achieve certain levels of convergence accuracy. The results derived here support existing empirical observations, and we also conduct a set of experiments to evaluate them.
BibTeX
@misc{ithapu2015convergence,
  author = {Vamsi Krishna Ithapu and Sathya N. Ravi and Vikas Singh},
  title = {{Convergence rates for pretraining and dropout: Guiding learning parameters using network structure}},
  year = {2015},
  eprint = {1506.03412},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.03412},
}

Loading related content...

Figure