A Residue Is Not a Recurrence: What 'Reinforcement Learning Alone' Shows About Information Carried in a Streamed KV Cache After Context Compaction, Why Presence, Use, Channel and Benefit Are Separate Claims, and the Re-Prefill and Cache-Swap Controls

(c) 2026 Pranay Mahendrakar. Licensed under CC BY 4.0. Life of Research Long-horizon language-model agents keep their memory bounded by compaction: past turns are deleted, sometimes replaced by a summary, and the agent carries on. There are two ways to carry on. A re-prefill pipeline rebuilds the cache from the text that survived, so the agent's state is exactly what it can read. A streaming pipeline keeps the cached keys and values of the surviving tokens, which were computed while the deleted turns were still visible, so the state also holds a residue of what was deleted. A September 2026 study makes streaming cheap to train with reinforcement learning, and reports, against an earlier summary-masking method that used supervised fine-tuning first, that reinforcement learning alone is enough for the streamed cache to act as a recurrent state. In this analysis the author reviews and synthesises published results to show that this sentence joins four claims of unequal standing. Presence, that the retained keys and values encode deleted content, is architectural: the earlier method's own toy-model probes find it unchanged across training, and it holds for any eviction that does not recompute. Use, that the policy's outputs depend on that residue, is what training adds, and the streaming study's controlled recall task shows reinforcement learning can add it when a reward scores recall directly and chance success is 20 percent; its supervised arm recalls perfectly from 16 decoded tokens, while its reinforcement-learning arm varies by tens of points across seeds at 16, 32 and 256 tokens. Channel, that the information travels in the residue rather than in visible tokens, is established only for the supervised arm, whose decoded sequence is fixed; the reinforcement-learning arm samples its own sequence, which could carry a code. Benefit, that the residue raises task return, is not shown for agents: matched streaming and re-prefill training runs differ in both directions across strategies, under confounds that prevent crediting the residue, while a 15.3-point loss from removing the residue was measured on a model trained with it. The paper consolidates the measured values in a table and a figure, sets out a ledger of where deleted information can survive, and specifies an attribution procedure with re-prefill, sequence-swap and cache-swap controls that would separate the four claims.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24565010
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Residue Is Not a Recurrence: What 'Reinforcement Learning Alone' Shows About Information Carried in a Streamed KV Cache After Context Compaction, Why Presence, Use, Channel and Benefit Are Separate Claims, and the Re-Prefill and Cache-Swap Controls

Pranay M. Mahendrakar
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

A Residue Is Not a Recurrence: What 'Reinforcement Learning Alone' Shows About Information Carried in a Streamed KV Cache After Context Compaction, Why Presence, Use, Channel and Benefit Are Separate Claims, and the Re-Prefill and Cache-Swap Controls

Pranay M. Mahendrakar
preprint en

Abstract

(c) 2026 Pranay Mahendrakar. Licensed under CC BY 4.0. Life of Research Long-horizon language-model agents keep their memory bounded by compaction: past turns are deleted, sometimes replaced by a summary, and the agent carries on. There are two ways to carry on. A re-prefill pipeline rebuilds the cache from the text that survived, so the agent's state is exactly what it can read. A streaming pipeline keeps the cached keys and values of the surviving tokens, which were computed while the deleted turns were still visible, so the state also holds a residue of what was deleted. A September 2026 study makes streaming cheap to train with reinforcement learning, and reports, against an earlier summary-masking method that used supervised fine-tuning first, that reinforcement learning alone is enough for the streamed cache to act as a recurrent state. In this analysis the author reviews and synthesises published results to show that this sentence joins four claims of unequal standing. Presence, that the retained keys and values encode deleted content, is architectural: the earlier method's own toy-model probes find it unchanged across training, and it holds for any eviction that does not recompute. Use, that the policy's outputs depend on that residue, is what training adds, and the streaming study's controlled recall task shows reinforcement learning can add it when a reward scores recall directly and chance success is 20 percent; its supervised arm recalls perfectly from 16 decoded tokens, while its reinforcement-learning arm varies by tens of points across seeds at 16, 32 and 256 tokens. Channel, that the information travels in the residue rather than in visible tokens, is established only for the supervised arm, whose decoded sequence is fixed; the reinforcement-learning arm samples its own sequence, which could carry a code. Benefit, that the residue raises task return, is not shown for agents: matched streaming and re-prefill training runs differ in both directions across strategies, under confounds that prevent crediting the residue, while a 15.3-point loss from removing the residue was measured on a model trained with it. The paper consolidates the measured values in a table and a figure, sets out a ledger of where deleted information can survive, and specifies an attribution procedure with re-prefill, sequence-swap and cache-swap controls that would separate the four claims.

Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon