Red-Bandit: Test-Time Adaptation for LLM Red-Teaming via Bandit-Guided LoRA Experts
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Automated red-teaming has emerged as a scalable approach for auditing Large Language Models (LLMs) prior to deployment, yet existing approaches lack mechanisms to efficiently adapt to model-specific vulnerabilities at inference. We introduce Red-Bandit, a red-teaming framework that adapts online to identify and exploit model failure modes under distinct attack styles (e.g., manipulation, slang). Red-Bandit post-trains a set of parameter-efficient LoRA experts, each specialized for a particular attack style, using reinforcement learning that rewards the generation of unsafe prompts via a rule-based safety model. At inference, a multi-armed bandit policy dynamically selects among these attack-style experts based on the target model's response safety, balancing exploration and exploitation. Red-Bandit achieves state-of-the-art results on AdvBench under sufficient exploration (ASR@10), while producing more human-readable prompts (lower perplexity). Moreover, Red-Bandit's bandit policy serves as a diagnostic tool for uncovering model-specific vulnerabilities by indicating which attack styles most effectively elicit unsafe behaviors.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 44 of its 55 references that are in the map. First posted on arXiv 8 Oct 2025.
Builds on
44 of 55 references.
Closest ancestors · 9
Same direction, newest first
- 2025OpenAI's Approach to External Red Teaming for AI Models and Systems24 Jan
- 2024Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learning24 Dec
- 2024Atoxia: Red-teaming Large Language Models with Target Toxic Answers27 Aug
- 2024Learning diverse attacks on large language models for robust red-teaming and safety tuning28 May
- 2024Curiosity-driven Red-teaming for Large Language Models29 Feb
- 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts26 Feb
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned23 Aug
- 2022Red Teaming Language Models with Language Models7 Feb
Other references · 35
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
- 2017Proximal Policy Optimization Algorithmscited by 14,592
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,091
- 2025Qwen3 Technical Reportcited by 8,510
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,492
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,247
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,117
- 2017Deep reinforcement learning from human preferencescited by 3,871
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,463
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,064
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,011
23 more
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,736
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,637
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,404
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,304
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,181
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 777
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 664
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 556
- 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 486
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 422
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 421
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 400
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 336
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 336
- 2023Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardscited by 240
- 2022Measuring Progress on Scalable Oversight for Large Language Modelscited by 220
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 191
- 2024Mixture of LoRA Expertscited by 181
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMscited by 156
- 2023Auditing large language models: a three-layered approachcited by 136
- 2023FLIRT: Feedback Loop In-context Red Teamingcited by 82
- 2023Managing extreme AI risks amid rapid progresscited by 48
- 2025Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderationcited by 11
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026The Attacker in the Mirror: Breaking Self-Consistency in Safety via Anchored Bipolicy Self-Playcited by 1
- 2026Steering Frozen LLMs: Adaptive Social Alignment via Online Prompt Routingcited by 0
- 2026Structural Jailbreaks Generalize but Do Not Compound: A cross-provider and multilingual study of Involuntary In-Context Learningcited by 0
- 2026Red-TTT: Test-Time Training for Automated Jailbreaking Large Language Modelscited by 0
- 2026Reflections and Fragments: Securing LLMs Against Sequential Mosaic Attackscited by 0
- 2026Reflections and Fragments: Securing LLMs Against Sequential Mosaic Attacks4 Oct 2026
- 2026Red-TTT: Test-Time Training for Automated Jailbreaking Large Language Models4 Oct 2026
- 2026Structural Jailbreaks Generalize but Do Not Compound: A cross-provider and multilingual study of Involuntary In-Context Learning8 Sep 2026
- 2026The Attacker in the Mirror: Breaking Self-Consistency in Safety via Anchored Bipolicy Self-Play8 May 2026
- 2026Steering Frozen LLMs: Adaptive Social Alignment via Online Prompt Routing4 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Adaptive Instruction Composition for Automated LLM Red-Teaming
- 2025Learning-Based Automated Adversarial Red-Teaming for Robustness Evaluation of Large Language Models
- 2025Active Attacks: Red-teaming LLMs via Adaptive Environments
- 2025RedTWIZ: Diverse LLM Red Teaming via Adaptive Attack Planning
- 2023Explore, Establish, Exploit: Red Teaming Language Models from Scratch
- 2026AutoRISE: Agent-Driven Strategy Evolution for Red-Teaming Large Language Models
- 2024Holistic Automated Red Teaming for Large Language Models through Top-Down Test Case Generation and Multi-turn Interaction
- 2025Automatic LLM Red Teaming