Hugging Face Trending Papers

MiniPIC: Flexible Position-Independent Caching in <100LOC

Retrieval-augmented and agentic workloads repeatedly prefill recurring predictable structured inputs (which we call "spans") such as documents and code files. Yet, prefix caching in engines such as vLLM cannot reuse their KV entries unless they share identical prefixes with another request, while Position-Independent Caching (PIC) implementations within production-grade inference servers typically either require substantial server code changes or keep KV state outside the server, incurring host-to-device transfer overhead.

arXiv Machine Learning
4d ago

TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks

TriAxialKV is a mixed‑precision KV‑cache quantization scheme designed for agentic inference tasks that require long‑context, multimodal, and structured interactions. It assigns a triaxial tag to each token—capturing temporal recency, modality, and semantic role—to calibrate sensitivity and allocate INT2/INT4 bit‑widths within a fixed memory budget. Implemented as an end‑to‑end serving system with custom Triton kernels, TriAxialKV achieves the same accuracy as BF16 KV cache while providing 4.5× larger cache capacity and 30% higher throughput on real GPU systems.

By Hanzhang Shen, Haoran Wu, Yiren Zhao, Robert Mullins
arXiv Computation and Language
Oct 12

KV-Repurpose: A Testbed for Evaluating Non-Prefix KV-Cache Reuse

KV-Repurpose is an open‑source, vLLM‑based system that enables segment‑wise KV‑cache reuse beyond exact prompt prefixes in large language model serving. It integrates cache‑aware segment scheduling, prompt construction, capacity management, workload generation, and runtime monitoring to evaluate non‑prefix KV‑cache reuse. Experiments show that naive segment reuse maintains output quality for single‑document QA and summarization, while significantly improving cache hit rates and reducing time‑to‑first‑token compared to prefix caching, especially under Zipfian RAG‑style workloads.

By Taiga Ikeda, Daisuke Miyashita, Jun Deguchi
arXiv Machine Learning
5d ago

CommitKV: Commit-Aligned KV Cache Compression for Multimodal Agents

CommitKV is a training‑free KV cache compression technique for multimodal agents that aligns token eviction with the timing of tool calls. It compares the impact of deleting a cache page before and after a tool interaction, retiring pages that are unimportant in both windows while temporarily protecting those that are influential before the call. Experiments on four open‑weight multimodal models and eight benchmarks show that CommitKV outperforms existing compression methods, achieving near‑full accuracy with a 512‑token budget and significant memory and speed gains on Qwen3‑VL‑8B.

By Weizhong Huang, Jinchao Zhang, Xiawu Zheng
Hugging Face Trending Papers
Sep 3

Random Attention: Rethinking KV Cache Eviction for Efficient Reasoning

The paper introduces Random Attention, a method that evicts KV cache entries uniformly at random within each attention head while preserving the prompt. It demonstrates that this simple strategy matches or surpasses more complex eviction schemes across four models and six reasoning tasks, achieving 32‑43% higher throughput in vLLM deployments. Experiments reveal that the prompt is the most fragile cache component and that redundancy in the reasoning trace across text and attention heads protects against random eviction, eliminating the need for a selection score.