atlas

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

Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 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 Probe Sampling, which uses a small draft model's loss rankings, calibrated by a Spearman agreement score on a small probe set, to filter GCG adversarial-suffix candidates before target-model evaluation, yielding 2-6x speedups while matching or improving ASR.

Problem

GCG adversarial suffix optimization is time-consuming because each of its B=512 candidate suffixes requires a full forward pass through the large target LLM, which limits practical study of LLM safety.

Approach

Use a small draft model to score all candidates, measure draft-target agreement on a small probe set via Spearman rank correlation, and adaptively choose how many top candidates to re-evaluate with the target model; the same idea is applied to AutoPrompt, APE and AutoDAN.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Probe sampling instead of GCGGCG with Llama2-7b-chat · AdvBenchASR: 57.0 -> 69.0Helped
use Probe sampling instead of GCGGCG with Llama2-7b-chat · AdvBenchTime (s): 8.9 -> 2.2 (4.1×)Helped
add simulated annealing to Probe samplingProbe sampling with Llama2-7b-chat · AdvBenchTime (s): 2.2 (4.1×) -> 1.4 (6.3×)Helped
add simulated annealing to Probe samplingProbe sampling with Llama2-7b-chat · AdvBenchASR: 69.0 -> 64.0Hurt
apply Probe sampling to AutoPromptAutoPrompt · SST-2Accuracy: 91.4 -> 90.6Hurt
apply Probe sampling to AutoPromptAutoPrompt · SICK-EAccuracy: 69.3 -> 68.9Hurt
apply Probe sampling to APEAPE · GSM8KAccuracy: 21.3 -> 22.4Helped
apply Probe sampling to APEAPE · MMLUAccuracy: 48.2 -> 47.3Hurt
apply Probe sampling to APEAPE · BBHAccuracy: 40.8 -> 39.9Hurt
apply Probe sampling to AutoDAN-GAAutoDAN-GA · AutoDANASR: 56.2 -> 55.9Hurt
apply Probe sampling to AutoDAN-HGAAutoDAN-HGA · AutoDANASR: 60.8 -> 62.1Helped
set filtered-set reduction R to 8 rather than R=64 (ablation)Probe sampling · AdvBench validationASR: 60.0 -> 85.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench SST-2 SICK-E GSM8K BBH MMLU

Benchmarks: AdvBench SST-2 SICK-E GSM8K BBH MMLU

Metrics: attack success rate accuracy wall-clock time per iteration FLOPs

Baselines: GCG GCG + Annealing AutoDAN-GA AutoDAN-HGA AutoPrompt APE

Builds on: GCG speculative sampling AutoPrompt APE AutoDAN

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