arXiv Machine Learning

Multi-Segment Attention: Enabling Efficient KV-Cache Management for Faster Large Language Model Serving

arXiv:2606. 02964v1 Announce Type: cross Abstract: Large Language Model (LLM) inference relies on key-value (KV) caches to avoid redundant attention computation.

arXiv AI
1d ago

Contexture: Runtime Context Eviction for High-Throughput Agent Serving

Contexture is a harness‑ and model‑agnostic runtime context eviction system that separates an LLM agent’s full conversation history from its execution context, thereby reducing shared GPU key‑value cache demand. By tracing tokens to their originating tool operations, it identifies and removes superseded tokens—64% of final‑history tokens—while coordinating with global cache pressure to decide when eviction is justified. Experiments across two models, harnesses, and benchmarks show throughput gains of 20–73% over existing methods and up to 11% lower GPU energy per session, with minimal impact on accuracy.

By Colin Hong, Bryan Shan, Wei Siong Pang, Chengzhi Lu, Xu Guo, Nitin Shivaraman, Tao Luo, Esha Choukse, Kisson Lin, Dmitrii Ustiugov
arXiv AI
Sep 3

HeadWiseKV: Budgeted Per-Head Cache Residency for Hybrid Long-Context Language Models

HeadWiseKV is a training‑free framework that compresses the residual global key–value caches of hybrid long‑context language models by assigning each physical KV head a static, multilevel history window. It formulates cache allocation as a restricted operational rate–distortion problem and uses the SeqCalib algorithm to generate per‑head residency policies that account for interactions across layers. In evaluations on four hybrid models, HeadWiseKV preserves near‑full‑KV quality while reducing peak device memory usage by 8.59% at a 112K context length and extending the largest verified context from 114K to 161K.

By Renjie Xie, Juncheng Yang, Aoting Hu, Mingxi Zhang, Liyao Wu, Zheheng Hong, Wei Xu