
CC
Chi-Chih Chang, Chien-Yu Lin, Yahya Emara, Ziang Song, Zihao Lin, Xilai Dai, Xuan Kelvin Zou, Kai-Chiang Wu, Carole-Jean Wu, Yang Song, Qifan Wang, Ziheng Jiang, Mohamed S. Abdelfattah
· 1 min read
ResearcharXiv cs.AI
AutoCache: Agentic Search for LLM Prefix Cache Compression
arXiv:2612.03651v1 Announce Type: new
Abstract: Storing and reusing computed states allows LLM serving systems to avoid redundant prefill computation for shared prefixes, reducing time to first token. As context lengths and the number of reusable prefixes grow, however, limited cache capacity forces evictions and expensive recomputation, making storage efficiency critical. This challenge is further complicated by modern hybrid architectures that maintain recurrent and sliding-window states in addition to KV caches, requiring compression strategies that account for model architecture, workload characteristics, and reconstruction cost. We present AutoCache, an agent-driven framework that automatically discovers compression and reconstruction programs for prefix caches. Given a model, dataset, and accuracy target, AutoCache explores a large combinatorial space of compression techniques to compose effective cache-compression recipes, refine existing methods, and discover data- and model-architecture-specific compression opportunities. On the RULER benchmark with 32K context, AutoCache achieves 291.1x KV-cache compression on Qwen3.5-9B, compared with 16.0x for the strongest evaluated baseline. It does so by composing factorization, quantization, entropy coding, and protection of high-saliency cache entries in ways that would be difficult to design manually. More importantly, AutoCache can seamlessly extend compression beyond KV caches to recurrent states in hybrid models. By discovering and exploiting a previously unexploited low-rank structure in these recurrent states, AutoCache achieves 222.6x compression of the total cache memory footprint. These results demonstrate the potential of automatically discovering compression algorithms that are tailored to the model architecture and workload, therefore enabling substantially more storage-efficient prefix caching for LLM serving.
Original source
This story was published by arXiv cs.AI and written by Chi-Chih Chang, Chien-Yu Lin, Yahya Emara, Ziang Song, Zihao Lin, Xilai Dai, Xuan Kelvin Zou, Kai-Chiang Wu, Carole-Jean Wu, Yang Song, Qifan Wang, Ziheng Jiang, Mohamed S. Abdelfattah. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


