Elucidating the Design Space of Decay in Linear Attention
Not on the map. Why?
Abstract (arXiv)
This paper presents a comprehensive investigation into the decay mechanisms inherent in linear complexity sequence models. We systematically delineate the design space of decay mechanisms across four pivotal dimensions: parameterization strategy, which refers to the computational methodology for decay; parameter sharing, which involves the utilization of supplementary parameters for decay computation; decay granularity, comparing scalar versus vector-based decay; and compatibility with relative positional encoding methods, such as Rotary Position Embedding (RoPE). Through an extensive series of experiments conducted on diverse language modeling tasks, we uncovered several critical insights. Firstly, the design of the parameterization strategy for decay requires meticulous consideration. Our findings indicate that effective configurations are typically confined to a specific range of parameters. Secondly, parameter sharing cannot be used arbitrarily, as it may cause decay values to be too large or too small, thereby significantly impacting performance. Thirdly, under identical parameterization strategies, scalar decay generally underperforms compared to its vector-based counterpart. However, in certain scenarios with alternative parameterization strategies, scalar decay may unexpectedly surpass vector decay in efficacy. Lastly, our analysis reveals that RoPE, a commonly employed relative positional encoding method, typically fails to provide tangible benefits to the majority of linear attention mechanisms.
Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 39 of its 49 references that are in the map. First posted on arXiv 5 Sep 2025.
Builds on
39 of 49 references.
References · 39
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,658
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,628
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,440
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,352
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,994
- 2020GLU Variants Improve Transformercited by 1,759
- 2020Rethinking Attention with Performerscited by 1,594
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,307
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,126
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 820
- 2022Simplified State Space Layers for Sequence Modelingcited by 781
27 more
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 708
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 603
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 602
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 501
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 500
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 400
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 378
- 2021Random Feature Attentioncited by 351
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2024xLSTM: Extended Long Short-Term Memorycited by 322
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 233
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 199
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 156
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 124
- 2022How to Train Your HiPPO: State Space Models with Generalized Orthogonal Basis Projectionscited by 121
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 101
- 2022The Devil in Linear Transformercited by 98
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 74
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
- 2023Toeplitz Neural Network for Sequence Modelingcited by 43
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
- 2023Linearized Relative Positional Encodingcited by 17
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNetcited by 9
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Knocking-Heads Attentioncited by 1
- 2025Knocking-Heads Attention27 Oct 2025