Regularization
Methods that reduce overfitting: dropout, weight decay, label smoothing, and more.
DropBlockDropBlock is a regularization method that zeroes out contiguous square regions (blocks) of a convolutional feature map at once. Because the dropped information cannot be recovered from neighboring pixels, it works better than Dropout in convolutional networks, and it raised the ImageNet accuracy of ResNet-50 by 1.6 points.
DropConnectDropConnect is a regularization method that randomly sets the weights (connections between units) of fully connected layers to 0 during training. It generalizes Dropout, which drops whole units, and curbs overfitting in large fully connected layers.
DropoutDropout is a regularization method that curbs overfitting by randomly and temporarily removing units during training. At inference all units are used, and the output is scaled so that its magnitude matches the training-time average.
Early StoppingEarly Stopping is a regularization method that stops training when the validation loss stops improving and returns the weights from the best point. It curbs overfitting without changing the loss or the model, and the number of training steps plays the same role as the strength of L2 regularization.
Label SmoothingLabel Smoothing is a regularization method that trains on target labels changed from "1 for the correct class only" to a distribution that lowers the correct class slightly and spreads the remainder evenly over all classes. It prevents the model from becoming overconfident and improves both accuracy and the reliability of its probabilities (calibration).
Manifold MixupManifold Mixup is a regularization method that mixes the hidden representations of two examples at an intermediate layer of the network and mixes their labels in the same proportion. By smoothing decision boundaries and flattening the per-class representations, it improves both error rates and predicted probabilities over Mixup.
R-DropR-Drop is a regularization method that passes the same input through a model with Dropout twice and adds the KL divergence between the two output distributions to the loss. By training the model to make the same prediction regardless of which units are dropped, it narrows the gap between training and inference, and it improved accuracy on translation, language understanding, summarization, image classification, and more.
Shake-ShakeShake-Shake is a regularization method for residual blocks with two branches: it mixes the branch outputs in a random ratio and, in the backward pass, redistributes the gradient with a different random number. By perturbing both the intermediate representations and the gradients, it curbs overfitting, and it achieved an error rate of 2.86% on CIFAR-10.
ShakeDropShakeDrop is a regularization method that strongly perturbs the output of a residual block's branch by multiplying it by different random numbers in the forward and backward passes, and switches that perturbation on and off probabilistically using the mechanism of Stochastic Depth. Unlike Shake-Shake, it also works with single-branch ResNets and PyramidNets, and it lowered the error rate of PyramidNet-110 on CIFAR-100 from 18.01% to 15.78%.
Spatial DropoutSpatial Dropout is a form of Dropout that zeroes out entire channels (whole feature maps) of a convolutional layer's output. It lets Dropout's regularizing effect work even in convolutional layers, where neighboring pixels have similar values.
Stochastic Depth (DropPath)Stochastic Depth (DropPath) is a regularization method that, while training a residual network, randomly skips the entire transformation of residual blocks for each mini-batch and passes only the identity shortcut. During training the network becomes shallower and trains faster, and at inference all blocks are used, which also lowers the test error.
Variational Dropout (RNN)Variational Dropout (RNN) is a regularization method that, within a single RNN sequence, reuses the same Dropout mask at every time step and applies it not only to the inputs and outputs but also to the recurrent connections. It can regularize RNNs, which ordinary Dropout failed to protect fully from overfitting, while keeping the model large.
Weight DecayWeight Decay is a regularization method that pulls every weight toward 0 by a fixed fraction at each update to curb overfitting. With SGD it works the same as L2 regularization, but with Adam the two differ, so AdamW, which decouples weight shrinkage from the gradient, is used instead.
ZoneoutZoneout is a regularization method that, at each RNN time step, randomly selects some elements of the hidden state and keeps them at their previous values instead of updating them. Because it does not set them to 0 as Dropout does, it curbs overfitting while information and gradients can still flow easily back through time.
