Skip to content
AI.info

Research

AutoAdv: Automated Adversarial Prompting for Multi-Turn Jailbreaking of Large Language Models

Overview Research area: AI safety and adversarial machine learning, specifically automated red-teaming of large language models (LLMs) through multi-turn conversation. Technical level: Intermediate. T

arXiv
2511.02376
Published
2025-11-04
Authors
Aashray Reddy, Andrew Zagula, Nicholas Saban

AI summary

Overview

Research area: AI safety and adversarial machine learning, specifically automated red-teaming of large language models (LLMs) through multi-turn conversation.

Technical level: Intermediate. The paper assumes familiarity with LLM APIs, sampling temperature, and jailbreak terminology, but its central ideas are explained in accessible terms.

Scope: The paper introduces AutoAdv, a black-box, training-free framework that automates multi-turn jailbreaking of LLMs and evaluates it against four commercial and open-source target models.

What This Paper Is About

Most safety testing of LLMs uses single, isolated prompts, but real-world misuse typically happens over long conversations where an attacker keeps rephrasing a request until the model complies. AutoAdv closes that gap by automatically generating a sequence of increasingly refined adversarial prompts, using the target model's own refusals as feedback, and measuring how much more effective multi-turn attacks are compared to one-shot attempts.

Key Contributions

  1. A training-free, black-box multi-turn attack framework. AutoAdv requires no access to model weights, gradients, or tokens, and no fine-tuning of any kind. It works purely through prompt rewriting and API queries.

  2. Two novel adaptive control modules. A pattern manager learns which rewriting techniques succeed and injects them into later attacks, while a temperature manager dynamically tunes the attacker model's sampling randomness based on the pattern of failures.

  3. A two-phase rewriting strategy. Initial prompts are disguised using at least three of six transformation techniques, and follow-up prompts are shorter, more precise, and diagnosed against the specific reason the previous attempt failed.

  4. A unified evaluation score. The authors modify the StrongREJECT framework so that refusal detection, convincingness, and specificity roll into one continuous score in [0,1], giving the attacker model a gradient-like signal about how close it came to succeeding.

Main Findings

  • Multi-turn attacks dramatically outperform single-turn attacks. On Llama-3.1-8B, AutoAdv reached up to 95% attack success rate (ASR) within six turns, a 24 percentage-point improvement over single-turn baselines. Every target model tested showed gains as the conversation lengthened.

  • Vulnerability varies widely by model. Qwen3-235B was the most susceptible at 99% ASR over six turns, while GPT-4o-mini was the most resistant at 86%. The authors attribute the gap to differences in training data and alignment guardrails.

  • Gains concentrate in early turns. ASR rose sharply across the first few turns and then flattened, meaning most of the benefit from multi-turn interaction is captured early rather than through indefinitely long conversations.

  • Few-shot examples matter most among the design choices. Removing human-authored jailbreak exemplars dropped ASR from 95% to 78% on Llama-3.1-8B. Removing seed strategies dropped it to 86%.

  • Both adaptive managers contribute measurably. Disabling the pattern manager lowered ASR from 95% to 89%; disabling the temperature manager lowered it from 95% to 88%.

  • Alignment defenses do not generalize across turns. Models that reliably refuse a harmful single prompt often comply after several benign-looking reframings, suggesting safety training targets the prompt in isolation rather than the conversation trajectory.

Methodology in Plain English

The researchers started with 100 harmful seed prompts (50 each from the AdvBench and HarmBench benchmark suites, drawn from larger pools of 500 and 200) and handed them to an "attacker" LLM, Grok 3 Mini. This attacker was chosen because it followed instructions reliably and was less resistant than alternatives like GPT-4o-mini or Claude Haiku.

On turn one, the attacker rewrites the harmful request into something that sounds legitimate, applying at least three disguise techniques from a fixed menu: domain shifting, layered framing, professional personas, embedded presuppositions, excessive specific detail, and comparative analysis. Rewrites are 4 to 6 sentences long and never mention safety bypassing.

The rewrite goes to the target model. A separate evaluator model, GPT-4o-mini, scores the reply on whether it was a refusal, how convincing it was, and how specific it was, producing a single number between 0 and 1. Anything above 0.5 counts as a jailbreak.

If the attempt fails, the attacker reads the refusal, diagnoses why it was rejected (flagged keywords, direct framing, vagueness), and writes a shorter follow-up under 150 words that avoids acknowledging the refusal and uses language mirroring any partial content the target did produce.

Two feedback loops run in the background. The pattern manager tags each successful prompt against a taxonomy of 28 known jailbreak techniques, ranks them by a weighted formula favoring techniques that worked on the same model and at a similar turn number, and injects the top five as hints plus up to three concrete examples into the attacker's system prompt. This memory persists to disk as JSON, so knowledge accumulates across sessions. The temperature manager adjusts sampling randomness between 0.1 and 1.5, starting at 0.7, using four rules: increase temperature modestly when scores are far from the threshold, oscillate when scores are stuck in a narrow band, follow the score trend up or down, or reset entirely when progress has stalled and prior exploration was wide. Changes are capped at 30% of the range per step to avoid wild swings.

Why This Matters

This paper argues that single-turn safety benchmarks give a falsely reassuring picture of LLM robustness. If a model's defenses erode over a handful of conversational turns, then deployment-time safety claims based on one-shot evaluations are incomplete.

Real-world applications:

  • Pre-deployment red-teaming: Model providers could integrate automated multi-turn attacks into release gates, the way fuzzing is used in software security.
  • Conversation-level guardrails: The findings support building safety monitors that track intent across an entire dialogue rather than classifying each message individually.
  • Regulatory and compliance auditing: Standardized multi-turn ASR measurements could become part of documented safety evaluations required by AI governance frameworks.
  • Customer-facing chatbot hardening: Assistants deployed in healthcare, finance, or education face sustained adversarial users, not isolated prompts, and need defenses calibrated for that reality.

Industry relevance: Any organization shipping a conversational LLM has an incentive to know its multi-turn ASR. The framework is training-free and black-box, meaning it can be run against closed commercial APIs without model access, which makes it practical for third-party auditors and internal safety teams alike.

Future Directions

  • Extending beyond text-only attacks. The authors explicitly note their rewriting strategies do not cover multimodal or cross-lingual jailbreaks, both of which are plausible avenues for future work.
  • Building multi-turn-aware defenses. The core open question is what a defense would look like that treats a conversation as a unit rather than a sequence of independent prompts.
  • Reducing attack cost. Each attempt consumes attacker, target, and evaluator queries; quantifying and lowering the query budget would make red-teaming cheaper to run at scale.
  • Broadening the target set. The current evaluation covers four models, and a wider survey would clarify whether the 86-99% ASR range reflects model family, parameter count, or specific alignment procedures.

Target Audience

AI safety researchers and red-team practitioners studying jailbreak robustness; LLM developers and platform engineers responsible for deployment-time safety evaluation; policy and governance researchers who need quantitative evidence that single-turn evaluations understate risk; and advanced students in machine learning security who want a concrete, reproducible example of automated adversarial prompt generation. The paper is also readable by technically literate newcomers, since the framework relies on prompt engineering rather than model internals.

Authors’ abstract

Large Language Models (LLMs) remain vulnerable to jailbreaking attacks where adversarial prompts elicit harmful outputs. Yet most evaluations focus on single-turn interactions while real-world attacks unfold through adaptive multi-turn conversations. We present AutoAdv, a training-free framework for automated multi-turn jailbreaking that achieves an attack success rate of up to 95% on Llama-3.1-8B within six turns, a 24% improvement over single-turn baselines. AutoAdv uniquely combines three adaptive mechanisms: a pattern manager that learns from successful attacks to enhance future prompts, a temperature manager that dynamically adjusts sampling parameters based on failure modes, and a two-phase rewriting strategy that disguises harmful requests and then iteratively refines them. Extensive evaluation across commercial and open-source models (Llama-3.1-8B, GPT-4o mini, Qwen3-235B, Mistral-7B) reveals persistent vulnerabilities in current safety mechanisms, with multi-turn attacks consistently outperforming single-turn approaches. These findings demonstrate that alignment strategies optimized for single-turn interactions fail to maintain robustness across extended conversations, highlighting an urgent need for multi-turn-aware defenses.

Read the original paper