paper-with-me

Papers

CodeComp: Structural KV Cache Compression for Agentic Coding

2026-04-11 · Qiujiang Chen, Jing Xiong, Chenyang Zhao, Sidi Yang, Ngai Wong arxiv

Agentic code tasks such as fault localization and patch generation require processing long codebases under tight memory constraints, where the Key-Value (KV) cache becomes the primary inference bottleneck. Existing compression methods rely exclusively on attention signals to estimate token importance, systematically discarding structurally critical tokens such as call sites, branch conditions, and assignments that are essential for code understanding. We present CodeComp, a training-free KV cache compression framework that incorporates static program analysis into LLM inference via Code Property Graph priors extracted by Joern. Across bug localization and code generation benchmarks, CodeComp consistently outperforms attention-only compression baselines under equal memory budgets, recovering the majority of full-context accuracy under aggressive KV cache compression, while matching the patch generation quality of uncompressed full-context inference and integrating seamlessly into SGLang-based agentic coding pipelines without model modification.

📄 PDF Abstract BibTeX arXiv:2604.10235

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

CodeCompass: Navigating the Navigation Paradox in Agentic Code Intelligence

2026-02-23 · Tarakanath Paipuru arxiv

Modern code intelligence agents operate in contexts exceeding 1 million tokens--far beyond the scale where humans manually locate relevant files. Yet agents consistently fail to discover architecturally critical files wh…

Prompt Engineering

ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agents

2026-08-20 · Yichu Fang, Sitong Wei, Haozhe Hu, Xiaoyu Shen arxiv

Agentic language models repeatedly encode tool and skill schemas that recur across requests in different combinations and orders, preventing standard prefix caching from reusing their key--value (KV) states. We introduce…

AI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluation

2023-05-20 · Vijayaraghavan Murali, Chandra Maddila, Imad Ahmad, Michael Bolin 외

Generative LLMs have been shown to effectively power AI-based code authoring tools that can suggest entire statements or blocks of code during code authoring. In this paper we present CodeCompose, an AI-assisted code aut…

16k

SideQuest: Model-Driven KV Cache Management for Long-Horizon Agentic Reasoning

2026-02-26 · Sanjay Kariyappa, G. Edward Suh 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 retr…

SplitZip: Ultra Fast Lossless KV Compression for Disaggregated LLM Serving

2026-05-03 · Yipin Guo, Siddharth Joshi arxiv

Contemporary systems serving large language models (LLMs) have adopted prefill-decode disaggregation to load-balance between the compute-bound prefill phase and the memory-bound decode phase. Under this design, prefill w…