IEEE TEVC 2026

UniBreak: A Unified Evolutionary Token-Level Jailbreaking Framework for Large Language Models

A jailbreak is a search problem: find a few tokens that, placed around a harmful query, flip the model from refusing to answering. UniBreak runs that search with a genetic algorithm, keeps what it finds, and uses it again on the next query.

01

The 4K explainer

Three minutes, English narration.

02

Why this is hard

The problem the paper is aimed at.

Safety alignment teaches a model to refuse. It does not remove the capability, and it does not turn the refusal into a wall — it is a thin decision layer sitting on top of a much larger behaviour space. A handful of tokens around a harmful request is enough to step over that boundary.

Every earlier attack solved one version of this. GCG optimises a suffix with gradients. AutoDAN evolves a readable prompt, but needs hours per query. AmpleGCG learns to generate suffixes, yet still needs gradients to train. None of them carry anything from one harmful query to the next, so the search always starts cold.

The observation behind UniBreak: successful perturbations keep reusing the same odd tokens. Attack once, and the next query can start from a warm cache instead of a cold search.
03

How it works

Four pieces: a cache, an injection rule, two search engines, and a fitness that predicts success.

UniBreak: A Unified Evolutionary Token-L
Overall framework: testing against the repository, attacking with the evolutionary loop, then writing the result back.
Test the repository first

Before any search, replay the perturbations already known to work. On the easier queries this is a zero-query attack, which matters when access is metered.

Inject on both sides, never inside

A token-level edit that deletes inside a BPE word breaks it: h·arm·ful minus the middle token decodes as “hful”. UniBreak only prepends and appends, so the query the model reads is still the query.

Two engines, one population

A gradient operator moves tokens the model is sensitive to; a genetic operator explores what gradients miss, with crossover guided by token statistics and mutation biased toward frequently successful tokens.

A fitness that separates success from failure

The score combines refusal suppression with output fluency. The paper shows a sharp threshold: above roughly 10 the attack almost always succeeds, below 8.2 it almost never does.

04

What the experiments show

Results exactly as printed in the paper.

DatasetAdvBench, 520 harmful queries
Victim modelsLlama-2, Qwen2.5 (1.5B / 3B / 7B), OpenELM-1.1B-Instruct
BaselinesGCG, AutoDAN, AmpleGCG, SMJ
MetricsASR, TsSR, TGAE / AGAE, ANAI, ART
Hardware2 × RTX 4090, Xeon Gold 5218
Table I
Table I. Ablation on Llama-2 and Qwen1.5B: each component is removed in turn.
Table II
Table II. Effect of the perturbation length against GCG and AmpleGCG, on three victim families.
Table III
Table III. Three failure modes, from a manual inspection of 50 failed cases.
Table IV
Table IV. Attack performance across model sizes, with p-values against every baseline.
05

What to take away

Three points, in plain terms.

One pipeline, three settings

Only the gradient operator is switched on or off; the rest of the loop is identical.

The cache is not a detail

Removing it costs 13.97 points of ASR on Llama-2 — more than removing either operator.

Black-box is the real cost

83.27% ASR without gradients, but three times the queries. That is the price of not seeing inside.