# StateBench: Testing how language models track state changes over long documents

DevFeed: [StateBench: Testing how language models track state changes over long documents](<https://devfeed.tech/articles/statebench-testing-how-language-models-track-state-changes-over-long-documents-116367.md>)

Original publisher: [Read original article](<https://allenai.org/blog/statebench>)

Published: 2026-11-03T08:00:00Z

Content type: article

Language: en

Sources: [Ai2 Blog](<https://devfeed.tech/sources/ai2-blog.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [scaling laws](<https://devfeed.tech/topics/scaling-laws.md>)

Tags: [architectures](<https://devfeed.tech/tags/architectures.md>), [attention](<https://devfeed.tech/tags/attention.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [models](<https://devfeed.tech/tags/models.md>), [recurrent](<https://devfeed.tech/tags/recurrent.md>), [testing](<https://devfeed.tech/tags/testing.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

StateBench compares language models on four levels of state tracking, from retrieving an unchanged value to following dependencies among variables. In tests of pretrained models, most handled simple updates but struggled as inputs grew; frontier models fell to 13% or lower on the longest general finite problems. When trained directly on the tasks, Gated DeltaNet and hybrid models generalized almost perfectly on the first three levels up to 64,000 assignments, while transformers degraded on long sequences and never learned the hardest level. A more flexible Gated DeltaNet variant stayed near perfect on general finite tasks to about ten times its maximum training length. These results distinguish training effects from architectural limits, though the benchmark assumes a fixed number of variables and leaves some capabilities of constrained Gated DeltaNet unresolved.

## Source excerpt

StateBench tests how language models track changing information across long documents at four difficulty levels, revealing where models struggle and how targeted training helps recurrent and hybrid architectures handle longer sequences.