atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs

ICML 2025 · Adversarial robustness and security › Attacks on text and graphs · approach: Adversarial prompts for language models · 4 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.

Trains an LLM (AdvPrompter) with an alternating optimization scheme to generate fluent, human-readable adversarial suffixes that jailbreak target LLMs in seconds, and shows that fine-tuning on these suffixes improves robustness.

Problem

Automated jailbreaking of aligned LLMs either yields high-perplexity, non-human-readable adversarial suffixes or requires costly per-prompt discrete optimization, which does not scale to many attacks.

Approach

Amortize adversarial suffix search by training a conditional LLM to predict suffixes from the instruction, alternating between a graybox beam-search optimizer (AdvPrompterOpt, using only target log-probs and a base-LM perplexity penalty) and supervised regression of the AdvPrompter onto the found suffixes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AdvPrompter rather than GCG universal for multi-shot attacksWhitebox attacks on HarmBench with Mistral-7b · HarmBench testASR@10 (%): 72.2 -> 77.8Helped
Use AdvPrompter rather than GCG universal for multi-shot attacksModel-transfer attacks on GPT-4-0613 · AdvBench testASR@10 (%): 7.7 -> 38.4Helped
Use AdvPrompter rather than TAP-T for one-shot attackData+model-transfer attacks on GPT-4-0613 · HarmBench testASR@1 (%): 55.8 -> 29.2Hurt
Add adversarial safety fine-tuning on AdvPrompter-generated dataVicuna-7b · AdvBench validationASR@1 (%): 43.3 -> 0.9Helped
Add adversarial safety fine-tuning on AdvPrompter-generated dataMistral-7b · AdvBench validationASR@1 (%): 58.7 -> 0.0Helped
Add adversarial safety fine-tuning on AdvPrompter-generated dataMistral-7b · HarmBench validation, GCG attackASR@1: 63.4 -> 57.8Helped
Add adversarial safety fine-tuning on AdvPrompter-generated dataMistral-7b · HarmBench validation, AutoDAN attackASR@1: 71.0 -> 35.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench HarmBench

Benchmarks: AdvBench HarmBench MMLU MT-bench

Metrics: ASR@1 ASR@10 perplexity StrongREJECT score

Baselines: GCG AutoDAN PAIR TAP PAP BEAST PPO-based AdvPrompter variant

Builds on: AutoDAN GCG LoRA PPO

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