Fast dropout training

Sida I. Wang, Christopher D. Manning

TL;DR

This paper introduces "fast dropout," a method that significantly speeds up dropout training for neural networks by approximating the random sampling process with a Gaussian distribution. This approximation maintains the regularization benefits of dropout while achieving an order of magnitude speedup and improved stability, making it practical for larger models and datasets.

What Problem Does This Paper Address?

Dropout training, a powerful regularization technique, prevents features from becoming too reliant on each other by randomly dropping out units or features during training. While effective, this random sampling process is computationally expensive, making training much slower. The paper addresses this by seeking a way to achieve the benefits of dropout without the costly sampling, aiming for faster training and better stability.

Methods

The core of the paper is the development of "fast dropout." Instead of Monte Carlo sampling of dropout masks, the authors propose approximating the expectation over these masks with a Gaussian distribution. This approximation is justified by the central limit theorem, which suggests that a sum of random variables (like the weighted inputs to a neuron after dropout) tends towards a normal distribution.

The authors derive an approximate objective function and its gradient based on this Gaussian assumption. They show how to compute these efficiently, often involving analytical integration or approximations of Gaussian integrals. This allows for a deterministic update rule, eliminating the need for repeated random sampling. The technique is then generalized to handle various loss functions (logistic regression, hinge loss, softmax) and extended to integrate out other types of noise and transformations.

Datasets

The paper evaluates its methods on several datasets:

  • 20-newsgroup subtask alt.atheism vs. religion.misc: Used for demonstrating validation errors over time and iterations.
  • Document classification tasks: Including MR-2k, IMDB, RTs, Subj, AthR, CR, and MPQA, used to compare performance and training time against other methods.
  • MNIST: Used for evaluating fast dropout on a standard image classification benchmark with 2-hidden-layer neural networks.
  • CIFAR-10: Also used for evaluating fast dropout on neural networks.
  • Small UCI datasets: Including Autos, Cardio, House, Webgrph, Liver, USPS, Isolet, Hepatitis, and Soybean, used for linear regression and classification tasks.

Key Insights and Ideas

  • The Gaussian approximation is surprisingly effective: The paper demonstrates that approximating the complex expectation over dropout masks with a Gaussian distribution yields results comparable to traditional dropout, even for relatively low-dimensional data.
  • Speedup is substantial: The proposed method achieves an order of magnitude speedup in training time, making dropout training feasible for much larger models and datasets.
  • Stability improves: By removing the randomness of sampling, the training process becomes more stable, leading to more consistent results.
  • Generalizability: The fast dropout approach is not limited to classification but can be applied to regression and various other noise models and transformations, highlighting its broad applicability.
  • Connection to Bayesian inference: The Gaussian approximation offers an alternative interpretation, linking fast dropout to maximizing a lower bound on the Bayesian marginal likelihood.

Key Results

  • Order of magnitude speedup: The fast dropout method is shown to be significantly faster than traditional Monte Carlo dropout, often by a factor of 10x or more, while achieving comparable or slightly better validation error rates.
  • Comparable accuracy: On various document classification tasks and MNIST, fast dropout achieves similar or slightly improved accuracy compared to MC dropout and other baselines.
  • Reduced overfitting: Like traditional dropout, fast dropout effectively reduces overfitting, leading to better generalization performance.
  • Efficiency on large datasets: For high-dimensional datasets, fast dropout iterations are only slightly slower than standard training, making it highly efficient.

Limitations and Future Work

  • Approximation accuracy: While empirically validated, the Gaussian approximation might not be perfect in all scenarios, especially when a few dimensions dominate or for very low-dimensional data where the central limit theorem's assumptions are weaker.
  • Implementation complexity: While the forward pass is straightforward, the backpropagation stage for fast dropout can be more complex to implement than standard dropout.
  • Future work: The authors suggest extending the technique to integrate out other types of noise and transformations, and exploring its application in more complex neural network architectures. They also note that the variance of the Gaussian approximation can be tuned, potentially leading to further improvements.

Summary updated

BibTeX
@inproceedings{wang2013fast,
  author = {Sida I. Wang and Christopher D. Manning},
  title = {{Fast dropout training}},
  booktitle = {International Conference on Machine Learning},
  year = {2013},
}
Figure