betaFeedback

WorksMathematics

SDG: State-Dependent Gating at Chunk Boundaries for Linear Attention

Abstract

Recent gated linear attention models use state-independent gates, computed from token representations without directly reading the recurrent memory. This design supports efficient chunkwise computation: sequences are divided into chunks of consecutive tokens, with parallel computation within each chunk. However, the same token representation produces the same gate, even when the layer stores different information. We introduce State-Dependent Gating (SDG), which computes element-wise gates from the change in memory over a chunk and applies them at the chunk boundary. This provides state feedback for forgetting while preserving parallel computation within each chunk. We develop fused kernels for Gated DeltaNet, Kimi Delta Attention, Gated DeltaNet-2, and Mamba-3. Our theoretical analysis quantifies the potential reconstruction benefits of state-dependent, element-wise gating under a signal–noise model. We also show that boundary decay is an element-wise ridge proximal step when the gate is held fixed. Empirical evaluation of 1.3B linear attention and hybrid models trained on 100B tokens shows improvements across language modeling, commonsense reasoning, synthetic and real-world retrieval, and long-context understanding. These results demonstrate that SDG is an effective approach to enhancing existing linear attention models.

Introduction

Linear attention stores context in a fixed-size recurrent state, enabling linear-time sequence modeling and constant-memory decoding [30, 50, 54]. Its limited capacity makes retention important: as new associations are written, they can interfere with those already stored [2, 31]. Recent gated recurrent models control retention using coefficients predicted from token representations [22, 25, 56, 65, 67]. These gates are data-dependent but state-independent: their coefficients do not directly read the recurrent memory of the same layer. State independence here refers to the gate predictor within a layer. Token representations may already contain context from earlier layers, but the predictor does not explicitly inspect the memory that its coefficients will modify.

This separation supports efficient chunkwise computation. A sequence is divided into chunks of consecutive tokens, with parallel matrix operations within each chunk and recurrent state propagation between chunks. The gate coefficients can be computed before the state updates, and their structure enables further reuse of computation. Gated DeltaNet (GDN) uses one decay coefficient per head, whereas Kimi Delta Attention (KDA) uses one per key channel. Both share decay coefficients across value channels, allowing their chunkwise algorithms to reuse transition factors [56, 67]. A scalar gate cannot distinguish value rows or key channels, while a key-channel gate can distinguish columns but still treats all value rows alike.

The same design limits how gates use memory. For a fixed token representation, the gate is unchanged even if the layer stores different information. Although the delta update reads the state to correct stored associations, this read does not enter the gate predictor. Coefficient sharing also forces different state elements to use the same forgetting rate. Adding state-dependent, element-wise gates at every token, however, changes the structure used by existing chunkwise algorithms. Direct state feedback makes each gate depend on preceding state updates, while generic element-wise decay removes the transition sharing used by these kernels. The challenge is therefore to expose memory information to the retention mechanism at a point where it can be used without disrupting the base computation.

These constraints motivate our central question:

Question. How can we introduce state-dependent, element-wise forgetting while preserving parallel computation within each chunk?

We address this question with State-Dependent Gating (SDG), which applies the additional gate only at chunk boundaries (Figure 1). After the base layer processes a chunk, SDG subtracts the incoming state from the updated state and uses this difference to compute a separate retention coefficient for each state element. For these gated recurrences, the difference reflects how the chunk modifies the incoming memory through writing, erasing, and forgetting. The gate then scales the updated state before it enters the next chunk. Because the current chunk’s outputs have already been computed, its algorithm and parallel factorization remain unchanged. Both boundary states are available from the recurrence. The added computation evaluates and applies the boundary gate.

Figure 1. State-Dependent Gating (SDG). The base layer processes a chunk of CC tokens, taking the incoming state S[n]+\mathbf{S}^{+}_{[n]} to the updated state S[n+1]−\mathbf{S}^{-}_{[n+1]} and producing outputs O[n]\mathbf{O}_{[n]}. SDG uses the difference between states to compute an element-wise gate and passes the new state S[n+1]+\mathbf{S}^{+}_{[n+1]} to the next chunk.

The two levels of gating play different roles. Native token gates control the updates within each chunk, while the boundary gate controls the memory passed to subsequent chunks. This separation allows the added gate to use the completed chunk’s effect on memory. It also makes the feedback interval explicit: the gate observes a net state change once per chunk.

We support this design with theoretical analysis and empirical evaluation. Under a signal–noise model, our analysis compares fixed and shared gates with an ideal gate that can vary across boundary observations and state elements. This quantifies the potential reconstruction benefits of adaptive, element-wise decay. We assess the learned method across recurrent and hybrid architectures, including controls that replace state-change feedback with chunk information alone.

Our contributions are summarized as follows:

  • Boundary gating and fused implementation. We introduce element-wise decay from chunk-level state changes, applied at boundaries to preserve the base layer’s within-chunk algorithm. We develop fused kernels for GDN, KDA, Gated DeltaNet-2, and Mamba-3.

  • Theoretical characterization. Under a signal–noise model, we derive an exact decomposition of the excess reconstruction error of fixed and shared boundary gates. We also characterize boundary decay, with the realized gate held fixed, as an element-wise ridge proximal step.

  • Empirical evaluation. At the 1.3B scale with 100B training tokens, SDG improves WikiText perplexity and average real-world retrieval across four recurrent backbones. Retrieval gains extend to three sliding-window hybrids, while reasoning and broader long-context results are mixed. Ablations examine gate inputs, granularity, and projection, and runtime measurements quantify the cost of boundary gating.

Related Work

Recurrent models and forgetting. Linear attention [30] admits recurrent computation. Random-feature variants approximate softmax attention [13, 43]. S4 [23] and Mamba [22] use structured and input-dependent state-space dynamics, respectively. Mamba-3 [33] adds exponential-trapezoidal discretization and complex-valued transitions. RetNet [54], GLA [65], and Mamba-2 [17] support efficient chunkwise computation.

Gated memory designs include outer-product updates in HGRN2 [45], matrix memory in xLSTM’s mLSTM [7], and slot-based reading in Gated Slot Attention [69]. DeltaNet [50, 66] corrects stored associations using the current state. GDN [67] and KDA [56] add per-head scalar and per-key-channel decay, respectively. GDN-2 [25] decouples erase and write gates. Their gate predictors use token representations without directly reading the same layer’s recurrent memory. RWKV-7 [42] generalizes the delta rule with vector-valued gates and in-context learning rates. Forgetting Transformer [34] introduces data-dependent decay into softmax attention.

State feedback and transition expressivity. Comba [27] combines a closed-loop control interpretation, scalar-plus-low-rank transitions, state and output corrections, and efficient chunkwise computation. Its state correction reads memory, while its scalar forget gate is predicted from the token representation. DeltaProduct [52] composes multiple generalized Householder transformations per token to increase state-tracking expressivity. Complex KDA [53] extends the ranges of KDA’s channel-wise gate and delta coefficient to represent rotations while retaining diagonal-plus-rank-one transitions. SDG uses the change in the same layer’s memory across a chunk to predict element-wise boundary decay, retaining the supported backbones’ native token gates and within-chunk update rules. This separates the information used to choose the boundary gate from the structure of the token-level transition. State feedback enters after the chunk computation, so the native recurrence does not require a new gate at each token.

Memory capacity and retrieval. Empirical recall gaps [2] and finite-precision bounds for retrieval tasks [61] motivate better use of recurrent memory. Block-Recurrent Transformers [28] use attention and gated state updates across blocks, while Compressive Transformers [46] store older activations in a separate compressed memory. More recently, Sparse Delta Memory [12] expands GDN’s state through sparse addressing, and HOLA [16] augments a delta-rule state with a bounded exact key–value cache, using update residuals to select stored associations. These approaches increase or supplement memory capacity. SDG changes retention within the native state matrix, keeping its dimensions fixed and adding no retrieval cache. This distinction concerns the memory representation passed between chunks. Cached decoding still requires an additional source-state matrix to compute the boundary difference.

Online learning and memory optimization. Matrix associative memories store outer-product superpositions [31]. Fast-weight programmers learn context-dependent weight changes [51], while decaying fast-weight memories retain recent activity [4]. Delta-rule models, test-time training, and Longhorn connect recurrent updates to online learning [35, 50, 55]. Test-time regression [60] unifies sequence models through regression weights, function classes, and optimization algorithms. Titans [9] combines gradient-based memory updates with momentum and forgetting. MesaNet [59] uses a chunkwise implementation and a conjugate-gradient solver for an in-context regression objective. Preconditioned DeltaNet [58] introduces diagonal curvature corrections to delta-rule models with efficient chunkwise algorithms. These methods refine memory learning, while SDG adds a learned retention step after the base chunk update. Its gate parameters are learned during training, and evaluating the gate at a chunk boundary does not require an iterative optimizer or an additional test-time regression solve.

Retention as regularization. MIRAS [8] separates associative-memory objectives, retention regularization, and online optimization, and derives alternative forgetting mechanisms. Consistent with this connection between forgetting and regularization, SDG boundary decay is an element-wise ridge proximal step when the realized gate is held fixed [19, 20, 41]. Its penalty coefficients depend on chunk-level state changes, and shrinkage is applied at chunk boundaries. Wiener shrinkage [63] informs our oracle reconstruction analysis of adaptive and shared boundary gates. The oracle comparison isolates the effects of gate adaptation and coefficient sharing under a fixed state distribution. It characterizes potential reconstruction gains, without assuming that the learned gate observes the useful memory and interference separately.

Preliminaries

Recurrent state and native gates

For one head, queries and keys qt,kt∈Rdkq_t, k_t \in\mathbb{R}^{d_k} read and write a state St∈Rdv×dkS_t \in\mathbb{R}^{d_v \times d_k}, with value channels as rows and key channels as columns. Values and outputs satisfy vt,ot∈Rdvv_t, o_t \in\mathbb{R}^{d_v}. The unnormalized additive recurrence is [30, 50]

St=St−1+vtktT,ot=Stqt.(1)S_t = S_{t-1} + v_t k_t^{\mathsf{T}}, \qquad o_t = S_t q_t. \tag*{(1)}

The read includes the current write. Sequences start from S0=0S_0 = 0. The state size is independent of sequence length.

In GDN, KDA, and GDN-2, native gates depend on token representations, whereas delta corrections read the recurrent state. GDN uses scalar decay, KDA uses key-channel decay, and GDN-2 separates erase and write gates. For fixed inputs, these layers share a key-space transition across value rows. Their token-dependent factors can therefore be prepared before the state scan. Appendix E.1 gives their token updates. Mamba-3 instead uses a dv×dsd_v \times d_s state without delta correction (Appendix E.8).

Chunkwise computation

Training and prefill scan states across chunks with parallel computation within each chunk. Decoding uses the native token recurrence. For the formulas below, assume L=NCL = NC with NN complete chunks of CC tokens. The incoming state is S[n]=S(n−1)CS_{[n]} = S_{(n-1)C}. Additive and gated delta-rule chunks have a shared transition P[n]∈Rdk×dkP_{[n]} \in\mathbb{R}^{d_k \times d_k} and a zero-memory response Ω[n]∈Rdv×dk\Omega_{[n]} \in\mathbb{R}^{d_v \times d_k}:

S[n+1]=S[n]P[n]+Ω[n],S[n+1]−S[n]=S[n](P[n]−I)+Ω[n].(2)\begin{aligned} S_{[n+1]} &= S_{[n]}P_{[n]} + \Omega_{[n]},\\ S_{[n+1]} - S_{[n]} &= S_{[n]}(P_{[n]} - I) + \Omega_{[n]}. \tag*{(2)} \end{aligned}

For fixed token inputs and native gates, both factors are independent of incoming memory. Thus gated state changes include the incoming-memory response; additive updates have P[n]=IP_{[n]} = I. Appendix E.1 expands the additive computation, and Appendix E.3 derives the gated forms.

State-Dependent Gating

Element-wise decay at chunk boundaries

SDG applies element-wise decay after the native chunk recurrence F\mathcal{F}, retaining its token gates and within-chunk computation. Let S[n]+S^+_{[n]} be the incoming state, S[n+1]−S^-_{[n+1]} the updated state, S[n+1]+S^+_{[n+1]} the gated state. X[n]\mathcal{X}_{[n]} contains projected token inputs and native gates, and ξ[n]\xi_{[n]} denotes auxiliary state. The computation returns the chunk outputs O[n]∈RC×dvO_{[n]} \in\mathbb{R}^{C \times d_v}:

(O[n],S[n+1]−,ξ[n+1])=F(X[n],S[n]+,ξ[n]),Λ[n]=Gθ(S[n]+,S[n+1]−),Λ[n]∈(0,1]dv×dk,S[n+1]+=Λ[n]⊙S[n+1]−.(3)\begin{aligned} (O_{[n]}, S^-_{[n+1]}, \xi_{[n+1]}) &= \mathcal{F}(\mathcal{X}_{[n]}, S^+_{[n]}, \xi_{[n]}),\\ \Lambda_{[n]} &= \mathcal{G}_{\theta}(S^+_{[n]}, S^-_{[n+1]}), \qquad\Lambda_{[n]} \in(0,1]^{d_v \times d_k},\\ S^+_{[n+1]} &= \Lambda_{[n]} \odot S^-_{[n+1]}. \tag*{(3)} \end{aligned}

Decay scales the entire updated state, including the current chunk’s writes. Outputs are formed first, so the gate affects only subsequent chunks. Native auxiliary states advance unchanged.

Token-level state feedback prevents gate precomputation from token representations alone, while general element-wise decay removes the shared value-row transitions of § 3. Boundary placement preserves native within-chunk factorization and confines the additional dependency to the inter-chunk scan (Appendix § 14).

Gate parameterization

The gate uses the state change, which includes both the incoming-memory response and the chunk contribution: ΔS[n]=S[n]+(P[n]−I)+Ω[n]\Delta S_{[n]} = S^{+}_{[n]}(P_{[n]} - I) + \Omega_{[n]} by Eq. (2). Each head learns an unconstrained projection WS∈Rdk×dkW_S \in\mathbb{R}^{d_k \times d_k} across key channels within each value row and an unconstrained element-wise gain G∈Rdv×dkG \in\mathbb{R}^{d_v \times d_k}. These predict the gate without directly projecting the stored state:

ΔS[n]=S[n+1]−−S[n]+,X[n]=ΔS[n]WST,Z[n]=G⊙X[n],(4)\Delta S_{[n]} = S^{-}_{[n+1]} - S^{+}_{[n]}, \quad X_{[n]} = \Delta S_{[n]}W_S^{\mathsf{T}}, \quad Z_{[n]} = G \odot X_{[n]}, \tag*{(4)}
ρ[n]=Z[n]+Z[n]⊙Z[n]+ρ021,(5)\rho_{[n]} = Z_{[n]} + \sqrt{Z_{[n]} \odot Z_{[n]} + \rho_0^2 \mathbf{1}}, \tag*{(5)}
Λ[n]=exp⁡(−ρ[n]),S[n+1]+=Λ[n]⊙S[n+1]−.(6)\Lambda_{[n]} = \exp(-\rho_{[n]}), \qquad S^{+}_{[n+1]} = \Lambda_{[n]} \odot S^{-}_{[n+1]}. \tag*{(6)}

Equation (5) is twice Squareplus [6], applied element-wise (definition and derivatives in Appendix § 15). Positive scores increase decay, while negative scores reduce it. For finite scores, 0<Λ[n]<10 < \Lambda_{[n]} < 1. We initialize G=0G = 0 and fix ρ0=−log⁡λ0\rho_0 = -\log\lambda_0, λ0=0.9999\lambda_0 = 0.9999, so all gates initially equal λ01\lambda_0 \mathbf{1}. Appendix § 9 gives the remaining initialization details.

Algorithm 1 shows the computation order, with the added gate steps in bold. The native recurrence F\mathcal{F} retains each backbone’s state and output computations. The algorithm assumes complete chunks, L=NCL = NC. For arbitrary lengths and cached continuations, Appendix § 12.9 specifies the scan. Incomplete final chunks do not trigger boundary decay.

Algorithm 1 SDG: Boundary-Gated Chunk Scan

Require: Sequence length L=NCL = NC, and N=L/CN = L/C complete chunks, native token quantities X\mathcal{X}, initial state S[1]+S^{+}_{[1]} and auxiliary state ξ[1]\xi_{[1]}, chunk size CC, gate parameters WSW_S, GG, and fixed base rate ρ0\rho_0.

References

  1. [1]Arora, S., Yang, B., Eyuboglu, S., Narayan, A., Hojel, A., Trummer, I., and Ré, C. Language models enable simple systems for generating structured views of heterogeneous data lakes. arXiv preprint arXiv:2304.09433, 2023.
  2. [2]Arora, S., Eyuboglu, S., Timalsina, A., Johnson, I., Poli, M., Zou, J. Y., Rudra, A., and Ré, C. Zoology: Measuring and improving recall in efficient language models. In International conference on learning representations, volume 2024, pp. 15664–15730, 2024.
  3. [3]Arora, S., Timalsina, A., Singhal, A., Spector, B., Eyuboglu, S., Zhao, X., Rao, A., Rudra, A., and Ré, C. Just read twice: closing the recall gap for recurrent language models. arXiv preprint arXiv:2407.05483, 2024.
  4. [4]Ba, J., Hinton, G. E., Mnih, V., Leibo, J. Z., and Ionescu, C. Using fast weights to attend to the recent past. Advances in neural information processing systems, 29, 2016.
  5. [5]Bai, Y., Lv, X., Zhang, J., Lyu, H., Tang, J., Huang, Z., Du, Z., Liu, X., Zeng, A., Hou, L., et al. Longbench: A bilingual, multitask benchmark for long context understanding. In Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers), pp. 3119–3137, 2024.
  6. [6]Barron, J. Squareplus: A softplus-like algebraic rectifier. arXiv preprint arXiv:2112.11687, 2021.arxiv.org/abs/2112.11687
  7. [7]Beck, M., Pöppel, K., Spanring, M., Auer, A., Prudnikova, O., Kopp, M., Klambauer, G., Brandstetter, J., and Hochreiter, S. xlstm: Extended long short-term memory. Advances in Neural Information Processing Systems, 37: 107547–107603, 2024.arxiv.org/abs/2405.04517
  8. [8]Behrouz, A., Razaviyayn, M., Zhong, P., and Mirrokni, V. It’s all connected: A journey through test-time memorization, interpolational bias, retention, and online optimization. In International Conference on Learning Representations, volume 2026, pp. 131306–131333, 2026.
  9. [9]Behrouz, A., Zhong, P., and Mirrokni, V. Titans: Learning to memorize at test time. Advances in Neural Information Processing Systems, 38:113506–113543, 2026.
  10. [10]Bischof, C. and Van Loan, C. The representation for products of householder matrices. SIAM Journal on Scientific and Statistical Computing, 8(1):s2–s13, 1987.
  11. [11]Bisk, Y., Zellers, R., Gao, J., Choi, Y., et al. Piqa: Reasoning about physical commonsense in natural language. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pp. 7432–7439, 2020.
  12. [12]Cabannes, L., Mazaré, P.-E., Zilva̧s, G., Douze, M., Lomeli, M., Auzina, I. A., Carpentier, J., Synnaeve, G., and Jégou, H. Sparse delta memory: Scaling the state of linear rnns through sparsity. arXiv preprint arXiv:2607.07386, 2026.
  13. [13]Choromanski, K., Likhosherstov, V., Dohan, D., Song, X., Gane, A., Sarlos, T., Hawkins, P., Davis, J., Mohiuddin, A., Kaiser, L., et al. Rethinking attention with performers. arXiv preprint arXiv:2009.14794, 2020.arxiv.org/abs/2009.14794
  14. [14]Clark, C., Lee, K., Chang, M.-W., Kwiatkowski, T., Collins, M., and Toutanova, K. BoolQ: Exploring the surprising difficulty of natural yes/no questions. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2924–2936, 2019.
  15. [15]Clark, P., Cowhey, I., Etzioni, O., Khot, T., Sabharwal, A., Schoenick, C., and Tafjord, O. Think you have solved question answering? try the arXiv reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
  16. [16]Cui, W. A hippocampus for linear attention: An exact memory for what the recurrent state forgets. arXiv preprint arXiv:2607.02303, 2026.
  17. [17]Dao, T. and Gu, A. Transformers are ssms: Generalized models and efficient algorithms through structured state space duality. arXiv preprint arXiv:2405.21060, 2024.
  18. [18]Dua, D., Wang, Y., Dasigi, P., Stanovsky, G., Singh, S., and Gardner, M. Drop: A reading comprehension benchmark requiring discrete reasoning over paragraphs. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2368–2378, 2019.
  19. [19]Duchi, J. and Singer, Y. Efficient online and batch learning using forward backward splitting. The Journal of Machine Learning Research, 10:2899–2934, 2009.
  20. [20]Duchi, J. C., Shalev-Shwartz, S., Singer, Y., and Tewari, A. Composite objective mirror descent. In Colt, volume 10, pp. 14–26, 2010.
  21. [21]Gao, L., Tow, J., Abbasi, B., Biderman, S., Black, S., DiPofi, A., Foster, C., Golding, L., Hsu, J., Le Noac’h, A., Li, H., McDonell, K., Muennighoff, N., Ociepa, C., Phang, J., Reynolds, L., Schoelkopf, H., Skowron, A., Sutawika, L., Tang, E., Thite, A., Wang, B., Wang, B., Wang, K., and Zou, A. The language model evaluation harness, 07 2024. URL https://zenodo.org/records/12608602.
  22. [22]Gu, A. and Dao, T. Mamba: Linear-time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752, 2023.arxiv.org/abs/2312.00752
  23. [23]Gu, A., Goel, K., and Ré, C. Efficiently modeling long sequences with structured state spaces. arXiv preprint arXiv:2111.03996, 2021.
  24. [24]Hao, Q., Cai, R., Pang, Y., and Zhang, L. From one tree to a forest: a unified solution for structured web data extraction. In Proceedings of the 34th international ACM SIGIR conference on Research and development in Information Retrieval, pp. 775–784, 2011.DOI
  25. [25]Hatamizadeh, A., Choi, Y., and Kautz, J. Gated deltanet-2: Decoupling erase and write in linear attention. arXiv preprint arXiv:2605.22791, 2026.arxiv.org/abs/2605.22791
  26. [26]Hsieh, C.-P., Sun, S., Kriman, S., Acharya, S., Rekesh, D., Jia, F., Zhang, Y., and Ginsburg, B. Ruler: What’s the real context size of your long-context language models? arXiv preprint arXiv:2404.06654, 2024.arxiv.org/abs/2404.06654
  27. [27]Hu, J., Pan, Y., Du, J., Lan, D., Tang, T., Wen, Q., Liang, Y., and Sun, W. Improving bilinear rnn with closed-loop control. Advances in Neural Information Processing Systems, 38:107480–107506, 2026.DOI
  28. [28]Hutchins, D., Schlag, I., Wu, Y., Dyer, E., and Neyshabur, B. Block-recurrent transformers. Advances in neural information processing systems, 35:33248–33261, 2022.arxiv.org/abs/2203.07852
  29. [29]Joshi, M., Choi, E., Weld, D. S., and Zettlemoyer, L. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1601–1611, 2017.arxiv.org/abs/1705.03551
  30. [30]Katharopoulos, A., Vyas, A., Pappas, N., and Fleuret, F. Transformers are rnns: Fast autoregressive transformers with linear attention. In International conference on machine learning, pp. 5156–5165. PMLR, 2020.arxiv.org/abs/2006.16236
  31. [31]Kohonen, T. Correlation matrix memories. IEEE transactions on computers, 100(4):353–359, 1972.
  32. [32]Kwiatkowski, T., Palomaki, J., Redfield, O., Collins, M., Parikh, A., Alberti, C., Epstein, D., Polosukhin, I., Devlin, J., Lee, K., et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453–466, 2019.DOI
  33. [33]Lahoti, A. S., Li, K., Chen, B., Wang, C., Bick, A., Kolter, Z., Dao, T., and Gu, A. Mamba-3: Improved sequence modeling using state space principles. In International Conference on Learning Representations, volume 2026, pp. 86173–86202, 2026.arxiv.org/abs/2603.15569
  34. [34]Lin, Z., Nikishin, E., He, X., and Courville, A. Forgetting transformer: Softmax attention with a forget gate. In International Conference on Learning Representations, volume 2025, pp. 69704–69738, 2025.arxiv.org/abs/2503.02130
  35. [35]Liu, B., Wang, R., Wu, L., Feng, Y., Stone, P., and Liu, Q. Longhorn: State space models are amortized online learners. In International Conference on Learning Representations, volume 2025, pp. 95419–95434, 2025.arxiv.org/abs/2407.14207
  36. [36]Lockard, C., Shilakar, P., and Dong, X. L. Openceres: When open information extraction meets the semi-structured web. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 3047–3056, 2019.DOI
  37. [37]Lozhkov, A., Ben Allal, L., von Werra, L., and Wolf, T. Fineweb-edu: the finest collection of educational content, 2024. URL https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu.DOI
  38. [38]Merity, S., Xiong, C., Bradbury, J., and Socher, R. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016.arxiv.org/abs/1609.07843
  39. [39]Mihaylov, T., Clark, P., Khot, T., and Sabharwal, A. Can a suit of armor conduct electricity? a new dataset for open book question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing, pp. 2381–2391, 2018.arxiv.org/abs/1809.02789
  40. [40]Paperno, D., Kruszewski, G., Lazaridou, A., Pham, N.-Q., Bernardi, R., Pezzelle, S., Baroni, M., Boleda, G., and Fernández, R. The lambada dataset: Word prediction requiring a broad discourse context. In Proceedings of the 54th annual meeting of the association for computational linguistics (volume 1: Long papers), pp. 1525–1534, 2016.arxiv.org/abs/1606.06031
  41. [41]Parikh, N. and Boyd, S. Proximal algorithms. Foundations and Trends in optimization, 1(3):127–239, 2014.DOI
  42. [42]Peng, B., Zhang, R., Goldstein, D., Alcaide, E., Du, X., Hou, H., Lin, J., Liu, J., Lu, J., Merrill, W., et al. "Rwkv-7" goose" with expressive dynamic state evolution. arXiv preprint arXiv:2503.14456, 2025.
  43. [43]Peng, H., Pappas, N., Yogatama, D., Schwartz, R., Smith, N. A., and Kong, L. Random feature attention. arXiv preprint arXiv:2103.02143, 2021.arxiv.org/abs/2103.02143
  44. [44]Qin, Z., Sun, W., Li, D., Shen, X., Sun, W., and Zhong, Y. Lightning attention-2: A free lunch for handling unlimited sequence lengths in large language models. arXiv preprint arXiv:2401.04658, 2024.
  45. [45]Qin, Z., Yang, S., Sun, W., Shen, X., Li, D., Sun, W., and Zhong, Y. Hgrn2: Gated linear rnns with state expansion. arXiv preprint arXiv:2404.07904, 2024.
  46. [46]Rae, J. W., Potapenko, A., Jayakumar, S. M., and Lillicrap, T. P. Compressive transformers for long-range sequence modelling. arXiv preprint arXiv:1911.05507, 2019.arxiv.org/abs/1911.05507
  47. [47]Rajpurkar, P., Jia, R., and Liang, P. Know what you don’t know: Unanswerable questions for squad. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 784–789, 2018.
  48. [48]Sakaguchi, K., Bras, R. L., Bhagavatula, C., and Choi, Y. Winogrande: An adversarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106, 2021.
  49. [49]Sap, M., Rashkin, H., Chen, D., Le Bras, R., and Choi, Y. Social iqa: Commonsense reasoning about social interactions. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pp. 4463–4473, 2019.arxiv.org/abs/1904.09728
  50. [50]Schlag, I., Irie, K., and Schmidhuber, J. Linear transformers are secretly fast weight programmers. In International conference on machine learning, pp. 9355–9366. PMLR, 2021.
  51. [51]Schmidhuber, J. Learning to control fast-weight memories: An alternative to dynamic recurrent networks. Neural Computation, 4(1):131–139, 1992.
  52. [52]Siems, J., Carstensen, T., Zela, A., Hutter, F., Pontil, M., and Grazzi, R. Deltaproduct: Improving state-tracking in linear rnns via householder products. Advances in Neural Information Processing Systems, 38:153738–153782, 2026.
  53. [53]Siems, J., Grazzi, R., Pöppel, K., Singh, J., Zela, A., Carstensen, T., Jitsev, J., Hutter, F., Cevher, V., Orvieto, A., et al. Complex kda: Understanding and enhancing the expressivity of kmi delta attention. arXiv preprint arXiv:2609.24797, 2026.
  54. [54]Sun, Y., Dong, L., Huang, S., Ma, S., Xia, Y., Xue, J., Wang, J., and Wei, F. Retentive network: A successor to transformer for large language models. arXiv preprint arXiv:2307.08621, 2023.
  55. [55]Sun, Y., Li, X., Dalal, K., Xu, J., Vikram, A., Zhang, G., Dubois, Y., Chen, X., Wang, X., Koyejo, S., et al. Learning to learn at test time: Rnns with expressive hidden states. arXiv preprint arXiv:2407.04760, 2024.
  56. [56]Team, K., Zhang, Y., Lin, Z., Yao, X., Hu, J., Meng, F., Liu, C., Men, X., Yang, S., Li, Z., et al. Kimi linear: An expressive, efficient attention architecture. arXiv preprint arXiv:2510.26692, 2025.
  57. [57]Tillet, P., Kung, H.-T., and Cox, D. Triton: an intermediate language and compiler for tiled neural network computations. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, pp. 10–19, 2019.
  58. [58]Tumma, N., Loo, N., and Rus, D. Preconditioned deltanet: Curvature-aware sequence modeling for linear recurrences. arXiv preprint arXiv:2604.21100, 2026.
  59. [59]von Oswald, J., Scherrer, N., Kobayashi, S., Versari, L., Yang, S., Schlegel, M., Maile, K., Schimpf, Y., Sieberling, O., Meulemans, A., et al. Sequence modeling by locally optimal test-time training. In International Conference on Learning Representations, volume 2026, pp. 26397–26447, 2026.
  60. [60]Wang, K. A., Shi, J., and Fox, E. B. Test-time regression: a unifying framework for designing sequence models with associative memory. arXiv preprint arXiv:2501.12352, 2025. URL https://arxiv.org/abs/2501.12352.
  61. [61]Wen, K., Dang, X., and Lyu, K. Rnns are not transformers (yet): The key bottleneck on in-context retrieval. In International Conference on Learning Representations, volume 2025, pp. 48813–48856, 2025.
  62. [62]Widrow, B. and Hoff, Jr., M. E. Adaptive switching circuits. In IRE WESCON Convention Record, volume 4, pp. 96–104, 1960.DOI
  63. [63]Wiener, N. Extrapolation, interpolation, and smoothing of stationary time series: with engineering applications. The MIT press, 1949.
  64. [64]Yang, S. and Zhang, Y. Fla: A triton-based library for hardware-efficient implementations of linear attention mechanism, January 2024. URL https://github.com/fla-org/flash-linear-attention.
  65. [65]Yang, S., Wang, B., Shen, Y., Panda, R., and Kim, Y. Gated linear attention transformers with hardware-efficient training. arXiv preprint arXiv:2312.06635, 2023.arxiv.org/abs/2312.06635
  66. [66]Yang, S., Wang, B., Zhang, Y., Shen, Y., and Kim, Y. Parallelizing linear transformers with the delta rule over sequence length. Advances in neural information processing systems, 37:115491–115522, 2024.arxiv.org/abs/2406.06484
  67. [67]Yang, S., Kautz, J., and Hatamizadeh, A. Gated delta networks: Improving mamba2 with delta rule. In International Conference on Learning Representations, volume 2025, pp. 29687–29707, 2025.arxiv.org/abs/2412.06464
  68. [68]Zellers, R., Holtzman, A., Bisk, Y., Farhadi, A., and Choi, Y. Hellaswag: Can a machine really finish your sentence? In Proceedings of the 57th annual meeting of the association for computational linguistics, pp. 4791–4800, 2019.arxiv.org/abs/1905.07830
  69. [69]Zhang, Y., Yang, S., Zhu, R., Zhang, Y., Cui, L., Wang, Y., Wang, B., Shi, F., Wang, B., Bi, W., et al. Gated slot attention for efficient linear-time sequence modeling. arXiv preprint arXiv:2409.07146, 2024.arxiv.org/abs/2409.07146

Paper details

vlnc:W_yezxkm5e
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents