paper-with-me

Papers

Accelerating Suffix Jailbreak attacks with Prefix-Shared KV-cache

2026-03-12 · Xinhai Wang, Shaopeng Fu, Shu Yang, Liangyu Wang, Tianhang Zheng, Di Wang 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.

📄 PDF Abstract BibTeX arXiv:2603.13420

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Suffixes: Token Position in GCG Adversarial Attacks on Large Language Models

2026-02-03 · Hicham Eddoubi, Umar Faruk Abdullahi, Fadi Hassan arxiv

Large Language Models (LLMs) have seen widespread adoption across multiple domains, creating an urgent need for robust safety alignment mechanisms. However, robustness remains challenging due to jailbreak attacks that by…

Adversarial Robustness

White-box Multimodal Jailbreaks Against Large Vision-Language Models

2024-05-28 · Ruofan Wang, Xingjun Ma, Hanxu Zhou, Chuanjun Ji 외

Recent advancements in Large Vision-Language Models (VLMs) have underscored their superiority in various multimodal tasks. However, the adversarial robustness of VLMs has not been fully explored. Existing methods mainly …

Adversarial RobustnessAdversarial Text

GASP: Efficient Black-Box Generation of Adversarial Suffixes for Jailbreaking LLMs

2024-11-21 · Advik Raj Basani, Xiao Zhang

LLMs have shown impressive capabilities across various natural language processing tasks, yet remain vulnerable to input prompts, known as jailbreak attacks, carefully designed to bypass safety guardrails and elicit harm…

Bayesian OptimizationRed Teaming

InfoFlood: Jailbreaking Large Language Models with Information Overload

2025-06-13 · Advait Yadav, Haibo Jin, Man Luo, Jun Zhuang 외

Large Language Models (LLMs) have demonstrated remarkable capabilities across various domains. However, their potential to generate harmful responses has raised significant societal and regulatory concerns, especially wh…

BlueSuffix: Reinforced Blue Teaming for Vision-Language Models Against Jailbreak Attacks

2024-10-28 · Yunhan Zhao, Xiang Zheng, Lin Luo, Yige Li 외

Despite their superb multimodal capabilities, Vision-Language Models (VLMs) have been shown to be vulnerable to jailbreak attacks, which are inference-time attacks that induce the model to output harmful responses with t…

2k