Eprint already available on another site (E-prints, working papers and research blog)
Length-Independent State Tracking Under a Parallel Scan
Brandoit, Julien; Fyon, Arthur; Braipson, Thomas et al.
2026
 

Files


Full Text
2609.32447v1.pdf
Author preprint (1.07 MB) Creative Commons License - Attribution, Non-Commercial
Download

All documents in ORBi are protected by a user license.

Send to



Details



Keywords :
state tracking; recurrent neural networks; parallel scan; finite precision; length generalization; finite automata; state space models; linear RNNs; transformation monoids; attractor dynamics; automata extraction; sequence processing
Abstract :
[en] 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.
Disciplines :
Computer science
Engineering, computing & technology: Multidisciplinary, general & others
Author, co-author :
Brandoit, Julien  ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Fyon, Arthur  ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Braipson, Thomas  ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Clara, Tom ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
De Geeter, Florent  ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Sacré, Pierre  ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Ernst, Damien  ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Drion, Guillaume ;  Université de Liège - ULiège > Montefiore Institute of Electrical Engineering and Computer Science
Language :
English
Title :
Length-Independent State Tracking Under a Parallel Scan
Publication date :
September 2026
Funders :
F.R.S.-FNRS - Fonds de la Recherche Scientifique
Funding text :
This work is supported by the Belgian Government through the Federal Public Service Policy and Support (NEMODEI2). Computational resources have been provided by the Consortium des Equipements de Calcul Intensif (CECI), funded by the FNRS under Grant No. 2.5020.11 and by the Walloon Region. The present research also benefited from computational resources made available on Lucia, the Tier-1 supercomputer of the Walloon Region, infrastructure funded by the Walloon Region under grant agreement No. 1910247. J.B, T.B, and T.C are, respectively, a FRIA grantee (FRIA-40038025), a FRIA grantee (FRIA-40038243), a Research Fellow (FNRS-40032387) of the Fonds de la Recherche Scientifique.
Commentary :
https://julienbrandoit.github.io/length-independent-state-tracking/
Available on ORBi :
since 30 September 2026

Statistics


Number of views
33 (11 by ULiège)
Number of downloads
7 (2 by ULiège)

Bibliography


Similar publications



Contact ORBi