DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products

J. Siems, Timur Carstensen, Arber Zela, Frank Hutter, M. Pontil +1 more
2/1/2025
94 citations

No official code found. Best implementation: fla-org/flash-linear-attention (6,069 stars, Python, MIT, last commit 2026-04-29).

Abstract

Linear Recurrent Neural Networks (linear RNNs) have emerged as competitive alternatives to Transformers for sequence modeling, offering efficient training and linear-time inference. However, existing architectures face a fundamental trade-off between expressivity and efficiency, dictated by the structure of their state-transition matrices.

Show full abstract

Diagonal matrices, used in models such as Mamba, GLA, or mLSTM, yield fast runtime but have limited expressivity. To address this, recent architectures such as DeltaNet and RWKV-7 adopted a diagonal plus rank--1 structure, which allows simultaneous token and channel mixing, improving associative recall and, as recently shown, state-tracking when allowing state-transition matrices to have negative eigenvalues. Building on the interpretation of DeltaNet's recurrence as performing one step of online gradient descent per token on an associative recall loss, we introduce DeltaProduct, which instead takes multiple ($n_h$) steps per token. This naturally leads to diagonal plus rank--$n_h$ state-transition matrices, formed as products of $n_h$ generalized Householder transformations, providing a tunable mechanism to balance expressivity and efficiency. We provide a detailed theoretical characterization of the state-tracking capability of DeltaProduct in finite precision, showing how it improves by increasing $n_h$. Our extensive experiments demonstrate that DeltaProduct outperforms DeltaNet in both state-tracking and language modeling, while also showing significantly improved length extrapolation capabilities.

View on arXivView PDF

Code Implementations(1)

MIT

🚀 Efficient implementations for emerging model architectures

6,069824Python, ShellDec 20, 20237 months agoMIT
large-language-modelsmachine-learning-systemsnatural-language-processingsequence-modeling

Similar Papers

Cite this paper

@article{siems2025deltaproduct,
  title  = {DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products},
  author = {J. Siems and Timur Carstensen and Arber Zela and Frank Hutter and M. Pontil and Riccardo Grazzi},
  year   = {2025},
  eprint = {2502.10297},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-5141},
  url    = {https://doi.org/10.52202/085713-5141},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.10297.svg)](https://codeofpaper.com/paper/2502.10297)

Discussion