FLRT: Fluent Student-Teacher Redteaming
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Many publicly available language models have been safety tuned to reduce the likelihood of toxic or liability-inducing text. To redteam or jailbreak these models for compliance with toxic requests, users and security analysts have developed adversarial prompting techniques. One attack method is to apply discrete optimization techniques to the prompt. However, the resulting attack strings are often gibberish text, easily filtered by defenders due to high measured perplexity, and may fail for unseen tasks and/or well-tuned models. In this work, we improve existing algorithms (primarily GCG and BEAST) to develop powerful and fluent attacks on safety-tuned models like Llama-2 and Phi-3. Our technique centers around a new distillation-based approach that encourages the victim model to emulate a toxified finetune, either in terms of output probabilities or internal activations. To encourage human-fluent attacks, we add a multi-model perplexity penalty and a repetition penalty to the objective. We also enhance optimizer strength by allowing token insertions, token swaps, and token deletions and by using longer attack sequences. The resulting process is able to reliably jailbreak the most difficult target models with prompts that appear similar to human-written prompts. On Advbench we achieve attack success rates >93% for Llama-2-7B, Llama-3-8B, and Vicuna-7B, while maintaining model-measured perplexity <33; we achieve 95% attack success for Phi-3, though with higher perplexity. We also find a universally-optimized single fluent prompt that induces >88% compliance on previously unseen tasks across Llama-2-7B, Phi-3-mini and Vicuna-7B and transfers to other black-box models.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 39 of its 54 references that are in the map. First posted on arXiv 24 Jul 2024.
Builds on
39 of 54 references.
Closest ancestors · 1
Same direction, newest first
Other references · 38
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2016Deep Learning with Differential Privacycited by 2,728
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2014FitNets: Hints for Thin Deep Netscited by 1,653
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
26 more
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
- 2023Detecting Language Model Attacks with Perplexitycited by 431
- 2023Low-Resource Languages Jailbreak GPT-4cited by 309
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
- 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70Bcited by 195
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 191
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMscited by 172
- 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Promptscited by 171
- 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 171
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
- 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Modelscited by 134
- 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 88
- 2024Query-Based Adversarial Prompt Generationcited by 62
- 2024Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Applicationcited by 56
- 2022CodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Modelscited by 53
- 2022Toward Human Readable Prompt Tuning: Kubrick's The Shining is a good movie, and a good prompt too?cited by 49
- 2024Understanding Jailbreak Success: A Study of Latent Space Dynamics in Large Language Modelscited by 37
- 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attackscited by 32
- 2023Scaling Laws for Adversarial Attacks on Language Model Activationscited by 19
- 2024Improving Zero-shot Generalization of Learned Prompts via Unsupervised Knowledge Distillationcited by 18
- 2024Fluent dreaming for language modelscited by 5
Built on by
Citing papers per year: 2024: 6; 2025: 3.
9 papers.
- 2024An Adversarial Perspective on Machine Unlearning for AI Safetycited by 123
- 2024AdvPrefix: An Objective for Nuanced LLM Jailbreakscited by 25
- 2024Endless Jailbreaks with Bijection Learningcited by 19
- 2024Gradient-based Jailbreak Images for Multimodal Fusion Modelscited by 14
- 2025Existing Large Language Model Unlearning Evaluations Are Inconclusivecited by 8
- 2025Bleeding Pathways: Vanishing Discriminability in LLM Hidden States Fuels Jailbreak Attackscited by 5
- 2024Plentiful Jailbreaks with String Compositionscited by 4
- 2024Hallucinating AI Hijacking Attack: Large Language Models and Malicious Code Recommenderscited by 1
- 2025FALCON: Fine-grained Activation Manipulation by Contrastive Orthogonal Unalignment for Large Language Modelcited by 1
- 2025Existing Large Language Model Unlearning Evaluations Are Inconclusive31 May 2025
- 2025Bleeding Pathways: Vanishing Discriminability in LLM Hidden States Fuels Jailbreak Attacks14 Mar 2025
- 2025FALCON: Fine-grained Activation Manipulation by Contrastive Orthogonal Unalignment for Large Language Model3 Feb 2025
- 2024AdvPrefix: An Objective for Nuanced LLM Jailbreaks13 Dec 2024
- 2024Plentiful Jailbreaks with String Compositions1 Nov 2024
- 2024Hallucinating AI Hijacking Attack: Large Language Models and Malicious Code Recommenders9 Oct 2024
- 2024Gradient-based Jailbreak Images for Multimodal Fusion Models4 Oct 2024
- 2024Endless Jailbreaks with Bijection Learning2 Oct 2024
- 2024An Adversarial Perspective on Machine Unlearning for AI Safety26 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2025Jailbreak-Zero: A Path to Pareto Optimal Red Teaming for Large Language Models
- 2026Adversarial Reframing: A Framework for Targeted Generation in Language Models
- 2026When Prompt Optimization Becomes Jailbreaking: Adaptive Red-Teaming of Large Language Models
- 2025Rewrite to Jailbreak: Discover Learnable and Transferable Implicit Harmfulness Instruction
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2025Efficient and Stealthy Jailbreak Attacks via Adversarial Prompt Distillation from LLMs to SLMs
- 2025AutoAdv: Automated Adversarial Prompting for Multi-Turn Jailbreaking of Large Language Models
- 2025Quality-Diversity Red-Teaming: Automated Generation of High-Quality and Diverse Attackers for Large Language Models