mlsanityData to 14 Oct 2026

Length-Independent State Tracking Under a Parallel Scan

arXiv 2609.32447 ↗First posted 26 Sep 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Learning robust and scalable finite-state tracking is fundamental to sequence processing. While linear recurrent neural networks (RNNs), linear attention, and state space models enable scalable parallel training through affine recurrences, their theoretical expressivity guarantees assume idealized arithmetic and do not extend to finite precision, where the parallel scan that makes them fast is itself a source of perturbation. We formalize finite-state tracking at finite precision and characterize length independence: tracking that stays correct at every sequence length, at a precision cost that does not grow with the length. We show that length-independent state tracking requires two competing dynamics within a single map: contraction to suppress numerical perturbations and separation to keep distinct states apart. We prove that affine recurrences, which offer a single rate at each step to serve both roles, realize at most definite automata at finite precision. Instead of treating scan compatibility as a restriction on the update map, we reinterpret it as a computational budget and introduce the Neural Finite-State Machine (NFSM): a nonaffine, scan-compatible RNN built for length-independent finite-state tracking. On synthetic benchmarks spanning abelian and nonabelian groups, noninvertible monoids, and textual state-tracking tasks, affine baselines fail on every nondefinite task, most of them within a few hundred steps. A single NFSM layer instead learns the exact transition tables of every algebraic task, which certifies correctness beyond the tested lengths, and a stack of NFSMs keeps perfect accuracy on the textual tasks at every tested length.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 47 of its 75 references that are in the map. First posted on arXiv 26 Sep 2026.

Builds on

47 of 75 references.

References · 47

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  2. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  3. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  5. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  6. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  7. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  8. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  9. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  10. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  11. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  12. 2020Hopfield Networks is All You Needcited by 475
35 more
  1. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
  2. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  3. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  4. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  5. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  6. 2022Transformers Learn Shortcuts to Automatacited by 268
  7. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  8. 2022Neural Networks and the Chomsky Hierarchycited by 217
  9. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
  10. 2024The Illusion of State in State-Space Modelscited by 187
  11. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  12. 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 127
  13. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  14. 2014Learning to Executecited by 106
  15. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
  16. 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
  17. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 89
  18. 2016Quasi-Recurrent Neural Networkscited by 87
  19. 2023Exposing Attention Glitches with Flip-Flop Language Modelingcited by 75
  20. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
  21. 2024Longhorn: State Space Models are Amortized Online Learnerscited by 59
  22. 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
  23. 2023Parallelizing non-linear sequential models over the sequence lengthcited by 45
  24. 2023Entity Tracking in Language Modelscited by 44
  25. 2024Oscillatory State-Space Modelscited by 39
  26. 2024Were RNNs All We Needed?cited by 38
  27. 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 34
  28. 2024Scalable MatMul-free Language Modelingcited by 25
  29. 2025Structured Sparse Transition Matrices to Enable State Tracking in State-Space Modelscited by 16
  30. 2025ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Modelscited by 15
  31. 2026The Expressive Limits of Diagonal SSMs for State-Trackingcited by 9
  32. 2025Bridging Expressivity and Scalability with Adaptive Unitary SSMscited by 8
  33. 2026Rethinking State Tracking in Recurrent Models Through Error Control Dynamicscited by 4
  34. 2026Parallelizable memory recurrent unitscited by 3
  35. 2026Improving the Performance and Learning Stability of Parallelizable RNNs Designed for Ultra-Low Power Applicationscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Naju: A Native Discrete State-Space Model with Independent Retention and Writing for Long-Sequence Memory
  2. 2026State Propagation Also Satisfies: A Complex-Valued State-Space Model for Deterministic State Tracking
  3. 2026A Held-Out Transition-Pair Falsifier for Long-Horizon Non-Abelian State Tracking
  4. 2025Scaling Laws for State Dynamics in Large Language Models
  5. 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?
  6. 2025Understanding and Improving Length Generalization in Recurrent Models
  7. 2025Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State Tracking
  8. 2026M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling