paper-with-me

홈 › Papers

Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learning

2024-12-24 · Alex Beutel, Kai Xiao, Johannes Heidecke, Lilian Weng

Automated red teaming can discover rare model failures and generate challenging examples that can be used for training or evaluation. However, a core challenge in automated red teaming is ensuring that the attacks are both diverse and effective. Prior methods typically succeed in optimizing either for diversity or for effectiveness, but rarely both. In this paper, we provide methods that enable automated red teaming to generate a large number of diverse and successful attacks. Our approach decomposes the task into two steps: (1) automated methods for generating diverse attack goals and (2) generating effective attacks for those goals. While we provide multiple straightforward methods for generating diverse goals, our key contributions are to train an RL attacker that both follows those goals and generates diverse attacks for those goals. First, we demonstrate that it is easy to use a large language model (LLM) to generate diverse attacker goals with per-goal prompts and rewards, including rule-based rewards (RBRs) to grade whether the attacks are successful for the particular goal. Second, we demonstrate how training the attacker model with multi-step RL, where the model is rewarded for generating attacks that are different from past attempts further increases diversity while remaining effective. We use our approach to generate both prompt injection attacks and prompts that elicit unsafe responses. In both cases, we find that our approach is able to generate highly-effective and considerably more diverse attacks than past general red-teaming approaches.

📄 PDF Abstract BibTeX arXiv:2412.18693

Code (0)

등록된 구현이 없습니다.

Tasks

DiversityLarge Language ModelRed Teaming

Similar Papers 제목 키워드 기반

Learning diverse attacks on large language models for robust red-teaming and safety tuning

2024-05-28 · Seanie Lee, Minsu Kim, Lynn Cherif, David Dobre 외

Red-teaming, or identifying prompts that elicit harmful responses, is a critical step in ensuring the safe and responsible deployment of large language models (LLMs). Developing effective protection against many modes of…

DiversityLanguage ModelingLanguage ModellingRed Teaming

Stable-GFlowNet: Toward Diverse and Robust LLM Red-Teaming via Contrastive Trajectory Balance

2026-05-01 · Minchan Kwon, Sunghyun Baek, Minseo Kim, Jaemyung Yu 외 arxiv

Large Language Model (LLM) Red-Teaming, which proactively identifies vulnerabilities of LLMs, is an essential process for ensuring safety. Finding effective and diverse attacks in red-teaming is important, but achieving …

PersonaTeaming: Supporting Persona-Driven Red-Teaming for Generative AI

2026-05-07 · Wesley Hanwen Deng, Mingxi Yan, Sunnie S. Y. Kim, Akshita Jha 외 arxiv

Recent developments in AI safety research have called for red-teaming methods that effectively surface potential risks posed by generative AI models, with growing emphasis on how red-teamers' backgrounds and perspectives…

Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts

2024-02-26 · Mikayel Samvelyan, Sharath Chandra Raparthy, Andrei Lupu, Eric Hambro 외

As large language models (LLMs) become increasingly prevalent across many real-world applications, understanding and enhancing their robustness to adversarial attacks is of paramount importance. Existing methods for iden…

DiversityQuestion Answering

Collaborative AI Teaming in Unknown Environments via Active Goal Deduction

2024-03-22 · Zuyuan Zhang, Hanhan Zhou, Mahdi Imani, Taeyoung Lee 외

With the advancements of artificial intelligence (AI), we're seeing more scenarios that require AI to work closely with other agents, whose goals and strategies might not be known beforehand. However, existing approaches…

StarcraftStarcraft II