Litcius/Paper detail

Scheduled DropHead: A Regularization Method for Transformer Models

Wangchunshu Zhou, Tao Ge, Furu Wei, Ming Zhou, Ke Xu

202032 citationsDOIOpen Access PDF

Abstract

We introduce DropHead, a structured dropout method specifically designed for regularizing the multi-head attention mechanism which is a key component of transformer. In contrast to the conventional dropout mechanism which randomly drops units or connections, Drop-Head drops entire attention heads during training to prevent the multi-head attention model from being dominated by a small portion of attention heads. It can help reduce the risk of overfitting and allow the models to better benefit from the multi-head attention. Given the interaction between multi-headedness and training dynamics, we further propose a novel dropout rate scheduler to adjust the dropout rate of DropHead throughout training, which results in a better regularization effect. Experimental results demonstrate that our proposed approach can improve transformer models by 0.9 BLEU score on WMT14 En-De translation task and around 1.0 accuracy for various text classification tasks.

Topics & Concepts

Computer scienceTransformerRegularization (linguistics)Artificial intelligenceEngineeringElectrical engineeringVoltageModel Reduction and Neural NetworksThermal Analysis in Power TransmissionPower Transformer Diagnostics and Insulation
Scheduled DropHead: A Regularization Method for Transformer Models | Litcius