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

300+ results for “Cache”

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

21

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…

22

Accelerating LLM Inference Throughput via Asynchronous KV Cache Prefetching

8 Apr · Yanhao Dong, Yubo Miao, Weinan Li +4 · arXiv:2504.06319

Large Language Models (LLMs) exhibit pronounced memory-bound characteristics during inference due to High Bandwidth Memory (HBM) bandwidth constraints. In this paper, we propose an L2 Cache-oriented asynchronous KV Cache prefetching method to break through the memory bandwidth bottleneck in LLM inference through computation-load overlap. By strategically scheduling idle memory bandwidth during active computation…

23

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;…

24

KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environments

21 Apr · Junyoung Park, Dalton Jones, Matthew J Morse +3 · arXiv:2504.15364

We demonstrate that geometrically distinctive keys during LLM inference tend to have high attention scores. Based on the phenomenon we propose KeyDiff, a training-free KV cache eviction method based solely on key similarity. Unlike other KV cache eviction methods, KeyDiff can process arbitrarily long prompts within strict resource constraints and efficiently generate responses. We provide a theoretical basis for…

NeurIPS 2025 Artificial intelligence Matched by wording
25

CachePrune: Teaching LLMs What Not to Follow via KV-Cache Editing

29 Apr · Rui Wang, Junda Wu, Yu Xia +6 · arXiv:2504.21228

Large Language Models (LLMs) are susceptible to indirect prompt injection attacks, where the model inadvertently responds to instructions injected into the prompt context. This vulnerability stems from LLMs' inability to distinguish between data and instructions within a prompt. We propose CachePrune, which defends against this attack by identifying and pruning neurons associated with instruction-following during KV…

26

RT-Cache: Training-Free Retrieval for Real-Time Manipulation

14 May · Owen Kwon, Abraham George, Alison Bartsch +1 · arXiv:2505.09040

Real robots are expected to repeat the same behavior in new environments with very little new data, yet modern controllers either incur heavy per-step inference or require deployment-time fine-tuning. We propose RT-Cache, a training-free retrieval-as-control pipeline that caches diverse image action trajectories in a unified vector memory and, at test time, embeds the current frame to retrieve and replay multi-step…

2025 IEEE-RAS 24th International Conference on Humanoid Robots Robotics Artificial intelligence Computer vision Matched by wording
27

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…

28

Bottlenecked Transformers: Periodic KV Cache Consolidation for Generalised Reasoning

22 May · Adnan Oomerjee, Zafeirios Fountas, Haitham Bou-Ammar +1 · arXiv:2505.16950

Transformer LLMs have been shown to exhibit strong reasoning ability that scales with inference-time compute, most prominently through token-space "thinking" chains of thought. A growing line of work pushes extra computation into the model's latent space, which we term Auxiliary Latent-Space Computation (ALSC). Existing ALSC methods largely fall into three buckets: (i) token-mediated latent rollouts, (ii)…

29

NSNQuant: A Double Normalization Approach for Calibration-Free Low-Bit Vector Quantization of KV Cache

23 May · Donghyun Son, Euntae Choi, Sungjoo Yoo · arXiv:2505.18231

Large Language Model (LLM) inference is typically memory-intensive, especially when processing large batch sizes and long sequences, due to the large size of key-value (KV) cache. Vector Quantization (VQ) is recently adopted to alleviate this issue, but we find that the existing approach is susceptible to distribution shift due to its reliance on calibration datasets. To address this limitation, we introduce…

30

FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximation

26 May · Dong Liu, Yanxuan Yu, Jiayi Zhang +3 · arXiv:2505.20353

Diffusion Transformers (DiT) are powerful generative models but remain computationally intensive due to their iterative structure and deep transformer stacks. To alleviate this inefficiency, we propose \textbf{FastCache}, a hidden-state-level caching and compression framework that accelerates DiT inference by exploiting redundancy within the model's internal representations. FastCache introduces a dual strategy: (1)…

31

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…

32

ReCalKV: Low-Rank KV Cache Compression via Head Reordering and Offline Calibration

30 May · Xianglong Yan, Zhiteng Li, Tianao Zhang +4 · arXiv:2505.24357

Large language models (LLMs) have demonstrated remarkable performance, but their long-context reasoning remains constrained by the excessive memory required for the Key-Value (KV) cache. This makes KV cache compression a critical step toward efficient long-context inference. Recent methods have explored low-rank techniques to reduce the hidden size of the KV cache. However, they neglect the distinct roles and…

33

KVmix: Gradient-Based Layer Importance-Aware Mixed-Precision Quantization for KV Cache

18 May · Fei Li, Song Liu, Weiguo Wu +2 · arXiv:2506.08018

The high memory demands of the Key-Value (KV) Cache during the inference of Large Language Models (LLMs) severely restrict their deployment in resource-constrained platforms. Quantization can effectively alleviate the memory pressure caused by KV Cache. However, existing methods either rely on static one-size-fits-all precision allocation or fail to dynamically prioritize critical KV in long-context tasks, forcing…

AAAI 2026 Oral Machine learning Artificial intelligence Matched by wording
34

MARché: Fast Masked Autoregressive Image Generation with Cache-Aware Attention

22 May · Chaoyi Jiang, Sungwoo Kim, Lei Gao +3 · arXiv:2506.12035

Masked autoregressive (MAR) models unify the strengths of masked and autoregressive generation by predicting tokens in a fixed order using bidirectional attention for image generation. While effective, MAR models suffer from significant computational overhead, as they recompute attention and feed-forward representations for all tokens at every decoding step, despite most tokens remaining semantically stable across…

35

Block-wise Adaptive Caching for Accelerating Diffusion Policy

16 Jun · Kangye Ji, Yuan Meng, Hanyun Cui +5 · arXiv:2506.13456

Diffusion Policy has demonstrated strong visuomotor modeling capabilities, but its high computational cost renders it impractical for real-time robotic control. Despite huge redundancy across repetitive denoising steps, existing diffusion acceleration techniques fail to generalize to Diffusion Policy due to fundamental architectural and data divergences. In this paper, we propose $\textbf{B}$lock-wise…

36

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…

37

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…

38

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
39

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…

40

SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference

3 Aug · Yi Zhao, Yajuan Peng, Cam-Tu Nguyen +4 · arXiv:2508.02751

KV cache eviction has emerged as an effective solution to alleviate resource constraints faced by LLMs in long-context scenarios. However, existing token-level eviction methods often overlook two critical aspects: (1) their irreversible eviction strategy fails to adapt to dynamic attention patterns during decoding (the saliency shift problem), and (2) they treat both marginally important tokens and truly unimportant…