Don’t ask the model to remember
A new benchmark tracked how models follow changing values through long documents. Accuracy fell as low as 13%. If your agent needs the current state, give it a place to look it up.
The 60-second version
- Ai2’s StateBench tests whether models can follow values that change through a long document.
- Frontier models handled values that are set once or simply replaced. Chained updates and swaps were where they broke.
- On the longest by-reference problems, accuracy fell to 13% or lower.
- A long ticket history or agent log is exactly this kind of document.
- Keep current state in a database or a structured record, and have the agent read it instead of working it out.
An agent reads a long ticket history and has to answer one question: what is the status now? The customer changed their address, then changed it back. The refund was approved, reversed and reissued. The answer is in the document, somewhere, as the result of everything that happened to it.
We tend to assume that if a model can read a long document, it can keep track of what's in it. A new benchmark says to check that assumption.
What StateBench found
Ai2 released StateBench this month. It has four levels of difficulty: values set once and never changed, values that get replaced, updates that build on the current value, and assignments by reference, such as copying one variable to another or swapping two.
The frontier models Ai2 tested did well on the first two levels. On the last two, accuracy fell sharply as the input grew, reaching 13% or lower on the longest by-reference problems.
Being able to read a long document is not the same as being able to keep track of it.
Your logs are this benchmark
StateBench is a controlled test, and your data isn't made of variables. But the shape is familiar. An order that moves between statuses, a ticket reassigned between teams, a plan edited across a long agent session: each is a value that changes, sometimes by reference to something else. The longer the history, the more you are relying on the hardest kind of reading.
It also explains a failure that is hard to spot. A model that loses track doesn't say so. It gives a confident answer about a state that stopped being true twenty steps ago.
Keep state somewhere it can be looked up
The fix is old-fashioned. Keep the current state in a database or a structured record, update it with code each time something changes, and give the agent a tool to read it. Now "what is the status?" is a lookup, not an inference. The model's job goes back to what it's good at: deciding what to do given the facts.
The same goes for long agent sessions. Don't rely on the model to carry its plan through hundreds of steps. Write the plan and its progress to a file, and have it read that file.
What to do this week
Find one place where your agent works out the current state from a history. Build ten test cases with long histories and several changes, including one that reverses an earlier change. Check the answers against the true state. If it fails, move that fact into a record the agent can read.
Figures as reported by Ai2.