Context-Coherent LLM Jailbreak
A context-coherent jailbreak attack (CCJA) allows bypassing safety mechanisms in aligned large language models (LLMs) by optimizing perturbations in the continuous word embedding space of a masked language model (MLM). The attack leverages the MLM's ability to reconstruct text from hidden states to generate semantically coherent yet malicious prompts that induce the target LLM to produce unsafe outputs, even with strong safety alignment. The attack's effectiveness is enhanced by using a seed…
Evaluated models: Guanaco 13B, Llama 2 7B Chat, Llama 3 8B Instruct+4 more
- Guanaco 13B
- Llama 2 7B Chat
- Llama 3 8B Instruct
- Mistral 7B Instruct v0.2
- Mistral 7B Instruct v0.3
- Vicuna 13B v1.5
- Vicuna 7B v1.5