atlas

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

Efficient LLM Jailbreak via Adaptive Dense-to-sparse Constrained Optimization

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Jailbreak attacks and defenses · 3 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.

Proposes ADC, a white-box token-level jailbreak that relaxes discrete suffix optimization to the continuous simplex and adaptively sparsifies vectors (sparsity set by exp of mispredicted target tokens), reaching higher ASR and efficiency than GCG on AdvBench and HarmBench.

Problem

Token-level jailbreaks such as GCG need huge query budgets because discrete token optimization is hard; naive projection of relaxed continuous optimized vectors back to one-hot tokens causes large loss increases.

Approach

Relax one-hot token choices to the probability simplex, optimize with a momentum optimizer without reparameterization, and progressively enforce sparsity S = exp(number of mispredicted target tokens) so vectors approach one-hot before projection, reducing the projection gap.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use adaptive sparsity instead of constant sparsity (ablation)ADC · AdvBench harmful behaviors, Vicuna-v1.5-7BASR: constant = 1: 63.1; constant = 2: 98.8; constant = 3: 98.5; adaptive (ours): 99.8Helped
Use adaptive sparsity instead of constant sparsity (ablation)ADC · AdvBench harmful behaviors, Llama2-chat-7BASR: constant = 1: 29.0; constant = 2: 62.3; constant = 3: 0.0; adaptive (ours): 96.2Helped
Set learning rate to 0.1 instead of the default 10 (ablation)ADC · AdvBench harmful behaviors, Llama2-chat-7BASR: 83.8 vs 96.2Hurt
Set learning rate to 1 instead of the default 10 (ablation)ADC · AdvBench harmful behaviors, Llama2-chat-7BASR: 95.0 vs 96.2Hurt
Set learning rate to 100 instead of the default 10 (ablation)ADC · AdvBench harmful behaviors, Vicuna-v1.5-7BASR: 98.8 vs 99.8Hurt
Set momentum to 0 instead of the default 0.99 (ablation)ADC · AdvBench harmful behaviors, Llama2-chat-7BASR: 4.0 vs 96.2Hurt
Set momentum to 0.5 instead of the default 0.99 (ablation)ADC · AdvBench harmful behaviors, Llama2-chat-7BASR: 27.7 vs 96.2Hurt
Set momentum to 0.9 instead of the default 0.99 (ablation)ADC · AdvBench harmful behaviors, Llama2-chat-7BASR: 94.2 vs 96.2Hurt
Switch to GCG after ADC optimization (ADC+) rather than use ADCADC · AdvBench harmful strings, Llama2-chat-7BEM: 32.6 -> 75.4Helped
Use ADC instead of GCGToken-level jailbreak attacks · AdvBench harmful behaviors, Llama2-chat-7BASR: 53.8 -> 96.2Helped
Use ADC instead of GCGToken-level jailbreak attacks · AdvBench harmful strings, Llama2-chat-7BEM: 41.3 -> 32.6Hurt
Use ADC instead of GCGToken-level jailbreak attacks · HarmBench Standard Behaviours, Zephyr-R2D2ASR: 0.0 -> 26.5Hurt

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench harmful behaviors AdvBench harmful strings HarmBench standard behaviors

Benchmarks: AdvBench harmful behaviors AdvBench harmful strings HarmBench standard behaviors

Metrics: attack success rate exact match computing budget wall-clock time early stop rate

Baselines: GCG AutoPrompt PAIR TAP AutoDan

Builds on: GCG HarmBench AdvBench

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