arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.06900cs.CLcs.AI
收藏

LLMs 能否识别毒性?一种结构化调查框架与毒性指标

Can LLMs Recognize Toxicity? A Structured Investigation Framework and Toxicity Metric

IPAI, Seoul National University(首尔国立大学 IPAI);LG AI Research(LG AI研究院)

Hyukhun Koh, Dohyung Kim, Minwoo Lee, Kyomin Jung

AI总结:

本文提出一种基于 LLMs 的稳健毒性评估指标,通过分析毒性因素与模型内在属性,证明其在已验证因素内优于传统指标,但指出 LLMs 不适用于未验证因素的毒性评估。

摘要:

在开发符合社会标准的大型语言模型(LLMs)的过程中,检测生成文本中的毒性是必不可少的。现有的多数毒性指标依赖于在特定毒性数据集上训练的编码器模型,这些模型容易受到分布外(OOD)问题的影响,且依赖于数据集对毒性的定义。在本文中,我们提出了一种基于 LLMs 的稳健指标,可根据给定的定义灵活衡量毒性。我们首先分析了毒性因素,随后检查了 LLMs 的内在毒性属性,以确定其作为评估者的适用性。最后,我们通过详细分析评估了该指标的性能。我们的实证结果表明,在衡量已验证因素内的毒性方面表现优异,在 F1 分数上比传统指标提高了 12 分。我们的发现还表明,上游毒性显著影响下游指标,这表明 LLMs 不适合在未验证因素内进行毒性评估。

英文摘要:

In the pursuit of developing Large Language Models (LLMs) that adhere to societal standards, it is imperative to detect the toxicity in the generated text. The majority of existing toxicity metrics rely on encoder models trained on specific toxicity datasets, which are susceptible to out-of-distribution (OOD) problems and depend on the dataset's definition of toxicity. In this paper, we introduce a robust metric grounded on LLMs to flexibly measure toxicity according to the given definition. We first analyze the toxicity factors, followed by an examination of the intrinsic toxic attributes of LLMs to ascertain their suitability as evaluators. Finally, we evaluate the performance of our metric with detailed analysis. Our empirical results demonstrate outstanding performance in measuring toxicity within verified factors, improving on conventional metrics by 12 points in the F1 score. Our findings also indicate that upstream toxicity significantly influences downstream metrics, suggesting that LLMs are unsuitable for toxicity evaluations within unverified factors.

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

↑