Active Attacks: red-teaming LLMs through adaptive environmentsActive Attacks: Red-teaming LLMs via Adaptive Environments
Translation in progress — untranslated text is omitted.
The paper proposes Active Attacks, a reinforcement-learning-based red-teaming method: periodically safety-fine-tune the victim LLM on collected attack prompts, which lowers the reward of already-exploited attack patterns, thereby forcing the attacker to move toward unexplored vulnerability regions, and reinitialize the attack model to avoid overfitting to old patterns. The method can be plugged into GFlowNets, PPO, and REINFORCE as a plug-and-play module; on GFlowNets it raises cross-attack success rate from 0.07% to 31.28%, a relative improvement of more than 400 times, with only a 6% increase in training time. Experiments use Qwen2.5-1.5B as the attack model, victim models include Qwen2.5-1.5B-Instruct, Llama-3.2-3B-Instruct, gemma-3-4b-it, and Mistral-7B-Instruct-v0.3, the toxicity classifier is Meta-Llama-Guard-2-8B, and the average defense rate after safety fine-tuning is 99.71%.
- Automated reinforcement learning red-teaming tends to fall into a limited set of high-reward modes when searching for harmful prompts in large language models, and existing diversity-seeking reinforcement learning methods struggle to further explore unexplored regions after discovering easily attackable modes.
- The authors propose the Active Attacks framework, which periodically safety fine-tunes the victim model to lower rewards in explored regions and resets the attacker weights and experience replay buffer, prompting the attacker to progressively explore harder vulnerability regions from simple ones.
- Average defense rate reaches 99.71% across 4 victim models (Table 2); on Qwen2.5-1.5B-Instruct, cross-attack success rate against native GFlowNet is 31.28% vs 0.07% (Figure 3), and prompts transfer to larger models.
- The paper does not specifically discuss limitations and future directions. Experiments only cover single-turn prompt adversarial attack scenarios, with victim model parameter sizes tested up to 70B, and do not test multi-turn dialogue or commercial closed-source model APIs.
The paper presents a red-teaming method that lets the attacker continuously explore new attack patterns as the victim model updates, and reports the magnitude of improvement in cross-attack success rate.
Related papers
- The Echo Chamber Multi-Turn LLM JailbreakAttacksarXiv