Multi-Turn Context Jailbreak Attack on Large Language Models From First Principles
Xiongtao Sun, Deyue Zhang, Dongdong Yang, Quanchen Zou, Hui Li

TL;DR
This paper introduces a new theoretical framework and a context-based attack method called CFA to exploit multi-turn dialogue vulnerabilities in large language models, revealing significant security risks.
Contribution
It establishes a theoretical foundation for multi-turn jailbreak attacks and proposes the CFA method, which outperforms existing strategies in success rate and harmfulness.
Findings
CFA achieves higher success rates on Llama3 and GPT-4.
CFA demonstrates increased divergence and harmfulness compared to other methods.
Theoretical foundation clarifies the role of multi-turn dialogues in jailbreak attacks.
Abstract
Large language models (LLMs) have significantly enhanced the performance of numerous applications, from intelligent conversations to text generation. However, their inherent security vulnerabilities have become an increasingly significant challenge, especially with respect to jailbreak attacks. Attackers can circumvent the security mechanisms of these LLMs, breaching security constraints and causing harmful outputs. Focusing on multi-turn semantic jailbreak attacks, we observe that existing methods lack specific considerations for the role of multiturn dialogues in attack strategies, leading to semantic deviations during continuous interactions. Therefore, in this paper, we establish a theoretical foundation for multi-turn attacks by considering their support in jailbreak attacks, and based on this, propose a context-based contextual fusion black-box jailbreak attack method, named…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning
MethodsAttention Is All You Need · Linear Layer · Layer Normalization · Multi-Head Attention · Position-Wise Feed-Forward Layer · Adam · Byte Pair Encoding · Softmax · Absolute Position Encodings · Dense Connections
