arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2402.04249cs.LGcs.AIcs.CLcs.CV
收藏

HarmBench:面向自动化红队测试与鲁棒拒绝的标准化评估框架

HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Center for AI Safety(人工智能安全中心);Carnegie Mellon University(卡内基梅隆大学);UC Berkeley(加州大学伯克利分校);Microsoft(微软)

Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, David Forsyth, Dan Hendrycks

AI总结:

本文提出标准化评估框架HarmBench,通过大规模比较18种红队方法与33个LLM及防御,并引入高效对抗训练方法提升模型鲁棒性,推动攻击与防御协同发展。

摘要:

自动化红队测试在揭示和缓解与大语言模型(LLMs)恶意使用相关的风险方面具有巨大潜力,但该领域仍缺乏一个标准化的评估框架来严格评估新方法。为解决这一问题,我们提出了HarmBench,一个面向自动化红队测试的标准化评估框架。我们识别出此前红队测试评估中未予考虑的若干理想特性,并系统性地设计HarmBench以满足这些标准。利用HarmBench,我们对18种红队测试方法以及33个目标LLMs和防御机制进行了大规模比较,获得了新的见解。我们还引入了一种高效的对抗训练方法,该方法能在广泛的攻击范围内大幅提升LLM的鲁棒性,证明了HarmBench如何促进攻击与防御的协同发展。我们已在https://github.com/centerforaisafety/HarmBench开源HarmBench。

英文摘要:

Automated red teaming holds substantial promise for uncovering and mitigating the risks associated with the malicious use of large language models (LLMs), yet the field lacks a standardized evaluation framework to rigorously assess new methods. To address this issue, we introduce HarmBench, a standardized evaluation framework for automated red teaming. We identify several desirable properties previously unaccounted for in red teaming evaluations and systematically design HarmBench to meet these criteria. Using HarmBench, we conduct a large-scale comparison of 18 red teaming methods and 33 target LLMs and defenses, yielding novel insights. We also introduce a highly efficient adversarial training method that greatly enhances LLM robustness across a wide range of attacks, demonstrating how HarmBench enables codevelopment of attacks and defenses. We open source HarmBench at https://github.com/centerforaisafety/HarmBench.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑