Adaptive Instruction Composition for Automated LLM Red-Teaming
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Many approaches to LLM red-teaming leverage an attacker LLM to discover jailbreaks against a target. Several of them task the attacker with identifying effective strategies through trial and error, resulting in a semantically limited range of successes. Another approach discovers diverse attacks by combining crowdsourced harmful queries and tactics into instructions for the attacker, but does so at random, limiting effectiveness. This article introduces a novel framework, Adaptive Instruction Composition, that combines crowdsourced texts according to an adaptive mechanism trained to jointly optimize effectiveness with diversity. We use reinforcement learning to balance exploration with exploitation in a combinatorial space of instructions to guide the attacker toward diverse generations tailored to target vulnerabilities. We demonstrate that our approach substantially outperforms random combination on a set of effectiveness and diversity metrics, even under model transfer. Further, we show that it surpasses a host of recent adaptive approaches on Harmbench. We employ a lightweight neural contextual bandit that adapts to contrastive embedding inputs, and provide ablations suggesting that the contrastive pretraining enables the network to rapidly generalize and scale to the massive space as it learns.
Key facts. Cited by 3 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 28 of its 56 references that are in the map. First posted on arXiv 22 Apr 2026.
Builds on
28 of 56 references.
Closest ancestors · 10
Same direction, newest first
- 2024Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learning24 Dec
- 2024PyRIT: A Framework for Security Risk Identification and Red Teaming in Generative AI System1 Oct
- 2024Attack Atlas: A Practitioner's Perspective on Challenges and Pitfalls in Red Teaming GenAI23 Sep
- 2024Exploring Straightforward Conversational Red-Teaming7 Sep
- 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models31 Mar
- 2024A Trembling House of Cards? Mapping Adversarial Attacks against Language Agents15 Feb
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?29 Jan
- 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teaming13 Nov
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb
Other references · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2023Pretraining Language Models with Human Preferencescited by 247
- 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbotscited by 183
6 more
- 2020Evaluating the Evaluation of Diversity in Natural Language Generationcited by 129
- 2020Neural Thompson Samplingcited by 128
- 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Modelscited by 106
- 2018Satisficing in Time-Sensitive Bandit Learningcited by 39
- 2020The Unreasonable Effectiveness of Greedy Algorithms in Multi-Armed Bandit with Many Armscited by 28
- 2024Improving Diversity of Commonsense Generation by Large Language Models via In-Context Learningcited by 19
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Workspace Topology as an Attack Vector in Agentic Coding Assistantscited by 0
- 2026Structural Jailbreaks Generalize but Do Not Compound: A cross-provider and multilingual study of Involuntary In-Context Learningcited by 0
- 2026FinRT: Distilling Adaptive Red-Teaming Strategies into Reusable Adversarial Generators in Consumer Financecited by 0
- 2026FinRT: Distilling Adaptive Red-Teaming Strategies into Reusable Adversarial Generators in Consumer Finance29 Sep 2026
- 2026Structural Jailbreaks Generalize but Do Not Compound: A cross-provider and multilingual study of Involuntary In-Context Learning8 Sep 2026
- 2026Workspace Topology as an Attack Vector in Agentic Coding Assistants14 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2025Red-Bandit: Test-Time Adaptation for LLM Red-Teaming via Bandit-Guided LoRA Experts
- 2025Jailbreak-R1: Exploring the Jailbreak Capabilities of LLMs via Reinforcement Learning
- 2025Active Attacks: Red-teaming LLMs via Adaptive Environments
- 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses
- 2026JailbreakSkill: Scaling Automated Red-Teaming with Reusable and Ever-Evolving Skills
- 2024Learning diverse attacks on large language models for robust red-teaming and safety tuning
- 2025Automatic LLM Red Teaming
- 2026RedEvoAgent: Automatic Red-Teaming Agent with Experience-Driven Skill Evolution