arXiv

VERA: Variational Inference Framework for Jailbreaking Large Language Models

Title: VERA: A Variational Inference Approach to Jailbreaking Large Language Models

Abstract:

As access to state-of-the-art Large Language Models (LLMs) becomes increasingly restricted to API-only interfaces, there is a growing demand for robust black-box jailbreak techniques capable of exposing model vulnerabilities in practical scenarios. Current methods largely depend on genetic algorithms due to the absence of a principled objective for gradient-based optimization. However, these genetic approaches suffer from significant limitations, including sensitivity to initialization, reliance on manually selected prompt pools, and the need for separate optimization processes for each individual prompt. Consequently, they fail to offer a holistic understanding of model weaknesses.

To bridge this gap, we present VERA (Variational infErence fRamework for jAilbreaking). VERA reframes black-box jailbreak prompting as a variational inference challenge. It employs a compact attacker LLM to learn an approximation of the target LLM’s posterior distribution over adversarial prompts. After the training phase, the attacker model is capable of producing varied and coherent jailbreak prompts for any given target query without requiring further optimization. Our experiments demonstrate that VERA delivers impressive results across multiple target LLMs, underscoring the effectiveness of probabilistic inference in the generation of adversarial prompts.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...