mlsanityData to 14 Oct 2026

Alignment Attention by Matching Key and Query Distributions

arXiv 2110.12567 ↗First posted 25 Oct 2021cs.LG cs.CL stat.MLcited by 14

Not on the map. Why?

Abstract (arXiv)

The neural attention mechanism has been incorporated into deep neural networks to achieve state-of-the-art performance in various domains. Most such models use multi-head self-attention which is appealing for the ability to attend to information from different perspectives. This paper introduces alignment attention that explicitly encourages self-attention to match the distributions of the key and query within each head. The resulting alignment attention networks can be optimized as an unsupervised regularization in the existing attention framework. It is simple to convert any models with self-attention, including pre-trained ones, to the proposed alignment attention. On a variety of language understanding tasks, we show the effectiveness of our method in accuracy, uncertainty estimation, generalization across domains, and robustness to adversarial attacks. We further demonstrate the general applicability of our approach on graph attention and visual question answering, showing the great potential of incorporating our alignment method into various attention-related tasks.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 62 of its 93 references that are in the map. First posted on arXiv 25 Oct 2021.

Builds on

62 of 93 references.

References · 62

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2017Graph Attention Networkscited by 8,923
  8. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  10. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  11. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  12. 2015Domain-Adversarial Training of Neural Networkscited by 3,044
38 more
  1. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  2. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  3. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  4. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  5. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
  6. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
  7. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  8. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
  9. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  10. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  11. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
  12. 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,391
  13. 2017Adversarial Discriminative Domain Adaptationcited by 1,311
  14. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  15. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  16. 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
  17. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  18. 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 976
  19. 2018Neural Network Acceptability Judgmentscited by 958
  20. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
  21. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  22. 2017Wasserstein GANcited by 639
  23. 2016Self-critical Sequence Training for Image Captioningcited by 547
  24. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  25. 2016RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanismcited by 349
  26. 2019Deep Modular Co-Attention Networks for Visual Question Answeringcited by 339
  27. 2018SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inferencecited by 333
  28. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  29. 2020Calibration of Pre-trained Transformerscited by 315
  30. 2019UNITER: UNiversal Image-TExt Representation Learningcited by 228
  31. 2016A Decomposable Attention Model for Natural Language Inferencecited by 215
  32. 2016Enhanced LSTM for Natural Language Inferencecited by 200
  33. 2015Training Very Deep Networkscited by 173
  34. 2018Evaluating Bayesian Deep Learning Methods for Semantic Segmentationcited by 143
  35. 2017The Cramer Distance as a Solution to Biased Wasserstein Gradientscited by 119
  36. 2017Interpretable Learning for Self-Driving Cars by Visualizing Causal Attentioncited by 107
  37. 2020Robust Optimal Transport with Applications in Generative Modeling and Domain Adaptationcited by 87
  38. 2017Tips and Tricks for Visual Question Answering: Learnings from the 2017 Challengecited by 76

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 3; 2024: 3; 2025: 4; 2026: 2.

14 papers.

Sort:

By area: