Abstract
Overfitting frequently occurs in deep learning. In this paper, we propose a novel regularization method called Drop-Activation to reduce overfitting and improve generalization. The key idea is to drop nonlinear activation functions by setting them to be identity functions randomly during training time. During testing, we use a deterministic network with a new activation function to encode the average effect of dropping activations randomly. Our theoretical analyses support the regularization effect of Drop-Activation as implicit parameter reduction and verify its capability to be used together with Batch Normalization (Ioffe and Szegedy 2015). The experimental results on CIFAR-10, CIFAR-100, SVHN, EMNIST, and ImageNet show that Drop-Activation generally improves the performance of popular neural network architectures for the image classification task. Furthermore, as a regularizer Drop-Activation can be used in harmony with standard training and regularization techniques such as Batch Normalization and Auto Augment (Cubuk et al. 2019).
Introduction
Deep neural networks are notorious for overfitting, especially when the number of trainable parameters vastly exceeds the amount of available training data. While standard tools like Dropout, weight decay, and Batch Normalization (BN) help, they aren't always "harmonious." For example, Dropout can change the statistical variance of a layer's output between training and testing, which conflicts with BN’s requirement for consistent variance. This paper introduces Drop-Activation, a regularization method designed to be easy to implement, theoretically grounded in parameter reduction, and perfectly compatible with modern architectural staples like BN.
Methods
The core mechanism of Drop-Activation is the random simplification of the network's architecture during training. Unlike Dropout, which removes nodes, or DropConnect, which removes weights, Drop-Activation removes the non-linearity itself.
- Training Phase: For every nonlinear activation function $\sigma$ in the network, there is a probability $p$ that it is kept and a probability $1-p$ that it is replaced by an identity function ($f(x) = x$). This happens independently for each neuron at every training iteration.
- Testing Phase: To account for the random "dropping" during training, the network uses a deterministic activation at test time that represents the average effect of the training behavior. For the popular Rectified Linear Unit (ReLU), the resulting test-time activation is effectively a Leaky ReLU with a slope of $1-p$ in the negative region.
Key Insights and Ideas
Implicit Parameter Reduction
The authors provide theoretical proof showing that Drop-Activation adds an implicit penalty term to the loss function. This penalty encourages the weights to find a state where the deep nonlinear network can be closely approximated by a simpler linear network, effectively reducing the "intrinsic dimension" of the parameter space and preventing overfitting on noise.
Harmony with Batch Normalization
One of the paper's strongest contributions is the "Shift Ratio" analysis. Standard Dropout often causes a mismatch in variance between training (where nodes are zeroed out) and testing (where all nodes are active). Drop-Activation maintains the variance of layer outputs between training and testing much more effectively. Empirical results show that the variance ratio remains close to 1.0 throughout training, making it a "harmonious" partner for BN.
Universal Synergy
Drop-Activation is designed to work alongside other regularizers. Experiments demonstrate additive gains when combined with advanced data augmentation techniques like Cutout or AutoAugment, suggesting it captures different regularization effects than data-level perturbations alone.
Experimental Results
The researchers evaluated Drop-Activation on a wide range of standard computer vision benchmarks (CIFAR-10/100, SVHN, EMNIST, and ImageNet) using architectures like ResNet, WideResNet, and DenseNet.
- CIFAR-100: Drop-Activation improved the error rate of ResNet164 from 25.86% to 24.18%.
- ImageNet: It reduced the validation error of ResNet34 from 26.07% to 25.85%.
- State-of-the-Art Combinations: When combined with AutoAugment on WideResNet28-10 (CIFAR-100), the error dropped from 17.09% to 16.20%.
Limitations and Conclusion
While powerful, Drop-Activation introduces a slight computational overhead (roughly 15-40% increase in training time) due to the need to generate Bernoulli random variables for every activation. Additionally, while $p=0.95$ is a robust default, hyperparameter tuning may be required for specialized tasks.
In conclusion, Drop-Activation offers a novel perspective on regularization by viewing Leaky ReLU as the deterministic expectation of a network that randomly drops its non-linearities. By simplifying the model's functional form during training, it achieves superior generalization and maintains high compatibility with modern deep learning pipelines.
Summary updated