betaFeedback

WorksComputer Science

Yggdrasil: Tree-Routed Recurrent Experts for State Tracking and Fast CPU Inference

Abstract

Parallel-trainable recurrences such as Mamba, linear attention, and DeltaNet offer constant-cost streaming inference, but they suffer from two limitations: 1) they struggle to track discrete state, and 2) they read every parameter at every step, tying model capacity directly to CPU latency. We introduce Yggdrasil, a recurrent architecture that decouples capacity from per-step compute by looking up each layer's transition in a large, tree-routed bank of recurrent experts. Each router addresses its bank using the current token and the state of the layer below. We prove that this cross-layer context is necessary—a single token-indexed layer of non-expanding transitions with finitely many reachable states cannot perform conditional resets—while avoiding feedback from the layer's own past preserves parallel-scan training. Because each step traverses one tree path and reads a single expert per layer, active weights stay within a few hundred kilobytes in CPU L2 cache while the full bank resides in RAM. Among the parallel-trainable models we evaluate, Yggdrasil is the only one to solve all five state-tracking tasks. At matched active parameter counts, it achieves the lowest test bits on enwik8 (1.540 bpb) and the human genome hg38 (1.567 bpb), while stepping 3.0×3.0\times and 3.3×3.3\times faster on a single CPU core (6.7 μs6.7\,μ\mathrm{s} and 5.8 μs5.8\,μ\mathrm{s}) than the fastest streaming baseline, and delivering the highest GPU throughput of all models at batch 1024. On the Genomic Benchmarks, it is the strongest causal model at matched active parameters (86.0% mean accuracy).

Introduction

Many sequence tasks must score symbols one at a time as they arrive, including base-by-base DNA modelling, byte-level compression, and on-device inference [32, 75, 24] (Gemma Team 2025). Because these workloads cannot batch over time, their cost is governed by a single step at batch size one, ideally running at constant cost per position on one CPU core [70]. Base-level genomic models like HyenaDNA model DNA causally without a tokeniser [49], but recompute their context window at every base unless distilled into a recurrence [46]. Parallel-trainable recurrences such as Mamba (Gu & Dao, 2024; Dao & Gu, 2024), linear attention [36, 58], and the DeltaNet family [73, 74, 62] do provide constant-cost streaming steps. Yet they hit two fundamental walls. First, they struggle to track discrete state, and none of the parallel-trainable baselines solves all five state-tracking tasks we evaluate (S5S_5, A5A_5, parity, cycle navigation, and modular arithmetic with operator precedence). The strongest, DeltaProduct-4, solves four (Table 1), whereas LSTMs and GRUs solve all five at the cost of sequential training [31, 12, 16]. Second, they are dense, reading every parameter at every step so that any added capacity directly increases per-token latency.

ModelS5S_5A5A_5ParityCycleMod. arith.
Sequential
GRU0.9791.0001.0001.0001.000
LSTM0.9950.9991.0001.0001.000
Parallel
Transformer0.0100.0310.5060.2380.225
Mamba-20.0100.0170.5690.6500.395
Gated DeltaNet0.0180.9990.9990.6150.826
DeltaProduct-20.6880.9991.0000.7131.000
DeltaProduct-40.9351.0001.0000.6841.000
PD-SSM0.0090.0200.8070.9861.000
Yggdrasil1.0000.9801.0001.0000.981

Table 1. State tracking. Final-answer accuracy on test sequences of lengths 40 to 256 after 100k training steps on lengths 3 to 40. Chance is 0.008 on S5S_5, 0.017 on A5A_5, 0.5 on parity and 0.2 on cycle navigation and modular arithmetic. Best of 3 seeds by validation. The search selected the size of every model per task (Section F). DeltaProduct uses 2 or 4 Householder factors per step and negative eigenvalues. Sequential models train step by step and parallel models over the whole sequence at once. Bold marks a solved task (raw accuracy ≥0.90\ge0.90, Delétang et al. [16]).

We introduce Yggdrasil, a recurrent architecture that breaks both walls with a single mechanism, looking up each layer’s transition in a large bank of recurrent experts rather than computing it (Figure 1). Each routed layer stores 2D2^D experts, and a depth-DD binary tree selects one in DD comparisons to supply the transition, input, and readout for that step. The tree computes its address from the current token and the state of the layer below. Because this address never reads the layer’s own past, each layer remains an affine recurrence and trains as an associative parallel scan [8, 45].

Figure 1. Yggdrasil looks up each layer’s transition instead of computing it. Orange marks the token, green an expert lookup, blue the state and grey the parameters shared within a layer, and layer superscripts are dropped inside each layer. (a) One inference step. The token layer applies the transition stored for xtx_t. In each routed layer a depth-DD tree router reads ft=[e(xt);ν(ht(l−1))]f_t = [e(x_t); \nu(h_t^{(l-1)})] and selects expert rtr_t, which supplies the transition ArtA_{r_t}, the token input Trt[xt]T_{r_t}[x_t], the layer-input map UrtlowU_{r_t}^{\mathrm{low}} and the readout PrtP_{r_t}. The readouts of all layers are summed before the softmax. (b) The stack unrolled over time, with token inputs and readouts omitted. Each router reads the layer below at the same step and never its own layer’s past, so the selected transitions change from step to step while each layer still trains as a parallel scan.

This design directly satisfies the three requirements for exact state tracking. First, transitions must be non-diagonal, since diagonal recurrences cannot track non-solvable groups like S5S_5 and A5A_5 [47] (Shakhnarovich et al. 2026); Theorem 14 establishes the finite-state form of this limit for stacks of diagonal layers. Second, transitions need negative or complex eigenvalues, as eigenvalues restricted to [0,1][0, 1] cannot track parity [26]. Third, conditional resets require transition selection that depends on more than the current token, and we prove that a single token-indexed layer of non-expanding transitions with finitely many reachable states cannot even retain the first symbol of its input (Theorem 1). Yggdrasil combines block rotations with signed decays—giving non-diagonal transitions with eigenvalues outside [0,1][0,1]—while cross-layer routing supplies the context needed for conditional resets. Every ingredient is necessary in trained models. Removing the rotations sends S5S_5 and A5A_5 to chance, and using a shared transition or token-only routing sends modular arithmetic to chance (Section H).

The same lookup makes Yggdrasil hardware-aware. Like Gu & Dao (2024), it is built around the memory hierarchy, but for CPU inference rather than GPU training (§ 3.3). Because each step reads only one expert per layer, its active weights fit inside the cache of a single CPU core while the full bank resides in RAM. Mixtures of experts and memory layers also decouple storage from compute ([61, 20, 41, 7, 10]), but only in layers that look up outputs. Yggdrasil moves sparse lookup into the recurrence itself; replacing its recurrent experts with output-only experts loses 0.244 bits per byte at equal storage (Section H). Prior work on input-switched affine networks, second-order RNNs, and PD-SSM also selects transitions per step ([21, 25, 50, 65]). Yggdrasil is the first to look up recurrent transitions in a large tree-routed bank using lower-layer context, preserving both parallel-scan training and a cache-sized CPU step.

Contributions.

  1. Tree-routed recurrent experts. Yggdrasil looks up each routed layer’s transition in a bank of 2D2^D experts, requiring O(D)O(D) routing work and cache-sized weight reads per step while preserving parallel-scan training (§ 3).

  1. State-tracking and sparse-access theory. We prove that a single token-indexed layer of non-expanding transitions with finitely many reachable states cannot perform conditional resets. We give exact constructions tracking S5S_5 and A5A_5 in 8-bit integer arithmetic and every finite automaton, plus a counting separation between sparse and dense models in weights read per step (§ 4).

  1. Accuracy. Yggdrasil is the only parallel-trainable model in Table 1 to solve all five state-tracking tasks. It achieves the lowest test bits on hg38 and enwik8 at every matched active size (Table 7 and Table 8), with its smallest models outperforming every dense baseline at roughly 10× the active parameter count. At 470k active parameters (307.3M stored), it averages 86.0% across the eight Genomic Benchmarks tasks (five splits each) under the Caduceus protocol ([27, 57]), making it the best causal model at matched active parameters.

ModelTotalActiveFile (MB)CPU μs\mu\mathrm{s} / token ↓\downarrowGPU μs\mu\mathrm{s} / token ↓\downarrowTest bits / byte ↓\downarrow
Small, 35k active parameters
SequentialGRU46.5k35.3k0.210.040.02.371
SequentialLSTM47.0k36.8k0.211.344.42.353
ParallelTransformer43.2k35.0k0.164.0193.62.298
ParallelMamba-242.6k32.4k1.022.929.32.436
ParallelMamba-2 + PKM16.3M34.1k–––1.898
ParallelGated DeltaNet46.9k36.7k––101.42.338
ParallelDeltaProduct-240.7k34.6k––147.32.222
ParallelDeltaProduct-445.1k37.0k––121.22.287
ParallelYggdrasil16.3M35.5k154.31.457.61.667
Medium, 105k active parameters
SequentialGRU128.9k107.5k0.512.860.92.077
SequentialLSTM121.2k102.9k0.513.952.82.091
ParallelTransformer117.4k102.1k0.591.2236.32.036
ParallelMamba-2120.0k103.7k1.028.345.72.039
ParallelMamba-2 + PKM54.3M101.2k–––1.714
ParallelGated DeltaNet116.8k98.4k––132.42.111
ParallelDeltaProduct-2116.0k103.8k––130.51.964
ParallelDeltaProduct-4121.1k106.9k––89.52.038
ParallelYggdrasil54.2M101.8k317.12.576.21.559
Large, 330k active parameters
SequentialGRU357.2k318.4k1.420.287.11.885
SequentialLSTM368.0k333.3k1.523.7125.31.869
ParallelTransformer373.3k344.7k0.5130.0224.41.796
ParallelMamba-2335.8k303.2k1.243.043.81.896
ParallelMamba-2 + PKM195.7M330.7k–––1.673
ParallelGated DeltaNet348.9k324.4k––125.51.727
ParallelDeltaProduct-2373.6k351.2k––179.91.724
ParallelDeltaProduct-4331.4k311.0k––162.01.740
ParallelYggdrasil195.4M329.5k681.36.780.11.540

Table 7. enwik8 at the three sizes. Total stored parameters, active parameters read per token, file size (MB) of the weights the timed runtime loads, microseconds per token on one CPU core and on a GPU at batch 1, and float test bits per byte on the full test split in windows of 256 bytes, best of 3 seeds by validation. Timing as in § 5 and K, shapes in Table 6, and – marks untimed entries. Bold marks the best per column within each size. [32]

ModelTotalActiveFile (MB)CPU µs / base ↓GPU µs / base ↓Test bits / base ↓
Small, 27k active parametersSequential GRU28.7k28.5k0.19.446.11.728
LSTM26.6k26.5k0.111.148.21.726
Parallel Transformer27.1k27.0k0.2111.7197.31.753
Mamba-229.4k29.1k0.921.428.21.822
Mamba-2 + PKM15.6M23.6k–––1.756
Gated DeltaNet26.8k26.7k––93.01.763
DeltaProduct-228.6k28.5k––128.71.723
DeltaProduct-429.1k28.9k––76.01.752
HyenaDNA26.8k26.7k0.21.7270.61.763
Yggdrasil15.6M25.2k17.91.167.41.620
Medium, 90k active parametersSequential GRU86.5k86.2k0.312.456.31.681
LSTM94.4k94.1k0.413.565.51.678
Parallel Transformer87.3k87.1k0.4184.4250.51.728
Mamba-288.3k87.9k0.927.246.51.714
Mamba-2 + PKM52.1M82.1k–––1.621
Gated DeltaNet97.2k96.9k––135.61.737
DeltaProduct-291.9k91.7k––171.01.682
DeltaProduct-493.0k92.8k––117.91.720
HyenaDNA92.7k92.4k0.45.0317.31.694
Yggdrasil52.0M81.4k48.11.979.71.590
Large, 290k active parametersSequential GRU280.6k280.0k1.118.990.31.640
LSTM299.5k298.9k1.222.791.51.637
Parallel Transformer281.6k281.1k0.4276.2269.71.690
Mamba-2272.3k271.4k1.141.844.71.685
Mamba-2 + PKM188.1M285.2k–––1.598
Gated DeltaNet300.7k300.3k––126.11.653
DeltaProduct-2290.8k290.3k––90.51.694
DeltaProduct-4291.2k290.9k––162.11.651
HyenaDNA297.7k297.0k0.58.3384.01.655
Yggdrasil188.0M289.1k146.55.8102.11.567

Table 8. Table 8. hg38 at the three sizes. Columns as in Table 7, per base, on the full test split of 253.9M bases in windows of 1024 bases. Best of 3 seeds by validation. HyenaDNA is timed in offline scoring on the CPU and in streaming on the GPU (§ 20). Bold marks the best per column within each size. [37, 49]

  1. Speed. Yggdrasil is the fastest model on one CPU core, with its largest models stepping 3.3× and 3.0× faster than the fastest streaming baseline, and achieves the highest GPU throughput at batch 1024 across all sizes on both datasets (Table 17). At equal stored parameters, its CPU step is 162×–13,566× faster than dense models, and at least 3,289× faster at 730M (§ 5).

ModelBatch 1, μs\mu\mathrm{s} / token ↓\downarrow — SmallBatch 1, μs\mu\mathrm{s} / token ↓\downarrow — MediumBatch 1, μs\mu\mathrm{s} / token ↓\downarrow — LargeBatch 1024, tokens / s ↑\uparrow — SmallBatch 1024, tokens / s ↑\uparrow — MediumBatch 1024, tokens / s ↑\uparrow — Large
enwik8, 35k, 105k and 330k active parameters ([32])
Sequential
GRU40.060.987.112.5M5.84M1.65M
LSTM44.452.8125.311.0M5.83M889k
ParallelTransformer193.6236.3224.41.39M685k398k
Mamba-229.345.743.87.77M3.18M1.77M
Gated DeltaNet101.4132.4125.59.13M5.29M2.43M
DeltaProduct-2147.3130.5179.93.53M3.39M1.98M
DeltaProduct-4121.289.5162.05.03M4.16M1.81M
Yggdrasil57.676.280.115.7M7.15M2.59M
hg38, 27k, 90k and 290k active parameters ([37, 49])
Sequential
GRU46.156.390.310.1M6.04M1.67M
LSTM48.265.591.511.9M5.51M895k
ParallelTransformer197.3250.5269.7508k203k109k
Mamba-228.246.544.77.32M3.17M1.78M
Gated DeltaNet93.0135.6126.19.26M5.29M2.47M
DeltaProduct-2128.7171.090.53.55M3.42M2.59M
DeltaProduct-476.0117.9162.15.11M4.23M1.83M
HyenaDNA270.6317.3384.030.2k15.1k8.70k
Yggdrasil67.479.7102.121.8M8.19M2.82M

Table 17. GPU inference. Microseconds per token at batch 1 and tokens per second at batch 1024, on one A100 under CUDA graphs, at the small, medium and large sizes. Bold marks the best per column within each dataset.

Background and related work

Linear recurrences. An affine recurrence updates a state ht∈Rnh_t \in\mathbb{R}^n as ht=Aˉtht−1+uˉth_t = \bar{A}_t h_{t-1} + \bar{u}_t. When the coefficients do not depend on ht−1h_{t-1}, affine composition is associative and all states can be computed in parallel over time ([45] (Billeloch 1990)). The transition is time-invariant in S4, S4D, S5, and the LRU (Gu et al., 2022a;b; Smith et al., 2023; Orvieto et al., 2023), and input-dependent in the Mamba family ([40] (Gu & Dao 2024; Dao & Gu 2024)). Linear attention corresponds to a scalar or identity transition with a rank-one write ([36, 58]). To move beyond diagonal transitions, recent work uses delta rules, Householder products, one-hot column transitions, structured linear CDEs, and factored recurrent maps ([58, 73, 74, 62, 65, 69, 64]), while unitary RNNs constrain the dynamics to preserve norm ([2, 42]). All of these models—like RWKV-7 ([53])—read every parameter at every step. By contrast, GRUs, LSTMs, and the sLSTM of xLSTM gate on the state itself and must train sequentially, whereas xLSTM’s mLSTM gates only on the input and trains in parallel ([12, 31, 3]).

State tracking. A model tracks a task if the correct label is the unique logit maximiser at every labelled step of every valid input sequence. Its margin is the smallest gap between the correct logit and any other logit; in our constructions, this margin is positive and independent of sequence length. Group tasks require maintaining a running product, and they expose the limits of diagonal recurrences, since positive diagonal transitions cannot track parity and general diagonal transitions cannot track non-solvable groups ([47, 26, 60] (Sarroff et al. 2024)). Non-diagonal recurrences overcome this barrier ([26, 62, 65]). However, group tasks only permute states, whereas general finite automata also reset them. In a permutation–reset automaton, each input either permutes the states or resets all of them to a single state. By Krohn–Rhodes theory, every finite automaton is the image of a cascade of such automata arranged in levels, where each level reads the token and the previous states of lower levels ([39, 18, 44, 43]). The routed layers of Yggdrasil realise this cascade with one level per layer (Theorem 2). Section A discusses additional work on state tracking in linear recurrences.

Transition selection.

Sparse parameter access. Mixtures of experts, hash layers, product-key memories, memory layers, and Engram decouple stored capacity from active computation ([61, 20, 54, 41, 7, 10]). Token-indexed tables provide another form of sparse access ([55, 76, 67] (Gemma Team 2025)), while hierarchical experts, soft decision trees, and fast feedforward networks use trees for conditional computation ([35, 22, 4, 11]). All of these methods retrieve a value that enters the current step’s output; Yggdrasil instead retrieves the transition of its recurrence, a difference we compare at equal storage in Section H. Following mixture-of-experts convention, we distinguish stored parameters (the full model, determining memory footprint) from active parameters (those read per token, determining step latency and compute). Yggdrasil is built around this split, keeping active parameters in one CPU core’s cache while the stored bank resides in RAM.

Yggdrasil

Yggdrasil stacks one token layer and LL routed recurrent layers, each maintaining a state ht(l)∈Rnh_t^{(l)} \in\mathbb{R}^n (Figure 1). At every step, each layer applies an expert that supplies its transition, additive input, and readout. The token layer selects its expert directly from the token xt∈{1,…,V}x_t \in\{1,\ldots,V\}. Each routed layer instead selects one of 2D2^D experts from xtx_t and the updated state ht(l−1)h_t^{(l-1)} of the layer below.

Contextual transition lookup

Given a selected expert r=rt(l)r = r_t^{(l)}, layer ll updates and reads out its state using only that expert’s parameters:

ht(l)=Arht−1(l)+Γrut(l),ot(l)=Prht(l).(1)h_t^{(l)} = A_r h_{t-1}^{(l)} + \Gamma_r u_t^{(l)}, \qquad o_t^{(l)} = P_r h_t^{(l)} . \tag*{(1)}

Here ut(l)u_t^{(l)} packs the token code, a constant coordinate, and a projection of the normalised state from the layer below. Because neither the expert address nor ut(l)u_t^{(l)} depends on ht−1(l)h_{t-1}^{(l)}, the update remains affine in the layer’s own state.

Routing. Each routed layer’s tree router reads the feature vector

ft(l)=[e(l)(xt);ν(ht(l−1))],(2)f_t^{(l)} = [e^{(l)}(x_t); \nu(h_t^{(l-1)})], \tag*{(2)}

where e(l)e^{(l)} is a learned token embedding and ν\nu is RMS normalisation. At each internal node η\eta, the router branches right if wη⊤ft(l)+βη>0w_\eta^\top f_t^{(l)}+\beta_\eta>0 and left otherwise, reaching one of 2D2^D experts in DD comparisons. The token layer has no layer below it and uses rt(0)=xtr_t^{(0)}=x_t, forming an input-switched affine recurrence; a token-only tree router could always be collapsed into this direct lookup (Section C.1).

Transitions. To support exact state operations while remaining non-expanding, each transition combines coordinatewise decay with block rotations:

Ar=diag⁡(clip⁡(dr,−1,1))(eΩr,1⊕⋯⊕eΩr,G),(3)A_r=\operatorname{diag}(\operatorname{clip}(d_r,-1,1))\left(e^{\Omega_{r,1}}\oplus\cdots\oplus e^{\Omega_{r,G}}\right), \tag*{(3)}

with G=n/bG=n/b blocks of size bb and skew-symmetric generators Ωr,g=12(Sr,g−Sr,gT)\Omega_{r,g}=\frac{1}{2}(S_{r,g}-S_{r,g}^{\mathsf{T}}). Because each eΩr,ge^{\Omega_{r,g}} is orthogonal, ∥Ar∥2≤1\lVert A_r\rVert_2\le1, and Theorem 6 bounds state growth under bounded additive inputs. Decays in {±1}\{\pm1\} realise every orthogonal map within a block, while zero decays add signed partial permutations (Theorem 4), which are the exact operations used in our constructions (§ 4).

Inputs and outputs. The additive input sums a token term Tr[xt]=Urv(xt)+crT_r[x_t]=U_rv(x_t)+c_r and a lower-layer term UrlowW(l)ν(ht(l−1))U_r^{\mathrm{low}}W^{(l)}\nu(h_t^{(l-1)}), where the shared matrix W(l)W^{(l)} compresses the lower state to rank klowk_{\mathrm{low}} and the expert matrix UrlowU_r^{\mathrm{low}} expands it. For finite vocabularies, Tr[xt]T_r[x_t] can be materialised as table rows, though our runtime also supports the factored form (Section J). A shared matrix Q(l)Q^{(l)} projects each expert readout ot(l)∈RRo_t^{(l)}\in\mathbb{R}^{R} to the CC output classes. Summing all layers’ contributions with an output bias before the softmax allows each selected expert to control both its layer’s state update and its contribution to the prediction. Section C gives the full parameterisation.

Parallel evaluation and training

Because layer ll’s router and additive input depend only on the token and layer l−1l-1, they can be evaluated at every position in parallel once layer l−1l-1 is computed. Only the affine recurrence in Equation (1) runs over time. Affine composition obeys

(A2,u2)∙(A1,u1)=(A2A1,A2u1+u2),(A_2,u_2)\mathbin{\bullet}(A_1,u_1)=(A_2A_1,A_2u_1+u_2),

References

  1. [1]Agarwal, A., Tan, Y. S., Ronen, O., Singh, C., and Yu, B. Hierarchical shrinkage: Improving the accuracy and interpretability of tree-based models. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 111–135. PMLR, 2022.arxiv.org/abs/2202.00858
  2. [2]Arjovsky, M., Shah, A., and Bengio, Y. Unitary evolution of recurrent neural networks. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1120–1128, 2016.arxiv.org/abs/1511.06464
  3. [3]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. In Advances in Neural Information Processing Systems, volume 37, 2024.arxiv.org/abs/2405.04517
  4. [4]Belcak, P. and Wattenhofer, R. Fast feedforward networks. arXiv preprint arXiv:2308.14711, 2023a.arxiv.org/abs/2308.14711
  5. [5]Belcak, P. and Wattenhofer, R. Exponentially faster language modelling. arXiv preprint arXiv:2311.10770, 2023b.arxiv.org/abs/2311.10770
  6. [6]Bengio, Y., Léonard, N., and Courville, A. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.arxiv.org/abs/1308.3432
  7. [7]Berges, V.-P., Oğuz, B., Haziza, D., Yih, W.-t., Zettlemoyer, L., and Ghosh, G. Memory layers at scale. arXiv preprint arXiv:2412.09764, 2024.arxiv.org/abs/2412.09764
  8. [8]Blelloch, G. E. Prefix sums and their applications. Technical Report CMU-CS-90-190, School of Computer Science, Carnegie Mellon University, 1990.
  9. [10]Cheng, X., Tian, R., Zeng, W., Dai, D., Chen, Q., Wang, B., Xie, Z., Huang, K., Yu, X., Deng, C., Zhou, S., Zhao, C., Hao, Z., Li, Y., Zhang, H., Zhang, Z., Wei, Y., Xu, M. Y. Zhang, H. Zhao, D., and Liang, W. Conditional memory via scalable lookup: A new axis of sparsity for large language models. arXiv preprint arXiv:2601.07372, 2026.arxiv.org/abs/2601.07372
  10. [11]Cho, K. and Bengio, Y. Exponentially increasing the capacity-to-computation ratio for conditional computation in deep learning, 2014.arxiv.org/abs/1406.7362
  11. [12]Cho, K., van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1724–1734, 2014.arxiv.org/abs/1406.1078
  12. [13]Dai, Z., Yang, Z., Yang, Y., Carbonell, J., Le, Q., and Salakhutdinov, R. Transformer-XL: Attentive language models beyond a fixed-length context. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 2978–2988, 2019. doi: 10.18653/v1/P19-1285.
  13. [14]Dao, T. Flashattention-2: Faster attention with better parallelism and work partitioning. In International Conference on Learning Representations, 2024.arxiv.org/abs/2307.08691
  14. [16]Delétang, G., Ruoss, A., Grau-Moya, J., Genewein, T., Wenliang, L. K., Catt, E., Cundy, C., Hutter, M., Legg, S., Veness, J., and Ortega, P. A. Neural networks and the Chomsky hierarchy. In International Conference on Learning Representations, 2023.arxiv.org/abs/2207.02098
  15. [17]Duan, Q., Huang, B., Song, Z., Lehmann, I., Gu, L., Eils, R., and Wild, B. JanusDNA: A powerful bi-directional hybrid DNA foundation model. In Advances in Neural Information Processing Systems, 2025. arXiv:2505.17257.arxiv.org/abs/2505.17257
  16. [18]Eilenberg, S. Automata, Languages, and Machines, Volume B, volume 59 of Pure and Applied Mathematics. Academic Press, New York, 1976.
  17. [19]Fan, T.-H., Chi, T.-C., and Rudnicky, A. Advancing regular language reasoning in linear recurrent neural networks. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers), pp. 45–53. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.naacl-short.4.DOI
  18. [20]Fedus, W., Zoph, B., and Shazeer, N. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120):1–39, 2022.arxiv.org/abs/2101.03961
  19. [21]Foerster, J. N., Gilmer, J., Sohl-Dickstein, J., Chorowski, J., and Sussillo, D. Input switched affine networks: An RNN architecture designed for interpretability. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 1136–1145. PMLR, 2017.arxiv.org/abs/1611.09434
  20. [22]Frosst, N. and Hinton, G. Distilling a neural network into a soft decision tree. In Proceedings of the First International Workshop on Comprehensibility and Explanation in AI and ML (CEX 2017), co-located with AI*IA 2017, volume 2071 of CEUR Workshop Proceedings, 2017.
  21. [24]Gerganov, G. and llama.cpp contributors. llama.cpp: LLM inference in C/C++. https://github.com/ggml-org/llama.cpp, 2023.
  22. [25]Giles, C. L., Miller, C. B., Chen, D., Chen, H.-H., Sun, G.-Z., and Lee, Y.-C. Learning and extracting finite state automata with second-order recurrent neural networks. Neural Computation, 4(3):393–405, 1992. doi: 10.1162/neco.1992.4.3.393.DOI
  23. [26]Grazzi, R., Siems, J., Zela, A., Franke, J. K. H., Hutter, F., and Pontil, M. Unlocking state-tracking in linear RNNs through negative eigenvalues. In International Conference on Learning Representations, 2025.arxiv.org/abs/2411.12537
  24. [27]Grešová, K., Martinek, V., Čechák, D., Šimeček, P., and Alexiou, P. Genomic benchmarks: A collection of datasets for genomic sequence classification. BMC Genomic Data, 24:25, 2023. doi: 10.1186/s12863-023-01123-8.DOI
  25. [31]Hochreiter, S. and Schmidhuber, J. Long short-term memory. Neural Computation, 9(8):1735–1780, 1997.
  26. [32]Hutter, M. The human knowledge compression contest (Hutter prize). http://prize.hutter1.net/, 2006.
  27. [33]Irie, K., Cordós, R., and Schmidhuber, J. Practical computational power of linear transformers and their recurrent and self-referential extensions. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 9455–9465. Association for Computational Linguistics, 2023. doi: 10.18653/v1/2023. emnlp-main.588.
  28. [34]Jacob, B., Kligys, S., Chen, B., Zhu, M., Tang, M., Howard, A., Adam, H., and Kalenichenko, D. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2704–2713, 2018.
  29. [35]Jordan, M. I. and Jacobs, R. A. Hierarchical mixtures of experts and the EM algorithm. Neural Computation, 6 (2):181–214, 1994.
  30. [36]Katharopoulos, A., Vyas, A., Pappas, N., and Fleuret, F. Transformers are RNNs: Fast autoregressive transformers with linear attention. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 5156–5165, 2020.
  31. [37]Kelley, D. R., Reshef, Y. A., Bileschi, M., Belanger, D., McLean, C. Y., and Snoek, J. Sequential regulatory activity prediction across chromosomes with convolutional neural networks. Genome Research, 28(5):739–750, 2018.
  32. [38]Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.
  33. [39]Krohn, K. and Rhodes, J. Algebraic theory of machines. I. prime decomposition theorem for finite semigroups and machines. Transactions of the American Mathematical Society, 116:450–464, 1965.
  34. [40]Lahoti, A., Li, K. Y., Chen, B., Wang, C., Bick, A., Kolter, J. Z., Dao, T., and Gu, A. Mamba-3: Improved sequence modeling using state space principles. In International Conference on Learning Representations, 2026. arXiv:2603.15569.
  35. [41]Lample, G., Sablayrolles, A., Ranzato, M., Denoyer, L., and Jégou, H. Large memory layers with product keys. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1907.05242
  36. [42]Lezcano-Casado, M. and Martínez-Rubio, D. Cheap orthogonal constraints in neural networks: A simple parametrization of the orthogonal and unitary group. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 3794–3803, 2019.
  37. [43]Liu, B., Ash, J. T., Goel, S., Krishnamurthy, A., and Zhang, C. Transformers learn shortcuts to automata. In International Conference on Learning Representations, 2023.arxiv.org/abs/2210.10749
  38. [44]Maler, O. and Pnueli, A. On the cascaded decomposition of automata, its complexity and its application to logic. Unpublished manuscript, 1994. URL https://www-verimag.imag.fr/~maler/Papers/decomp.pdf.
  39. [45]Martin, E. and Cundy, C. Parallelizing linear recurrent neural nets over sequence length. In International Conference on Learning Representations, 2018.
  40. [46]Massaroli, S., Poli, M., Fu, D., Kumbong, H., Parnichkun, R., Romero, D., Timsalina, A., McIntyre, Q., Chen, B., Rudra, A., Zhang, C., Ré, C., Ermon, S., and Bengio, Y. Laughing hyena distillery: Extracting compact recurrences from convolutions. In Advances in Neural Information Processing Systems, volume 36, pp. 17072–17116, 2023. doi: 10.52202/075280-0747.
  41. [47]Merrill, W., Petty, J., and Sabharwal, A. The illusion of state in state-space models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 35492–35506, 2024.
  42. [48]Muca Cirone, N., Orvieto, A., Walker, B., Salvi, C., and Lyons, T. Theoretical foundations of deep selective state-space models. In Advances in Neural Information Processing Systems, volume 37, pp. 127226–127272, 2024. doi: 10.52202/079017-4041.
  43. [49]Nguyen, E., Poli, M., Faizi, M., Thomas, A., Birch-Sykes, C., Wornow, M., Patel, A., Rabideau, C., Massaroli, S., Bengio, Y., Ermon, S., Baccus, S. A., and Ré, C. HyenaDNA: Long-range genomic sequence modeling at single nucleotide resolution. In Advances in Neural Information Processing Systems, volume 36, 2023.
  44. [50]Omlin, C. W. and Giles, C. L. Constructing deterministic finite-state automata in recurrent neural networks. Journal of the ACM, 43(6):937–972, 1996. doi: 10.1145/235809.235811.
  45. [51]ONNX Runtime developers. ONNX Runtime. https://onnxruntime.ai/, 2021.
  46. [53]Peng, B., Zhang, R., Goldstein, D., Alcaide, E., Du, X., Hou, H., Lin, J., Liu, J., Lu, J., Merrill, W., Song, G., Tan, K., Utpala, S., Wilce, N., Wind, J. S., Wu, T., Uttke, D., and Zhou-Zheng, C. RWKV-7 “Goose” with expressive dynamic state evolution. In Conference on Language Modeling (COLM), 2025.arxiv.org/abs/2503.14456
  47. [54]Roller, S., Sukhbaatar, S., Szlam, A., and Weston, J. Hash layers for large sparse models. In Advances in Neural Information Processing Systems, volume 34, pp. 17555–17566. Curran Associates, Inc., 2021.arxiv.org/abs/2106.04426
  48. [55]Sadhukhan, R., Cao, S., Dong, H., Zhao, C., Purpura-Pontoniere, A., Tian, Y., Liu, Z., and Chen, B. STEM: Scaling transformers with embedding modules. In International Conference on Learning Representations, 2026.arxiv.org/abs/2601.10639
  49. [56]Sarrof, Y., Veitsman, Y., and Hahn, M. The expressive capacity of state space models: A formal language perspective. In Advances in Neural Information Processing Systems, volume 37, 2024.DOI
  50. [57]Schiff, Y., Kao, C. H., Gokaslan, A., Dao, T., Gu, A., and Kuleshov, V. Caduceus: Bi-directional equivariant long-range DNA sequence modeling. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 43632–43648, 2024.arxiv.org/abs/2403.03234
  51. [58]Schlag, I., Irie, K., and Schmidhuber, J. Linear transformers are secretly fast weight programmers. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 9355–9366, 2021.arxiv.org/abs/2102.11174
  52. [59]Schmidinger, N., Schneckenreiter, L., Seidl, P., Schimunek, J., Hoedt, P.-J., Brandstetter, J., Mayr, A., Luukkonen, S., Hochreiter, S., and Klambauer, G. Bio-xLSTM: Generative modeling, representation and in-context learning of biological and chemical sequences. arXiv preprint arXiv:2411.04165, 2024.arxiv.org/abs/2411.04165
  53. [60]Shakerinava, M., Khavari, B., Ravanbakhsh, S., and Chandra, S. The expressive limits of diagonal SSMs for state-tracking. In International Conference on Learning Representations, 2026.arxiv.org/abs/2603.01959
  54. [61]Shazeer, N., Mirhoseini, A., Mazziar, K., Davis, A., Le, Q., Hinton, G., and Dean, J. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations, 2017.arxiv.org/abs/1701.06538
  55. [62]Siems, J., Carstensen, T., Zela, A., Hutter, F., Pontil, M., and Grazzi, R. DeltaProduct: Improving state-tracking in linear RNNs via Householder products. In Advances in Neural Information Processing Systems, volume 38, 2025.arxiv.org/abs/2502.10297
  56. [64]Sutskever, I., Martens, J., and Hinton, G. Generating text with recurrent neural networks. In Proceedings of the 28th International Conference on Machine Learning (ICML), pp. 1017–1024. ACM, 2011.
  57. [65]Terzić, A., Menet, N., Hersche, M., Hofmann, T., and Rahimi, A. Structured sparse transition matrices to enable state tracking in state-space models. In Advances in Neural Information Processing Systems, volume 38, 2025.
  58. [66]Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., Azhar, F., Rodriguez, A., Joulin, A., Grave, E., and Lample, G. LLaMA: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.arxiv.org/abs/2302.13971
  59. [67]Tseng, A. and De Sa, C. L³: Large lookup layers. arXiv preprint arXiv:2601.21461, 2026.
  60. [68]Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30, 2017.arxiv.org/abs/1706.03762
  61. [69]Walker, B., Yang, L., Muca Cirone, N., Salvi, C., and Lyons, T. Structured linear CDEs: Maximally expressive and parallel-in-time sequence models. In Advances in Neural Information Processing Systems, volume 38, 2025.arxiv.org/abs/2505.17761
  62. [70]Williams, S., Waterman, A., and Patterson, D. Roofline: An insightful visual performance model for multicore architectures. Communications of the ACM, 52(4):65–76, 2009.DOI
  63. [71]Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., Funtowicz, M., Davison, J., Shleifer, S., von Platen, P., Ma, C., Jernite, Y., Plu, J., Xu, C., Le Scao, T., Gugger, S., Drame, M., Lhoest, Q., and Rush, A. Transformers: State-of-the-art natural language processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pp. 38–45, 2020. doi: 10.18653/v1/2020.emnlp-demos.6.DOI
  64. [72]Yang, S. and Zhang, Y. FLA: A Triton-based library for hardware-efficient implementations of linear attention mechanism. https://github.com/fla-org/flash-linear-attention, 2024.
  65. [73]Yang, S., Wang, B., Zhang, Y., Shen, Y., and Kim, Y. Parallelizing linear transformers with the delta rule over sequence length. In Advances in Neural Information Processing Systems, volume 37, 2024.arxiv.org/abs/2406.06484
  66. [74]Yang, S., Kautz, J., and Hatamizadeh, A. Gated delta networks: Improving Mamba2 with delta rule. In International Conference on Learning Representations, 2025.arxiv.org/abs/2412.06464
  67. [75]Zhang, J., Cheng, Z., Zhao, Y., Wang, S., Zhou, D., Lu, G., and Song, L. L3TC: Leveraging RWKV for learned lossless low-complexity text compression. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 13251–13259, 2025.arxiv.org/abs/2412.16642
  68. [76]Zhou, W., Gu, Y., Iacovides, G., Qiu, Y., Zhao, Q., and Mandic, D. Tensorizing Engram: Sharing latents across n-gram embeddings is beneficial in LLMs. arXiv preprint arXiv:2606.08347, 2026.arxiv.org/abs/2606.08347

Paper details

vlnc:W_rybffh73
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.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents