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

重新思考大型语言模型中的毒性评估:多标签视角

Rethinking Toxicity Evaluation in Large Language Models: A Multi-Label Perspective

School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);RIKEN Center for Advanced Intelligence Project (AIP)(RIKEN先进人工智能项目中心);School of Computer Science and Technology, Qilu University of Technology(齐鲁大学计算机科学与技术学院);The University of Tokyo(东京大学)

Zhiqiang Kou, Junyang Chen, Xin-Qiang Cai, Ming-Kun Xie, Biao Liu, Changwei Wang, Lei Feng, Yuheng Jia, Gang Niu, Masashi Sugiyama, Xin Geng

AI总结:

针对现有毒性检测依赖单标签基准的局限,本文提出三个多标签基准和基于伪标签的检测方法,显著超越GPT-4o等基线,实现更可靠的LLM毒性评估。

摘要:

大型语言模型(LLMs)在一系列自然语言处理任务中取得了令人瞩目的成果,但其生成有害内容的潜力引发了严重的安全担忧。当前的毒性检测器主要依赖单标签基准,无法充分捕捉现实世界中毒性提示词固有的模糊性和多维度特性。这一局限性导致评估存在偏差,包括漏检毒性和误报,从而削弱了现有检测器的可靠性。此外,在细粒度毒性类别上收集全面的多标签标注成本极高,进一步阻碍了有效的评估与开发。为解决这些问题,我们引入了三个新颖的多标签毒性检测基准:\textbf{Q-A-MLL}、\textbf{R-A-MLL} 和 \textbf{H-X-MLL},它们源自公开的毒性数据集,并根据详细的15类分类体系进行标注。我们进一步提供了理论证明,表明在我们发布的数据集上,使用伪标签进行训练比直接学习单标签监督能获得更好的性能。此外,我们开发了一种基于伪标签的毒性检测方法。大量实验结果表明,我们的方法显著超越了包括GPT-4o和DeepSeek在内的先进基线,从而能够对LLM生成内容中的多标签毒性进行更准确、更可靠的评估。

英文摘要:

Large language models (LLMs) have achieved impressive results across a range of natural language processing tasks, but their potential to generate harmful content has raised serious safety concerns. Current toxicity detectors primarily rely on single-label benchmarks, which cannot adequately capture the inherently ambiguous and multi-dimensional nature of real-world toxic prompts. This limitation results in biased evaluations, including missed toxic detections and false positives, undermining the reliability of existing detectors. Additionally, gathering comprehensive multi-label annotations across fine-grained toxicity categories is prohibitively costly, further hindering effective evaluation and development. To tackle these issues, we introduce three novel multi-label benchmarks for toxicity detection: \textbf{Q-A-MLL}, \textbf{R-A-MLL}, and \textbf{H-X-MLL}, derived from public toxicity datasets and annotated according to a detailed 15-category taxonomy. We further provide a theoretical proof that, on our released datasets, training with pseudo-labels yields better performance than directly learning from single-label supervision. In addition, we develop a pseudo-label-based toxicity detection method. Extensive experimental results show that our approach significantly surpasses advanced baselines, including GPT-4o and DeepSeek, thus enabling more accurate and reliable evaluation of multi-label toxicity in LLM-generated content.

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

↑