# 🧠 AI models can retrieve facts from long texts and still lose track of what changed

AI Today · published 2026-11-03T23:59:14Z · https://ai-today.com/news/365cc3d6-e842-41d0-9c15-712221ee380a?lang=en

![StateBench vergleicht die Genauigkeit vortrainierter Modelle bei Aufgaben zur Zustandsverfolgung. / StateBench compares pretrained model accuracy on state-tracking tasks.](https://img.ai-today.com/d/796b584a809d40e9b25a1bf5e6300c03/xUNap92CqPQZrTssmcCN1Dwcjs-vW0Dn2SyGbJf0bcs.jpg)

- 🧪 StateBench tests how well models follow changes to variables and objects across a long input.
- 📉 Four frontier models scored at most 13% on the longest tasks with interdependent changes.
- 💾 Directly trained models with a different kind of memory performed better in parts of the benchmark.

📚 Researchers at the Allen Institute for AI built StateBench to separate finding a fact from following a chain of changes. Four leading models performed well when they needed only the initial or latest value. On the longest tests, where an answer depends on many interlocking steps, all scored 13% or less. Separate experiments found that some smaller models with a different kind of memory could improve when trained directly on the task.

📄 A document can be long in two very different ways. It can hide one relevant fact among pages of irrelevant material. It can also describe hundreds of relevant changes, each relying on earlier steps. In the second case, a model may find every mention of a name and still give the wrong final answer. Researchers at the Allen Institute for AI developed StateBench to tell these problems apart. The benchmark tests whether a model can maintain the state of things such as variables, people or objects as a sequence changes them.

🪜 The researchers defined four levels. At the simplest level, a value never changes, like a person’s birth date. At the next level, it changes outright, like a thermostat setting. Finding the last assignment is enough. The third level requires updating a running value. A scoreboard that adds points on every turn cannot be understood from the last turn alone. At the hardest level, values can also depend on other values. If objects are swapped between containers, their final locations depend on the order of previous swaps. The model has to work through the chain even when the text never names the object in the last instruction.

🔬 To compare the levels, Ai2 starts from a sequence of the hardest type and derives simpler ones. The number of variables, distinct values and the points where updates occur stay comparable. The kind of update changes. This lets the experiment ask whether a model trips over the sequence length or over the dependencies between steps. The same kind of state problem can also be presented in different formats. In the pretrained-model experiments, some small models did well on a simple test in one format and were near chance on the same task described as spreadsheet edits.

📊 Ai2 evaluated Gemini 3.8 Flash, Claude Opus 5.5, and GPT-6 Sol and Luna. All four did well at retrieving fixed and latest values. Accuracy fell as the more complicated tasks grew. On the longest problems in the hardest category, none scored above 13%. A missed change in a chain can affect several later answers, so giving a model a longer input window does not itself give it the ability to maintain the state. StateBench checks final values rather than assuming a model understood a document because it could quote a relevant line from it. Ai2’s tests of open pretrained models add another useful comparison. The team used two seven-billion-parameter models, Olmo 3 and Olmo Hybrid, alongside smaller models of 275 million and 2.7 billion parameters. The models shared training data, and the original training had not included contexts beyond 64,000 tokens. Most were tested past that length. Nearly all held up on fixed values and fell to chance on the hardest level. That baseline shows what the models did before they were trained on the benchmark itself.

🧬 A second set of experiments asked whether dedicated training changes the picture. Researchers trained several models of 275 million parameters, using conventional transformers, models with a mechanism called Gated DeltaNet, and hybrids. Gated DeltaNet updates a running memory as new information arrives. The training sequences contained up to 256 assignments. Some tests stretched to 64,000 assignments, 250 times the length seen in training. The team reports that the Gated DeltaNet and hybrid models handled the three easier levels almost perfectly even on very long sequences. The transformers learned easier cases but degraded as sequences grew, and failed to learn the hardest type in these runs.

📈 The most flexible Gated DeltaNet variant also made progress on the hardest level, staying close to perfect at roughly ten times its training length. That is a different result from sustaining that performance across the longest sequences on the easier levels. The researchers also distinguish the model architecture’s possible behavior from what a pretrained model actually learns. In their comparisons, direct training let some architectures solve cases that their pretrained versions struggled with. That makes the choice of training tasks part of the research question alongside the choice of memory mechanism.

🚧 The benchmark uses a fixed set of variables. A real conversation can introduce a new person or object long after it starts. A software task can also add new data while the agent works. Ai2 calls that a gap in StateBench, and published data and code for others to examine. For a practical comparison, the benchmark’s levels help separate systems that only need to find a passage from systems that need to keep a reliable record of what changed over many steps.

## Sources

- [Allen Institute for AI · 2026-11-03](https://huggingface.co/blog/allenai/statebench)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
