arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08676cs.CLcs.CYcs.LG
收藏

ALERT:一个通过红队测试评估大语言模型安全性的综合基准

ALERT: A Comprehensive Benchmark for Assessing Large Language Models' Safety through Red Teaming

Sapienza University of Rome(罗马第一大学);Babelscape;TU Darmstadt(达姆施塔特工业大学);DFKI(德国人工智能研究中心);University of Chicago(芝加哥大学);UIUC(伊利诺伊大学厄巴纳-香槟分校)

Simone Tedeschi, Felix Friedrich, Patrick Schramowski, Kristian Kersting, Roberto Navigli, Huu Nguyen, Bo Li

AI总结:

本研究提出了基于细粒度风险分类体系的大规模安全性评估基准ALERT,通过红队测试方法,利用4.5万余条指令评估大模型安全漏洞与政策对齐情况,实验发现10款主流开源及闭源大语言模型安全水平仍有待提升。

摘要:

构建大语言模型(LLM)时,将安全性牢记于心并通过防护机制对其加以保护至关重要。实际上,大语言模型绝不能生成宣扬或合理化有害、非法或不道德行为的内容,这类行为可能会对个人或社会造成伤害。这一原则同时适用于正常使用和对抗性使用场景。为此,我们推出了ALERT——一个基于全新细粒度风险分类体系构建的大规模安全性评估基准。该基准旨在通过红队方法论评估大语言模型的安全性,包含超过4.5万条采用我们提出的新分类体系标注的指令。通过让大语言模型接受对抗性测试场景的检验,ALERT旨在识别模型漏洞,为改进提供参考,并提升语言模型的整体安全性。此外,该细粒度分类体系使研究人员能够开展深度评估,也有助于评估模型与各类政策的对齐情况。在实验中,我们对10款主流的开源与闭源大语言模型进行了全面评估,结果显示其中许多模型仍难以达到合理的安全水平。

英文摘要:

When building Large Language Models (LLMs), it is paramount to bear safety in mind and protect them with guardrails. Indeed, LLMs should never generate content promoting or normalizing harmful, illegal, or unethical behavior that may contribute to harm to individuals or society. This principle applies to both normal and adversarial use. In response, we introduce ALERT, a large-scale benchmark to assess safety based on a novel fine-grained risk taxonomy. It is designed to evaluate the safety of LLMs through red teaming methodologies and consists of more than 45k instructions categorized using our novel taxonomy. By subjecting LLMs to adversarial testing scenarios, ALERT aims to identify vulnerabilities, inform improvements, and enhance the overall safety of the language models. Furthermore, the fine-grained taxonomy enables researchers to perform an in-depth evaluation that also helps one to assess the alignment with various policies. In our experiments, we extensively evaluate 10 popular open- and closed-source LLMs and demonstrate that many of them still struggle to attain reasonable levels of safety.

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

↑