paper-with-me

Papers

ZoomR: Memory Efficient Reasoning through Multi-Granularity Key Value Retrieval

2026-04-13 · David H. Yang, Yuxuan Zhu, Mohammad Mohammadi Amiri, Keerthiram Murugesan, Tejaswini Pedapati, Subhajit Chaudhury, Pin-Yu Chen arxiv

Large language models (LLMs) have shown great performance on complex reasoning tasks but often require generating long intermediate thoughts before reaching a final answer. During generation, LLMs rely on a key-value (KV) cache for autoregressive decoding. However, the memory footprint of the KV cache grows with output length. Prior work on KV cache optimization mostly focus on compressing the long input context, while retaining the full KV cache for decoding. For tasks requiring long output generation, this leads to increased computational and memory costs. In this paper, we introduce ZoomR, a novel approach that enables LLMs to adaptively compress verbose reasoning thoughts into summaries and uses a dynamic KV cache selection policy that leverages these summaries while also strategically "zooming in" on fine-grained details. By using summary keys as a coarse-grained index during decoding, ZoomR uses the query to retrieve details for only the most important thoughts. This hierarchical strategy significantly reduces memory usage by avoiding full-cache attention at each step. Experiments across math and reasoning tasks show that our approach achieves competitive performance compared to baselines, while reducing inference memory requirements by more than $4\times$. These results demonstrate that a multi-granularity KV selection enables more memory efficient decoding, especially for long output generation.

📄 PDF Abstract BibTeX arXiv:2604.10898

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

From Passive Retrieval to Active Memory Navigation: Learning to Use Memory as a Structured Action Space

2026-07-07 · Yue Xu, Yutao Sun, Yihao Liu, Mengyu Zhou 외 arxiv

Long-term user memory is essential for personalized conversational agents, yet many memory systems still expose memory through passive retrieval interfaces, making the model a consumer of pre-selected evidence. We introd…

Reinforcement Learning

AMA: Adaptive Memory via Multi-Agent Collaboration

2026-01-28 · Weiquan Huang, Zixuan Wang, Hehai Lin, Sudong Wang 외 arxiv

The rapid evolution of Large Language Model (LLM) agents has necessitated robust memory systems to support cohesive long-term interaction and complex reasoning. Benefiting from the strong capabilities of LLMs, recent res…

Zooming for Efficient Model-Free Reinforcement Learning in Metric Spaces

2020-03-09 · Ahmed Touati, Adrien Ali Taiga, Marc G. Bellemare

Despite the wealth of research into provably efficient reinforcement learning algorithms, most works focus on tabular representation and thus struggle to handle exponentially or infinitely large state-action spaces. In t…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

CtrlCoT: Dual-Granularity Chain-of-Thought Compression for Controllable Reasoning

2026-01-28 · Zhenxuan Fan, Jie Cao, Yang Dai, Zheqi Lv 외 arxiv

Chain-of-thought (CoT) prompting improves LLM reasoning but incurs high latency and memory cost due to verbose traces, motivating CoT compression with preserved correctness. Existing methods either shorten CoTs at the se…

Document-level Biomedical Relation Extraction Based on Multi-Dimensional Fusion Information and Multi-Granularity Logical Reasoning

2022-10-01 · COLING 2022 10 · Lishuang Li, Ruiyuan Lian, Hongbin Lu, Jingyao Tang

Document-level biomedical relation extraction (Bio-DocuRE) is an important branch of biomedical text mining that aims to automatically extract all relation facts from the biomedical text. Since there are a considerable n…

Logical ReasoningRelationRelation Extraction