NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

iART: Imitation guided Automated Red Teaming

Ashwin Ramesh Babu, Sajad Mousavi, Desik Rengarajan, Ricardo Luna Gutierrez, Sahand Ghorbanpour, Vineet Gundecha, Avisek Naug, Antonio Guillen-Perez, Soumyendu SarkarOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

iART (Imitation-guided Automated Red Teaming) is a new framework that efficiently finds diverse ways to make Large Language Models (LLMs) misbehave. By combining imitation learning with a smart diversity module, it generates high-quality, varied "attack" prompts up to 8 times faster than existing state-of-the-art methods.

What Problem Does This Paper Address?

As LLMs become integrated into everything from coding assistants to customer service, "red teaming"—the process of intentionally prompting a model to generate harmful or biased content—is essential for safety. However, manual red teaming is expensive and limited by human creativity.

Automated red teaming using Reinforcement Learning (RL) has emerged as a solution, but it faces a "quality-diversity" trade-off. RL models often suffer from mode collapse, where the "attacker" model finds one or two prompts that work and repeats them endlessly. To fix this, previous methods (like RL+Curiosity) compare every new prompt against every previous prompt ever generated. While this increases diversity, it makes the training process agonizingly slow as the list of prompts grows.

Methods

The authors introduce iART, which tackles these issues using two novel components:

  1. Imitation Guidance: Instead of just using a simple "toxic/not toxic" reward, iART uses a Harm LLM. This model is trained on known examples of undesirable behavior. During training, the attacker is rewarded if it can make the target LLM’s response look similar (via cosine similarity) to the Harm LLM’s examples. This provides a much richer, "denser" learning signal.
  2. The Diversity Module: To avoid the slow process of checking every past prompt, iART trains a separate, small generative model to "remember" what the attacker has already said. If the attacker generates a prompt that this diversity module could have easily predicted, the attacker receives a penalty. This effectively pushes the model toward new, unexplored "attack vectors" without the computational nightmare of exhaustive searching.

Datasets

The researchers evaluated iART across several benchmarks and tasks:

  • Harmful Examples ($D_{harm}$): The ToxicDPOqa dataset was used to train the Harm LLM.
  • Text Continuation: Using the IMDb movie reviews dataset to see if the model could turn a neutral review into something toxic.
  • Instruction Following: Using the Alpaca and Databricks datasets to test if the model could be "tricked" into following harmful commands.
  • Target Models: They tested their attacker (a 137M GPT-2) against much larger models, including Mistral-7B and Dolly-3B.

Key Insights and Ideas

  • Modeling History vs. Storing History: The biggest "aha moment" is that you don't need to store a massive database of every prompt you've ever tried. By training a "Diversity Module" to model the distribution of past outputs, you can enforce variety much more efficiently.
  • Imitation as a Shortcut: Pure RL can take a long time to "stumble" upon a successful attack. By using imitation learning to guide the model toward known "bad" styles of responses, the attacker learns what works much faster.
  • The F1DQ Metric: The authors propose the F1 Score for Diversity and Quality (F1DQ). Much like the F1 score in classification, this harmonic mean ensures that a model isn't just "cheating" by being very diverse but harmless, or very toxic but repetitive.

Key Results

  • Massive Speedup: In the IMDb task, iART completed its training in 423 minutes (about 7 hours), while the previous best method (RL+Curiosity) took 2,929 minutes (over 2 days).
  • Superior Balance: iART consistently achieved the highest F1DQ scores across all datasets. It successfully elicited toxic responses from Mistral-7B and Dolly-3B while maintaining significantly lower Self-BLEU scores (a measure of repetitiveness) than its competitors.
  • Robustness: Ablation studies showed that both the imitation guidance and the diversity module were necessary; removing either one led to a significant drop in either the quality or the variety of the attacks.

Limitations and Future Work

While iART is a significant step forward, the authors note a few areas for improvement:

  • Dataset Dependency: The quality of the "imitation" depends heavily on the quality of the initial harmful dataset ($D_{harm}$). If that dataset is narrow, the red teaming might be narrow too.
  • Scaling the Attacker: Most experiments used a small 137M parameter model as the attacker. While it was effective against 7B parameter targets, future work could explore if larger attackers (like a 7B model attacking a 70B model) uncover even more sophisticated vulnerabilities.
  • Beyond Toxicity: The current work focuses largely on toxicity and hate speech. Future iterations could apply iART to other safety domains, such as prompt injection, PII (Personally Identifiable Information) leaks, or "hallucination" triggers.

Summary updated

BibTeX
@misc{babu2026iart,
  author = {Ashwin Ramesh Babu and Sajad Mousavi and Desik Rengarajan and Ricardo Luna Gutierrez and Sahand Ghorbanpour and Vineet Gundecha and Avisek Naug and Antonio Guillen-Perez and Soumyendu Sarkar},
  title = {{iART: Imitation guided Automated Red Teaming}},
  year = {2026},
  url = {https://openreview.net/forum?id=3MlMp7vZpl},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure