Alignment-Based LLM Jailbreak
Large Language Models (LLMs) employing reinforcement learning from human feedback (RLHF) for safety alignment are vulnerable to a novel "alignment-based" jailbreak attack. This attack leverages a best-of-N sampling approach with an adversarial LLM to efficiently generate prompts that bypass safety mechanisms and elicit unsafe responses from the target LLM, without requiring additional training or access to the target LLM's internal parameters. The attack exploits the inherent tension between…
Evaluated models: Falcon 7B, GPT-2, Llama 3.1 8B+6 more
- Falcon 7B
- GPT-2
- Llama 3.1 8B
- Megatron 345M
- Mistral 7B
- Pythia 12B
- Tiny Llama 1.1B
- Vicuna 13B
- Vicuna 7B