Abstract
Working abstract
Modeling long sequences with Transformers incurs a quadratic-time attention cost and a linearly growing key–value cache, which together bottleneck both training and inference. This has spurred a wave of architectures that abandon or augment the canonical attention-plus-autoregression recipe. This survey organizes nineteen representative architectures into three evolutionary phases: (1) the Linear-Sequence Revolution, which replaces the KV-cache with a fixed-size recurrent state (RNNs, 1-bit and MatMul-free models, linear-attention variants, hybrids, and pure state-space models); (2) Latent Reasoning Loops — active in-context execution that spends adaptive test-time compute inside a latent state (test-time-training layers, multi-token prediction, hierarchical and tiny recursive reasoning models, recursive language models, context language models); and (3) Beyond Causal Autoregression, the paradigm shifts that drop left-to-right decoding (energy-based models, diffusion language models, variational autoencoders, normalizing flows, flow matching, joint-embedding predictive architectures, world models, and typed “System One” decision models). A unified notation expresses every method as a transformation over a hidden state, a set of latent variables, and/or an energy function, with a master comparison across training parallelism, inference complexity, state size, recall ability, and generation paradigm (an early version is live as the Atlas's master comparison table).
Core notation
The unifying idea
Nearly every Phase-1 model is a special case of a single gated matrix-state recurrence:
Linear attention drops the gate; GLA makes it data-dependent and diagonal; Mamba-2 restricts it to scalar-times-identity (the State-Space Duality); DeltaNet replaces the additive write with a delta-rule correction, and Gated DeltaNet puts Mamba-2's gate back on top. And the delta rule itself is provably a step of test-time gradient descent — which is exactly where Phase 2 begins. The survey's contribution is making that cross-walk explicit, in one notation, with the receipts — the table below is its first draft.
The gate \(G_t\) is the whole argument in one control: push it toward the identity and the state is preserved, push it toward zero and the state is overwritten. Every Phase-1 architecture in the survey is a different answer to who decides that value.
Notation cross-walk
Seven models, one recurrence
The claim above, with the receipts. Each row writes one model as a gate \(G_t\) applied to the old state plus a write term — the two slots of the unified recurrence. Select a row to light up the terms it fills in the equation above and see the model's own update written in that notation.
| Model · source | Decay / gate \(G_t\) | Write rule (added to \(G_t \odot S_{t-1}\)) | State (per head) |
|---|---|---|---|
| Katharopoulos et al., 2020 · arXiv:2006.16236 | \(\mathbf{1}\) — no decay | \(\phi(k_t)^{\top} v_t\), with \(\phi = \mathrm{elu}+1\) and a running normaliser \(z_t = z_{t-1} + \phi(k_t)\) | \(d_k \times d_v\) |
| Yang et al., 2023 · arXiv:2312.06635 | \(\alpha_t^{\top}\mathbf{1}\), with \(\alpha_t = \sigma(x_t W_\alpha^{1} W_\alpha^{2})^{1/\tau} \in (0,1)^{d_k}\) — data-dependent, one rate per key channel | \(k_t^{\top} v_t\) | \(d_k \times d_v\) |
| Dao & Gu, 2024 · arXiv:2405.21060 | \(a_t = \exp(\Delta_t A)\) — one scalar per head (scalar × identity) | \(B_t^{\top}(\Delta_t x_t)\): \(B \leftrightarrow k\), \(x \leftrightarrow v\), and \(C \leftrightarrow q\) on readout | \(N \times P\) (state size × head dim) |
| Schlag et al., 2021 · arXiv:2102.11174; Yang et al., 2024 · arXiv:2406.06484 | \(\mathbf{1}\) — no decay | \(\beta_t\, k_t^{\top}(v_t - k_t S_{t-1})\), \(\beta_t \in (0,1)\): write the error, not the value | \(d_k \times d_v\) |
| Yang, Kautz & Hatamizadeh, 2024 · arXiv:2412.06464 | \(\alpha_t \in (0,1)\) — one scalar per head, Mamba-2's parameterisation | \(\beta_t\, k_t^{\top}(v_t - \alpha_t k_t S_{t-1})\) | \(d_k \times d_v\) |
| Peng et al., 2025 · arXiv:2503.14456 | \(w_t^{\top}\mathbf{1}\), with \(w_t = \exp(-e^{-0.5}\,\sigma(d_t))\) — vector-valued, per channel | \(\tilde{k}_t^{\top} v_t - (a_t \odot \hat{\kappa}_t)^{\top}(\hat{\kappa}_t S_{t-1})\): generalised delta rule with separate removal key \(\hat{\kappa}_t\), replacement key \(\tilde{k}_t\) and vector in-context learning rate \(a_t\) | \(64 \times 64\) |
| Sun et al., 2024 · arXiv:2407.04620 | \(\mathbf{1}\) — the state is the inner model's weights \(W_t\) | \(-\eta\,\nabla_W \ell(W_{t-1}; x_t)\), \(\ell = \lVert f(\theta_K x_t; W) - \theta_V x_t \rVert^2\). For linear \(f\), one example per step, without the LayerNorm and residual: \(2\eta\, k_t^{\top}(v_t - k_t S_{t-1})\) — the delta rule | \(d \times d\) (TTT-Linear); MLP weights (TTT-MLP) |
One convention throughout: row vectors, \(S_t \in \mathbb{R}^{d_k \times d_v}\), \(o_t = q_t S_t\) — GLA's. The DeltaNet, Gated DeltaNet, RWKV-7 and TTT papers write the transposed state (\(S_t k_t\), \(v_t k_t^{\top}\)); the rows above are transposed to match, and each was checked against the paper's own update equation. Short convolutions, output gates and q/k normalisation are left out — they change the parameterisation, not the recurrence.