CoP: Agentic Red-teaming for Large Language Models using Composition of Principles
Chen Xiong, Pin-Yu Chen, Tsung-Yi Ho
TL;DR
CoP presents an agentic, principle-based red-teaming framework that composes multiple human-provided jailbreak principles to autonomously craft effective jailbreak prompts. Through a dual-judge evaluation and iterative refinement, CoP achieves state-of-the-art single-turn attack performance and substantial query-efficiency gains across open-source and commercial LLMs, including highly aligned models. The results reveal systemic safety weaknesses and offer a transparent, extensible tool for proactive safety testing, while highlighting avenues for defense augmentation and broader applicability beyond jailbreak testing. Overall, CoP advances automated, scalable, and interpretable red-teaming methodologies for robust LLM safety evaluation.
Abstract
Recent advances in Large Language Models (LLMs) have spurred transformative applications in various domains, ranging from open-source to proprietary LLMs. However, jailbreak attacks, which aim to break safety alignment and user compliance by tricking the target LLMs into answering harmful and risky responses, are becoming an urgent concern. The practice of red-teaming for LLMs is to proactively explore potential risks and error-prone instances before the release of frontier AI technology. This paper proposes an agentic workflow to automate and scale the red-teaming process of LLMs through the Composition-of-Principles (CoP) framework, where human users provide a set of red-teaming principles as instructions to an AI agent to automatically orchestrate effective red-teaming strategies and generate jailbreak prompts. Distinct from existing red-teaming methods, our CoP framework provides a unified and extensible framework to encompass and orchestrate human-provided red-teaming principles to enable the automated discovery of new red-teaming strategies. When tested against leading LLMs, CoP reveals unprecedented safety risks by finding novel jailbreak prompts and improving the best-known single-turn attack success rate by up to 19.0 times.
