You have watched it happen. An agent run that was fine at step 40 is thrashing memory and crawling at step 900, and nothing about the model changed except the transcript it keeps re-reading.
Every reasoning step re-attends to every token already written. That is the KV cache doing its job, and it is why long chains are memory bound, not compute bound. The fix on the table this month is not a better eviction policy. It is a paper asking whether the model should attend to the transcript at all: if the problem is first order Markovian, the next step needs a sufficient state, not every earlier token.
Read it as a design paradigm, not a results table. Nobody has replicated it, and the preprint ships an evaluation protocol instead of a speedup number.
THE CACHE IS THE WRONG SHAPE
The KV cache grows linearly with generated tokens. On a chat turn that is noise. On two thousand reasoning steps it is the dominant cost, and the constraint stops being FLOPs and becomes memory bandwidth.
Eviction policies manage the symptom. Turn boundaries, sliding windows, prefix reuse, all accept that history must be attended and try to pay less for it. The premise is what breaks. Algebra, planning, and most tool loops are closer to a Markov chain than to open ended writing, so the next step needs the state, not a replay of how the state got there.
WHAT A MARKOVIAN STATE INTERFACE IS
At the cache level, history dependent KV storage becomes a state transfer of fixed width, and that width does not scale with reasoning steps.
At the learning level, long chain prediction becomes independently trainable one step transitions. You train the model to make one transition correctly and let the state carry forward what matters.
Four losses police the bottleneck, and each one has a failure symptom you have already met.
- A state bottleneck forces compression into the carried state. Symptom: state dimensions creep up on every retrain until the memory saving is gone and you own a cache with extra steps.
- A distillation loss matches a full history teacher. Symptom: the state is small but arbitrary, so accuracy holds at step 5 and decays by step 300.
- An invariance loss drops detail the next step does not need. Symptom: forgetting, where a constraint set on turn one or a tool result from twenty steps back is classified as irrelevant and vanishes.
- A drift consistency loss keeps the state faithful as steps accumulate. Symptom: a model that argues confidently after it has lost the thread, wrong at step 400 with no error signal.
Here is the shape of that interface as code, illustrative and not the paper's implementation.
# illustrative state interface, not the paper's implementation
state = model.init_state(problem) # fixed width, no transcript
for step in range(chain.length):
depth = budget.depth_for(state.difficulty) # inner loop, per transition
state = model.transition(state, depth=depth) # one step, shared weights
if drift.measure(state, step) > policy.tolerance:
state = model.reproject(state, anchor) # rebind, do not grow the cache
The line that matters is drift.measure. Everything above it is a claim about compression. That check is all that separates a bounded state from a model that quietly degrades at step 400 while reporting higher throughput.
THE DUAL LOOP AND WHERE THE STATE LIVES
The two loops map onto two lines of that snippet.
The outer loop advances the state one transition at a time. The inner loop is depth_for, and it is how a fixed width state buys accuracy without buying width: hard transitions iterate through the same shared weights more times, easy transitions fewer. A standard transformer charges the same per token for a hard step and an easy one. Here compute per step is a dial.
reproject is the drift correction. When the check trips, the state is re-derived from the last trusted checkpoint instead of compounding the error for another thousand steps.
Now the part the marketing version skips: where does a three region cache live if the state is Markovian? Nothing runs on a state tensor alone. The regions are the carried state, a short window of recent tokens the current transition reads, and a scratch region for the step in flight. The first is fixed in width, the second is bounded by the step rather than the chain, the third is discarded when the transition ends. What decouples from chain length is the total, never each part alone.
That is the trade-off. You are not deleting the cache, you are capping it, and the cap is a hyperparameter with an accuracy cost behind it. Step relative positions are the other half: positions count from the current step, so the model never needs an absolute index into a transcript it cannot see. Truncated backprop keeps training tractable, and a branch checkpoint stores a state instead of a cache, which is what makes parallel rollouts affordable.
WHAT TO MEASURE BEFORE YOU BELIEVE IT
The arithmetic makes the claim concrete. A 32 layer model with 32 heads at head dimension 128 stores 2 x 32 x 32 x 128 values per token in fp16, which is 512 KiB of KV per token. Run 2,000 reasoning steps at 512 tokens each and you hold just over a million tokens, near 512 GiB of cache for one chain. A bounded state holds the same small tensor at step 2 and at step 2,000. That is arithmetic on a stated configuration, not a measurement.
- Memory per reasoning step should be flat. If it grows with step count, the interface is a wrapper over a cache that still grows.
- Branch checkpoint size. Five parallel rollouts should cost five states, not five caches.
- Drift under truncated backprop. Check fidelity at step 50, 200, and 1000, not at step 8.
- Accuracy against a full KV baseline at equal token budget, or the comparison is meaningless.
- KV gigabytes per request in your serving stack. Your dashboard shows it, and this architecture exists to break it.
WHY THIS IS THE COMMON CASE
Google processed 9.7 trillion tokens a month in May 2024 and 3.2 quadrillion in May 2026, a 330 fold increase, with 560 billion dollars of hyperscaler capex behind it in the first three quarters of 2026. Most of that volume is agents looping, checking and retrying, which is the workload shape this design targets.
A linear memory term per request stops being an inefficiency and becomes a capacity plan. Load is uneven, so a flat curve buys headroom at peak, not on average.
THE SOURCE
Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers, by Haibin Tong, Liangliang Xin, Yamei Zhu, and Jiang Yu, arXiv 2611.28285, cs.AI, 21 pages, submitted 20 November 2026. It is a preprint with no independent replication and no reported benchmark, which is why the measurement section above is the part to take seriously.
WHAT TO DO TODAY
- Profile one real long chain workload and plot KV growth per step, not just end to end latency.
- Map each loss to a failure you have already seen, then watch which one shows up in eval before you ship.
- Add memory per reasoning step to your eval dashboard next to tokens per second.
- Ask whether the endpoint exposes a bounded state reasoning mode, and what the memory curve is per thousand reasoning tokens.
- Re-read the turn boundary work with this frame. Eviction manages the symptom. A state interface removes it.
THE UNCOMFORTABLE QUESTION
If your reasoning cost curve is linear in chain length today, what exactly are you pricing into your next capacity plan when your competitor's curve goes flat and yours does not?
If you have profile data, reply with the step count where your chains start to degrade. A real number beats any benchmark in this thread.
The diagnosis is the input. The interface is the decision.
Note #150 measured the same problem from the trace side. GitHub Copilot's traces across 3.2 million users, 13 million sessions, 761 million LLM calls, and 95 trillion tokens put KV hit rates at 90% within a turn and 55% across turn boundaries. Those turn boundary numbers are the gap between your cost model and your bill.
Top comments (0)