Elamur Research

The Illusion of State in State-Space Models

Paper · 2024 · William Merrill, Jackson Petty and Ashish Sabharwal

Summary

A system can carry a hidden state from one position to the next without being able to perform every kind of stateful computation. “The Illusion of State in State-Space Models” investigates this distinction for state-space architectures, especially S4 and the S6 layer underlying Mamba. These architectures resemble recurrent neural networks, so it is tempting to expect them to inherit recurrent networks’ ability to follow a changing world. The authors ask whether that expectation survives a formal examination. Their answer is that the familiar recurrent equations conceal important restrictions: the transitions used by common state-space architectures allow their computations to be reorganized into very shallow parallel circuits.

The main mathematical result places the analyzed architectures inside L-uniform TC⁰. This is a class of computations implementable by polynomial-size threshold circuits whose depth stays constant as the input becomes longer. Earlier research had established a comparable upper bound for transformers. The paper proves that both fixed-transition state-space layers and suitably computable diagonal, input-dependent layers share that bound. S4 belongs to the former case; S6 belongs to the latter. Assuming the conjecture TC⁰ ≠ NC¹, neither architecture can solve every instance of certain sequential problems at fixed network depth. An important example is composing permutations from S₅, the group describing rearrangements of five objects. The authors connect this problem to following chess moves in source–target notation, executing programs, and tracking entities through descriptions of changing relationships.

The experiments make the abstract distinction visible through group multiplication. Each input token denotes an update, and the required output at every position is the accumulated product so far. The principal hard case uses A₅, a group whose word problem is NC¹-complete. The comparison also includes a solvable noncommutative group and a commutative group, with all groups containing 60 elements. As sequence length increases, S4, Mamba, and the transformer need greater depth on the noncommutative tasks to reach the reported accuracy criterion. A recurrent baseline succeeds with a single layer over the evaluated lengths. S4 and Mamba nonetheless usually compare favorably with the transformer in the number of layers they require. The result therefore concerns a shared limitation, rather than empirical equivalence between the architectures.

The paper also demonstrates a way beyond that limitation. Its Input-Dependent S4, abbreviated IDS4, allows the current input to select a general transition matrix. This changes the mathematical operation performed across the sequence: instead of powers of one matrix or independent scalar products, the computation can compose different, non-diagonal transformations. The authors prove that a single IDS4 layer can simulate finite automata, given an appropriate input representation and a beginning marker. Their implementation learns the group tasks with a single layer over the tested lengths. This establishes a useful architectural possibility, but leaves large-scale language modeling unresolved. The broader lesson is to inspect what a state update can actually express, distinguish that capacity from what training discovers, and evaluate both under explicit assumptions about depth, arithmetic, and input format.

Interesting ideas

Inspect the transition algebra. A recurrence describes how a computation is written, but does not on its own establish which computations are possible. Fixed matrices, diagonal matrices, and unrestricted input-dependent matrices lead to different composition problems. Examining the operations that survive repeated composition is useful whenever an architecture advertises memory, recurrence, or state. The same approach can clarify the capabilities of symbolic update systems, structured memories, and compact execution mechanisms.

Build benchmarks around computational structure. The group tasks separate the number of possible symbols from the algebraic difficulty of combining them. This makes a failure more informative than a comparison between unrelated datasets. Researchers can borrow the principle by holding surface properties steady while changing the dependencies an answer requires. It is particularly useful in evaluation when a system might exploit shortcuts rather than performing the intended computation.

Measure the resources required for success. An accuracy score at one sequence length can hide whether a system needs additional depth as the problem grows. The paper instead examines the minimum depth that reaches a success criterion across increasing lengths. This connects observed performance to an architectural prediction. Similar studies can vary memory, execution steps, or search effort to discover which resources actually support longer reasoning chains.

Make intermediate states observable. Predicting the accumulated group product at every position gives stronger supervision than asking only for the final answer. It also makes the intended computation explicit throughout the sequence. This principle applies to reasoning, program execution, document interpretation, and workflow diagnosis: expose the evolving state so that a successful endpoint cannot conceal an incorrect path.

Separate expressibility from learnability. A mathematical upper bound can rule out a universal solution under stated assumptions. Successful training establishes something different: that a particular implementation found a useful solution in the evaluated setting. The paper preserves this distinction when an easier group still causes difficulty. This is a reusable discipline for interpreting neural experiments, induced rules, and any system whose search procedure might fail in spite of the existence of a correct representation.

Change the bottleneck, then retest. IDS4 modifies the transition mechanism identified by the proof rather than merely increasing capacity elsewhere. Its theoretical construction and learned behavior are complementary evidence. The general engineering lesson is to derive a targeted intervention from the suspected limitation, preserve an understandable baseline, and evaluate whether the change repairs the specific behavior that motivated it.

Deep dive: The Illusion of State in State-Space Models

Why S4 and Mamba struggle with sequential state tracking, what the circuit proofs establish, and how input-dependent transitions help. · about 37 minutes to read

How Mova uses it

Mova is a transparent language system implemented in Rust. Its native language path builds dependency structures, reads events and roles, and maintains explicit worlds. That makes this paper relevant mainly as a guide to representation, evaluation, and bounded computation. The neural containment theorems do not automatically apply to Mova’s symbolic readers, task queues, or world updates. The connections below distinguish mechanisms already described in Mova from proposed transfers. The status marks are proposals about overlap; they do not establish an application of this paper or a measured improvement.

Idea: Inspect the algebra of world updates. Where: State Tracking as a Monoid Word Problem. Area: mathematics and knowledge representation. Mova: частково є (world maintains entities, holdings, states, and event order). Mova could describe a bounded family of narrative actions as explicit transformations of a finite world, then examine how those transformations compose. This would make claims about state tracking more precise than a collection of successful stories. Why Mova: a declared update algebra could reveal which interactions its readers support and where an action class still lacks a meaningful composition rule.

Idea: Treat recurrence as a claim requiring evidence. Where: Introduction and Discussion following the containment results. Area: architectural analysis. Mova: частково є (docs/hybrid-system.md bounds recursive self-use and configured task execution). Mova already distinguishes nested capability calls from changes to learned knowledge. The paper suggests extending that discipline to any claim that repeated calls provide stronger reasoning: identify the operation, the retained state, and the resource that grows. Why Mova: this would keep recursive execution claims tied to observable mechanisms instead of the appearance of a loop.

Idea: Use matched state-tracking benchmarks. Where: State Tracking as a Monoid Word Problem and Can SSMs Learn Permutations in Practice? Area: evaluation design. Mova: нове. Mova could add symbolic update tasks with comparable vocabularies and state spaces but different composition structures. No such matched group benchmark is established by the digest, so this is a proposed addition rather than a known absence. Why Mova: it could distinguish lexical or parsing difficulty from a failure to combine otherwise understood updates.

Idea: Measure resource growth with sequence length. Where: Experimental Setup and the depth-versus-length figure. Area: evaluation and resource analysis. Mova: частково є (tools/jobs records estimates and actual resource use; mice have explicit stopping limits). A Mova evaluation could track required inference steps, retained graph size, or admitted subtasks as stories become longer. The paper’s layer-count metric should be adapted to the actual symbolic mechanism. Why Mova: this would show whether longer inputs require proportionately more useful computation or merely accumulate unresolved work.

Idea: Evaluate intermediate states. Where: Task in Can SSMs Learn Permutations in Practice? Area: state tracking and diagnosis. Mova: частково є (world retains changing entities and holdings, while native decisions retain reasons). Mova could compare its world after every admitted event with a reference trajectory, rather than judge only a final answer. Why Mova: the earliest incorrect transition would help separate a misunderstood sentence from a later inference error.

Idea: Separate representational capacity from learned behavior. Where: Results, especially the discussion of A₄ × ℤ₅. Area: evaluation and learning. Mova: частково є (world induction and self-play are gated; fast-reader analysis distinguishes representation, inference, parameters, and parsing). A failed task should first be checked for an expressible correct path, then for whether the relevant weights, rules, or routing selected it. Why Mova: this could prevent parameter tuning from being used to compensate for missing world structure, or new rules from being added when selection is the actual problem.

Idea: Repair the identified computational bottleneck. Where: Extending the Expressive Power of SSMs. Area: system design. Mova: частково є (source-bound groupants and regression-gated revisions describe mechanisms and checks). When a reader fails, Mova could formulate a small intervention aimed at the missing operation and compare it against the unchanged path. IDS4 is an example of this reasoning, not a recommendation to replace Mova’s symbolic core. Why Mova: targeted changes are easier to explain, measure, and reject when they fail to address the diagnosed cause.

Idea: Audit whether update order matters. Where: State Tracking as a Monoid Word Problem. Area: mathematics and narrative semantics. Mova: частково є (world records event order and state changes). Paired stories could contain the same actions in different orders, with references specifying whether the outcomes should agree. Why Mova: this would test whether a reader actually composes changes or relies on an order-insensitive collection of extracted facts.

Idea: Test input formatting as part of task difficulty. Where: Encoding S₅ in Chess State Tracking. Area: evaluation and semantic parsing. Mova: частково є (en, prag, and world distinguish parsed structure from task interpretation). Mova could express the same finite update process through direct names, indirect references, or source–target descriptions while recording what information each format supplies. Why Mova: formatting comparisons could expose cases where an answer depends on information made explicit by the wording rather than recovered from the evolving world.

Idea: Use reductions to design diagnostic examples. Where: Encoding S₅ in Chess State Tracking. Area: mathematics and evaluation. Mova: нове. A formally understood update problem could be translated into a controlled narrative task, with a checked correspondence between symbolic transitions and sentence meanings. Why Mova: this would give difficult examples an explicit computational purpose and reduce reliance on intuition about whether a story requires state tracking.

Idea: Distinguish parallel execution from shallow computation. Where: Discussion under Extending the Expressive Power of SSMs. Area: parallel computing. Mova: частково є (mice run bounded specialist profiles over a shared graph; CPU and GPU paths have declared contracts). Mova could document whether a parallel stage combines independent observations or composes order-sensitive transformations. Why Mova: this would clarify which workloads can be batched freely and which require an explicitly ordered reduction.

Idea: Compare composed execution with sequential execution. Where: Architecture of State-Space Models and its arithmetic qualification. Area: implementation validation. Mova: частково є (docs/gpu-exec.md distinguishes exact stages from measured approximants). A proposed parallel world-update path could be compared against the reference sequential path using the same admitted events. Why Mova: this would preserve the meaning of state updates when execution order or arithmetic changes.

Idea: Declare arithmetic assumptions. Where: Numeric Datatype and Floating-Point Arithmetic. Area: numerical methods. Mova: частково є (math provides exact rationals, while GPU stages carry exactness or approximation claims). Any statistical or numerical component used in state evaluation could declare its datatype, rounding behavior, and comparison criterion. Why Mova: a mathematical equivalence should not silently become a claim of identical machine results.

Idea: Keep width and depth separate in capacity claims. Where: Background on circuit complexity and Conditions for Linear SSMs in TC⁰. Area: architectural analysis. Mova: нове. Reports about bounded reasoning could identify whether a change increases representation size, the number of sequential decisions, or both. Why Mova: larger tables or more parallel workers may improve coverage without supplying the missing sequence of dependent deductions.

Idea: Use finite automata as exact test oracles. Where: Via Input-Dependent Transition Matrices. Area: evaluation infrastructure. Mova: частково є (Mova already has deterministic algorithms, explicit rules, and model-checking tools). A finite transition specification could generate reference state trajectories independently of the language reader. Why Mova: this would provide a small, inspectable oracle for checking whether parsing and world updates preserve the intended process.

Idea: Isolate initialization from transition behavior. Where: the IDS4 automaton construction. Area: state management. Mova: частково є (world creates document state; retained school learning has explicit saved-state boundaries). Tests could distinguish the action that establishes the initial world from later actions that transform it. Why Mova: this could catch accidental resets, repeated initialization, or information leaking from setup into subsequent answers.

Idea: Use identity-like updates as controls. Where: State Tracking as a Monoid Word Problem and IDS4 initialization in Models. Area: evaluation controls. Mova: частково є (Mova already uses negative controls for world consequences and school assessment). Stories could include admitted events that should leave a selected state unchanged, then verify that unrelated properties remain stable. Why Mova: this would test persistence directly and reveal readers that overwrite state whenever a familiar action pattern appears.

Idea: Teach primitive combinations without confusing them with long execution. Where: Experimental Setup. Area: data design. Mova: частково є (school lessons and exercises are separated from assessment; dictionary evidence has admission boundaries). A synthetic curriculum could make local action combinations available during training while reserving longer compositions for evaluation. Why Mova: this would help determine whether failure concerns an unknown primitive interaction or the repeated use of known interactions.

Idea: Use trajectory-level success criteria. Where: Experimental Setup. Area: statistics and evaluation. Mova: частково є (school traces preserve individual counted decisions and reasons). Mova could report whether an entire state trajectory is correct alongside answer-level scores, without replacing either measure. Why Mova: a reader that is often locally correct can still be unreliable when every dependent update must be right.

Idea: Keep theoretical feasibility separate from deployment feasibility. Where: Parallelism and Learning Dynamics in the extension discussion. Area: engineering evaluation. Mova: вже є (docs/hybrid-system.md separates implemented capability from direction and requires explicit boundaries). The paper reinforces the need to evaluate speed, memory, and failure behavior after establishing that a proposed mechanism can represent a solution. This is an existing principle that remains worth applying to every new execution or reasoning path.

Idea: Test bounded hard cases without claiming universal failure. Where: State Tracking and the experimental Results. Area: evaluation interpretation. Mova: частково є (fast-reader and dictionary-index reports explicitly limit conclusions to measured coverage). Failure on a formal family could identify a mechanism-level weakness, while successful bounded tests should remain evidence at their actual scope. Why Mova: this would preserve useful negative results without turning them into unsupported judgments about every narrative task.

Idea: Preserve uncertainty between competing explanations. Where: Results on the solvable noncommutative group. Area: scientific diagnosis. Mova: частково є (global reports gaps; unsupported or ambiguous deputy requests retain failure). A diagnostic report could retain both “missing representation” and “selection or learning failure” until a targeted check separates them. Why Mova: this would make the learning queue reflect what is known rather than attach a premature cause to every miss.

Idea: Examine shared representations before adding specialists. Where: the simultaneously diagonalizable extension. Area: representation analysis. Mova: нове. The mathematical result suggests an analogous audit question for symbolic components: do apparently different update mechanisms reduce to the same underlying restricted representation? This is a hypothesis for analysis, not a theorem about Mova’s graphs. Why Mova: adding surface diversity may not add a new operation, and an explicit audit could prevent redundant complexity.

Idea: Separate state tracking from state interpretation. Where: Task in Can SSMs Learn Permutations in Practice? and the chess reduction. Area: syntax and semantic parsing. Mova: частково є (the native path separates en, prag, and world). Mova could evaluate already-structured updates separately from English descriptions of those updates. Why Mova: this would identify whether a failure begins in dependency parsing, frame construction, referent resolution, or the world transition itself.

Idea: Keep stronger supervision visible in benchmark reports. Where: Task, where every prefix receives a target. Area: evaluation reporting. Mova: частково є (school reports distinguish lessons, exercises, tests, and retained-state examinations). Any trajectory benchmark should state whether training exposed intermediate reference states or only final answers. Why Mova: comparisons become easier to interpret when the amount and location of teaching information are explicit.

Idea: Use explicit transformations as a logical module interface. Where: the transition-monoid construction for IDS4. Area: modular reasoning. Mova: частково є (layers defines explicit domain interfaces, and groupants describe inputs, observations, and checks). A bounded domain could expose a typed state, an admitted update, and a checked transition independently of how text requests that update. Why Mova: this fits Mova’s direction as a logical module while allowing language understanding and exact state execution to be evaluated separately.

The problem and its context

What it means to track a changing world

The paper concerns tasks in which later answers depend on a sequence of changes. A document might describe objects being exchanged, people moving, or values being reassigned. Understanding an individual update is only part of the problem. The system must apply that update to the right current state, preserve what remains unchanged, and make the result available to later updates.

This requirement differs from remembering that particular words occurred. A sequence can contain the same operations in different orders and lead to different outcomes. If an exchange happens before another exchange, the object affected by the later action may already have moved. The relevant information is therefore a composition of transformations, rather than a set of independent facts.

Such tasks matter for entity tracking, reasoning about code, and following games. The paper uses these applications to motivate a mathematical question. It does not attempt a broad benchmark of natural narratives or program execution. Instead, it isolates a small algebraic problem that certain versions of those activities must be able to solve.

The distinction between an application and its formal encoding is central. Not every description of moving entities presents the same computational challenge. A format that repeatedly names the current object may supply information that another format requires the reader to maintain. The authors use this observation to explain why a benchmark can look like state tracking while avoiding the difficult operation they want to study.

Why recurrence looked promising

The earlier transformer results described in the paper use circuit complexity to characterize architectural limitations. Under the relevant assumptions, a fixed-depth transformer admits a simulation by constant-depth threshold circuits. This provides a route from a neural computation to a well-studied mathematical class.

The motivating concern is that some sequential problems are believed to require more than that class permits. A recurrent neural network offers an intuitive alternative: its next hidden state is computed from its previous state and the current input. Standard constructions let such networks simulate finite-state machines. They can therefore follow update sequences whose accumulated effect cannot be captured by the shallow circuit family under the conjectured separation.

State-space architectures appear close to that alternative. Their recurrent form also maintains a vector and updates it as inputs arrive. The paper describes earlier work as suggesting advantages in inference efficiency and potentially in stateful computation. It also recognizes strong empirical results in some long-context settings, including work associated with MambaByte.

The authors do not dispute those empirical achievements. Their question is narrower: does the particular recurrence used by common state-space layers provide the same expressive advantage as a general recurrent network? The answer depends on the transition mechanism, not on whether the architecture has a variable called a hidden state.

What circuit complexity contributes

A circuit describes computation as connected gates. Ordinary Boolean gates include conjunction, disjunction, and negation. A threshold gate can test whether sufficiently many incoming values are active. Circuit depth measures the longest dependency chain through the gates, while circuit size measures how many gates are available.

TC⁰ allows polynomial size but constant depth. Increasing input length can make the circuit wider, yet does not grant an ever-longer chain of dependent computational stages. The authors use L-uniformity as an additional constraint: a logarithmic-space procedure must be able to generate the relevant circuit family. This prevents the family from relying on an unconstrained separate design for every input length.

NC¹ permits a different depth regime, using logarithmically growing depth. The paper relies on the widely accepted conjecture that TC⁰ and NC¹ differ. It does not prove that separation. As a result, its architectural simulations are unconditional mathematical results under their stated arithmetic assumptions, while the resulting impossibility claims for NC¹-hard tasks require the conjecture.

This framework follows a line of work connecting formal languages and neural architectures. The cited study of hard-attention transformers belongs to that context. The paper’s contribution is to bring common state-space layers into a comparable analysis and identify the transition products responsible for their limitation.

Why earlier simulation claims do not settle the question

The authors address an apparent conflict with earlier claims that linear state-space layers can simulate recurrent systems. Their resolution concerns depth. The earlier argument allowed an unbounded supply of layers, whereas this paper studies a network whose layer count remains fixed as inputs grow.

Those are different computational resources. A system may reproduce an iterative procedure by spending additional layers on additional iterations. That does not establish that a fixed collection of layers can support arbitrary-length state tracking. The paper’s experiments are designed around this distinction by asking how depth must change when sequence length increases.

The method, step by step

The paper combines architectural definitions, circuit simulations, algebraic task design, and a targeted empirical intervention. The proof identifies a restricted operation inside common state-space layers. The experiments then test behavior on a task whose required composition is understood independently of training.

From architectural equations to state-tracking evidence

The steps in order.

From architectural equations to state-tracking evidenceStep 1: Define a generalized state-space layer1. Define a generalized state-space layerStep 2: Isolate products of transition matrices2. Isolate products of transition matricesStep 3: Prove shallow-circuit simulations for restricted transitions3. Prove shallow-circuit simulations for restricted transitionsStep 4: Connect permutation tasks to sequential computation4. Connect permutation tasks to sequential computationStep 5: Introduce general input-dependent transitions5. Introduce general input-dependent transitionsStep 6: Train on accumulated group products6. Train on accumulated group productsStep 7: Compare required depth across sequence lengths7. Compare required depth across sequence lengths

Start with a generalized state-space layer

The authors define a layer broad enough to include the state-space mechanisms of interest. At each position, an input vector contributes to a hidden state, while a transition matrix transforms the preceding hidden state.

hᵢ = Āᵢhᵢ₋₁ + B̄ᵢxᵢ

Here, i identifies the current position. The vector xᵢ is the layer input there, hᵢ₋₁ is the preceding hidden state, and hᵢ is the new hidden state. The matrix Āᵢ controls propagation of existing state. The matrix B̄ᵢ maps the current input into a state contribution. The input dimension is k, and the state dimension is d.

The bars distinguish the discrete-time transition and input matrices used in the recurrence. These matrices may depend on the current input. The definition therefore includes more than a fixed linear dynamical system, but it still imposes a particular structure on how history enters the update.

The layer’s output combines the new hidden state with a direct contribution from the input.

yᵢ = Cᵢhᵢ + Dᵢxᵢ

The vector yᵢ is the output at position i. The matrix Cᵢ maps the state into output space, and Dᵢ supplies the direct input path. Both can depend on xᵢ in the generalized definition.

A full architecture stacks layers and includes projections and nonlinear operations around them. This placement matters. A nonlinearity applied after an entire state-space layer is not equivalent to a nonlinearity applied inside every state update. The latter changes the recurrence itself.

Unroll the recurrence

The same linear recurrence can be written by collecting the contribution of every earlier input.

hᵢ = Σⱼ₌₁ⁱ (Πₖ₌ⱼ₊₁ⁱ Āₖ)B̄ⱼxⱼ

The index j selects an earlier input position. The inner product composes the transition matrices between that position and i. Multiplying by B̄ⱼxⱼ inserts the contribution created at j, and the outer sum combines all such contributions.

The product order is important. The convention used by the authors applies later transition matrices on the left. General matrix multiplication is not commutative, so changing that order can change the resulting state.

This expression exposes the central operation: products of transitions over intervals. If those products can be computed by constant-depth threshold circuits, and if the input-conditioned matrices are also sufficiently easy to compute, the rest of the layer can be simulated in the same class.

The recurrent and unrolled expressions agree over real arithmetic. The paper explicitly qualifies the corresponding statement for floating-point execution. Different evaluation orders can introduce numerical differences, so treating the forms as the same computation requires an appropriate arithmetic interpretation or negligible error.

State the arithmetic assumptions

The authors use log-precision floating-point numbers. Precision grows with the logarithm of input length, with a fixed multiplicative constant. This allows more representational flexibility than a datatype whose bit width never changes, without assuming unrestricted real-number precision.

p = c log n

The symbol p denotes the number of bits available for a floating-point representation. The input length is n, and c is a fixed positive constant. This is a theoretical datatype assumption, not a claim about the exact format used by the experimental implementation.

The appendix represents a float through a mantissa and exponent.

value(⟨m, e⟩) = m · 2^(e − |m| + 1)

Here, m and e are signed integers representing the mantissa and exponent. The notation |m| means the bit length of m. The angle brackets denote the encoded pair.

Arithmetic requires care because an exact sum or product may not fit the available precision. The authors therefore define aggregate operations by performing the mathematical operation and casting the result back to the datatype.

⊗ᵢ₌₁ᶻ Mᵢ = cast_D(Πᵢ₌₁ᶻ cast_R(Mᵢ))

Each Mᵢ is a square matrix represented in datatype D, and z is the number of factors. The operation cast_R interprets a stored value as a real value. The operation cast_D converts the completed mathematical product back into D. The symbol ⊗ denotes the resulting datatype-aware product.

This definition differs from assuming that every intermediate machine multiplication is rounded in precisely the same way. The appendix also defines a canonical evaluation convention that flattens adjacent sums and products. That convention is particularly relevant when the authors rearrange simultaneously diagonalizable products.

The technical arithmetic work establishes shallow-circuit procedures for aggregate addition, scalar multiplication across a sequence, and powering a matrix of fixed dimension. These results supply the machinery for the architectural proofs.

Identify the transition-product bottleneck

The general simulation lemma has two substantive requirements. Products of transition matrices over any interval must be computable in L-uniform TC⁰. The matrices and output maps associated with an individual position must also be computable in that class from the current input.

Once those requirements hold, the circuit can compute the interval products, apply them to input contributions, and add the results. The surrounding projections, normalization, and relevant nonlinear operations are handled using circuit simulations from the earlier work discussed by the authors.

The number of network layers remains fixed. Composing a fixed collection of constant-depth circuit constructions preserves constant depth. If the architecture instead receives more layers whenever the input grows, that preservation argument no longer gives the same fixed-depth architectural restriction.

This is why transition products are the right object to inspect. A recurrent implementation might execute them one step at a time, but a proof of expressive limitation can use any equivalent implementation. Finding a shallow parallel simulation is enough.

Handle fixed transitions

For the non-gated case, the transition and other layer matrices do not change with input position. Every interval product therefore becomes a power of the same matrix.

Πᵣ₌₁ᵗ Ā = Āᵗ

The matrix Ā is the fixed transition matrix. The index r ranges over t identical factors, and t is the number of transitions being composed. The right-hand side denotes matrix powering.

This is a restricted form of matrix composition. It does not permit each incoming token to choose a different general transformation. The appendix’s matrix-powering result therefore applies, and the general simulation lemma yields the containment for S4.

The conclusion is independent of the weight initialization. An initialization may make training easier or harder, but it does not remove an architectural upper bound that holds for every admissible parameter setting.

Handle diagonal input-dependent transitions

Input dependence alone does not escape the proof. If every transition matrix is diagonal, its repeated composition separates into independent products along the diagonal. Each coordinate accumulates scalar factors instead of interacting through a general changing matrix.

The authors prove that iterated scalar multiplication over their datatype belongs to L-uniform TC⁰. This provides the needed interval-product procedure. If the position-specific parameters can also be computed in that class, the entire diagonal state-space layer admits the shallow simulation.

S6 satisfies those conditions. Its transition is obtained by exponentiating a scaled fixed diagonal matrix.

Āᵢ = exp(δᵢA)

The matrix A is fixed and diagonal. The scalar δᵢ is selected from the current input, and exp denotes matrix exponentiation. Scaling a diagonal matrix and exponentiating it preserve diagonality.

The input-dependent discretization factor is itself generated through a projection and a softplus operation.

δᵢ = softplus(δ + πδ(xᵢ))

The constant δ is a learned or fixed parameter in the parameterization. The map πδ projects the current input xᵢ, and δᵢ is the resulting position-specific scale after softplus. The appendix analyzes the relevant nonlinear calculations under bounded-domain assumptions.

The input matrix is discretized consistently with that transition.

B̄ᵢ = (δᵢA)⁻¹(Āᵢ − I)δᵢBᵢ

The matrix Bᵢ is obtained from the current input, and I is the identity matrix. The superscript −1 denotes inversion. The parameterization assumes the diagonal entries needed for inversion are non-zero. The appendix explains why these operations satisfy the local computability condition.

Hence, selective gating changes the transition values without supplying arbitrary interaction between state coordinates. That is the structural reason the Mamba layer considered here remains within the bound.

Extend the argument beyond visibly diagonal matrices

The authors also analyze transitions that share a fixed diagonalizing basis.

Āᵢ = W diag(aᵢ) W⁻¹

The matrix W is fixed and invertible. The vector aᵢ contains the diagonal entries for position i, diag constructs a diagonal matrix from that vector, and W⁻¹ is the inverse basis transformation.

Though each transition may look dense in the original coordinates, all transitions become diagonal in the same coordinates. When composed, adjacent inverse and forward basis transformations cancel mathematically. The remaining long product is again a collection of scalar products, surrounded by fixed basis changes.

This extension prevents an overly superficial architectural fix. Making individual transition matrices non-diagonal is insufficient if they retain a common fixed diagonal representation. The proof’s substantive target is the structure of the whole family of transitions.

Translate state tracking into algebra

A monoid is a set equipped with an associative operation and an identity element. Associativity means that grouping changes do not alter the result, provided the sequence order remains fixed. The identity represents doing nothing.

A finite world with a finite repertoire of updates can be studied through such an object. Each token denotes an update. Computing the accumulated effect means combining the corresponding elements in order.

word(m₀ … mₖ) = m₀ · … · mₖ

The symbols m₀ through mₖ are monoid elements. The operation · is the monoid multiplication, and word denotes the function that reduces the sequence to its combined effect. A solution must work across arbitrary sequence lengths.

The paper’s simple example uses addition modulo 2 to represent a switch. One element leaves the switch unchanged, while the other flips it. This is state tracking, but its algebra admits a highly parallel solution.

Permutation composition supplies the harder case. S₅ describes rearrangements of five objects. A sequence of swaps can require following which object currently occupies which position. Under the complexity results cited by the authors, its word problem is NC¹-complete.

The experiments use A₅, containing even permutations, as the principal hard group. It is compared with A₄ × ℤ₅ and ℤ₆₀. The matched element count makes the algebraic structure, rather than vocabulary size, the intended source of difficulty.

Connect the formal task to chess

The chess reduction uses moves written as source and target squares. The input consists of an initial board and a move sequence; the required output is the resulting board, with an invalid move producing a null result. Draw rules are excluded from the construction.

The authors encode each permutation as a fixed sequence of legal piece movements. A distinguished rook and other pieces occupy positions whose rearrangement records the permutation’s effect. Composing the move sequences then composes the encoded permutations.

The decisive property is that each permutation token can be replaced independently by its corresponding move block. Decoding the final result requires only a fixed inspection of the resulting board. The reduction therefore does not secretly solve the difficult composition problem while constructing the chess instance.

This establishes the relevance of permutation composition to that specific chess-tracking format. The paper explicitly warns that standard notation can make the tracking problem easier. It similarly notes that different entity-tracking formats need not have identical complexity.

Modify the recurrence in two different ways

The first extension inserts a nonlinearity into every state update.

hᵢ = sgn(Āhᵢ₋₁ + B̄xᵢ)

The function sgn is a sign nonlinearity. The remaining symbols retain their state, transition, and input meanings. This architecture is called an RNN-SSM in the paper.

The nonlinear operation now intervenes between successive updates. That change permits the usual finite-automaton simulation, but removes the straightforward linear composition used by the state-space scan. Applying a nonlinearity only after a complete layer would not have the same effect.

The second extension retains linear state updates while allowing a general matrix to depend on the input.

Āᵢ = πA(xᵢ)

The affine map πA takes the current input vector xᵢ and produces the entries of a full transition matrix. This defines the essential change in IDS4.

The automaton construction assigns each token the transition matrix of a finite-state machine. A special beginning symbol injects the initial-state vector. Subsequent ordinary tokens transform that vector without adding new initialization contributions. A final readout tests whether the represented state is accepting.

The theorem requires an input dimension sufficient to distinguish the alphabet symbols through linearly independent representations. It is therefore an explicit existence construction, not a statement that every small embedding automatically supports the same simulation.

Preserve a parallel implementation where possible

General matrix multiplication remains associative. As a result, the transition sequence can be combined through a scan or tree-like reduction even though it no longer admits the same constant-depth simulation.

The paper points to Prefix Sums and Their Applications for the scan perspective. The important distinction is between being parallelizable and being parallelizable to constant depth. IDS4 can retain a logarithmic-depth composition strategy while expressing a richer class of updates.

For the experimental implementation, the affine transition map is initialized near identity.

α(xᵢ) ∼ I + N(0, σ²)

The map α generates the input-conditioned transition. The symbol I denotes identity, and N denotes normally distributed perturbations with variance σ². The parameter σ controls their scale. The authors’ rationale is that the initial transitions should tend to preserve the preceding state.

The paper does not report a controlled initialization ablation establishing how much this choice contributes. It is part of the implementation and a plausible learning aid, while the expressivity theorem follows from the architecture itself.

Experiments and results

The task and its supervision

The empirical question is whether the architectural distinction appears during learning. The authors use group word problems because their correct computation is exact and their complexity is independently understood.

Every group element receives its own token. A sequence of such tokens specifies an ordered multiplication. At each position, the target label is the product accumulated through that position. This produces a token-tagging task rather than a classification task with only an endpoint label.

That choice favors successful learning. Training receives information throughout the trajectory, so a failure cannot be attributed simply to a lack of supervision before the final position. It also means the results concern a setting with stronger teaching signals than final-answer-only training.

The groups are A₅, A₄ × ℤ₅, and ℤ₆₀. Each has 60 elements. A₅ supplies the NC¹-complete case. A₄ × ℤ₅ retains noncommutativity while being solvable, and ℤ₆₀ represents commutative modular addition.

This comparison is carefully chosen. The input vocabulary and output inventory do not grow when moving to the harder algebra. Differences in learning are intended to reflect the structure of composition instead of a larger collection of symbols.

Training coverage and success measurement

For each chosen sequence length, the authors train architectures at different depths. Training always includes the complete set of 3600 length-2 pairs, in addition to the length-specific training split.

Those pair examples expose the elementary multiplication behavior comprehensively. The longer task still requires repeatedly composing those local operations. This helps distinguish learning the multiplication table from learning an effective strategy for maintaining its accumulated result.

The stated metric is full-sequence accuracy: success requires the predicted sequence of accumulated products to be correct. This is stricter than counting isolated correct tags, because a sequence with a mistaken intermediate prediction does not qualify as fully correct.

The main reported comparison is the minimum depth that reaches 90% test accuracy as input length changes. There is a wording inconsistency worth preserving: the figure caption describes a >90% validation criterion, while the experimental setup describes the test criterion. The paper’s text supports the broad depth comparison, but does not fully reconcile those descriptions.

The available numerical account does not supply exact depth coordinates for the growing curves. Consequently, the results support a qualitative comparison across lengths instead of a reconstructed table of unreported values.

A shallow recurrent solution and its targeted alternative

The clearest explicit depth result concerns the recurrent baseline and IDS4. Both learn the group tasks using a single layer across the evaluated sequence lengths.

Minimum depth reported for the evaluated group word problems

IDS4 matches the recurrent baseline's shallow solution across the tested lengths.

Minimum depth reported for the evaluated group word problemsRNN: 1RNN1IDS4 (this paper): 1IDS4 (this paper)1
The numbers
System or settinglayers
RNN1
IDS4 (this paper)1

This chart records the explicitly stated layer result. It does not imply an unlimited empirical test over every possible sequence length. The architecture theorems concern arbitrary lengths, whereas any training experiment necessarily evaluates a bounded collection.

The agreement between construction and experiment is nonetheless meaningful. IDS4 is not merely proved capable of encoding an automaton; the reported implementation also learns the intended behavior in these synthetic tasks. That closes part of the gap between an existence proof and practical learning.

What happens on the hard group

On A₅, fixed-depth S4, Mamba, and transformer configurations do not maintain the success criterion as sequences become longer. Their required depths increase with length.

This is the empirical pattern predicted by the theoretical analysis. If the architecture cannot express a universal solution within its fixed-depth regime, additional depth is one way to accommodate longer instances. The experiment observes that resource demand without attempting to prove an empirical impossibility from training failures alone.

The paper does not claim that the architectures never answer permutation questions correctly. They can succeed on bounded instances and can improve when given additional layers. The claim is about a uniform solution that continues to work across arbitrary input lengths while architectural depth remains bounded.

What happens on the easier noncommutative group

A₄ × ℤ₅ is especially informative because its word problem is expressible in TC⁰. Yet the transformer and the common state-space architectures still require increasing depth as length grows.

For the transformer and Mamba, performance at a given depth is at least as favorable on this group as on A₅. That does not eliminate the scaling difficulty. The easier algebra helps, but does not produce the constant-depth learned behavior demonstrated by the recurrent baseline and IDS4.

The authors give competing explanations. The architectures may realize only a restricted part of TC⁰ that does not contain the needed solution. Alternatively, a suitable fixed-depth solution may exist within the architecture but be difficult to discover through training. The experiments do not separate these possibilities.

A practical advantage without a theoretical escape

S4 and Mamba compare favorably with the transformer on the noncommutative tasks. The transformer requires at least as much depth and frequently more.

This result matters because it prevents the shared upper bound from being read as a claim of identical behavior. An architectural class can contain systems with different efficiency, optimization, and approximation properties. The paper’s analysis identifies a limitation they share, while its experiments still find practical differences.

The study does not report a language-model benchmark, a throughput comparison, or an inference-memory result for IDS4. Its successful state tracking therefore supports a focused architectural direction rather than a general replacement claim.

What the ablations show

The paper does not present a conventional ablation suite that removes components from a large system. Its explanatory evidence comes from architectural comparisons, matched algebraic tasks, and a proof-guided modification of the transition mechanism.

Fixed transitions versus general input-dependent transitions

The comparison between S4 and IDS4 targets the operation identified by the theory. With a fixed transition, the long composition becomes matrix powering. With general input-dependent transitions, it becomes a product of potentially different matrices.

The theoretical consequence is clear: the shallow-circuit argument for fixed transitions no longer applies, and the automaton construction establishes additional expressive capability. The empirical consequence is that IDS4 learns the evaluated tasks with a single layer.

This is stronger than simply observing that a larger architecture performs better, because the intervention has a mathematical rationale. It is weaker than a fully controlled isolation of every implementation detail. The account does not provide a parameter-matched study or a separate test of every choice involved in IDS4.

Diagonal selectivity versus general selectivity

Mamba’s input-conditioned transitions already make clear that “input dependent” is too broad a description of the relevant difference. S6 remains diagonal, so its transition product separates into scalar chains.

IDS4 permits state coordinates to interact through the changing transition matrix. That is the distinction the formal construction exploits. The paper therefore gives a useful analysis of what kind of selectivity matters, instead of treating any gate as a sufficient source of stateful power.

The simultaneous-diagonalization result sharpens this further. A transition may be dense in its current coordinates yet still belong to a family that becomes diagonal under one fixed basis change. Such a family retains the mathematical simplification responsible for the upper bound.

Changing group structure while preserving symbol count

The group comparison controls an important source of ambiguity. All task variants use 60 group elements, so the harder case is not simply a larger vocabulary or classification inventory.

The qualitative contrast concerns the multiplication structure. The hard group supplies a formal obstruction under the complexity conjecture. The solvable noncommutative group reveals that practical training can struggle even when the broad circuit class permits a solution.

The commutative task acts as an easier structural comparison. Its role is to keep “state tracking” from being treated as a single undifferentiated ability. A system can handle some accumulated updates through shallow shortcuts while failing on others.

Varying depth with input length

The depth sweep directly connects the empirical design to the theoretical resource distinction. A result at one fixed length could be explained by memorization, a bounded shortcut, or a genuine reusable update procedure.

Following the required depth as length increases makes those possibilities more visible. Increasing depth for the common state-space architectures is consistent with a computation that needs more sequential stages to accommodate longer instances.

The sweep still does not yield a complete theory of learning. It demonstrates the observed trend under the study’s training setup. It does not establish the optimal depth attainable by every possible optimizer or parameterization.

What remains untested

The near-identity IDS4 initialization is motivated but not isolated through a reported ablation. The text likewise does not provide controlled measurements of gradient behavior, practical scan cost, or large-scale training stability.

These omissions matter because the paper raises both parallelism and learning dynamics as deployment concerns. Its comparisons establish that the transition change is expressive and learnable in the chosen setting. They leave the costs and robustness of that change open.

Limitations

The authors’ stated boundaries

The central impossibility conclusion depends on TC⁰ ≠ NC¹. The authors identify this as a widely held conjecture, not a theorem proved in the paper. The architectural containment results stand on their own assumptions; the separation from NC¹-hard tasks adds this conjectural step.

The analysis fixes architectural depth as input length grows. It does not say that additional layers are useless. Indeed, the experiments show greater depth helping the restricted architectures handle longer sequences. Nor does it contradict an earlier simulation argument that permits unbounded depth.

Arithmetic is another explicit qualification. The theorems use log-precision computation and particular aggregate-operation conventions. The recurrent and convolutional expressions coincide mathematically over suitable arithmetic, but ordinary floating-point execution can depend on evaluation order.

The shared-diagonalization analysis relies especially on the canonical treatment of composed products. A careful interpretation must preserve that numerical assumption rather than replace it with a claim that all machine-level rearrangements are exactly interchangeable.

The architectural definition also has limits. The paper explicitly places H3 outside its generalized layer because that architecture does not represent context through the same single-vector mechanism. The results should therefore not be extended automatically to every system described as using state-space components.

Input representation changes the application claim

The chess result concerns source–target move notation and a tracking task that ignores draws. It does not establish an identical hardness result for every notation or every formulation of chess prediction.

The authors make an analogous distinction for entity tracking. A description that reveals useful state information explicitly can be easier than one requiring the reader to preserve and compose it. This qualification is part of the paper’s substantive argument about benchmark design.

For code and narratives, the formal relevance is worst-case computational structure. The experiments do not measure general program execution or natural-language comprehension. A reduction establishes that a sufficiently general task includes a hard subproblem; it does not establish how often ordinary data presents that subproblem.

What a careful reader should not infer

The empirical study cannot demonstrate successful tracking over literally unlimited lengths. Its experiments evaluate finite sequences. The existence theorems justify a claim about arbitrary lengths for appropriately constructed systems, while the learned results remain bounded observations.

The numerical reporting also limits reconstruction. The text gives the success threshold, the pairwise training coverage, and the single-layer result, but does not enumerate exact values for the depth curves. It would be unwarranted to infer missing coordinates, variance estimates, or statistical significance from the described trend.

The easier noncommutative task remains diagnostically ambiguous. Its difficulty may reflect a narrower architectural class than TC⁰, an optimization obstacle, or some combination. The authors explicitly leave this distinction unresolved.

IDS4’s success does not establish practical superiority in large-scale language modeling. The paper raises possible vanishing or exploding gradients and the cost of composing general matrices. Associative parallelization supplies an implementation route, but does not by itself establish competitive hardware efficiency.

Finally, the title’s “illusion” should be interpreted at the scope of the argument. S4 and Mamba do maintain numerical states and can solve useful state-dependent tasks. The challenge is to the inference that their recurrent form grants unrestricted recurrent expressive power. The paper’s own results preserve useful approximate behavior and practical advantages within that boundary.

What came after

The later citation record spans recurrent architectures, hybrid sequence processing, formal-language training, and reasoning-resource analysis. A citation establishes that a later work engages with the paper; it does not, on its own, identify which theorem it uses or whether its experiments answer the same question. The available later-work entries supply titles and dates but no accounts of their arguments or findings. Their relationship can therefore be described as a set of research connections whose detailed mechanisms remain unspecified.

xLSTM: Extended Long Short-Term Memory appears in that record in 2024. Its title places it in the investigation of recurrent memory architectures. The relevant question raised by “The Illusion of State” is whether an update mechanism supports the required sequence of transformations. The citation entry does not establish how xLSTM uses that question, which formal claims it adopts, or what state-tracking comparison it reports.

Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling is another citing work from 2024. Its stated subject connects state-space computation with hybrid architecture and long-context language processing. This is an important neighboring direction because the paper’s upper bounds concern specified architectural mechanisms instead of every possible combination of components. The citation information does not establish that Samba overcomes the bound or evaluates the group tasks.

Kimi Linear: An Expressive, Efficient Attention Architecture appears in 2025. Its title foregrounds the same broad design tension between computational efficiency and expressive capability. “The Illusion of State” supplies a way to make that tension precise through transition composition and circuit depth. The available entry does not identify Kimi Linear’s formal relationship to those results, so a stronger claim about its use of the paper would require additional evidence.

RWKV-7 “Goose” with Expressive Dynamic State Evolution also appears in 2025. Dynamic state evolution is directly adjacent to the distinction between restricted transitions and general input-dependent transformations. Nevertheless, the title alone does not establish the algebra of its updates, a simulation theorem, or a successful escape from the specific limitations proved here. Its citation marks a relevant connection without settling those details.

Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biases brings formal languages and training into the later record in 2025. The connection matters because this paper carefully distinguishes architectural expressibility from whether learning discovers a solution. The later entry does not specify which formal languages it studies or how it uses the state-space result, so no direct experimental continuation can be asserted.

Simulating Hard Attention Using Soft Attention appears in 2026. Its title concerns a simulation relationship between computational mechanisms. That places it near the methodological concern running through the state-space proofs: what computation can one architecture reproduce under explicit assumptions? The citation entry supplies no basis for attributing a particular theorem or numerical result to that relationship.

Beyond Memorization: Extending Reasoning Depth with Recurrence, Memory and Test-Time Compute Scaling is a further citing work from 2026. Its title makes resource growth central, which is also what the depth-versus-length experiment isolates. The available information does not show which resource changes it implements or how it evaluates them. Its relevance is therefore a research connection, rather than evidence that a particular intervention resolves the limitation.

Do Transformers Grok Succinct Algorithms? Mechanistic Evidence for Counting Circuits completes the listed citation record in 2026. Its stated concern with learned algorithms and counting circuits is adjacent to the paper’s warning that apparent sequential competence may arise through shallow alternatives. The citation information does not establish its tasks, findings, or interpretation of the state-space theorems. What remains well supported is the continuing relevance of the question this paper makes concrete: when a sequence system succeeds, what computation has it actually learned, and which growing demands can that computation sustain?

Cite

Cite as William Merrill, Jackson Petty and Ashish Sabharwal. 2024. The Illusion of State in State-Space Models. arXiv:2404.08819.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2404.08819 · arXiv 2404.08819

@misc{merrill2024illusion,
  title = {{The Illusion of State in State-Space Models}},
  author = {William Merrill, Jackson Petty and Ashish Sabharwal},
  year = {2024},
  doi = {10.48550/arxiv.2404.08819},
  eprint = {2404.08819},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2404.08819}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/merrill-2024-illusion-state-state-space-models/

References

32 references, from the paper's own bibliography.

  1. Angluin, D., Chiang, D., and Yang, A. Masked hard-attention transformers and Boolean RASP recognize exactly the star-free languages, 2023. arXiv:2310.13897. OpenAlex ↗ · Scholar ↗
  2. Barrington, D. A. Bounded-width polynomial-size branching programs recognize exactly those languages in nc1. Journal of Computer and System Sciences, 380 (1):0 150–164, 1989. URL https://www.sciencedirect.com/science/article/pii/0022000089900378. OpenAlex ↗ · Scholar ↗
  3. Blelloch, G. E. Prefix sums and their applications. Technical Report CMU-CS-90-190, School of Computer Science, Carnegie Mellon University, November 1990. our card
  4. Chiang, D., Cholak, P., and Pillay, A. Tighter bounds on the expressivity of transformer encoders. In ICML, 2023. OpenAlex ↗ · Scholar ↗
  5. Feng, G., Zhang, B., Gu, Y., Ye, H., He, D., and Wang, L. Towards revealing the mystery behind chain of thought: A theoretical perspective. In NeurIPS, 2023. OpenAlex ↗ · Scholar ↗
  6. Fu, D. Y., Dao, T., Saab, K. K., Thomas, A. W., Rudra, A., and Re, C. Hungry hungry hippos: Towards language modeling with state space models. In ICLR, 2023. OpenAlex ↗ · Scholar ↗
  7. Gu, A. and Dao, T. Mamba: Linear-time sequence modeling with selective state spaces, 2023. arXiv:2312.00752. OpenAlex ↗ · Scholar ↗
  8. Gu, A., Johnson, I., Goel, K., Saab, K. K., Dao, T., Rudra, A., and Re, C. Combining recurrent, convolutional, and continuous-time models with linear state space layers. In NeurIPS, 2021. OpenAlex ↗ · Scholar ↗
  9. Gu, A., Goel, K., and Re, C. Efficiently modeling long sequences with structured state spaces. In ICLR, 2022a. OpenAlex ↗ · Scholar ↗
  10. Gu, A., Goel, K., Saab, K., and Ré, C. Structured state spaces: Combining continuous-time, recurrent, and convolutional models, January 2022b. URL https://hazyresearch.stanford.edu/blog/2022-01-14-s4-3. Blog post accessed January 31, 2024. OpenAlex ↗ · Scholar ↗
  11. Hao, S., Angluin, D., and Frank, R. Formal language recognition by hard attention transformers: Perspectives from circuit complexity. TACL, 10:0 800–810, 2022. our card
  12. Hasani, R., Lechner, M., Wang, T.-H., Chahine, M., Amini, A., and Rus, D. Liquid structural state-space models. In ICLR, 2023. OpenAlex ↗ · Scholar ↗
  13. Heim, I. File change semantics and the familiarity theory of definiteness. Semantics Critical Concepts in Linguistics, pp. 108–135, 1983. OpenAlex ↗ · Scholar ↗
  14. Hesse, W. Division is in uniform $TC^0$. In International Colloquium on Automata, Languages, and Programming, pp. 104–114, 2001. OpenAlex ↗ · Scholar ↗
  15. Hesse, W., Allender, E., and Barrington, D. A. M. Uniform constant-depth threshold circuits for division and iterated multiplication. J. Comput. Syst. Sci., 65:0 695–716, 2002. OpenAlex ↗ · Scholar ↗
  16. Hopcroft, J. E., Motwani, R., and Ullman, J. D. Introduction to automata theory, languages, and computation. ACM SIGACT News, 320 (1):0 60–65, 2001. OpenAlex ↗ · Scholar ↗
  17. Immerman, N. and Landau, S. The complexity of iterated multiplication. In [1989] Proceedings. Structure in Complexity Theory Fourth Annual Conference, pp. 104–111, 1989. . OpenAlex ↗ · Scholar ↗
  18. Kim, N. and Schuster, S. Entity tracking in language models. In Rogers, A., Boyd-Graber, J., and Okazaki, N. (eds.), ACL, July 2023. our card
  19. 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:0 450–464, 1965. OpenAlex ↗ · Scholar ↗
  20. Liu, B., Ash, J. T., Goel, S., Krishnamurthy, A., and Zhang, C. Transformers learn shortcuts to automata. In ICLR, 2023. OpenAlex ↗ · Scholar ↗
  21. Mereghetti, C. and Palano, B. Threshold circuits for iterated matrix product and powering. RAIRO-Theor. Inf. Appl., 340 (1):0 39–46, 2000. . URL https://doi.org/10.1051/ita:2000105. OpenAlex ↗ · Scholar ↗
  22. Merrill, W. Sequential neural networks as automata. In Eisner, J., Gallé, M., Heinz, J., Quattoni, A., and Rabusseau, G. (eds.), Proceedings of the Workshop on Deep Learning and Formal Languages: Building Bridges, Florence, August 2019. ACL. OpenAlex ↗ · Scholar ↗
  23. Merrill, W. and Sabharwal, A. The parallelism tradeoff: Limitations of log-precision transformers. TACL, 11, 2023a. our card
  24. Merrill, W. and Sabharwal, A. A logic for expressing log-precision transformers. In NeurIPS, 2023b. OpenAlex ↗ · Scholar ↗
  25. Merrill, W. and Sabharwal, A. The expressive power of transformers with chain of thought. In ICLR, 2024. OpenAlex ↗ · Scholar ↗
  26. Minsky, M. Neural nets and the brain-model problem. Unpublished doctoral dissertation, Princeton University, NJ, 1954. OpenAlex ↗ · Scholar ↗
  27. Mohri, M. Weighted Automata Algorithms, pp. 213–254. Springer Berlin Heidelberg, Berlin, Heidelberg, 2009. ISBN 978-3-642-01492-5. . URL https://doi.org/10.1007/978-3-642-01492-5_6. OpenAlex ↗ · Scholar ↗
  28. Reif, J. H. and Tate, S. R. On threshold circuits and polynomial computation. SIAM Journal on Computing, 210 (5):0 896–908, 1992. . URL https://doi.org/10.1137/0221053. OpenAlex ↗ · Scholar ↗
  29. Rush, S. and Karamcheti, S. The annotated S4. In Blog Track at ICLR 2022, 2022. URL https://openreview.net/forum?id=xDaLPsMBZv-. OpenAlex ↗ · Scholar ↗
  30. Strobl, L., Merrill, W., Weiss, G., Chiang, D., and Angluin, D. What formal languages can transformers express? A survey. TACL, 12, 2024. OpenAlex ↗ · Scholar ↗
  31. Toshniwal, S., Wiseman, S., Livescu, K., and Gimpel, K. Chess as a testbed for language model state tracking. In AAAI, 2021. OpenAlex ↗ · Scholar ↗
  32. Wang, J., Gangavarapu, T., Yan, J. N., and Rush, A. M. Mambabyte: Token-free selective state space model, 2024. arXiv:2401.13660. our card