[论文解读] Dropout Reduces Underfitting
本文表明,在训练初期阶段应用 dropout(早期 dropout)可以降低梯度方向方差和最终训练损失,从而改善欠拟合模型;而对称的晚期 dropout 能帮助过拟合模型实现更好的泛化。
Introduced by Hinton et al. in 2012, dropout has stood the test of time as a regularizer for preventing overfitting in neural networks. In this study, we demonstrate that dropout can also mitigate underfitting when used at the start of training. During the early phase, we find dropout reduces the directional variance of gradients across mini-batches and helps align the mini-batch gradients with the entire dataset's gradient. This helps counteract the stochasticity of SGD and limit the influence of individual batches on model training. Our findings lead us to a solution for improving performance in underfitting models - early dropout: dropout is applied only during the initial phases of training, and turned off afterwards. Models equipped with early dropout achieve lower final training loss compared to their counterparts without dropout. Additionally, we explore a symmetric technique for regularizing overfitting models - late dropout, where dropout is not used in the early iterations and is only activated later in training. Experiments on ImageNet and various vision tasks demonstrate that our methods consistently improve generalization accuracy. Our results encourage more research on understanding regularization in deep learning and our methods can be useful tools for future neural network training, especially in the era of large data. Code is available at https://github.com/facebookresearch/dropout.
研究动机与目标
- 促使在由于数据规模庞大而可能出现的欠拟合情形下重新审视 dropout 作为正则化项的作用。
- 研究 dropout 的训练 动态,聚焦梯度范数、梯度方向方差和梯度方向误差。
- 提出并评估在 Vision Transformers 和视觉模型上针对 ImageNet 及下游任务的早期 dropout 与晚期 dropout 策略。
- 展示在训练的早期或晚期阶段策略性应用 dropout 时,训练损失和泛化能力的提升。
提出的方法
- 分析梯度范数、梯度方向方差和梯度方向误差,以理解早期训练中 dropout 的效应。
- 引入并形式化早期 dropout 与晚期 dropout 作为两阶段正则化技术。
- 使用 ImageNet-1K 与下游任务评估 ViT 与 CNN 派生架构上的 dropout、随机深度以及早/晚变体。
- 在多种模型家族(ViT、Swin、ConvNeXt)与优化器之间比较标准 dropout、随机深度以及早/晚 dropout。
- 对 dropout 训练轮次、dropout 率、调度策略和批大小进行消融研究以评估鲁棒性。
实验结果
研究问题
- RQ1dropout 在训练开始阶段应用(早期 dropout)是否能减少欠拟合?
- RQ2早期 dropout 如何影响梯度属性以及与整数据集梯度的一致性?
- RQ3对称的晚期 dropout 策略是否能改善过拟合模型的泛化?
- RQ4早期与晚期 dropout 是否在不同架构、优化器和数据集规模下都具有鲁棒性?
主要发现
- 早期 dropout 降低最终训练损失并且可以提升欠拟合模型的准确率。
- 早期训练中的 dropout 降低梯度方向方差和梯度方向误差,使小批量梯度与整个数据集梯度对齐。
- 晚期 dropout 提高过拟合模型的泛化,有时会增加训练损失但提升测试精度。
- 最优 dropout 行为取决于模型容量和数据规模;较小的模型或较大的数据集可能使 dropout 不必要甚至有害。
- 在不同模型和任务中,早期 dropout 与随机深度相较于标准 dropout 与无 dropout 基线,在 ImageNet-1K 及下游任务上稳定提升性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。