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

BingoGuard:带有风险等级的大语言模型内容审核工具

BingoGuard: LLM Content Moderation Tools with Risk Levels

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Salesforce;Microsoft Research(微软研究院)

Fan Yin, Philippe Laban, Xiangyu Peng, Yilun Zhou, Yixin Mao, Vaibhav Vats, Linnea Ross, Divyansh Agarwal, Caiming Xiong, Chien-Sheng Wu

AI总结:

本文提出BingoGuard审核系统,通过为11个有害主题设计严重程度评分标准并构建“先生成后过滤”的数据集构建框架,训练出的BingoGuard-8B能同时预测安全标签和风险等级,在多个基准上超越现有最佳模型。

摘要:

大语言模型(LLMs)生成的恶意内容可能造成不同程度的危害。尽管现有的基于LLM的审核器能够检测有害内容,但它们在评估风险等级方面存在困难,并且可能遗漏较低风险的输出。准确的风险评估使具有不同安全阈值的平台能够定制内容过滤和拒绝策略。在本文中,我们为11个有害主题引入了逐主题的严重程度评分标准,并构建了BingoGuard,这是一个基于LLM的审核系统,旨在同时预测二元安全标签和严重程度等级。为了解决严重程度等级标注缺失的问题,我们提出了一个可扩展的“先生成后过滤”框架,该框架首先生成不同严重程度等级的响应,然后过滤掉低质量的响应。利用该框架,我们创建了BingoGuardTrain,一个包含54,897个示例的训练数据集,涵盖多种主题、响应严重程度和风格,以及BingoGuardTest,一个包含988个示例的测试集,该测试集根据我们的严重程度评分标准进行了明确标注,能够对模型在不同严重程度等级上的行为进行细粒度分析。我们的BingoGuard-8B在BingoGuardTrain上训练,在多个审核基准上取得了最先进的性能,包括WildGuardTest和HarmBench,以及BingoGuardTest,比最佳公开模型WildGuard高出4.3%。我们的分析表明,将严重程度等级纳入训练显著提升了检测性能,并使模型能够有效衡量有害响应的严重程度。

英文摘要:

Malicious content generated by large language models (LLMs) can pose varying degrees of harm. Although existing LLM-based moderators can detect harmful content, they struggle to assess risk levels and may miss lower-risk outputs. Accurate risk assessment allows platforms with different safety thresholds to tailor content filtering and rejection. In this paper, we introduce per-topic severity rubrics for 11 harmful topics and build BingoGuard, an LLM-based moderation system designed to predict both binary safety labels and severity levels. To address the lack of annotations on levels of severity, we propose a scalable generate-then-filter framework that first generates responses across different severity levels and then filters out low-quality responses. Using this framework, we create BingoGuardTrain, a training dataset with 54,897 examples covering a variety of topics, response severity, styles, and BingoGuardTest, a test set with 988 examples explicitly labeled based on our severity rubrics that enables fine-grained analysis on model behaviors on different severity levels. Our BingoGuard-8B, trained on BingoGuardTrain, achieves the state-of-the-art performance on several moderation benchmarks, including WildGuardTest and HarmBench, as well as BingoGuardTest, outperforming best public models, WildGuard, by 4.3\%. Our analysis demonstrates that incorporating severity levels into training significantly enhances detection performance and enables the model to effectively gauge the severity of harmful responses.

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

↑