给LLM生成内容按危害程度分级,提升平台精准过滤能力
BingoGuard: LLM Content Moderation Tools with Risk Levels
- 为11类有害内容制定分等级评估标准,用生成-筛选法构建标注数据集
- 训练出的BingoGuard-8B在多个基准上准确率超现有模型4.3%以上
- 适合需要精细内容安全控制的平台,如社交网络和教育应用
大语言模型生成的恶意内容危害程度各异。现有基于LLM的内容审核工具虽能识别有害内容,却难以评估风险等级,常忽略低风险输出。准确的风险评估可使不同安全阈值的平台实现定制化内容过滤。本文针对11个有害主题设计了分级评分标准,构建了BingoGuard系统,用于同时预测二元安全标签与严重程度。为解决严重程度标注缺失问题,提出可扩展的“生成-过滤”框架:先生成多严重程度响应,再剔除低质量样本。据此构建了包含54,897条样本的BingoGuardTrain训练集和988条明确标注的BingoGuardTest测试集,支持细粒度模型行为分析。基于BingoGuardTrain训练的BingoGuard-8B在WildGuardTest、HarmBench及BingoGuardTest等多个基准上达到当前最优性能,较最佳公开模型WildGuard提升4.3%。分析表明,将严重程度融入训练显著提升检测效果,并使模型能有效判断有害回应的严重性。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。