AI & ML
DARIC: A Position-Independent KV Cache Reuse System with Distribution-Aware Recomputation
arXiv cs.DC0 views
arXiv:2611.09109v1 Announce Type: new Abstract: The context lengths of large language models (LLMs) are rapidly increasing in real-world applications such as agentic systems and retrieval-augmented generation (RAG). To accelerate LLM inference in these scenarios, reusing position-independent key-value (KV) caches across requests has emerged as a promising approach. This technique typically relies on recomputing a selected subset of tokens to restore cross-chunk interactions. However, existing solutions suffer from critical limitations in both algorithmic efficiency and system deployment. Algorithmically, they overlook the distribution of KV cache deviations, leading to either high token-selection overhead or degraded generation quality. At the system level, the reliance on custom LLM execution flows for recomputation complicates deployment and prevents seamless integration with highly optimized inference engines. In this paper, we propose DARIC (\textbf{D}istribution-\textbf{A}ware \textbf{R}ecomputation for \textbf{I}ndependent KV \textbf{C}ache Reuse), a novel KV cache reuse method based on system-algorithm co-design. At its core, DARIC introduces a distribution-aware token selection strategy that adaptively schedules token recomputation based on empirical KV deviation patterns, striking an optimal balance between generation quality and computational efficiency. Moreover, DARIC is built on a lightweight system architecture that enables independent KV cache generation and recomputation with minimal integration overhead, fully preserving existing system-level optimizations of standard inference engines. Comprehensive experiments across various datasets and LLMs demonstrate that DARIC consistently outperforms state-of-the-art methods, achieving a 1.1$\times$--4.5$\times$ speedup in time-to-first-token (TTFT) with negligible loss in generation quality. Code is available at https://github.com/Lenovo-ICI/DARIC.
Source:https://arxiv.org/abs/2611.09109PreviousISER-MoE: Dynamic In-Switch Replication of Hot Experts for Load Balancing in Expert-ParallelNextUniExit: A Unified Latency-Aware Early-Exit Runtime for Heterogeneous Edge AI
Related posts
chmod 755 Is Not 'Read, Write, Execute': 5 Permission Traps
0dev.to DevOps
Building a Production-Oriented MLOps Prototype with Python and FastAPI
0dev.to Docker

A profile of Alice Huang, a suspected Chinese spy who founded Megaspeed in 2023 and spent years in Jensen Huang's orbit; Megaspeed's Nvidia imports top $4.6B (Mark Anderson/Bloomberg)
0Techmeme

Meta says it is globally expanding Instagram's AI age estimation tech to apply Teen Account protections to teens aged 13 to 17 who misrepresented their age (Jess Weatherbed/The Verge)
0Techmeme

Alphabet's Wing plans to invest up to $125M over two years to build a 15,000-square-foot facility in Fort Worth, Texas, to produce tens of thousands of drones (Mark R. Long/Wall Street Journal)
0Techmeme

Jensen Huang's affair raises questions about Alice Huang's access to his devices and Trump conversations, and represents "another successful op" for China's MSS (Bill Bishop/@niubi)
0Techmeme