KV cache managementLLM agent servingarxiv:2611.08638#
Read if prefix-only KV-cache policies miss reuse in LLM agent prompts.
- Method
- MORTIS maps prompt components to program variables in a typed LLM-call framework. Compiler analysis recovers sharing, evolution classes, lifetimes and a workflow automaton, refined by runtime observations. It reorders prompts for longer shared prefixes and schedules KV-cache retention, eviction and prefetching by predicted reuse. Conflicting CFG paths fall back to VOLATILE with conservative edges for unresolved call targets.
- Result
- Reports up to 1.99× JCT and 1.97× throughput over SGLang on four agent workloads, with geometric means of 1.45× and 1.49×, also measuring cache hit rate and task accuracy.
Task accuracy by prompt layout (percent)| Prompt layout | Fact-check | Coding | Financial-analysis | BFCL |
|---|
| Original byLLM | 16.3% | 55.3% | 34.9% | 14.1% |
| MORTIS | 21.9% | 54.8% | 37.2% | 18.7% |
| Static-Adapter | 16.3% | 52.2% | 37.8% | 16.0% |
- Limit
- Evaluation uses Jac byLLM and an SGLang fork, and re-layout assumes dynamic bindings can be freely permuted and the instruction specification moved.
KV cache reuseLLM servingarxiv:2611.09109#
Read if prefix-only KV reuse wastes your non-prefix prompt chunks.
- Method
- DARIC uses four empirical KV-deviation patterns (within-chunk decrease, chunk-index/count increase, latest-window importance) and a monotonic allocation function prioritizing chunk-initial and latest-window tokens. It integrates with vLLM by splitting requests into block-aligned sub-requests for independent cache generation and in-place partial recomputation.
- Result
- The authors report 1.1×–4.5× TTFT speedups across several tasks and comparisons. On the 500 SWE-bench samples below, DARIC was 2.1× faster to first token than full recomputation and 1.7× faster than CacheBlend. Its pass rate was 68.4%, versus 68.6% with full recomputation.
Pass rate and TTFT on the first 500 SWE-bench samples, Claude Code agent with MiniMax-M2| Method | Pass | TTFT |
|---|
| Full Recompute | 68.60% | 2923.03 ms |
| Full Reuse | 44.00% | 1138.26 ms |
| CacheBlend | 68.20% | 2415.50 ms |
| EPIC | 56.40% | 1401.72 ms |
| DARIC | 68.40% | 1417.39 ms |
- Limit
- Requires user-supplied chunk delimiters. Without them the prompt is one monolithic chunk and indexing degenerates to standard prefix matching.
distributed LLM servingKV cache reusearxiv:2611.09474#
Read if serving prefix-cached LLMs across workers with non-prefix KV reuse.
- Method
- Nebula treats position-independent cache segments as cluster objects. A completion-time model uses queueing, computation, and transfer estimates to place and parallelize prefill across workers.
- Result
- Worker-local PIC increased cache hits but remained 10.6–56.7 percentage points below the ideal bound. Across four models and four replayed workloads limited to one output token per request, Nebula reports an average 61.4% reduction in median TTFT versus the strongest baseline and recovery of 76.1% of prefix-missed tokens.
- Limit
- Accuracy is delegated to pluggable backends, so TTFT and hit results may depend on backend choice. Generality is bounded by one cluster and four traces.
prefix cache evictionLLM servingarxiv:2611.09715#
Read if choosing a prefix-cache eviction policy for multi-turn LLM serving.
- Method
- IAC groups requests by inferred intent and turn, estimates continuation probability and log-normal delay from recent logs, then evicts cache leaves by recency window, reuse probability, and size. A frozen multilingual embedder feeds a trained MLP head, implemented in SGLang.
- Result
- On WildChat and ShareChat real timestamped workloads, authors report higher cache hit rates than conventional and ML-based baselines across evaluated capacities, with reduced time-to-first-token and serving latency under load and larger gains where prefill dominates.
- Limit
- Authors state evaluation mainly covers conversational workloads with repeated multi-turn context. Agentic workflows, tool-use pipelines, and shared-prompt API applications remain untested, and some datasets use synthetic timestamped arrivals.
KV cache reuseLLM inference servingarxiv:2611.15130#
Read if many questions share one long document in batch workloads.
- Method
- Packs P questions as independent streams of one request. A stream-id mask inside SGLang's Triton extend kernel confines each stream to the document and its own tokens. Streams share positions after the document, so each decode step reads document KV once for all questions.
- Result
- Reports 3.7x to 6.0x speedup over stock SGLang with FlashInfer on CodeLlama-7B, winning all 144 paired runs. Gains grow with document length and question count. GQA Qwen2.5 models show only 1.3x to 1.9x, and Qwen2.5-1.5B is slower with 64 questions.
- Limit
- Batch or offline workloads with questions known in advance, one attention backend, single GPU and greedy decoding. Long-answer LooGLE and faster baselines show smaller or reversed margins. Online arrival is future work.