cd /news/machine-learning/kv-streams-for-efficient-compaction-… · home › topics › machine-learning › article
[ARTICLE · art-141889] src=arxiv.org ↗ pub= topic=machine-learning verified=true sentiment=↑ positive

KV-streams for Efficient Compaction in Agentic Reinforcement Learning

Researchers Emiliano Penaloza and co-authors submitted KV-streams to arXiv on 28 Sep 2026, a plug-and-play context-compaction strategy for agentic reinforcement learning that streams the KV cache forward instead of flushing it after each compaction. KV-streams enables three different compaction strategies and achieves a 2.6 to 5x wall-clock training speedup, with the streamed KV cache acting as a recurrent state that carries forward information dropped from context; the authors report that RL alone is sufficient for this behavior to emerge, contrary to prior work.

read2 min views1 publishedSep 29, 2026
KV-streams for Efficient Compaction in Agentic Reinforcement Learning
Image: source
  [Submitted on 28 Sep 2026]


[View PDF](http://arxiv.org/pdf/2609.35750v1)

[HTML (experimental)](https://arxiv.org/html/2609.35750v1)

Abstract:Scaling the horizon of agentic LLMs is bottlenecked by the need to fit ever longer context traces in GPU memory. Context compaction has been the most popular mechanism to alleviate this issue, keeping GPU memory constant for a given trace. Unfortunately, most compaction strategies rely on prefilling the LLM context many times over, hindering training throughput. To alleviate this bottleneck and enable efficient trainable compaction, we propose KV-streams, a plug-and-play strategy compatible with any compaction strategy that substantially increases throughput while showing no evidence of hindering performance. KV-streams enable scalable compaction by streaming the KV cache forward rather than flushing it after each compaction. We show that KV-streams enable three different compaction strategies, achieving a 2.6 to 5x wall-clock speedup in training. Beyond efficiency, we find that the streamed KV cache can act as a recurrent state, carrying forward information that has long since disappeared from the context. Specifically, in a controlled setting we show that, contrary to prior work, RL alone is all that is needed for this behavior to emerge. Overall, we show KV-streams to be an efficient and lightweight plug-and-play addition to any post-training pipeline.

Submission history #

From: Emiliano Penaloza [
[view email](http://arxiv.org/show-email/bb631b20/2609.35750)]

**[v1]** Mon, 28 Sep 2026 17:57:42 UTC (17,726 KB)

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) IArxiv Recommender

(What is IArxiv?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #machine-learning 4 stories · sorted by recency
── more on @kv-streams 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/kv-streams-for-effic…] indexed:0 read:2min 2026-09-29 · —