mlsanityData to 14 Oct 2026

Only 5% Attention Is All You Need: Efficient Long-range Document-level Neural Machine Translation

arXiv 2309.14174 ↗First posted 25 Sep 2023cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Document-level Neural Machine Translation (DocNMT) has been proven crucial for handling discourse phenomena by introducing document-level context information. One of the most important directions is to input the whole document directly to the standard Transformer model. In this case, efficiency becomes a critical concern due to the quadratic complexity of the attention module. Existing studies either focus on the encoder part, which cannot be deployed on sequence-to-sequence generation tasks, e.g., Machine Translation (MT), or suffer from a significant performance drop. In this work, we keep the translation performance while gaining 20% speed up by introducing extra selection layer based on lightweight attention that selects a small portion of tokens to be attended. It takes advantage of the original attention to ensure performance and dimension reduction to accelerate inference. Experimental results show that our method could achieve up to 95% sparsity (only 5% tokens attended) approximately, and save 93% computation cost on the attention module compared with the original Transformer, while maintaining the performance.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 30 of its 39 references that are in the map. First posted on arXiv 25 Sep 2023.

Builds on

30 of 39 references.

References · 30

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Longformer: The Long-Document Transformercited by 3,413
  3. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  4. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  6. 2020Reformer: The Efficient Transformercited by 1,668
  7. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  8. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  9. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  10. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  11. 2020Efficient Transformers: A Surveycited by 790
  12. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
18 more
  1. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  2. 2021Random Feature Attentioncited by 354
  3. 2021FNet: Mixing Tokens with Fourier Transformscited by 347
  4. 2020Sparse Sinkhorn Attentioncited by 251
  5. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
  6. 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
  7. 2021Luna: Linear Unified Nested Attentioncited by 96
  8. 2017Neural Machine Translation with Extended Contextcited by 95
  9. 2017Evaluating Discourse Phenomena in Neural Machine Translationcited by 87
  10. 2018Improving the Transformer Translation Model with Document-Level Contextcited by 74
  11. 2019Explicit Sparse Transformer: Concentrated Attention Through Explicit Selectioncited by 62
  12. 2019Selective Attention for Context-aware Neural Machine Translationcited by 60
  13. 2021G-Transformer for Document-level Machine Translationcited by 46
  14. 2019Sharing Attention Weights for Fast Transformercited by 34
  15. 2019Generating Diverse Translation by Manipulating Multi-Head Attentioncited by 14
  16. 2021Divide and Rule: Effective Pre-Training for Context-Aware Multi-Encoder Translation Modelscited by 12
  17. 2020Alleviating the Inequality of Attention Heads for Neural Machine Translationcited by 6
  18. 2022Modeling Context With Linear Attention for Scalable Document-Level Translationcited by 3

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.