SideQuest: Model-Driven KV Cache Management for Long-Horizon Agentic Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 2 more
Abstract (arXiv)
Long-running agentic tasks, such as deep research, require multi-hop reasoning over information distributed across multiple webpages and documents. In such tasks, the LLM context is dominated by tokens from external retrieval, causing memory usage to grow rapidly and limiting decode performance. While several KV cache compression techniques exist for long-context inputs, we find that existing heuristics fail to support multi-step reasoning models effectively. We address this challenge with SideQuest -- a novel approach that leverages the Large Reasoning Model (LRM) itself to perform KV cache compression by reasoning about the usefulness of tokens in its context. To prevent the tokens associated with this management process from polluting the model's memory, we frame KV cache compression as an auxiliary task executed in parallel to the main reasoning task. Our evaluations, using a model trained with just 215 samples, show that SideQuest reduces peak token usage by up to 65% on agentic tasks with minimal degradation in accuracy, outperforming heuristic-based KV cache compression techniques.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 20 of its 30 references that are in the map. First posted on arXiv 26 Feb 2026.
Builds on
20 of 30 references.
Closest ancestors · 7
Same direction, newest first
- 2025Recursive Language Models31 Dec
- 2025Nemotron 3 Nano: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning23 Dec
- 2025ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models1 Oct
- 2025gpt-oss-120b & gpt-oss-20b Model Card8 Aug
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning19 Jun
- 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Models30 May
- 2025RaaS: Reasoning-Aware Attention Sparsity for Efficient LLM Reasoning16 Feb
Other references · 13
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2025Qwen3 Technical Reportcited by 8,195
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 616
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 183
- 2024Fact, Fetch, and Reason: A Unified Evaluation of Retrieval-Augmented Generationcited by 158
- 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 136
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026The Missing Memory Hierarchy: Demand Paging for LLM Context Windowscited by 8
- 2026ACM: Agentic Context Management for Long Horizon Taskscited by 8
- 2026IntentKV: Cross-Turn Intent-Aware KV Cache Pruning for Agent Inferencecited by 6
- 2026Leyline: KV Cache Directives for Agentic Inferencecited by 5
- 2026Dynamic Attentional Context Scoping: Agent-Triggered Focus Sessions for Isolated Per-Agent Steering in Multi-Agent LLM Orchestrationcited by 1
- 2026Transactional Attention: Semantic Sponsorship for KV-Cache Retentioncited by 1
- 2026Epiphany-Aware KV Cache Eviction Without the Attention Matrixcited by 1
- 2026Adaptive Filtering of the KV Cache: Diagnosing and Correcting Structural-Role Bias in LLM Inferencecited by 1
- 2026CommitKV: Lifecycle-Aware KV Cache Compression via Commit Transitions for Multi-Turn Agentscited by 0
- 2026StepKV: Step-Aware KV Cache Compression for LLM Agentscited by 0
- 2026StepKV: Step-Aware KV Cache Compression for LLM Agents26 Aug 2026
- 2026CommitKV: Lifecycle-Aware KV Cache Compression via Commit Transitions for Multi-Turn Agents8 Aug 2026
- 2026ACM: Agentic Context Management for Long Horizon Tasks26 Jul 2026
- 2026Adaptive Filtering of the KV Cache: Diagnosing and Correcting Structural-Role Bias in LLM Inference14 Jul 2026
- 2026Epiphany-Aware KV Cache Eviction Without the Attention Matrix25 Jun 2026
- 2026IntentKV: Cross-Turn Intent-Aware KV Cache Pruning for Agent Inference6 Jun 2026
- 2026Leyline: KV Cache Directives for Agentic Inference31 May 2026
- 2026Transactional Attention: Semantic Sponsorship for KV-Cache Retention13 Apr 2026
- 2026Dynamic Attentional Context Scoping: Agent-Triggered Focus Sessions for Isolated Per-Agent Steering in Multi-Agent LLM Orchestration9 Apr 2026
- 2026The Missing Memory Hierarchy: Demand Paging for LLM Context Windows9 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference
- 2025Hold Onto That Thought: Assessing KV Cache Compression On Reasoning
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compression
- 2026LongFlow: Efficient KV Cache Compression for Reasoning Models
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons
- 2026ReasonAlloc: Hierarchical Decoding-Time KV Cache Budget Allocation for Reasoning Models
- 2025Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compression
- 2026Fewer Tokens, Smaller Cache: Reward-Coordinated Efficient Reasoning