Accelerating Suffix Jailbreak attacks with Prefix-Shared KV-cache
On the map: Efficient LLM inference and serving → KV cache optimization
also in 1 more
Abstract (arXiv)
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 key observation that when performing suffix jailbreaking, while a large number of candidate prompts need to be evaluated, they share the same targeted harmful instruction as the prefix. Therefore, instead of performing redundant inference on the duplicated prefix, PSKV maintains a single KV cache for this prefix and shares it with every candidate prompt, enabling the parallel inference of diverse suffixes with minimal memory overhead. This design enables more aggressive batching strategies that would otherwise be limited by memory constraints. Extensive experiments on six widely used suffix attacks across five widely deployed LLMs demonstrate that PSKV reduces inference time by 40% and peak memory usage by 50%, while maintaining the original Attack Success Rate (ASR). The code has been submitted and will be released publicly.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 15 of its 16 references that are in the map. First posted on arXiv 12 Mar 2026.
Builds on
15 of 16 references.
Closest ancestors · 2
Same direction, newest first
- 2024ChunkAttention: Efficient Self-Attention with Prefix-Aware KV Cache and Two-Phase Partition23 Feb
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
Other references · 13
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 223
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMscited by 172
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
- 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Modelscited by 111
- 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 88
1 more
- 2024Query-Based Adversarial Prompt Generationcited by 62
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Latent Undertow: How Ordinary Typos Break Probescited by 2
- 2026Latent Undertow: How Ordinary Typos Break Probes8 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
- 2024Prefix Guidance: A Steering Wheel for Large Language Models to Defend Against Jailbreak Attacks
- 2024Boosting Jailbreak Transferability for Large Language Models
- 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models
- 2026TACS: Trajectory-Aware Candidate Selection for LLM Jailbreak Suffix Optimization
- 2026TrapSuffix: Proactive Defense Against Adversarial Suffixes in Jailbreaking
- 2026HijackKV: New Threat in Position-Independent KV Cache Reuse
- 2024An Optimizable Suffix Is Worth A Thousand Templates: Efficient Black-box Jailbreaking without Affirmative Phrases via LLM as Optimizer