mlsanityData to 7 Oct 2026

Relaxed Attention for Transformer Models

arXiv 2209.09735 ↗First posted 20 Sep 2022cs.LG cs.CL eess.AScited by 5

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2020End-to-End Object Detection with Transformerscited by 7,384
  9. 2020Scaling Laws for Neural Language Modelscited by 6,411
  10. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  11. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  12. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
38 more
  1. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  2. 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
  3. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  4. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  5. 2019When Does Label Smoothing Help?cited by 985
  6. 2016Deep Networks with Stochastic Depthcited by 973
  7. 2019Relational Knowledge Distillationcited by 873
  8. 2018VoxCeleb2: Deep Speaker Recognitioncited by 862
  9. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  10. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  11. 2015Listen, Attend and Spellcited by 542
  12. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  13. 2015Attention-Based Models for Speech Recognitioncited by 400
  14. 2017Residual Attention Network for Image Classificationcited by 385
  15. 2020Rethinking Pre-training and Self-trainingcited by 352
  16. 2018Deep Audio-Visual Speech Recognitioncited by 318
  17. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  18. 2018LRS3-TED: a large-scale dataset for visual speech recognitioncited by 301
  19. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  20. 2022Learning Audio-Visual Speech Representation by Masked Multimodal Cluster Predictioncited by 277
  21. 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
  22. 2021R-Drop: Regularized Dropout for Neural Networkscited by 202
  23. 2015On Using Monolingual Corpora in Neural Machine Translationcited by 149
  24. 2015End-to-End Attention-based Large Vocabulary Speech Recognitioncited by 148
  25. 2021End-to-end Audio-visual Speech Recognition with Conformerscited by 147
  26. 2021Efficient Training of Visual Transformers with Small Datasetscited by 107
  27. 2017Cold Fusion: Training Seq2Seq Models Together with Language Modelscited by 87
  28. 2018Training Tips for the Transformer Modelcited by 85
  29. 2019ASR is all you need: cross-modal distillation for lip readingcited by 85
  30. 2020A Density Ratio Approach to Language Model Fusion in End-To-End Automatic Speech Recognitioncited by 73
  31. 2020A Simple but Tough-to-Beat Data Augmentation Approach for Natural Language Understanding and Generationcited by 72
  32. 2019Recurrent Neural Network Transducer for Audio-Visual Speech Recognitioncited by 71
  33. 2017Combining Residual Networks with LSTMs for Lipreadingcited by 66
  34. 2020Discriminative Multi-modality Speech Recognitioncited by 56
  35. 2020Optimizing Deeper Transformers on Small Datasetscited by 41
  36. 2018Multi-Head Attention with Disagreement Regularizationcited by 35
  37. 2019Espresso: A Fast End-to-end Neural Speech Recognition Toolkitcited by 31
  38. 2020Scheduled DropHead: A Regularization Method for Transformer Modelscited by 28

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 3; 2024: 1.

5 papers.