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

117 results for “Cache”

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

1

Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Query

24 May · Yixuan Wang, Shiyu Ji, Yijun Liu +4 · arXiv:2505.20334

Large language models (LLMs) rely on key-value cache (KV cache) to accelerate decoding by reducing redundant computations. However, the KV cache memory usage grows substantially with longer text sequences, posing challenges for efficient deployment. Existing KV cache eviction methods prune tokens using prefilling-stage attention scores, causing inconsistency with actual inference queries, especially under tight…

Accepted by EMNLP 2025 Main Language & NLP Artificial intelligence Matched by wording
2

dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching

17 May · Zhiyuan Liu, Yicun Yang, Yaojie Zhang +6 · arXiv:2506.06295

Autoregressive Models (ARMs) have long dominated the landscape of Large Language Models. Recently, a new paradigm has emerged in the form of diffusion-based Large Language Models (dLLMs), which generate text by iteratively denoising masked segments. This approach has shown significant advantages and potential. However, dLLMs suffer from high inference latency. Traditional ARM acceleration techniques, such as…

3

Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference

13 Aug · Zhifan Luo, Shuo Shao, Su Zhang +5 · arXiv:2508.09442

The Key-Value (KV) cache, which stores intermediate attention computations (Key and Value pairs) to avoid redundant calculations, is a fundamental mechanism for accelerating Large Language Model (LLM) inference. However, this efficiency optimization introduces significant yet underexplored privacy risks. This paper provides the first comprehensive analysis of these vulnerabilities, demonstrating that an attacker can…

This paper is accepted by Network and Distributed System Security Symposium (NDSS) 2026. Code: https://github.com/SiO-2/kvcloak Cryptography & security Artificial intelligence Language & NLP Matched by wording
4

From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation

19 Jan · Jiahao Wang, Weiyu Xie, Mingxing Zhang +9 · arXiv:2601.12904

Retrieval-Augmented Generation enhances Large Language Models by integrating external knowledge, which reduces hallucinations but increases prompt length. This increase leads to higher computational costs and longer Time to First Token (TTFT). To mitigate this issue, existing solutions aim to reuse the preprocessed KV cache of each retrieved chunk to accelerate RAG. However, the lack of cross-chunk contextual…

5

Who Should Score the Cache? Mid-Depth Layers Are the Best Judges of KV-Cache Eviction

1 Nov · Ekaterina Seregina · arXiv:2611.02230

Key-value (KV) cache eviction methods rank tokens by attention scores, and each layer scores its own cache. To our knowledge, no eviction method asks which layer should score. We find, across twenty-one models, that the depth of the scoring layer governs eviction quality. On the eighteen models with per-layer caches, spanning 0.5B to 109B, long-context retrieval accuracy collapses at shallow layers, peaks between…

6

Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compression

4 Feb · Xiang Liu, Zhenheng Tang, Hong Chen +6 · arXiv:2502.01941

While Key-Value (KV) cache compression is essential for efficient LLM inference, current evaluations disproportionately focus on sparse retrieval tasks, potentially masking the degradation of High-Density Reasoning where Chain-of-Thought (CoT) coherence is critical. We introduce KVFundaBench to systematically evaluate this gap, revealing a sharp dichotomy: while retrieval tasks remain robust, reasoning tasks exhibit…

ICML 2026 Language & NLP Artificial intelligence Matched by wording
7

KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference

6 Feb · Xing Li, Zeyu Xing, Yiming Li +6 · arXiv:2502.04420

KV cache quantization can improve Large Language Models (LLMs) inference throughput and latency in long contexts and large batch-size scenarios while preserving LLMs effectiveness. However, current methods have three unsolved issues: overlooking layer-wise sensitivity to KV cache quantization, high overhead of online fine-grained decision-making, and low flexibility to different LLMs and constraints. Therefore, we…

Accepted by ICML25. Code: https://github.com/cmd2001/KVTuner Machine learning Artificial intelligence Language & NLP Matched by wording
8

ReFreeKV: Towards Threshold-Free KV Cache Compression

24 Feb · Xuanfan Ni, Liyan Xu, Chenyang Lyu +6 · arXiv:2502.16886

To reduce memory consumption during LLM inference, a handful of methods have been proposed for KV cache pruning. While these techniques can accomplish lossless memory reduction on many datasets, they often hinge on an under-emphasized condition: an input/domain-specific threshold for KV cache budget needs to be pre-determined to achieve the optimal performance. However, such input-sensitive design may be…

Accepted to ACL 2026 Findings Language & NLP Artificial intelligence Machine learning Matched by wording
9

KVCrush: Key value cache size-reduction using similarity in head-behaviour

24 Feb · Gopi Krishna Jha, Sameh Gobriel, Liubov Talamanova +1 · arXiv:2503.00022

Key-value (KV) caching has emerged as a crucial optimization technique for accelerating inference in large language models (LLMs). By allowing the attention operation to scale linearly rather than quadratically with the total sequence length, KV caching significantly enhances generation throughput. However, due to large context lengths in the modern LLMs, the memory footprint of the KV is a huge bottleneck for model…

10

ZSMerge: Zero-Shot KV Cache Compression for Memory-Efficient Long-Context LLMs

13 Mar · Xin Liu, Xudong Wang, Pei Liu +1 · arXiv:2503.10714

The linear growth of key-value (KV) cache memory and quadratic computational in attention mechanisms complexity pose significant bottlenecks for large language models (LLMs) in long-context processing. While existing KV cache optimization methods address these challenges through token pruning or feature merging, they often incur irreversible information loss or require costly parameter retraining. To this end, we…

11

BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cache

24 Mar · Dayou Du, Shijie Cao, Jianyi Cheng +3 · arXiv:2503.18773

The growth of long-context Large Language Models (LLMs) significantly increases memory and bandwidth pressure during autoregressive decoding due to the expanding Key-Value (KV) cache. While accuracy-preserving KV-cache quantization (e.g., 4-bit or 2-bit) reduces memory footprint, existing systems decode inefficiently by relying solely on CUDA cores, underutilizing Tensor Cores-the dominant compute resource on GPUs.…

12

SQuat: Subspace-orthogonal KV Cache Quantization

31 Mar · Hao Wang, Ligong Han, Kai Xu +1 · arXiv:2503.24358

The key-value (KV) cache accelerates LLMs decoding by storing KV tensors from previously generated tokens. It reduces redundant computation at the cost of increased memory usage. To mitigate this overhead, existing approaches compress KV tensors into lower-bit representations; however, quantization errors can accumulate as more tokens are generated, potentially resulting in undesired outputs. In this paper, we…

13

SentenceKV: Efficient LLM Inference via Sentence-Level Semantic KV Caching

1 Apr · Yuxuan Zhu, Ali Falahati, David H. Yang +1 · arXiv:2504.00970

Large language models face significant computational and memory challenges when processing long contexts. During inference, efficient management of the key-value (KV) cache, which stores intermediate activations for autoregressive generation, is critical to reducing memory overhead and improving computational efficiency. Traditional token-level efficient KV caching methods overlook semantic information, treating…

14

LagKV: Lag-Relative Information of the KV Cache Tells Which Tokens Are Important

7 Apr · Manlai Liang, JiaMing Zhang, Xiong Li +1 · arXiv:2504.04704

The increasing size of the Key-Value (KV) cache during the Large Language Models long-context inference is the main obstacle for its balance between the deployment cost and task accuracy. To reduce the KV cache size in such scenarios, most previous efforts leveraged on the attention weight to evict non-critical cache tokens. But there is a trade-off in those methods, they usually require major modification of the…

15

KeepKV: Achieving Periodic Lossless KV Cache Compression for Efficient LLM Inference

14 Apr · Yuxuan Tian, Zihan Wang, Yebo Peng +6 · arXiv:2504.09936

Efficient inference of large language models (LLMs) is hindered by an ever-growing key-value (KV) cache, making KV cache compression a critical research direction. Traditional methods selectively evict less important KV cache entries, which leads to information loss and hallucinations. Recently, merging-based strategies have been explored to retain more information by merging KV pairs that would be discarded;…

16

FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inference

19 May · Guangda Liu, Chengwei Li, Zhenyu Ning +5 · arXiv:2505.13109

Large language models (LLMs) are widely deployed with rapidly expanding context windows to support increasingly demanding applications. However, long contexts pose significant deployment challenges, primarily due to the KV cache whose size grows proportionally with context length. While KV cache compression methods have been proposed to address this issue, KV dropping methods incur considerable accuracy loss, and KV…

17

R-KV: Redundancy-aware KV Cache Compression for Reasoning Models

30 May · Zefan Cai, Wen Xiao, Hanshi Sun +9 · arXiv:2505.24133

Reasoning models have demonstrated impressive performance in self-reflection and chain-of-thought reasoning. However, they often produce excessively long outputs, leading to prohibitively large key-value (KV) caches during inference. While chain-of-thought inference significantly improves performance on complex reasoning tasks, it can also lead to reasoning failures when deployed with existing KV cache compression…

18

Agentic Plan Caching: Test-Time Memory for Fast and Cost-Efficient LLM Agents

17 Jun · Qizheng Zhang, Michael Wornow, Gerry Wan +1 · arXiv:2506.14852

LLM-based agent applications have shown increasingly remarkable capabilities in complex workflows but incur substantial costs and latency due to extensive planning and reasoning requirements. Existing LLM caching techniques (like context caching and semantic caching), primarily designed for serving chatbots, are insufficient for agent applications where outputs depend on external data and environmental contexts. We…

19

MadaKV: Adaptive Modality-Perception KV Cache Eviction for Efficient Multimodal Long-Context Inference

6 Jun · Kunxi Li, Zhonghua Jiang, Zhouzhou Shen +5 · arXiv:2506.15724

This paper introduces MadaKV, a modality-adaptive key-value (KV) cache eviction strategy designed to enhance the efficiency of multimodal large language models (MLLMs) in long-context inference. In multimodal scenarios, attention heads exhibit varying preferences for different modalities, resulting in significant disparities in modality importance across attention heads. Traditional KV cache eviction methods, which…

20

CommVQ: Commutative Vector Quantization for KV Cache Compression

23 Jun · Junyan Li, Yang Zhang, Muhammad Yusuf Hassan +8 · arXiv:2506.18879

Large Language Models (LLMs) are increasingly used in applications requiring long context lengths, but the key-value (KV) cache often becomes a memory bottleneck on GPUs as context grows. To address this, we propose Commutative Vector Quantization (CommVQ) to significantly reduce memory usage for long-context LLM inference. We first introduce additive quantization with a lightweight encoder and codebook to compress…

ICML 2025 poster Language & NLP Artificial intelligence Matched by wording