Relaxed Attention for Transformer Models
Not on the map. Why?
Abstract (arXiv)
The powerful modeling capabilities of all-attention-based transformer architectures often cause overfitting and - for natural language processing tasks - lead to an implicitly learned internal language model in the autoregressive transformer decoder complicating the integration of external language models. In this paper, we explore relaxed attention, a simple and easy-to-implement smoothing of the attention weights, yielding a two-fold improvement to the general transformer architecture: First, relaxed attention provides regularization when applied to the self-attention layers in the encoder. Second, we show that it naturally supports the integration of an external language model as it suppresses the implicitly learned internal language model by relaxing the cross attention in the decoder. We demonstrate the benefit of relaxed attention across several tasks with clear improvement in combination with recent benchmark approaches. Specifically, we exceed the former state-of-the-art performance of 26.90% word error rate on the largest public lip-reading LRS3 benchmark with a word error rate of 26.31%, as well as we achieve a top-performing BLEU score of 37.67 on the IWSLT14 (DErightarrowEN) machine translation task without external language models and virtually no additional model parameters. Code and models will be made publicly available.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 58 of its 68 references that are in the map. First posted on arXiv 20 Sep 2022.
Builds on
58 of 68 references.
References · 58
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
38 more
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2019When Does Label Smoothing Help?cited by 985
- 2016Deep Networks with Stochastic Depthcited by 973
- 2019Relational Knowledge Distillationcited by 873
- 2018VoxCeleb2: Deep Speaker Recognitioncited by 862
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2015Listen, Attend and Spellcited by 542
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2015Attention-Based Models for Speech Recognitioncited by 400
- 2017Residual Attention Network for Image Classificationcited by 385
- 2020Rethinking Pre-training and Self-trainingcited by 352
- 2018Deep Audio-Visual Speech Recognitioncited by 318
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2018LRS3-TED: a large-scale dataset for visual speech recognitioncited by 301
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2022Learning Audio-Visual Speech Representation by Masked Multimodal Cluster Predictioncited by 277
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2021R-Drop: Regularized Dropout for Neural Networkscited by 202
- 2015On Using Monolingual Corpora in Neural Machine Translationcited by 149
- 2015End-to-End Attention-based Large Vocabulary Speech Recognitioncited by 148
- 2021End-to-end Audio-visual Speech Recognition with Conformerscited by 147
- 2021Efficient Training of Visual Transformers with Small Datasetscited by 107
- 2017Cold Fusion: Training Seq2Seq Models Together with Language Modelscited by 87
- 2018Training Tips for the Transformer Modelcited by 85
- 2019ASR is all you need: cross-modal distillation for lip readingcited by 85
- 2020A Density Ratio Approach to Language Model Fusion in End-To-End Automatic Speech Recognitioncited by 73
- 2020A Simple but Tough-to-Beat Data Augmentation Approach for Natural Language Understanding and Generationcited by 72
- 2019Recurrent Neural Network Transducer for Audio-Visual Speech Recognitioncited by 71
- 2017Combining Residual Networks with LSTMs for Lipreadingcited by 66
- 2020Discriminative Multi-modality Speech Recognitioncited by 56
- 2020Optimizing Deeper Transformers on Small Datasetscited by 41
- 2018Multi-Head Attention with Disagreement Regularizationcited by 35
- 2019Espresso: A Fast End-to-end Neural Speech Recognition Toolkitcited by 31
- 2020Scheduled DropHead: A Regularization Method for Transformer Modelscited by 28
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 1.
5 papers.
- 2023AKVSR: Audio Knowledge Empowered Visual Speech Recognition by Compressing Audio Knowledge of a Pretrained Modelcited by 16
- 2024Sentence-Level or Token-Level? A Comprehensive Study on Knowledge Distillationcited by 12
- 2022Attend to the Right Context: A Plug-and-Play Module for Content-Controllable Summarizationcited by 2
- 2023Multi-Objective Decision Transformers for Offline Reinforcement Learningcited by 1
- 2023Unraveling Key Factors of Knowledge Distillationcited by 0
- 2024Sentence-Level or Token-Level? A Comprehensive Study on Knowledge Distillation23 Apr 2024
- 2023Unraveling Key Factors of Knowledge Distillation14 Dec 2023
- 2023Multi-Objective Decision Transformers for Offline Reinforcement Learning31 Aug 2023
- 2023AKVSR: Audio Knowledge Empowered Visual Speech Recognition by Compressing Audio Knowledge of a Pretrained Model15 Aug 2023
- 2022Attend to the Right Context: A Plug-and-Play Module for Content-Controllable Summarization21 Dec 2022