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

21

LeanK: Learnable K Cache Channel Pruning for Efficient Decoding

4 Aug · Yike Zhang, Zhiyuan He, Huiqiang Jiang +4 · arXiv:2508.02215

Large language models (LLMs) enable long-context tasks but face efficiency challenges due to the growing key-value (KV) cache. We propose LeanK, a learning-based method that prunes unimportant key (K) cache channels by leveraging static channel sparsity. With a novel two-stage training process, LeanK learns channel-wise static mask that could satisfy specific sparsity ratio and hardware alignment requirement. LeanK…

22

Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scores

10 Jul · Vivek Chari, Benjamin Van Durme · arXiv:2507.08143

Modern Large Language Models (LLMs) are increasingly trained to support very large context windows. We present Compactor, a training-free, query-agnostic KV compression strategy that uses approximate leverage scores to determine token importance. We show that Compactor can achieve the same performance as competing methods while retaining 20% fewer tokens in both synthetic and real-world context tasks, while being…

23

KV Cache Steering for Controlling Frozen LLMs

11 Jul · Max Belitsky, Dawid J. Kopiczko, Michael Dorkenwald +4 · arXiv:2507.08799

We propose cache steering, a lightweight method for implicit steering of language models via a one-shot intervention applied directly to the key-value cache. To validate its effectiveness, we apply cache steering to induce chain-of-thought reasoning in small language models. Our approach constructs steering vectors from reasoning traces, obtained either from teacher models (e.g., GPT-4o) or existing human…

24

LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models

14 Jul · Dachuan Shi, Yonggan Fu, Xiangchi Yuan +8 · arXiv:2507.14204

Recent advancements in Large Language Models (LLMs) have spurred interest in numerous applications requiring robust long-range capabilities, essential for processing extensive input contexts and continuously generating extended outputs. As sequence lengths increase, the number of Key-Value (KV) pairs in LLMs escalates, creating a significant efficiency bottleneck. In this paper, we propose a new KV cache…

ICML 2025. Code: https://github.com/GATECH-EIC/LaCache Machine learning Artificial intelligence Language & NLP Matched by wording
25

HCAttention: Extreme KV Cache Compression via Heterogeneous Attention Computing for LLMs

26 Jul · Dongquan Yang, Yifan Yang, Xiaotian Yu +2 · arXiv:2507.19823

Processing long-context inputs with large language models presents a significant challenge due to the enormous memory requirements of the Key-Value (KV) cache during inference. Existing KV cache compression methods exhibit noticeable performance degradation when memory is reduced by more than 85%. Additionally, strategies that leverage GPU-CPU collaboration for approximate attention remain underexplored in this…

26

SparK: Query-Aware Unstructured Sparsity with Recoverable KV Cache Channel Pruning

21 Aug · Huanxuan Liao, Yixing Xu, Shizhu He +6 · arXiv:2508.15212

Long-context inference in large language models (LLMs) is increasingly constrained by the KV cache bottleneck: memory usage grows linearly with sequence length, while attention computation scales quadratically. Existing approaches address this issue by compressing the KV cache along the temporal axis through strategies such as token eviction or merging to reduce memory and computational overhead. However, these…

27

REAL: REtrieval-reAsoning and Logic-constructed Attention Behaviors for Long-Context KV Cache Compression

14 Aug · Mengjie Li, Yuan Feng, Xike Xie +1 · arXiv:2508.15806

The growing sequence length of large language models poses significant challenges for key-value (KV) caches. Existing state-of-the-art cache eviction methods primarily analyze the inference behavior of attention heads in successful retrieval-reasoning cases, often overlooking diverse behaviors in failure cases, such as bias and distraction. This oversight limits the potential to leverage heterogeneous head behaviors…

Accepted at ACL 2026 Main Conference Language & NLP Artificial intelligence Matched by wording
28

Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction

13 Sept · Yijun Liu, Yixuan Wang, Yuzhuang Xu +4 · arXiv:2509.10798

Large language models (LLMs) utilize key-value (KV) cache to store historical information during sequence processing. The size of KV cache grows linearly as the length of the sequence extends, which seriously affects memory usage and decoding efficiency. Current methods for KV cache eviction typically utilize the last window from the pre-filling phase as queries to compute the KV importance scores for eviction.…

Accepted in AAAI 2026 Language & NLP Artificial intelligence Matched by wording
29

OjaKV: Context-Aware Online Low-Rank KV Cache Compression

25 Sept · Yuxuan Zhu, David H. Yang, Mohammad Mohammadi Amiri +3 · arXiv:2509.21623

The expanding long-context capabilities of large language models are constrained by a significant memory bottleneck: the key-value (KV) cache required for autoregressive generation. This bottleneck is substantial; for instance, a Llama-3.1-8B model processing a 32K-token prompt at a batch size of 4 requires approximately 16GB for its KV cache, a size exceeding the model's weights. While KV-cache compression via…

30

Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution

1 Oct · Alessio Devoto, Maximilian Jeblick, Simon Jégou · arXiv:2510.00636

Memory consumption of the Key-Value (KV) cache represents a major bottleneck for efficient large language model inference. While attention-score-based KV cache pruning shows promise, it faces critical practical limitations: attention scores from future tokens are unavailable during compression, and modern implementations like Flash Attention do not materialize the full attention matrix, making past scores…

31

OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inference

9 Oct · Yuzhe Gu, Xiyu Liang, Jiaojiao Zhao +1 · arXiv:2510.07651

Large language models (LLMs) with extended context windows enable powerful applications but impose significant memory overhead, as caching all key-value (KV) states scales linearly with sequence length and batch size. Existing cache eviction methods address this by exploiting attention sparsity, yet they typically rank tokens heuristically using accumulated attention weights without considering their true impact on…

ICML 2026 Language & NLP Artificial intelligence Matched by wording
32

Attention Is All You Need for KV Cache in Diffusion LLMs

16 Oct · Quan Nguyen-Tri, Mukul Ranjan, Zhiqiang Shen · arXiv:2510.14973

This work studies how to adaptively recompute key-value (KV) caches for diffusion large language models (DLMs) to maximize prediction accuracy while minimizing decoding latency. Prior methods' decoders recompute QKV for all tokens at every denoising step and layer, despite KV states changing little across most steps, especially in shallow layers, leading to substantial redundancy. We make three observations: (1)…

Code at: https://github.com/VILA-Lab/Elastic-Cache Language & NLP Artificial intelligence Machine learning Matched by wording
33

KV Cache Transform Coding for Compact Storage in LLM Inference

3 Nov · Konrad Staniszewski, Adrian Łańcucki · arXiv:2511.01815

Serving large language models (LLMs) at scale necessitates efficient key-value (KV) cache management. KV caches can be reused across conversation turns via shared-prefix prompts that are common in iterative code editing and chat. However, stale caches consume scarce GPU memory, require offloading, or force recomputation. We present KVTC, a lightweight transform coder that compresses KV caches for compact on-GPU and…

34

Stateful KV Cache Management for LLMs: Balancing Space, Time, Accuracy, and Positional Fidelity

23 Oct · Pratik Poudel · arXiv:2511.04686

The Key-Value (KV) cache is integral to efficient autoregressive inference in large language models (LLMs), yet its unbounded growth in stateful multi-turn scenarios presents major challenges. This paper examines the interplay between KV cache management strategies, the architectural context limits of models like meta-llama/Meta-Llama-3-8b-instruct, and the often-overlooked integrity of positional encodings. Through…

35

$A^3$: Attention-Aware Accurate KV Cache Fusion for Fast Large Language Model Serving

13 Nov · Yuechi Zhou, Yi Su, Jianxin Zhang +5 · arXiv:2511.17560

Large language models (LLMs) have demonstrated strong capabilities in processing long contexts, enabling them to tackle tasks involving long textual inputs such as multi-turn conversations, legal documents, or retrieved documents in Retrieval-Augmented Generation (RAG) systems. However, despite their ability to handle long sequences, the resulting decoding latency and memory overhead remain substantial, posing…

36

Generative Caching for Structurally Similar Prompts and Responses

14 Nov · Sarthak Chakraborty, Suman Nath, Xuchao Zhang +2 · arXiv:2511.17565

Large Language Models (LLMs) are increasingly being used to plan, reason, and execute tasks across diverse scenarios. In use cases like repeatable workflows and agentic settings, prompts are often reused with minor variations while having a similar structure for recurring tasks. This opens up opportunities for caching. However, exact prompt matching fails on such structurally similar prompts, while semantic caching…

37

SWAN: Sparse Winnowed Attention for Reduced Inference Memory via Decompression-Free KV-Cache Compression

24 Nov · Santhosh G S, Saurav Prakash, Balaraman Ravindran · arXiv:2511.18936

Large Language Models (LLMs) face a significant bottleneck during autoregressive inference due to the massive memory footprint of the Key-Value (KV) cache. Existing compression techniques like token eviction, quantization, or other low-rank methods often risk information loss, have fixed limits, or introduce significant computational overhead from explicit decompression steps. In this work, we introduce SWAN, a…

38

Cacheback: Speculative Decoding With Nothing But Cache

15 Nov · Zhiyao Ma, In Gim, Lin Zhong · arXiv:2511.21699

We present Cacheback Decoding, a training-free and model-agnostic speculative decoding method that exploits the locality in language to accelerate Large Language Model (LLM) inference. Cacheback leverages only Least Recently Used (LRU) cache tables of token n-grams to generate draft sequences. Cacheback achieves state-of-the-art performance among comparable methods despite its minimalist design, and its simplicity…

39

G-KV: Decoding-Time KV Cache Eviction with Global Attention

29 Nov · Mengqi Liao, Lu Wang, Chaoyun Zhang +7 · arXiv:2512.00504

Recent reasoning large language models (LLMs) excel in complex tasks but encounter significant computational and memory challenges due to long sequence lengths. KV cache compression has emerged as an effective approach to greatly enhance the efficiency of reasoning. However, existing methods often focus on prompt compression or token eviction with local attention score, overlooking the long-term importance of…

40

Hold Onto That Thought: Assessing KV Cache Compression On Reasoning

12 Dec · Minghui Liu, Aadi Palnitkar, Tahseen Rabbani +9 · arXiv:2512.12008

Large language models (LLMs) have demonstrated remarkable performance on long-context tasks, but are often bottlenecked by memory constraints. Namely, the KV cache, which is used to significantly speed up attention computations, grows linearly with context length. A suite of compression algorithms has been introduced to alleviate cache growth by evicting unimportant tokens. However, several popular strategies are…