Papers
Topics
Authors
Recent
Search
2000 character limit reached

DeltaProduct: Expressive & Efficient Linear RNN

Updated 27 February 2026
  • DeltaProduct is a parametric family of linear recurrent neural networks that efficiently combines expressivity and tunable rank control using generalized Householder transformations.
  • It constructs state transitions via products of rank-1 Householder-style matrices, enabling robust encoding of complex group operations and long-context extrapolation.
  • Empirical results demonstrate that DeltaProduct outperforms standard DeltaNet and low-rank models on group word, Chomsky hierarchy, and language modeling tasks.

DeltaProduct is a parametric family of linear recurrent neural network (RNN) architectures designed to bridge the trade-off between state-transition expressivity and computational efficiency in sequence modeling. By generalizing the DeltaNet architecture, DeltaProduct leverages products of generalized Householder transformations to enable state transitions with tunable rank while preserving stable, efficient inference. This mechanism equips linear RNNs with enhanced capacity for state-tracking, associative recall, and long-context extrapolation, outperforming other diagonal or low-rank recurrent models on tasks requiring the encoding of complex group transformations and permutations (Siems et al., 14 Feb 2025).

1. Architectural Foundations

DeltaProduct builds upon linear RNN recurrences. For hidden state htRnh_t \in \mathbb{R}^n and input xtRdx_t \in \mathbb{R}^d at time tt, a generic linear RNN layer computes

ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t

where WtW_t and UtU_t are the time-dependent state and input matrices, respectively. DeltaNet recurrences can be reformulated as a single online gradient descent (OGD) step per token on a quadratic associative recall loss, with update

ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)

where ktk_t is a unit-norm "key", vtv_t is a "value", and βt\beta_t is the step size. This formulation realizes a diagonal plus rank-1 state transition via a Householder-type operation.

DeltaProduct generalizes this process by performing xtRdx_t \in \mathbb{R}^d0 OGD steps per token, each with independent xtRdx_t \in \mathbb{R}^d1 for xtRdx_t \in \mathbb{R}^d2. The update is

xtRdx_t \in \mathbb{R}^d3

yielding the closed-form

xtRdx_t \in \mathbb{R}^d4

The state matrix xtRdx_t \in \mathbb{R}^d5 thus becomes a product of xtRdx_t \in \mathbb{R}^d6 rank-1 Householder-style matrices, offering a diagonal plus rank-xtRdx_t \in \mathbb{R}^d7 structure.

2. Generalized Householder Framework

Classical Householder transformations reflect across hyperplanes orthogonal to a given vector. DeltaProduct employs a more general family of rank-1 factors: xtRdx_t \in \mathbb{R}^d8 with xtRdx_t \in \mathbb{R}^d9 and tt0 (or tt1 to allow negative eigenvalues), resulting in spectral norms tt2 to ensure stability.

The product tt3 has rank at most tt4, and can be interpreted as a sequence of generalized reflections or projections, enabling flexible channel and token mixing. An equivalent expression involves a diagonal tt5 (typically tt6) and a product of classical Householder matrices tt7: tt8

3. Theoretical Expressivity and State-Tracking

The core theoretical advance of DeltaProduct is its capacity to encode complex group actions within a single RNN layer. A key result is that a product of tt9 generalized Householder transformations can, in finite precision, solve any group-word problem whose group acts by permutations on at most ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t0 symbols. Thus, DeltaProductht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t1 can track any permutation group with maximal degree ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t2:

  • ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t3 (DeltaNet): solves dihedral, parity, or ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t4-word problems but fails on ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t5 (symmetric group on 3 elements) or higher.
  • ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t6 suffices for all dihedral and ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t7, ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t8, and ht=Wtht1+Utxth_t = W_t h_{t-1} + U_t x_t9 problems in one layer.
  • WtW_t0 extends tracking to WtW_t1.

This expressivity requires distinct WtW_t2 directions; repeating the same direction collapses the product rank. The use of WtW_t3 ensures robust propagation across long sequences, enhancing length extrapolation. Increasing WtW_t4 systematically enlarges the class of encodable permutation groups (Siems et al., 14 Feb 2025).

4. Computational Efficiency and Parameterization

DeltaProduct incurs linear per-step compute cost in WtW_t5, as each update requires WtW_t6 inner products. Parameterization scales correspondingly: a typical projection of WtW_t7 produces WtW_t8, WtW_t9, UtU_t0 via matrices of size UtU_t1 for each key/value and UtU_t2 for step-size, giving a total layer parameter count of UtU_t3.

Comparative expressivity and efficiency:

Model Class State Matrix Structure Expressivity Scope
Diagonal RNNs Diagonal No cross-channel mixing; solves only regular languages.
DeltaNet (UtU_t4) Diagonal + rank-1 Group words with UtU_t52 points moved (UtU_t6, parity, not UtU_t7 or higher).
DeltaProduct (UtU_t8) Diagonal + rank-UtU_t9 Larger groups (e.g., ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)0, ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)1 depending on ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)2); higher context-free and group complexity.

Runtime per token scales as ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)3; thus, selection of ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)4 enables trade-off between speed and capacity.

5. Empirical Performance

Experiments systematically validate DeltaProduct against DeltaNet and standard baselines across group-word, Chomsky-hierarchy, and language modeling tasks (Siems et al., 14 Feb 2025).

Group Word Problems

  • On ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)5, ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)6 fails to extrapolate, but ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)7 achieves ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)8100% accuracy, matching the theoretical degree.
  • ht=(Iβtktkt)ht1+βtkt(ktvt)h_t = (I - \beta_t k_t k_t^\top) h_{t-1} + \beta_t k_t (k_t^\top v_t)9 and ktk_t0 are tractable with ktk_t1 (one layer), whereas DeltaNet with five layers still fails.
  • ktk_t2 requires ktk_t3 for successful extrapolation to length-512, confirming the theoretical linkage between ktk_t4 and permutation degree.

Chomsky-Hierarchy Tasks

Validation on Parity and Modular Arithmetic (with/without brackets) reveals the following:

Model Parity Mod Arith (no []) Mod Arith ([]) Avg
sLSTM 1.000 0.787 0.173 0.653
DeltaNetktk_t5 0.982 0.915 0.253 0.717
DeltaProductktk_t6 0.896 0.887 0.266 0.683
DeltaProductktk_t7 0.932 0.736 0.394 0.687
DeltaProductktk_t8 0.982 0.893 0.460 0.778

DeltaProductktk_t9 outperforms DeltaNet by approximately 8.5% and sLSTM by ~19% on average across these tasks.

Language Modeling

Evaluated on FineWeb (35B tokens), DeltaProduct demonstrates superior perplexity and robustness to context length:

Model Params (M) WikiPPL LAMBADA PPL
DeltaNetvtv_t0 340 26.92 43.07
DeltaProductvtv_t1 392 26.43 30.66
DeltaProductvtv_t2 443 25.94 29.91

In addition, DeltaProduct maintains lower perplexity for extrapolation up to 16k context tokens, where DeltaNet's perplexity degrades steeply. Training stability is preserved or improved as vtv_t3 increases.

DeltaProduct parameterizes a spectrum from fast but limited (diagonal RNNs) to highly expressive (dense RNNs) recurrence via vtv_t4. With vtv_t5, DeltaProduct suffices for single-layer solutions to dihedral and vtv_t6 word problems and significantly improves extrapolation and LM performance relative to DeltaNet at only vtv_t7 the per-step cost.

Recommended settings include:

  • Moderate-complexity state-tracking (parity, small group problems, context-free languages): vtv_t8.
  • Long-context language modeling demanding minimal perplexity degradation: vtv_t9.

DeltaProduct is well-suited for scenarios requiring both finite-precision tracking of nontrivial permutations or group operations in a single layer and robust extrapolation to contexts longer than those seen in training (Siems et al., 14 Feb 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to DeltaProduct.