arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.05044cs.CLcs.AIcs.CRcs.LG
收藏

SALAD-Bench:面向大语言模型的分层且全面的安全基准

SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Models

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Harbin Institute of Technology(哈尔滨工业大学);Chinese University of Hong Kong(香港中文大学);Beijing Institute of Technology(北京理工大学);The Hong Kong Polytechnic University(香港理工大学)

Lijun Li, Bowen Dong, Ruohui Wang, Xuhao Hu, Wangmeng Zuo, Dahua Lin, Yu Qiao, Jing Shao

AI总结:

本文提出 SALAD-Bench,一个分层全面的大语言模型安全基准,通过大规模多样化问题、三级分类体系及 MD-Judge 评估器,同时支持对 LLM 安全性、攻击与防御方法的评估。

摘要:

在大语言模型(LLMs)快速演进的背景下,确保稳健的安全措施至关重要。为满足这一关键需求,我们提出 SALAD-Bench,一个专门用于评估 LLMs、攻击方法和防御方法的安全基准。SALAD-Bench 以其广度著称,凭借大规模、丰富的多样性、跨越三个层次的精细分类体系以及多样化的功能,超越了传统基准。SALAD-Bench 精心设计了一系列问题,从标准查询到融入攻击、防御修改和多项选择的复杂查询。为有效管理其固有复杂性,我们引入了一种创新的评估器:基于 LLM 的 MD-Judge,用于 QA 对,特别关注攻击增强查询,确保无缝且可靠的评估。上述组件将 SALAD-Bench 从标准的 LLM 安全评估扩展到 LLM 攻击与防御方法评估,确保其联合用途的实用性。我们的大量实验揭示了 LLM 对新兴威胁的鲁棒性以及当代防御策略的有效性。数据和评估器已在 https://github.com/OpenSafetyLab/SALAD-BENCH 发布。

英文摘要:

In the rapidly evolving landscape of Large Language Models (LLMs), ensuring robust safety measures is paramount. To meet this crucial need, we propose \emph{SALAD-Bench}, a safety benchmark specifically designed for evaluating LLMs, attack, and defense methods. Distinguished by its breadth, SALAD-Bench transcends conventional benchmarks through its large scale, rich diversity, intricate taxonomy spanning three levels, and versatile functionalities.SALAD-Bench is crafted with a meticulous array of questions, from standard queries to complex ones enriched with attack, defense modifications and multiple-choice. To effectively manage the inherent complexity, we introduce an innovative evaluators: the LLM-based MD-Judge for QA pairs with a particular focus on attack-enhanced queries, ensuring a seamless, and reliable evaluation. Above components extend SALAD-Bench from standard LLM safety evaluation to both LLM attack and defense methods evaluation, ensuring the joint-purpose utility. Our extensive experiments shed light on the resilience of LLMs against emerging threats and the efficacy of contemporary defense tactics. Data and evaluator are released under https://github.com/OpenSafetyLab/SALAD-BENCH.

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

↑