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

15 results for “Cache”

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

1

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
2

Can Transformer Memory Be Corrupted? Investigating Cache-Side Vulnerabilities in Large Language Models

20 Oct · Elias Hossain, Swayamjit Saha, Somshubhra Roy +1 · arXiv:2510.17098

Even when prompts and parameters are secured, transformer language models remain vulnerable because their key-value (KV) cache during inference constitutes an overlooked attack surface. This paper introduces Malicious Token Injection (MTI), a modular framework that systematically perturbs cached key vectors at selected layers and timesteps through controlled magnitude and frequency, using additive Gaussian noise,…

3

Whose Narrative is it Anyway? A KV Cache Manipulation Attack

16 Nov · Mukkesh Ganesh, Kaushik Iyer, Arun Baalaaji Sankar Ananthan · arXiv:2511.12752

The Key Value(KV) cache is an important component for efficient inference in autoregressive Large Language Models (LLMs), but its role as a representation of the model's internal state makes it a potential target for integrity attacks. This paper introduces "History Swapping," a novel block-level attack that manipulates the KV cache to steer model generation without altering the user-facing prompt. The attack…

4

From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching

30 Jan · Zhixiang Zhang, Zesen Liu, Yuchong Xie +2 · arXiv:2601.23088

Semantic caching has emerged as a pivotal technique for scaling LLM applications, widely adopted by major providers including AWS and Microsoft. By utilizing semantic embedding vectors as cache keys, this mechanism effectively minimizes latency and redundant computation for semantically similar queries. In this work, we conceptualize semantic cache keys as a form of fuzzy hashes. We demonstrate that the locality…

Accepted to ICML 2026 Cryptography & security Artificial intelligence Matched by wording
5

RedVisor: Reasoning-Aware Prompt Injection Defense via Zero-Copy KV Cache Reuse

2 Feb · Mingrui Liu, Sixiao Zhang, Cheng Long +1 · arXiv:2602.01795

Large Language Models (LLMs) are increasingly vulnerable to Prompt Injection (PI) attacks, where adversarial instructions hidden within retrieved contexts hijack the model's execution flow. Current defenses typically face a critical trade-off: prevention-based fine-tuning often degrades general utility via the "alignment tax", while detection-based filtering incurs prohibitive latency and memory costs. To bridge…

6

Accelerating Suffix Jailbreak attacks with Prefix-Shared KV-cache

12 Mar · Xinhai Wang, Shaopeng Fu, Shu Yang +3 · arXiv:2603.13420

Suffix jailbreak attacks serve as a systematic method for red-teaming Large Language Models (LLMs) but suffer from prohibitive computational costs, as a large number of candidate suffixes need to be evaluated before identifying a jailbreak suffix. This paper presents Prefix-Shared KV Cache (PSKV), a plug-and-play inference optimization technique tailored for jailbreak suffix generation. Our method is motivated by a…

7

Grounded Cache Routing for Retrieval-Augmented Generation: When Is It Safe to Reuse an Answer?

26 May · Syed Huma Shah · arXiv:2605.27494

Modern retrieval-augmented generation(RAG) deployments increasingly rely on caching to reduce token cost and time-to-first-token(TTFT). Prefix-level KV reuse is now standard in serving stacks such as vLLM, and chunk-level and position-independent reuse have been pushed further by recent systems(RAGCache, TurboRAG, CacheBlend, EPIC, ContextPilot, PCR, LMCache). Output-level semantic answer caches, by contrast, remain…

Code: https://github.com/syedhumarahim/grounded-cache-router Cryptography & security Artificial intelligence Language & NLP Matched by wording
8

HijackKV: New Threat in Position-Independent KV Cache Reuse

22 Jul · Yichi Zhang, Zhiqi Wang, Huan Zhang +1 · arXiv:2607.19957

Key-Value (KV) cache reduces inference latency in large language models (LLMs). Traditional prefix-based reuse has low cache hit rates across inference requests because it requires exact token and position matches. To improve efficiency, recent system optimizations introduce position-independent KV reuse, allowing KV cache to be reused whenever identical text chunks appear, regardless of their position in the…

accepted by USENIX Security 2026 Cryptography & security Artificial intelligence Machine learning Matched by wording
9

When Does Latent Communication Pay? A Causal Audit of Relayed KV Caches in Multi-Agent LLMs

5 Aug · Jiaming Cheng, Subhransu Das, Rajiv Ramnath · arXiv:2608.04893

Multi-agent LLM systems relay key-value caches instead of text and credit their gains to exchanged "latent thoughts". That credit is a claim about which example's cache is relayed, not merely that one is. We audit it causally in released systems. The cache is replaced with deranged (mismatched-example), zeroed, and moment-matched random counterparts, under two regimes defined by whether the receiver needs the…

v2: metadata only, fixed abstract formatting Cryptography & security Artificial intelligence Machine learning Matched by wording
10

Governing the KV Cache: Preventing Timing Side-Channel Leakage in Multi-Tenant LLM Inference

10 Aug · Tejasvi C. Addagada · arXiv:2608.09225

The key-value (KV) cache is the primary throughput optimization in modern large language model (LLM) inference, enabling prefix reuse across requests. In multi-tenant deployments this cache is shared across tenants, creating a timing side channel: an adversarial tenant can reconstruct another tenant's private prompt by probing cache-hit latency. Three published attacks exploit it -- PROMPTPEEK, EarlyBird and…

Measurements on NVIDIA A100 with vLLM 0.26.0, independently replicated on llama.cpp/Apple Metal. Experimental scripts and raw results available from the author on request Cryptography & security Artificial intelligence Matched by wording
11

Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoning

28 Sept · Zihan Zhang, Shuangjie Yao, Zesen Liu +8 · arXiv:2609.35908

Semantic caches reduce LLM serving costs by reusing previously generated answers for semantically similar queries. However, retrieval is based solely on embedding similarity between the incoming query and cached queries. This design enables cache poisoning: an attacker can cache a malicious response under a query with high cosine similarity to benign requests. The vulnerability stems from a gap between retrieval…

Code: https://github.com/shentoumengxin/deletion-gain Cryptography & security Artificial intelligence Matched by wording
12

Visual Memory Attacks Can Persist Through The KV Cache

6 Oct · David Dobre, Leo Schwinn, Gauthier Gidel +3 · arXiv:2610.09027

Modern language model systems operate autonomously over increasingly long contexts containing untrusted text and images. Can an adversarial input continue to steer a model even after that input is removed from its context? We show that attacks can be trained to persist through the key/value (KV) cache of subsequent tokens, allowing adversarial influence to outlive direct access to its source.We consider the Visual…

13

Mirage: Provable Defense Against LLM KV Cache Timing Side Channels with Topology-Aware Isolation

7 Nov · Xiaobei Yan, Tianwei Zhang · arXiv:2611.10756

Large Language Models (LLMs) are increasingly deployed as shared multi-tenant services, relying on advanced optimizations like KV cache and prefix sharing to improve throughput and reduce latency. However, these optimizations introduce a critical vulnerability: attackers can exploit time-to-first-token (TTFT) variations between KV cache hits and misses to infer sensitive prompt tokens via prefix-matching…

14

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…

15

Beyond Bot Labels: Retrospective Consequence-Grounded Ranking of Attributed Cache Harm in E-Commerce Logs

13 Nov · Jisoo Kim, Youngwoo Seo, Seonghoon Jeong · arXiv:2611.18027

Web caches reduce origin load and latency, but automated traffic can either warm them or evict objects shoppers reuse, lowering the cache hit ratio (CHR). Existing bot defenses generally infer automation from User-Agent (UA) strings or behavior rather than identify sessions that impose cross-session cache harm. We instead formulate the task as ranking sessions by eviction damage and propose consequence-grounded…

Accepted to appear in Proc. of the 2026 IEEE International Conference on Big Data (IEEE BigData 2026), Phoenix, AZ, USA. This is the author's accepted manuscript Cryptography & security Machine learning Networking Matched by wording