arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.03837cs.CLcs.AI
收藏

WalledEval:大型语言模型的全面安全评估工具包

WalledEval: A Comprehensive Safety Evaluation Toolkit for Large Language Models

Tensorplex Labs;Walled AI Labs

Prannaya Gupta, Le Qi Yau, Hao Han Low, I-Shiang Lee, Hugo Maximus Lim, Yu Xin Teoh, Jia Hng Koh, Dar Win Liew, Rishabh Bhardwaj, Rajat Bhardwaj, Soujanya Poria

AI总结:

WalledEval是一个全面的AI安全测试工具包,支持多种模型和35+安全基准,引入WalledGuard及两个数据集,用于评估LLM的过度安全等问题。

摘要:

WalledEval是一个全面的AI安全测试工具包,旨在评估大型语言模型(LLMs)。它支持多种模型,包括开放权重模型和基于API的模型,并包含超过35个安全基准,涵盖多语言安全、过度安全和提示注入等领域。该框架支持LLM和评判者基准测试,并整合了自定义变异器,以测试模型对各种文本风格变异(如将来时和释义)的安全性。此外,WalledEval引入了WalledGuard,一种新型、小巧且高性能的内容审核工具,以及两个数据集:SGXSTest和HIXSTest,作为在文化背景下评估LLM和评判者过度安全的基准。我们在https://github.com/walledai/walledeval上公开提供WalledEval。

英文摘要:

WalledEval is a comprehensive AI safety testing toolkit designed to evaluate large language models (LLMs). It accommodates a diverse range of models, including both open-weight and API-based ones, and features over 35 safety benchmarks covering areas such as multilingual safety, exaggerated safety, and prompt injections. The framework supports both LLM and judge benchmarking and incorporates custom mutators to test safety against various text-style mutations, such as future tense and paraphrasing. Additionally, WalledEval introduces WalledGuard, a new, small, and performant content moderation tool, and two datasets: SGXSTest and HIXSTest, which serve as benchmarks for assessing the exaggerated safety of LLMs and judges in cultural contexts. We make WalledEval publicly available at https://github.com/walledai/walledeval.

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

↑