Hard-Coded Gaussian Attention for Neural Machine Translation
Not on the map. Why?
Abstract (arXiv)
Recent work has questioned the importance of the Transformer's multi-headed attention for achieving high translation quality. We push further in this direction by developing a "hard-coded" attention variant without any learned parameters. Surprisingly, replacing all learned self-attention heads in the encoder and decoder with fixed, input-agnostic Gaussian distributions minimally impacts BLEU scores across four different language pairs. However, additionally hard-coding cross attention (which connects the decoder to the encoder) significantly lowers BLEU, suggesting that it is more important than self-attention. Much of this BLEU drop can be recovered by adding just a single learned cross attention head to an otherwise hard-coded Transformer. Taken as a whole, our results offer insight into which components of the Transformer are actually important, which we hope will guide future work into the development of simpler and more efficient attention-based models.
Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 May 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 16; 2022: 12; 2023: 3; 2024: 5; 2025: 3; 2026: 3.
42 papers.
Sort:
By area:
- 2021A Survey of Transformerscited by 401
- 2021Random Feature Attentioncited by 354
- 2021FNet: Mixing Tokens with Fourier Transformscited by 347
- 2022ETSformer: Exponential Smoothing Transformers for Time-series Forecastingcited by 148
- 2022Pretrained Language Models for Text Generation: A Surveycited by 122
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 106
- 2021Position Information in Transformers: An Overviewcited by 103
- 2021Finetuning Pretrained Transformers into RNNscited by 96
- 2021Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translationcited by 74
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 21
- 2021Modeling Concentrated Cross-Attention for Neural Machine Translation with Gaussian Mixture Modelcited by 18
30 more
- 2022Exploiting Multiple Sequence Lengths in Fast End to End Training for Image Captioningcited by 18
- 2022EtriCA: Event-Triggered Context-Aware Story Generation Augmented by Cross Attentioncited by 17
- 2021Sparse Continuous Distributions and Fenchel-Young Lossescited by 14
- 2022DCT-Former: Efficient Self-Attention with Discrete Cosine Transformcited by 12
- 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERTcited by 12
- 2022A Call for Clarity in Beam Search: How It Works and When It Stopscited by 10
- 2022Adversarial Self-Attention for Language Understandingcited by 8
- 2021Snowflake: Scaling GNNs to High-Dimensional Continuous Control via Parameter Freezingcited by 7
- 2021∞-former: Infinite Memory Transformercited by 7
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 6
- 2021Not All Attention Is All You Needcited by 5
- 2021Zero-Shot Controlled Generation with Encoder-Decoder Transformerscited by 5
- 2022Fast-FNet: Accelerating Transformer Encoder Models via Efficient Fourier Layerscited by 5
- 2023A Cross-Attention Augmented Model for Event-Triggered Context-Aware Story Generationcited by 5
- 2022WavSpA: Wavelet Space Attention for Boosting Transformers' Long Sequence Learning Abilitycited by 3
- 2024On the Anatomy of Attentioncited by 3
- 2024Density Adaptive Attention is All You Need: Robust Parameter-Efficient Fine-Tuning Across Multiple Modalitiescited by 2
- 2021Sparse Distillation: Speeding Up Text Classification by Using Bigger Student Modelscited by 1
- 2023Enhancing Multivariate Time Series Classifiers through Self-Attention and Relative Positioning Infusioncited by 1
- 2021To Understand Representation of Layer-aware Sequence Encoders as Multi-order-graphcited by 0
- 2021Cascaded Head-colliding Attentioncited by 0
- 2023Attention Link: An Efficient Attention-Based Low Resource Machine Translation Architecturecited by 0
- 2024Unveiling Vulnerability of Self-Attentioncited by 0
- 2024Fourier or Wavelet bases as counterpart self-attention in spikformer for efficient visual classificationcited by 0
- 2024Localized Gaussians as Self-Attention Weights for Point Clouds Correspondencecited by 0
- 2025When LRP Diverges from Leave-One-Out in Transformerscited by 0
- 2025Advancing Bangla Machine Translation Through Informal Datasetscited by 0
- 2026EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarizationcited by 0
- 2026When Can Attention Heads Be Statically Defined?cited by 0
- 2026Pooling Helps, Learned Weighting Hurts In-Context: Decomposing Group Attentioncited by 0
- 2026Pooling Helps, Learned Weighting Hurts In-Context: Decomposing Group Attention1 Oct 2026
- 2026When Can Attention Heads Be Statically Defined?28 Sep 2026
- 2026EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization25 Feb 2026
- 2025Advancing Bangla Machine Translation Through Informal Datasets15 Dec 2025
- 2025When LRP Diverges from Leave-One-Out in Transformers21 Oct 2025
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence30 Jun 2025
- 2024Localized Gaussians as Self-Attention Weights for Point Clouds Correspondence20 Sep 2024
- 2024On the Anatomy of Attention2 Jul 2024
- 2024Fourier or Wavelet bases as counterpart self-attention in spikformer for efficient visual classification27 Mar 2024
- 2024Unveiling Vulnerability of Self-Attention26 Feb 2024
- 2024Density Adaptive Attention is All You Need: Robust Parameter-Efficient Fine-Tuning Across Multiple Modalities20 Jan 2024
- 2023A Cross-Attention Augmented Model for Event-Triggered Context-Aware Story Generation19 Nov 2023
30 more
- 2023Enhancing Multivariate Time Series Classifiers through Self-Attention and Relative Positioning Infusion13 Feb 2023
- 2023Attention Link: An Efficient Attention-Based Low Resource Machine Translation Architecture1 Feb 2023
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformers7 Nov 2022
- 2022EtriCA: Event-Triggered Context-Aware Story Generation Augmented by Cross Attention22 Oct 2022
- 2022WavSpA: Wavelet Space Attention for Boosting Transformers' Long Sequence Learning Ability5 Oct 2022
- 2022Fast-FNet: Accelerating Transformer Encoder Models via Efficient Fourier Layers26 Sep 2022
- 2022Exploiting Multiple Sequence Lengths in Fast End to End Training for Image Captioning13 Aug 2022
- 2022Adversarial Self-Attention for Language Understanding25 Jun 2022
- 2022Unveiling Transformers with LEGO: a synthetic reasoning task9 Jun 2022
- 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERT24 May 2022
- 2022A Call for Clarity in Beam Search: How It Works and When It Stops11 Apr 2022
- 2022DCT-Former: Efficient Self-Attention with Discrete Cosine Transform2 Mar 2022
- 2022ETSformer: Exponential Smoothing Transformers for Time-series Forecasting3 Feb 2022
- 2022Pretrained Language Models for Text Generation: A Survey14 Jan 2022
- 2021Sparse Distillation: Speeding Up Text Classification by Using Bigger Student Models16 Oct 2021
- 2021ABC: Attention with Bounded-memory Control6 Oct 2021
- 2021Modeling Concentrated Cross-Attention for Neural Machine Translation with Gaussian Mixture Model11 Sep 2021
- 2021∞-former: Infinite Memory Transformer1 Sep 2021
- 2021Sparse Continuous Distributions and Fenchel-Young Losses4 Aug 2021
- 2021Zero-Shot Controlled Generation with Encoder-Decoder Transformers11 Jun 2021
- 2021A Survey of Transformers8 Jun 2021
- 2021Cascaded Head-colliding Attention31 May 2021
- 2021FNet: Mixing Tokens with Fourier Transforms9 May 2021
- 2021Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translation18 Apr 2021
- 2021Not All Attention Is All You Need10 Apr 2021
- 2021Finetuning Pretrained Transformers into RNNs24 Mar 2021
- 2021Random Feature Attention3 Mar 2021
- 2021Snowflake: Scaling GNNs to High-Dimensional Continuous Control via Parameter Freezing1 Mar 2021
- 2021Position Information in Transformers: An Overview22 Feb 2021
- 2021To Understand Representation of Layer-aware Sequence Encoders as Multi-order-graph16 Jan 2021
- 2021A Survey of Transformerscited by 401
- 2021Random Feature Attentioncited by 354
- 2021FNet: Mixing Tokens with Fourier Transformscited by 347
- 2022ETSformer: Exponential Smoothing Transformers for Time-series Forecastingcited by 148
- 2022Pretrained Language Models for Text Generation: A Surveycited by 122
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 106
- 2021Position Information in Transformers: An Overviewcited by 103
- 2021Finetuning Pretrained Transformers into RNNscited by 96
- 2021Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translationcited by 74
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 21
- 2021Modeling Concentrated Cross-Attention for Neural Machine Translation with Gaussian Mixture Modelcited by 18
12 most cited of 40 All 40 (JSON)
- 2026Pooling Helps, Learned Weighting Hurts In-Context: Decomposing Group Attention1 Oct 2026
- 2026When Can Attention Heads Be Statically Defined?28 Sep 2026
- 2026EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization25 Feb 2026
- 2025Advancing Bangla Machine Translation Through Informal Datasets15 Dec 2025
- 2025When LRP Diverges from Leave-One-Out in Transformers21 Oct 2025
- 2024Localized Gaussians as Self-Attention Weights for Point Clouds Correspondence20 Sep 2024
- 2024On the Anatomy of Attention2 Jul 2024
- 2024Fourier or Wavelet bases as counterpart self-attention in spikformer for efficient visual classification27 Mar 2024
- 2024Unveiling Vulnerability of Self-Attention26 Feb 2024
- 2024Density Adaptive Attention is All You Need: Robust Parameter-Efficient Fine-Tuning Across Multiple Modalities20 Jan 2024
- 2023A Cross-Attention Augmented Model for Event-Triggered Context-Aware Story Generation19 Nov 2023
- 2023Enhancing Multivariate Time Series Classifiers through Self-Attention and Relative Positioning Infusion13 Feb 2023
12 newest of 40 All 40 (JSON)