LeaPformer: Enabling Linear Transformers for Autoregressive and Simultaneous Tasks via Learned Proportions
Not on the map. Why?
Abstract (arXiv)
A promising approach to preserving model performance in linearized transformers is to employ position-based re-weighting functions. However, state-of-the-art re-weighting functions rely heavily on target sequence lengths, making it difficult or impossible to apply them to autoregressive and simultaneous tasks, where the target and sometimes even the input sequence length are unknown. To address this issue, we propose Learned Proportions (LeaP) and LeaPformers. Our contribution is built on two major components. First, we generalize the dependence on explicit positional representations and sequence lengths into dependence on sequence proportions for re-weighting. Second, we replace static positional representations with dynamic proportions derived via a compact module, enabling more flexible attention concentration patterns. We evaluate LeaPformer against eight representative efficient transformers on the Long-Range Arena benchmark, showing that LeaPformer achieves the best quality-throughput trade-off, as well as LeaPformer to Wikitext-103 autoregressive language modeling and simultaneous speech-to-text translation for two language pairs, achieving competitive results.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 34 of its 41 references that are in the map. First posted on arXiv 18 May 2024.
Builds on
34 of 41 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
22 more
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2020Efficient Transformers: A Surveycited by 784
- 2018Image Transformercited by 770
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2021Random Feature Attentioncited by 350
- 2020Sparse Sinkhorn Attentioncited by 250
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2022The Devil in Linear Transformercited by 98
- 2020SimulEval: An Evaluation Toolkit for Simultaneous Translationcited by 94
- 2020ESPnet-ST: All-in-One Speech Translation Toolkitcited by 82
- 2020SimulMT to SimulST: Adapting Simultaneous Text Translation to End-to-End Simultaneous Speech Translationcited by 80
- 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
- 2020CoVoST: A Diverse Multilingual Speech-To-Text Translation Corpuscited by 57
- 2019Encoding word order in complex embeddingscited by 53
- 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2023Improving Autoregressive NLP Tasks via Modular Linearized Attentioncited by 2
- 2018Long Short-Term Attentioncited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2026ELiTeFormer: An Efficient Transformer for FPGAs4 Jul 2026
- 2025ML For Hardware Design Interpretability: Challenges and Opportunities11 Apr 2025