arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01364cs.CRcs.AIcs.CL
收藏

BELLS:面向未来验证的大语言模型防护措施评估基准框架

BELLS: A Framework Towards Future Proof Benchmarks for the Evaluation of LLM Safeguards

École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院);Centre pour la Sécurité de l’IA (CeSIA)(法国人工智能安全中心);Sorbonne Université(索邦大学)

Diego Dorn, Alexandre Variengien, Charbel-Raphaël Segerie, Vincent Corruble

AI总结:

本文提出BELLS框架,通过包含已确立故障、新兴故障和下一代架构测试三类结构化测试,填补LLM输入-输出防护措施缺乏统一评估方法的空白,并基于MACHIAVELLI环境实现了首个下一代架构测试。

摘要:

输入-输出防护措施用于检测大语言模型(LLM)系统生成的轨迹中的异常。这些检测器是多种安全关键应用的核心,例如实时监控、轨迹的离线评估和内容审核。然而,目前没有广泛认可的方法来评估它们。为了填补这一空白,我们引入了LLM防护措施评估基准(BELLS),这是一个结构化的测试集合,分为三个类别:(1)已确立的故障测试,基于针对明确定义故障模式的现有基准,旨在比较当前输入-输出防护措施的性能;(2)新兴故障测试,用于衡量对前所未见故障模式的泛化能力,并鼓励开发更通用的防护措施;(3)下一代架构测试,针对更复杂的脚手架(如LLM智能体和多智能体系统),旨在促进开发能够适应目前尚无防护措施的未来应用的防护措施。此外,我们使用MACHIAVELLI环境实现并分享了首个下一代架构测试,以及数据集的交互式可视化。

英文摘要:

Input-output safeguards are used to detect anomalies in the traces produced by Large Language Models (LLMs) systems. These detectors are at the core of diverse safety-critical applications such as real-time monitoring, offline evaluation of traces, and content moderation. However, there is no widely recognized methodology to evaluate them. To fill this gap, we introduce the Benchmarks for the Evaluation of LLM Safeguards (BELLS), a structured collection of tests, organized into three categories: (1) established failure tests, based on already-existing benchmarks for well-defined failure modes, aiming to compare the performance of current input-output safeguards; (2) emerging failure tests, to measure generalization to never-seen-before failure modes and encourage the development of more general safeguards; (3) next-gen architecture tests, for more complex scaffolding (such as LLM-agents and multi-agent systems), aiming to foster the development of safeguards that could adapt to future applications for which no safeguard currently exists. Furthermore, we implement and share the first next-gen architecture test, using the MACHIAVELLI environment, along with an interactive visualization of the dataset.

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

↑