The paper introduces a new red‑teaming framework that treats adversarial dialogue with large language models as a Markov Decision Process, employing hierarchical reinforcement learning to handle sparse rewards and long‑horizon planning. By using a token‑level harm reward, the generative agent learns diverse, multi‑turn attacks that consistently uncover vulnerabilities beyond existing baselines. This approach achieves state‑of‑the‑art results and reframes LLM red‑teaming as a principled, trajectory‑based process.
By Roman Belaire, Arunesh Sinha, Pradeep Varakantham
arXiv:2405.18540v3 Announce Type: replace-cross
Abstract: Red-teaming, or identifying prompts that elicit harmful responses, is a critical step in ensuring the safe and responsible deployment of larg...
By Seanie Lee, Minsu Kim, Lynn Cherif, David Dobre, Juho Lee, Sung Ju Hwang, Kenji Kawaguchi, Gauthier Gidel, Yoshua Bengio, Esmeralda S. Whitammer, Moksh Jain
PIPETTE is a prompt injection purple‑teaming framework designed to improve the robustness of large language model agents against indirect prompt injection attacks. It addresses the shortcomings of existing RL‑based red‑teaming methods, which often suffer from mode collapse and fail to provide diverse attack strategies for effective adversarial training. By using a dictionary‑learning reward to encourage diverse attacks and an on‑policy adversarial training pipeline, PIPETTE yields defenders that achieve near‑zero attack success rates while preserving legitimate task performance.
By Lipeng He, Yihan Wang, Jiawen Zhang, N. Asokan
arXiv:2603. 13026v2 Announce Type: replace Abstract: Prompt injection poses serious security risks to real-world LLM applications, particularly autonomous agents.
By Chenlong Yin, Runpeng Geng, Yanting Wang, Jinyuan Jia
The paper introduces ReMAS, a reinforcement learning-based framework for black-box red-teaming of multi-agent systems (MAS) that fine-tunes attacker LLMs to craft adversarial prompts. ReMAS operates in two stages: a rewrite stage that refines base attack prompts to boost extraction success, and a template generation stage that builds attack templates to better invoke specific sub-agents and expose their system prompts. Experiments demonstrate that ReMAS significantly outperforms existing black-box attacks, showing high success rates and transferability across different backend LLMs and MAS structures.
By Yuqi Jia, Hangsheng Zhang, Chenxi Liu, Junjie Liang, Xun Chen
arXiv:2506. 07121v2 Announce Type: replace Abstract: Ensuring the safety and robustness of large language models (LLMs) is a fundamental challenge and a critical prerequisite for the responsible deployment of artificial intelligence.
By Ren-Jian Wang, Ke Xue, Zeyu Qin, Ziniu Li, Sheng Tang, Hao-Tian Li, Shengcai Liu, Zhi Yu, Yuanpeng Tan, Chao Qian