[Paper Review] Scheduled DropHead: A Regularization Method for Transformer Models
This paper proposes Scheduled DropHead, a structured dropout method that randomly drops entire attention heads during training to prevent model domination by a few heads, improving generalization. It introduces a V-shaped dropout rate scheduler that increases dropout early and late in training, boosting performance by 0.9 BLEU on WMT14 En-De translation and ~1.0 accuracy on text classification tasks without architectural changes.
In this paper, we introduce DropHead, a structured dropout method specifically designed for regularizing the multi-head attention mechanism, which is a key component of transformer, a state-of-the-art model for various NLP tasks. In contrast to the conventional dropout mechanisms which randomly drop units or connections, the proposed DropHead is a structured dropout method. It drops entire attention-heads during training and It prevents the multi-head attention model from being dominated by a small portion of attention heads while also reduces the risk of overfitting the training data, thus making use of the multi-head attention mechanism more efficiently. Motivated by recent studies about the learning dynamic of the multi-head attention mechanism, we propose a specific dropout rate schedule to adaptively adjust the dropout rate of DropHead and achieve better regularization effect. Experimental results on both machine translation and text classification benchmark datasets demonstrate the effectiveness of the proposed approach.
Motivation & Objective
- To address the head domination problem in multi-head attention mechanisms, where only a few heads contribute significantly to model output.
- To improve generalization in transformer models by reducing co-adaptation between attention heads.
- To design a training dynamic-aware regularization method that enhances the effectiveness of structured dropout on attention heads.
- To enable better model robustness and performance after pruning a large number of attention heads.
Proposed method
- DropHead applies structured dropout by randomly dropping entire attention heads during training, rather than individual units or connections.
- Each attention head has a fixed probability of being dropped, forcing all heads to contribute meaningfully to model performance.
- A V-shaped dropout rate scheduler is introduced, increasing dropout rate at the start and end of training and reducing it in the middle.
- The scheduler is motivated by training dynamics where head domination is most likely at the beginning and end of training.
- The method is applied to encoder-encoder, encoder-decoder, and decoder-decoder attention modules in transformer architectures.
- The approach requires no architectural changes and is compatible with standard transformer training pipelines.
Experimental results
Research questions
- RQ1Does structured dropout on entire attention heads improve transformer model performance and generalization?
- RQ2Can a dynamic dropout rate scheduler that varies during training further enhance the regularization effect of DropHead?
- RQ3How does Scheduled DropHead affect attention head importance and model robustness to pruning?
- RQ4Does the proposed method improve performance across diverse NLP tasks such as translation and text classification?
- RQ5Is the V-shaped dropout rate schedule more effective than constant or linearly changing schedules?
Key findings
- Scheduled DropHead improves the WMT14 En-De translation task by 0.9 BLEU points over the standard transformer.
- The method achieves approximately 1.0 accuracy gain across multiple text classification benchmarks.
- Applying Scheduled DropHead to encoder-encoder and encoder-decoder attention modules yields the largest performance gains.
- The V-shaped dropout rate scheduler outperforms both constant and linear (curriculum/anti-curriculum) schedules.
- The model trained with Scheduled DropHead shows improved robustness, maintaining performance even after pruning a large number of attention heads.
- DropHead reduces excessive co-adaptation between attention heads and encourages more heads to encode useful information.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.