Distract Large Language Models for Automatic Jailbreak Attack

Zeguan Xiao, Yan Yang, Guanhua Chen, Yun Chen


Abstract
Extensive efforts have been made before the public release of Large language models (LLMs) to align their behaviors with human values. However, even meticulously aligned LLMs remain vulnerable to malicious manipulations such as jailbreaking, leading to unintended behaviors. In this work, we propose a novel black-box jailbreak framework for automated red teaming of LLMs. We designed malicious content concealing and memory reframing with an iterative optimization algorithm to jailbreak LLMs, motivated by the research about the distractibility and over-confidence phenomenon of LLMs. Extensive experiments of jailbreaking both open-source and proprietary LLMs demonstrate the superiority of our framework in terms of effectiveness, scalability and transferability. We also evaluate the effectiveness of existing jailbreak defense methods against our attack and highlight the crucial need to develop more effective and practical defense strategies.
Anthology ID:
2024.emnlp-main.908
Volume:
Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing
Month:
November
Year:
2024
Address:
Miami, Florida, USA
Editors:
Yaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen
Venue:
EMNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
16230–16244
Language:
URL:
https://aclanthology.org/2024.emnlp-main.908
DOI:
Bibkey:
Cite (ACL):
Zeguan Xiao, Yan Yang, Guanhua Chen, and Yun Chen. 2024. Distract Large Language Models for Automatic Jailbreak Attack. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 16230–16244, Miami, Florida, USA. Association for Computational Linguistics.
Cite (Informal):
Distract Large Language Models for Automatic Jailbreak Attack (Xiao et al., EMNLP 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.emnlp-main.908.pdf