ASTPrompter: Preference-Aligned Automated Language Model Red-Teaming to Generate Low-Perplexity Unsafe Prompts
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
Existing LLM red-teaming approaches prioritize high attack success rate, often resulting in high-perplexity prompts. This focus overlooks low-perplexity attacks that are more difficult to filter, more likely to arise during benign usage, and more impactful as negative downstream training examples. In response, we introduce ASTPrompter, a single-step optimization method that uses contrastive preference learning to train an attacker to maintain low perplexity while achieving a high attack success rate (ASR). ASTPrompter achieves an attack success rate 5.1 times higher on Llama-8.1B while using inputs that are 2.1 times more likely to occur according to the frozen LLM. Furthermore, our attack transfers to Mistral-7B, Qwen-7B, and TinyLlama in both black- and white-box settings. Lastly, by tuning a single hyperparameter in our method, we discover successful attack prefixes along an efficient frontier between ASR and perplexity, highlighting perplexity as a previously under-considered factor in red-teaming.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 30 of its 60 references that are in the map. First posted on arXiv 12 Jul 2024.
Builds on
30 of 60 references.
Closest ancestors · 2
Same direction, newest first
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Models1 Sep
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
Other references · 28
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Qwen Technical Reportcited by 3,273
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 906
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 533
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
16 more
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2024Direct Language Model Alignment from Online AI Feedbackcited by 257
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
- 2019Racial Bias in Hate Speech and Abusive Language Detection Datasetscited by 208
- 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
- 2023Explore, Establish, Exploit: Red Teaming Language Models from Scratchcited by 111
- 2022Controllable Natural Language Generation with Contrastive Prefixescited by 75
- 2020ConvoKit: A Toolkit for the Analysis of Conversationscited by 71
- 2019Adaptive Stress Testing for Autonomous Vehiclescited by 70
- 2024Gradient-Based Language Model Red Teamingcited by 33
- 2022Why So Toxic? Measuring and Triggering Toxic Behavior in Open-Domain Chatbotscited by 31
- 2021Automatic Evaluation and Moderation of Open-domain Dialogue Systemscited by 28
- 2024"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversationscited by 24
- 2023Automated Ableism: An Exploration of Explicit Disability Biases in Sentiment and Toxicity Analysis Modelscited by 20
- 2024FamiCom: Further Demystifying Prompts for Language Models with Task-Agnostic Performance Estimationcited by 8
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025Characterizing the Robustness of Black-Box LLM Planners Under Perturbed Observations with Adaptive Stress Testingcited by 1
- 2025Aircraft Collision Avoidance Systems: Technological Challenges and Solutions on the Path to Regulatory Acceptancecited by 0
- 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimizationcited by 0
- 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimization8 May 2026
- 2025Aircraft Collision Avoidance Systems: Technological Challenges and Solutions on the Path to Regulatory Acceptance23 Oct 2025
- 2025Characterizing the Robustness of Black-Box LLM Planners Under Perturbed Observations with Adaptive Stress Testing8 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024Code-Switching Red-Teaming: LLM Evaluation for Safety and Multilingual Understanding
- 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
- 2026AutoRISE: Agent-Driven Strategy Evolution for Red-Teaming Large Language Models
- 2026AMT-X: Phase-Structured Multi-Turn Red-Teaming with Checklist-Gated Evaluation
- 2025A methodological analysis of prompt perturbations and their effect on attack success rates
- 2026FlashRT: Towards Computationally and Memory Efficient Red-Teaming for Prompt Injection and Knowledge Corruption
- 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teaming
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents