arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.14448cs.LG
收藏

R-Drop:神经网络的正则化丢弃算法

R-Drop: Regularized Dropout for Neural Networks

Soochow University(苏州大学);Microsoft Research Asia(微软亚洲研究院)

Xiaobo Liang, Lijun Wu, Juntao Li, Yue Wang, Qi Meng, Tao Qin, Wei Chen, Min Zhang, Tie-Yan Liu

摘要:

Dropout是一种强大且广泛使用的技术,用于规范深度神经网络的训练。本文介绍了一种简单的正则化策略,即R-Drop,它迫使由dropout生成的不同子模型的输出分布彼此一致。具体而言,对于每个训练样本,R-Drop最小化通过dropout采样的两个子模型的输出分布之间的双向KL发散。理论分析表明,R-Drop减少了模型参数的自由度,并补充了dropout。在$\bf{5}$广泛使用的深度学习任务(总共$\bf{18}$数据集)上进行的实验,包括神经机器翻译,抽象摘要,语言理解,语言建模和图像分类,表明R-Drop是普遍有效的。特别是,当应用于微调大规模预训练模型时,它会产生实质性的改进,例如,ViT、RoBERTa-large和BART,并在WMT 14英语$\to$德语翻译($\bf{30.91}$ BLEU)和WMT 14英语$\to$法语翻译($\bf{43.95}$ BLEU)上使用普通Transformer模型实现了最先进的(SOTA)性能,甚至超过了使用超大规模数据训练的模型和专家设计的Transformer模型的高级变体。我们的代码可以在GitHub{ \url{https://github.com/dropreg/R-Drop} }上找到。

英文摘要:

Dropout is a powerful and widely used technique to regularize the training of deep neural networks. In this paper, we introduce a simple regularization strategy upon dropout in model training, namely R-Drop, which forces the output distributions of different sub models generated by dropout to be consistent with each other. Specifically, for each training sample, R-Drop minimizes the bidirectional KL-divergence between the output distributions of two sub models sampled by dropout. Theoretical analysis reveals that R-Drop reduces the freedom of the model parameters and complements dropout. Experiments on $\bf{5}$ widely used deep learning tasks ($\bf{18}$ datasets in total), including neural machine translation, abstractive summarization, language understanding, language modeling, and image classification, show that R-Drop is universally effective. In particular, it yields substantial improvements when applied to fine-tune large-scale pre-trained models, e.g., ViT, RoBERTa-large, and BART, and achieves state-of-the-art (SOTA) performances with the vanilla Transformer model on WMT14 English$\to$German translation ($\bf{30.91}$ BLEU) and WMT14 English$\to$French translation ($\bf{43.95}$ BLEU), even surpassing models trained with extra large-scale data and expert-designed advanced variants of Transformer models. Our code is available at GitHub{\url{https://github.com/dropreg/R-Drop}}.

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

↑