AutoRedTeamer: 具备终身攻击集成能力的自动化红队测试
AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integration
AI总结:
针对现有LLM红队测试依赖人工、覆盖新兴攻击不足的问题,提出结合多智能体架构与记忆引导攻击选择的AutoRedTeamer框架,可自动发现整合新攻击,在HarmBench上攻击成功率提升20%、成本降46%,测试用例多样性媲美人工基准。
摘要:
随着大语言模型(LLMs)能力日益增强,安全评估变得至关重要。尽管当前红队测试方法在评估LLM漏洞方面已取得进展,但它们往往严重依赖人工输入,且对新兴攻击向量的覆盖不够全面。本文提出AutoRedTeamer,这是一种针对LLMs的全新全自动端到端红队测试框架。AutoRedTeamer将多智能体架构与记忆引导的攻击选择机制相结合,能够持续发现并整合新的攻击向量。该双智能体框架包含一个红队测试智能体和一个策略提出智能体:前者仅需基于高层风险类别即可生成并执行测试用例,后者通过分析最新研究自主发现并实现新的攻击方式。这种模块化设计使AutoRedTeamer能够适应新兴威胁,同时在现有攻击向量上保持优异性能。我们在多种评估场景下验证了AutoRedTeamer的有效性:在HarmBench基准上针对Llama-3.1-70B的攻击成功率比现有方法高20%,同时计算成本降低了46%。此外,AutoRedTeamer生成的测试用例在多样性上与人工整理的基准相当,为评估AI系统安全性提供了一个全面、可扩展且持续演进的框架。
英文摘要:
As large language models (LLMs) become increasingly capable, security and safety evaluation are crucial. While current red teaming approaches have made strides in assessing LLM vulnerabilities, they often rely heavily on human input and lack comprehensive coverage of emerging attack vectors. This paper introduces AutoRedTeamer, a novel framework for fully automated, end-to-end red teaming against LLMs. AutoRedTeamer combines a multi-agent architecture with a memory-guided attack selection mechanism to enable continuous discovery and integration of new attack vectors. The dual-agent framework consists of a red teaming agent that can operate from high-level risk categories alone to generate and execute test cases and a strategy proposer agent that autonomously discovers and implements new attacks by analyzing recent research. This modular design allows AutoRedTeamer to adapt to emerging threats while maintaining strong performance on existing attack vectors. We demonstrate AutoRedTeamer's effectiveness across diverse evaluation settings, achieving 20% higher attack success rates on HarmBench against Llama-3.1-70B while reducing computational costs by 46% compared to existing approaches. AutoRedTeamer also matches the diversity of human-curated benchmarks in generating test cases, providing a comprehensive, scalable, and continuously evolving framework for evaluating the security of AI systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。