Variational Jailbreak Inference
VERA, a variational inference framework, enables the generation of diverse and fluent adversarial prompts that bypass safety mechanisms in large language models (LLMs). The attacker model, trained through a variational objective, learns a distribution of prompts likely to elicit harmful responses, effectively jailbreaking the target LLM. This allows for the generation of novel attacks that are not based on pre-existing, manually crafted prompts.
Evaluated models: Baichuan 2 7B, Gemini Pro, GPT-3.5 Turbo+8 more
- Baichuan 2 7B
- Gemini Pro
- GPT-3.5 Turbo
- Llama 2 13B
- Llama 2 13B Chat
- Llama 2 7B Chat
- Llama 3 8B
- Mistral 7B
- Orca 2 7B
- Vicuna 7B
- Zephyr 7B