Stochastic Attention Head Removal: A simple and effective method for improving Transformer Based ASR Models
Shucong Zhang, Erfan Loweimi, Peter Bell, Steve Renals

TL;DR
This paper introduces a simple stochastic head removal technique during training that enhances Transformer-based ASR models by reducing redundancy and improving performance across multiple datasets.
Contribution
The paper proposes a novel stochastic attention head removal method during training, leading to more efficient and better-performing Transformer and Conformer ASR models.
Findings
Consistent performance improvements on WSJ, AISHELL, Switchboard, and AMI datasets.
Achieved state-of-the-art results on Switchboard and AMI datasets.
Reduces redundancy in attention heads, enhancing model efficiency.
Abstract
Recently, Transformer based models have shown competitive automatic speech recognition (ASR) performance. One key factor in the success of these models is the multi-head attention mechanism. However, for trained models, we have previously observed that many attention matrices are close to diagonal, indicating the redundancy of the corresponding attention heads. We have also found that some architectures with reduced numbers of attention heads have better performance. Since the search for the best structure is time prohibitive, we propose to randomly remove attention heads during training and keep all attention heads at test time, thus the final model is an ensemble of models with different architectures. The proposed method also forces each head independently learn the most useful patterns. We apply the proposed method to train Transformer based and Convolution-augmented Transformer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- s1603602/attention_head_removalpytorchOfficial
- pwc-1/Paper-9/tree/main/3/stochastic-attention-head-removal-a-simplemindspore
- pwc-1/Paper-9/tree/main/4/stochastic-attention-head-removal-a-simplemindspore
- MindCode-4/code-9/tree/main/stochastic-attention-head-removal-a-simplemindspore
- nanzhaogang/contrib/tree/master/application/similarity-of-neural-network-representations-revisitedmindspore
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpeech Recognition and Synthesis · Speech and Audio Processing · Music and Audio Processing
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Layer Normalization · Adam · Attention Is All You Need · Byte Pair Encoding · Dropout · Softmax · Residual Connection
