English

Enhancing Jailbreak Attacks with Diversity Guidance

Computation and Language 2024-09-20 v2

Abstract

As large language models(LLMs) become commonplace in practical applications, the security issues of LLMs have attracted societal concerns. Although extensive efforts have been made to safety alignment, LLMs remain vulnerable to jailbreak attacks. We find that redundant computations limit the performance of existing jailbreak attack methods. Therefore, we propose DPP-based Stochastic Trigger Searching (DSTS), a new optimization algorithm for jailbreak attacks. DSTS incorporates diversity guidance through techniques including stochastic gradient search and DPP selection during optimization. Detailed experiments and ablation studies demonstrate the effectiveness of the algorithm. Moreover, we use the proposed algorithm to compute the risk boundaries for different LLMs, providing a new perspective on LLM safety evaluation.

Keywords

Cite

@article{arxiv.2403.00292,
  title  = {Enhancing Jailbreak Attacks with Diversity Guidance},
  author = {Xu Zhang and Dinghao Jing and Xiaojun Wan},
  journal= {arXiv preprint arXiv:2403.00292},
  year   = {2024}
}
R2 v1 2026-06-28T15:05:32.900Z