Transfer-Based LLM Jailbreak
This vulnerability allows attackers to bypass safety mechanisms in Llama-2-7B-Chat and other safety-aligned LLMs using crafted adversarial prompts. The vulnerability stems from a gap between the gradient of the adversarial loss with respect to the one-hot representation of tokens and the actual effect of token replacements on the model's output. This gap allows for the generation of adversarial prompts that elicit harmful responses despite safety training. The paper demonstrates that…
Evaluated models: GPT-3.5 Turbo, Llama 2 13B Chat, Llama 2 7B Chat+2 more
- GPT-3.5 Turbo
- Llama 2 13B Chat
- Llama 2 7B Chat
- Mistral 7B Instruct v0.2
- Phi 3 Mini 4k Instruct