Research ·
StateBench: Testing how language models track state changes over long documents
Ai2 released StateBench, a benchmark with four difficulty levels of long-context state tracking, showing that recurrent and hybrid architectures generalize better than transformers and that frontier models still fail on harder state-tracking tasks.

Ai2 introduced StateBench, a benchmark testing how well language models track entity state changes in long documents, such as variable reassignment in code or objects changing hands in a story. It spans four difficulty levels—r-trivial, aperiodic, soluble, and general finite—distinguished by the kinds of variable assignment operations allowed, from immutable values up to assignment by reference.
The levels are grounded in Krohn–Rhodes theory, and each StateBench problem is derived from a single sequence of variable assignments so all four versions share the same variables, values, and assignment positions; only the update type changes. The team tested open pretrained models trained on identical data, including Olmo 3 (a transformer) and Olmo Hybrid (which adds Gated DeltaNet layers), plus smaller models at 275 million and 2.7 billion parameters. Most had never seen contexts beyond 64,000 tokens, yet were tested well beyond that length.
Results: almost all models handled r-trivial problems well, degraded on aperiodic ones as inputs grew, and stayed at chance on general finite problems. Recurrent and hybrid models generalized much farther than transformers when trained on these tasks, consistent with theory, while frontier models including Gemini 3.8 Flash, Claude Opus 5.5, and GPT-6 Sol and Luna still broke down on harder forms as inputs lengthened. Problem framing also mattered: small hybrid models scored near ceiling on RULER-style r-trivial problems but near chance when the same problems were framed as spreadsheet edits.
For builders, this means long-context benchmarks may overstate state-tracking ability depending on how a task is framed, and transformer-based models may be unreliable for workloads requiring chained updates, such as following running totals or reference-based changes in long inputs—areas where recurrent or hybrid architectures hold an advantage.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz