arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.05134cs.LGstat.ML
收藏

用方差偏移理解Dropout与批量归一化的不协调

Understanding the Disharmony between Dropout and Batch Normalization by Variance Shift

Nanjing University of Science and Technology(南京理工大学);Tsinghua University(清华大学)

Xiang Li, Shuo Chen, Xiaolin Hu, Jian Yang

摘要:

本文首先回答了这样一个问题:“为什么两个最强大的技术Dropout和批量归一化(BN)往往会导致更差的性能,当他们结合在一起?“在理论和统计方面。从理论上讲,我们发现当我们将网络的状态从训练转移到测试时,Dropout会改变特定神经单元的方差。然而,BN将在测试阶段保持其统计方差,该统计方差是从整个学习过程中累积的。该方差的不一致性(我们将此方案命名为“方差移位”)导致推理中的不稳定数值行为,最终导致在BN之前应用Dropout时出现更多错误预测。在DenseNet、ResNet、ResNeXt和Wide ResNet上进行的彻底实验证实了我们的发现。根据发现的机制,我们接下来探索了几种修改Dropout的策略,并试图通过避免方差转移风险来克服它们组合的局限性。

英文摘要:

This paper first answers the question "why do the two most powerful techniques Dropout and Batch Normalization (BN) often lead to a worse performance when they are combined together?" in both theoretical and statistical aspects. Theoretically, we find that Dropout would shift the variance of a specific neural unit when we transfer the state of that network from train to test. However, BN would maintain its statistical variance, which is accumulated from the entire learning procedure, in the test phase. The inconsistency of that variance (we name this scheme as "variance shift") causes the unstable numerical behavior in inference that leads to more erroneous predictions finally, when applying Dropout before BN. Thorough experiments on DenseNet, ResNet, ResNeXt and Wide ResNet confirm our findings. According to the uncovered mechanism, we next explore several strategies that modifies Dropout and try to overcome the limitations of their combination by avoiding the variance shift risks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑