atlas

Research map / Adversarial robustness and security / Black-box and transfer attacks

Improved Generation of Adversarial Examples Against Safety-aligned LLMs

NeurIPS 2024 · Adversarial robustness and security › Black-box and transfer attacks · approach: Robustness benchmarks and defenses · 1 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.

Adapts transfer-attack techniques (Skip Gradient Method and Intermediate Level Attack) to GCG-style gradient-based adversarial suffix generation against safety-aligned LLMs, raising match rate and attack success rate without extra compute.

Problem

Gradient-based discrete optimization for jailbreak adversarial suffixes is limited because input gradients w.r.t. one-hot tokens poorly predict the loss change from token replacements, leaving low white-box attack success on safety-aligned models such as Llama-2-Chat.

Approach

Reframes the one-hot gradient gap as analogous to the substitute-to-victim gap in transfer attacks, then imports SGM (down-weighting residual-module gradients, giving LSGM) and a token-level ILA variant (LILA, replacing the gradient at the first target token with a directional guide) into GCG, and combines them.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LSGM and LILA to GCGGCG · AdvBench, query-specific suffixes, Llama-2-7B-ChatASR: 38% -> 68%Helped
Add LSGM and LILA to GCGGCG · AdvBench, query-specific suffixes, Llama-2-13B-ChatASR: 33% -> 52%Helped
Add LSGM and LILA to GCGGCG · AdvBench, query-specific suffixes, Mistral-7B-InstructASR: 74% -> 93%Helped
Add LSGM and LILA to GCGGCG · AdvBench, query-specific suffixes, Phi3-Mini-4K-InstructASR: 59% -> 68%Helped
Add LSGM and LILA to GCGGCG · AdvBench, universal suffixes, Llama-2-7B-ChatAASR: 26.68% -> 60.32%Helped
Add LSGM and LILA to GCGGCG · HarmBench, universal suffixes, Llama-2-7B-ChatAASR: 56.90% -> 69.35%Helped
Add LSGM and LILA to GCGGCG · AdvBench, query-specific suffixes, Llama-2-7B-Chatmatch rate: 54% -> 87%Helped
Apply ILA directly to the full intermediate representation (ablation)GCG · AdvBench, query-specific suffixes, Llama-2-7B-Chatmatch rate: 54% -> 44%Hurt
Add LSGM by reducing residual-module gradients (γ=0.5) (ablation)GCG · AdvBench, query-specific suffixes, Llama-2-7B-Chatmatch rate: 54% -> 72%Helped
Add LSGM by reducing residual-module gradients (γ=0.5) (ablation)GCG · AdvBench, query-specific suffixes, Llama-2-7B-ChatASR: 38% -> 62%Helped
Reduce gradients from skip connections instead of residual modules (ablation)GCG · AdvBench, query-specific suffixes, Llama-2-7B-Chatmatch rate: 0%Hurt
Choose the first target-phrase token for LILA rather than other tokens or all tokens (ablation)GCG-LILA · AdvBench, query-specific suffixesmatch rateHelped

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench HarmBench

Benchmarks: AdvBench HarmBench

Metrics: match rate attack success rate average ASR worst ASR best ASR time cost

Baselines: GCG AutoPrompt GCG* ILA

Builds on: Greedy Coordinate Gradient Skip Gradient Method Intermediate Level Attack AutoPrompt 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