Skip to main content
QUICK REVIEW

[Paper Review] Efficient batchwise dropout training using submatrices

Benjamin Graham, Jeremy Reizenstein|arXiv (Cornell University)|Feb 9, 2015
Advanced Neural Network ApplicationsComputer Science11 references7 citations
TL;DR

This paper proposes batchwise dropout, a method that accelerates training in deep neural networks by applying the same dropout mask across all samples in a minibatch, enabling efficient submatrix computation. By computing only active connections via submatrices, it reduces FLOPs and memory usage, cutting training time by up to 50% without sacrificing test accuracy, and outperforms independent dropout in speed while maintaining comparable generalization.

ABSTRACT

Dropout is a popular technique for regularizing artificial neural networks. Dropout networks are generally trained by minibatch gradient descent with a dropout mask turning off some of the units---a different pattern of dropout is applied to every sample in the minibatch. We explore a very simple alternative to the dropout mask. Instead of masking dropped out units by setting them to zero, we perform matrix multiplication using a submatrix of the weight matrix---unneeded hidden units are never calculated. Performing dropout batchwise, so that one pattern of dropout is used for each sample in a minibatch, we can substantially reduce training times. Batchwise dropout can be used with fully-connected and convolutional neural networks.

Motivation & Objective

  • To address the high computational cost of training dropout-regularized neural networks, especially with large hidden layers.
  • To explore whether independent dropout masks per sample are necessary for generalization, given the vast size of the dropout ensemble.
  • To develop a more efficient training method by applying the same dropout pattern across an entire minibatch, enabling submatrix-based computation.
  • To reduce training time per epoch without compromising model performance or generalization.

Proposed method

  • Replace per-sample dropout masks with a single, shared dropout mask per minibatch, applied uniformly across all samples.
  • Define submatrices of weights and activations—$W_k^{\text{dropout}}$ and $x_k^{\text{dropout}}$—that include only active units.
  • Perform forward and backward passes using only submatrix multiplications, eliminating redundant operations.
  • Use standard GEMM kernels (e.g., CUBLAS SGEMM) on submatrices to exploit hardware-optimized matrix multiplication.
  • Apply the method to both fully connected and convolutional networks, including residual and deep architectures.
  • Optimize memory usage by storing only active hidden units and their corresponding weight submatrices.

Experimental results

Research questions

  • RQ1Can applying the same dropout pattern across an entire minibatch maintain generalization performance while reducing training time?
  • RQ2Does batchwise dropout reduce computational overhead by eliminating redundant FLOPs in matrix multiplications?
  • RQ3How does batchwise dropout compare to independent dropout in terms of test accuracy and training speed on standard benchmarks?
  • RQ4Can the submatrix computation approach be efficiently implemented on GPU hardware using standard BLAS kernels?
  • RQ5Does batchwise dropout offer advantages in bandwidth-constrained distributed training settings?

Key findings

  • Batchwise dropout reduced training time per epoch by up to 50% on the MNIST dataset, with nearly identical test accuracy to independent dropout.
  • On CIFAR-10 with a small convolutional network, batchwise dropout achieved a slightly lower minimum test error (7.70%) compared to independent dropout (7.63%) when averaged over 12-fold testing.
  • In a deep 12-layer convolutional network on CIFAR-10, batchwise dropout reduced training time per epoch to less than half that of independent dropout, despite using similar regularization levels.
  • The method achieved near-identical model performance to independent dropout while significantly improving training efficiency due to submatrix computation.
  • The approach reduced memory usage by storing only active units and their corresponding submatrices, improving cache efficiency on GPU.
  • The authors observed that batchwise dropout acts as a slightly stronger regularizer, with test error curves shifted leftward, suggesting better generalization at lower dropout rates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.