Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

250 results for “Cache”

Matched on wording only, meaning-matching is unavailable right now

101

Sequential KV Cache Compression via Probabilistic Language Tries: Beyond the Per-Vector Shannon Limit

10 Apr · Gregory Magarshak · arXiv:2604.15356

Recent work on KV cache quantization, culminating in TurboQuant, has approached the Shannon entropy limit for per-vector compression of transformer key-value caches. We observe that this limit applies to a strictly weaker problem than the one that actually matters: compressing the KV cache as a sequence. The tokens stored in a KV cache are not arbitrary floating-point data -- they are samples from the exact formal…

102

The Illusion of Equivalence: Systematic FP16 Divergence in KV-Cached Autoregressive Inference

16 Apr · Ranjith Chodavarapu, Lei Xu · arXiv:2604.15409

KV caching is a ubiquitous optimization in autoregressive transformer inference, long presumed to be numerically equivalent to cache-free computation. This assumption fails under standard FP16 precision: cache-ON and cache-OFF execution paths employ different floating-point accumulation orderings which, due to FP16 non-associativity, produce a deterministic divergence in decoded token sequences. Across three…

103

TTKV: Temporal-Tiered KV Cache for Long-Context LLM Inference

27 Mar · Gradwell Dzikanyanga, Weihao Yang, Hao Huang +4 · arXiv:2604.19769

Key-value (KV) caching is critical for efficient inference in large language models (LLMs), yet its memory footprint scales linearly with context length, resulting in a severe scalability bottleneck. Existing approaches largely treat KV states as equally important across time, implicitly assuming uniform precision and accessibility. However, this assumption contrasts with human memory systems, where memories vary in…

104

Stochastic KV Routing: Enabling Adaptive Depth-Wise Cache Sharing

3 Apr · Anastasiia Filippova, David Grangier, Marco Cuturi +1 · arXiv:2604.22782

Serving transformer language models with high throughput requires caching Key-Values (KVs) to avoid redundant computation during autoregressive generation. The memory footprint of KV caching is significant and heavily impacts serving costs. This work proposes to lessen these memory requirements. While recent work has largely addressed KV cache reduction via compression and eviction along the temporal axis, we argue…

105

MTServe: Efficient Serving for Generative Recommendation Models with Hierarchical Caches

24 Apr · Xin Wang, Chi Ma, Shaobin Chen +9 · arXiv:2604.22881

Generative recommendation (GR) offers superior modeling capabilities but suffers from prohibitive inference costs due to the repeated encoding of long user histories. While cross-request Key-Value (KV) cache reuse presents a significant optimization opportunity, the massive scale of individual user states creates a storage explosion that far exceeds physical GPU limits. We propose MTServe, a hierarchical cache…

106

AgenticCache: Cache-Driven Asynchronous Planning for Embodied AI Agents

27 Apr · Hojoon Kim, Yuheng Wu, Thierry Tambe · arXiv:2604.24039

Embodied AI agents increasingly rely on large language models (LLMs) for planning, yet per-step LLM calls impose severe latency and cost. In this paper, we show that embodied tasks exhibit strong plan locality, where the next plan is largely predictable from the current one. Building on this, we introduce AgenticCache, a planning framework that reuses cached plans to avoid per-step LLM calls. In AgenticCache, each…

Accepted at MLSys 2026 Machine learning Artificial intelligence Language & NLP Matched by wording
107

Rethinking KV Cache Eviction via a Unified Information-Theoretic Objective

28 Apr · Jiaming Yang, Chenwei Tang, Liangli Zhen +1 · arXiv:2604.25975

Key-Value (KV) caching is essential for large language model inference, yet its memory overhead poses a critical bottleneck for long-context generation. Existing eviction policies predominantly rely on empirical heuristics, lacking a rigorous theoretical foundation. This work rethinks KV cache eviction through the lens of the Information Bottleneck principle. Under a linear-Gaussian surrogate of attention, we derive…

108

Make Your LVLM KV Cache More Lightweight

1 May · Xihao Chen, Yangyang Guo, Roger Zimmermann · arXiv:2605.00789

Key-Value (KV) cache has become a de facto component of modern Large Vision-Language Models (LVLMs) for inference. While it enhances decoding efficiency in Large Language Models (LLMs), its direct adoption in LVLMs introduces substantial GPU memory overhead due to the large number of vision tokens processed during the prefill stage. To tackle this problem, we propose LightKV, a novel approach that reduces KV cache…

Accepted to Transactions on Machine Learning Research (TMLR), 2026 Computer vision Artificial intelligence Machine learning Matched by wording
109

HeadQ: Model-Visible Distortion and Score-Space Correction for KV-Cache Quantization

5 May · Jorge L. Ruiz Williams · arXiv:2605.03562

KV-cache quantizers usually optimize storage-space reconstruction, even though attention reads keys through logits and values through attention-weighted readout. We argue that persistent cache error should be measured in model-visible coordinates. For keys, the visible object is score error modulo constant shifts; this yields HeadQ, a key-side method that stores a low-rank residual side code in a calibration-learned…

Withdrawn by the author because ethical concerns were identified after posting Machine learning Artificial intelligence Matched by wording
110

LAWS: Learning from Actual Workloads Symbolically -- A Self-Certifying Parametrized Cache Architecture for Neural Inference, Robotics, and Edge Deployment

12 Apr · Gregory Magarshak · arXiv:2605.04069

We introduce LAWS (Learning from Actual Workloads Symbolically), a self-certifying inference caching architecture that builds a growing library of certified expert functions from deployment observations. Each expert covers a region of input space defined by a node in the Probabilistic Language Trie (PLT) of the base model and carries a formal error bound holding uniformly over all inputs. The central result is a…

Companion paper to arXiv:2604.06228 (Probabilistic Language Tries) Machine learning Artificial intelligence Information theory Matched by wording
111

RetentiveKV: State-Space Memory for Uncertainty-Aware Multimodal KV Cache Eviction

14 Apr · Sihao Liu, YuFan Xiong, Zhonghua Jiang +2 · arXiv:2605.04075

Multimodal Large Language Models face severe challenges in computational efficiency and memory consumption due to the substantial expansion of the visual KV cache when processing long visual contexts. Existing KV cache compression methods typically rely on the "persistence of importance" hypothesis to prune tokens. However, this approach proves fragile in multimodal settings due to two key issues: 1) Visual tokens…

112

A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraints

6 May · Chengyi Nie, Nian Si, Zijie Zhou · arXiv:2605.04595

The rapid adoption of large language models (LLMs) has created significant challenges for efficient inference at scale. Unlike traditional workloads, LLM inference is constrained by both computation and the memory overhead of key-value (KV) caching, which accelerates decoding but quickly exhausts GPU memory. In this paper, we introduce the first queueing-theoretic framework that explicitly incorporates both…

113

Sparse Prefix Caching for Hybrid and Recurrent LLM Serving

17 Apr · Mikhail Shirokikh, Sergey Nikolenko · arXiv:2605.05219

Prefix caching is a key latency optimization for autoregressive LLM serving, yet existing systems assume dense per-token key/value reuse. State-space models change the structure of the problem: a recurrent layer can resume from a single stored state rather than requiring the entire token history. This asymmetry opens a new design point between no reuse and dense caching: store exact recurrent states at a sparse set…

114

Irminsul: MLA-Native Position-Independent Caching for Agentic LLM Serving

7 May · Bole Ma, Jan Eitzinger, Harald Köstler · arXiv:2605.05696

Agentic LLM workloads put bit-identical tokens at shifted positions every turn, voiding prefix caches at the first byte of divergence. Operators report cache-hit regressions ranging from moderate slowdowns to severe TTFT spikes of 10-16s on unchanged content. Prior position-independent caching systems correct RoPE on the full $d_K$-dimensional key, an architectural cost imposed by GQA, not by caching itself.…

115

Memory Inception: Latent-Space KV Cache Manipulation for Steering LLMs

7 May · Andy Zeyi Liu, Michael Zhang, Ilana Greenberg +3 · arXiv:2605.06225

Steering large language models (LLMs) is usually done by either instruction prompting or activation steering. Prompting often gives strong control, but caches guidance tokens at every layer and can clutter long interactions; activation steering is compact but typically weaker and does not support large structured reminders. We introduce memory inception (MI), a training-free method that steers in latent attention…

116

How to Compress KV Cache in RL Post-Training? Shadow Mask Distillation for Memory-Efficient Alignment

7 May · Rui Zhu, Weiheng Bai, Qiushi Wu +3 · arXiv:2605.06850

Reinforcement Learning (RL) has emerged as a crucial paradigm for unlocking the advanced reasoning capabilities of Large Language Models (LLMs), encompassing frameworks like RLHF and RLAIF. Regardless of the specific optimization algorithm (e.g., PPO, GRPO, or Online DPO), online RL inherently requires an exploratory trajectory generation (rollout) phase. However, for long-context reasoning tasks, this rollout phase…

The authors are withdrawing this paper because errors were identified in the experimental results Machine learning Artificial intelligence Matched by wording
117

Query-efficient model evaluation using cached responses

8 May · Hayden Helm, Ben Johnson, Carey Priebe · arXiv:2605.07096

Evaluating a new model on an existing benchmark is often necessary to understand its behavior before deployment. For modern evaluation frameworks, generating and evaluating a response for all queries can be prohibitively expensive. In practice, responses from previously-evaluated models are often cached -- creating a potential opportunity to use this additional information to decrease the number of queries required…

118

When Does Value-Aware KV Eviction Help? A Fixed-Contract Diagnostic for Non-Monotone Cache Compression

7 May · Ruijie Zhang, Haozhe Liang, Da Chang +4 · arXiv:2605.08234

Long-context LLM inference is bottlenecked by the memory and bandwidth cost of reading large KV caches during decoding. KV compression reduces this cost by keeping only part of the cache, but task accuracy alone does not identify why a selector succeeds or fails. A selector can fail at three steps: it may miss the evidence future decoding needs, give high scores to tokens that do not affect the output, or break…

119

RDKV: Rate-Distortion Bit Allocation for Joint Eviction and Quantization of the KV Cache

8 May · Junkai Zhang, Hang Guo, Luca Benini +1 · arXiv:2605.08317

Large language models (LLMs) have shown strong performance across diverse tasks, but their inference with long input contexts is bottlenecked by memory size and bandwidth. The Key-Value (KV) cache size grows linearly with sequence length and needs to be re-read from off-chip high-bandwidth memory (HBM) to on-chip memory at every decoding step, resulting in memory-bound inference. Existing methods reduce the cache by…

120

KV-Fold: One-Step KV-Cache Recurrence for Long-Context Inference

12 May · Alireza Nadali, Patrick Cooper, Ashutosh Trivedi +1 · arXiv:2605.12471

We introduce KV-Fold, a simple, training-free long-context inference protocol that treats the key-value (KV) cache as the accumulator in a left fold over sequence chunks. At each step, the model processes the next chunk conditioned on the accumulated cache, appends the newly produced keys and values, and passes the enlarged cache forward; the same one-step update is applied repeatedly, analogous to foldl in…