paper-with-me

홈 › Papers

Purple-teaming LLMs with Adversarial Defender Training

2024-07-01 · Jingyan Zhou, Kun Li, Junan Li, Jiawen Kang, Minda Hu, Xixin Wu, Helen Meng

Existing efforts in safeguarding LLMs are limited in actively exposing the vulnerabilities of the target LLM and readily adapting to newly emerging safety risks. To address this, we present Purple-teaming LLMs with Adversarial Defender training (PAD), a pipeline designed to safeguard LLMs by novelly incorporating the red-teaming (attack) and blue-teaming (safety training) techniques. In PAD, we automatically collect conversational data that cover the vulnerabilities of an LLM around specific safety risks in a self-play manner, where the attacker aims to elicit unsafe responses and the defender generates safe responses to these attacks. We then update both modules in a generative adversarial network style by training the attacker to elicit more unsafe responses and updating the defender to identify them and explain the unsafe reason. Experimental results demonstrate that PAD significantly outperforms existing baselines in both finding effective attacks and establishing a robust safe guardrail. Furthermore, our findings indicate that PAD excels in striking a balance between safety and overall model quality. We also reveal key challenges in safeguarding LLMs, including defending multi-turn attacks and the need for more delicate strategies to identify specific risks.

📄 PDF Abstract BibTeX arXiv:2407.01850

Code (0)

등록된 구현이 없습니다.

Tasks

Generative Adversarial NetworkRed Teaming

Similar Papers 제목 키워드 기반

A Dynamic Stackelberg Game Framework for Agentic AI Defense Against LLM Jailbreaking

2025-07-10 · Zhengye Han, Quanyan Zhu

As large language models (LLMs) are increasingly deployed in critical applications, the challenge of jailbreaking, where adversaries manipulate the models to bypass safety mechanisms, has become a significant concern. Th…

GPT-Red: Automated Red Teaming via Self-Play at Scale

2026-07-28 · Eric Wallace, Christopher A. Choquette-Choo, Nikhil Kandpal, Sam Toyer 외 hf

We introduce GPT-Red, an automated red-teaming agent that is trained to discover novel prompt injection attacks against frontier LLMs. The goal of this model is to evaluate and improve the robustness of our production sy…

Red Teaming

The Anatomy of Conversational Scams: A Topic-Based Red Teaming Analysis of Multi-Turn Interactions in LLMs

2026-01-06 · Xiangzhe Yuan, Zhenhao Zhang, Haoming Tang, Siying Hu arxiv

As LLMs gain persuasive capabilities through extended dialogues, they create new opportunities for studying adversarial conversational behavior in extended interaction settings that traditional single-turn safety evaluat…

Red Teaming

ASTPrompter: Weakly Supervised Automated Language Model Red-Teaming to Identify Low-Perplexity Toxic Prompts

2024-07-12 · Amelia F. Hardy, Houjun Liu, Bernard Lange, Duncan Eddy 외

Conventional approaches for the automated red-teaming of large language models (LLMs) aim to identify prompts that elicit toxic outputs from a frozen language model (the defender). This often results in the prompting mod…

Language ModelingLanguage ModellingRed Teaming

The Promise and Peril of Artificial Intelligence -- Violet Teaming Offers a Balanced Path Forward

2023-08-28 · Alexander J. Titus, Adam H. Russell

Artificial intelligence (AI) promises immense benefits across sectors, yet also poses risks from dual-use potentials, biases, and unintended behaviors. This paper reviews emerging issues with opaque and uncontrollable AI…

EthicsPhilosophyRed Teaming