atlas

Research map / Architectures and efficiency / RNNs and normalization

Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues

ICLR 2025 · Architectures and efficiency › RNNs and normalization · approach: RNN training dynamics and gradients · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows theoretically that LRNNs with only positive eigenvalues cannot solve parity or count modulo 3 in finite precision, and that extending state-transition eigenvalues to [-1,1] (for Mamba and DeltaNet) enables parity and improves state-tracking, with 1.3B-scale pretraining that stays competitive.

Problem

Linear RNNs (Mamba, DeltaNet, GLA, etc.) fail at state-tracking tasks such as parity and modular arithmetic, which limits performance on tasks like code evaluation.

Approach

Extend the eigenvalue range of diagonal and generalized Householder state-transition matrices from [0,1] to [-1,1] (via 2s-1 and I-2 beta v v^T), which provably enables parity and regular-language state tracking and extends to non-diagonal DeltaNet at no extra computational cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Extend Mamba's state-transition eigenvalue range from [0, 1] to [-1, 1]Mamba · Parityscaled accuracy: 0.000 -> 1.000Helped
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet · Parityscaled accuracy: 0.017 -> 1.000Helped
Extend Mamba's state-transition eigenvalue range from [0, 1] to [-1, 1]Mamba · Modular arithmetic without bracketsscaled accuracy: 0.095 -> 0.241Helped
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet · Modular arithmetic without bracketsscaled accuracy: 0.314 -> 0.971Helped
Extend Mamba's state-transition eigenvalue range from [0, 1] to [-1, 1]Mamba · Modular arithmetic with bracketsscaled accuracy: 0.123 -> 0.116Hurt
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet · Modular arithmetic with bracketsscaled accuracy: 0.194 -> 0.260Helped
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet 340M · FineWeb 100BAvg. accuracy: 46.1 -> 45.8Hurt
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet 340M · FineWeb 100BSWDE continuation: 35.2 -> 37.2Helped
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet 340M · FineWeb 100BSQUAD continuation: 28.7 -> 33.1Helped
Extend Mamba's state-transition eigenvalue range from [0, 1] to [-1, 1]Mamba 370M · FineWeb 100BAvg. accuracy: 47.3 -> 48.2Helped
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet 1.3B · FineWeb 100BAvg. accuracy: 53.1 -> 52.4Hurt
Extend DeltaNet's state-transition eigenvalue range from [0, 1] to [-1, 1]DeltaNet 340M · CodeParrot and Math-Hard length extrapolationperplexityHelped

Surprising findings

Limitations

Experimental setup

Datasets: FineWeb-100B FineWeb SlimPajama CodeParrot MATH-HARD TriviaQA lm-harness tasks SWDE SQUAD FDA

Benchmarks: Parity Modular arithmetic (w/o and w/ brackets) S5 word problem Z60 addition CodeParrot perplexity MATH-HARD perplexity TriviaQA perplexity SlimPajama perplexity lm-harness SWDE SQUAD FDA

Metrics: scaled accuracy sequence accuracy perplexity accuracy contains-based accuracy

Baselines: Transformer mLSTM sLSTM Mamba [0,1] DeltaNet [0,1] GLA Transformer++

Builds on: Mamba DeltaNet GLA xLSTM Merrill et al. positive-eigenvalue diagonal LRNN analysis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy