atlas

Research map / Large language models / Language, safety and interpretability

VERA: Variational Inference Framework for Jailbreaking Large Language Models

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Jailbreak attacks and defenses · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Casts black-box jailbreak prompt generation as variational inference, training a LoRA-adapted small attacker LLM with REINFORCE and a judge-based reward so it can sample diverse jailbreak prompts without per-prompt search.

Problem

Black-box jailbreaking of LLMs typically requires per-prompt optimization or search, depends on manually curated seed templates, and fails to characterize the breadth of a model's vulnerabilities for a given behavior.

Approach

Treats the attacker LLM as a variational distribution approximating the posterior over prompts that elicit harmful responses, optimizing an ELBO (likelihood via a judge score, prior from the base attacker, entropy regularization) with REINFORCE, so that after training new jailbreak prompts are sampled in a single forward pass.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace the strongest reported baseline with VERAHarmBench, Vicuna-7b · HarmBench, Vicuna-7bASR (%): 66.0 -> 70.0Helped
replace the strongest reported baseline with VERAHarmBench, Baichuan2-7b · HarmBench, Baichuan2-7bASR (%): 61.5 -> 64.8Helped
replace the strongest reported baseline with VERAHarmBench, Orca2-7b · HarmBench, Orca2-7bASR (%): 71.0 -> 72.0Helped
replace the strongest reported baseline with VERAHarmBench, GPT-3.5 · HarmBench, GPT-3.5ASR (%): 47.5 -> 53.3Helped
replace the strongest reported baseline with VERAHarmBench, Gemini-Pro · HarmBench, Gemini-ProASR (%): 35.1 -> 48.5Helped
replace the strongest reported baseline with VERAHarmBench average · HarmBench averageASR (%): 40.9 -> 50.5Helped
apply VERA instead of AutoDAN under Perplexity FilterVicuna-7b · Vicuna-7b under Perplexity FilterASR (%): 48.8 -> 58.9Helped
apply VERA instead of AutoDAN under Circuit BreakerLlama3-8B-Instruct · Llama3-8B-Instruct under Circuit BreakerASR (%): 0.0 -> 9.6Helped
enable attacker parameter updates rather than freeze the attacker (Best-of-N) (ablation)VERA · VERA optimization ablationASR (%): 48.50 -> 94.00Helped
use Llama3-8B instead of Vicuna-7B attacker backbone (ablation)VERA · Attacker backbone ablationASR (%): 94.00 -> 85.00Hurt
use Mistral-7B instead of Vicuna-7B attacker backbone (ablation)VERA · Attacker backbone ablationASR (%): 94.00 -> 90.00Hurt
set KL coefficient to 0.0 instead of 0.8 (ablation)VERA · KL coefficient ablationASR (%): 94.00 -> 76.53Hurt

Surprising findings

Limitations

Experimental setup

Datasets: HarmBench AdvBench

Benchmarks: HarmBench AdvBench

Metrics: attack success rate BLEU / self-BLEU diversity transferability ASR bypass rate JB rate

Baselines: GCG GCG-M GCG-T PEZ GBDA UAT AP SFS ZS PAIR TAP TAP-T

Builds on: REINFORCE GCG AutoDAN GPTFuzzer HarmBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy