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

生成式AI用于仇恨言论检测:评估与发现

Generative AI for Hate Speech Detection: Evaluation and Findings

University of Haifa(海法大学);OriginAI;Braude College of Engineering(布劳德工程学院)

Sagi Pendzel, Tomer Wullach, Amir Adler, Einat Minkov

AI总结:

本研究评估了利用生成式AI合成数据增强微调LLMs进行仇恨言论检测的方法,发现其提升泛化与召回率,但GPT-3.5零样本检测虽泛化好却精确率低。

摘要:

使用深度神经模型进行自动仇恨言论检测受到标记数据集稀缺的阻碍,导致泛化性能不佳。为缓解此问题,生成式AI被用于从可用的标记示例中生成大量合成仇恨言论序列,并利用生成的数据对大型预训练语言模型(LLMs)进行微调。在本章中,我们回顾了相关方法、实验设置及对该方法的评估。除了通用LLMs(如BERT、RoBERTa和ALBERT)外,我们还应用并评估了使用已针对仇恨检测调整的LLMs(包括RoBERTa-Toxicity、HateBERT、HateXplain、ToxDect和ToxiGen)生成的数据进行训练集增强的影响。一项实证研究证实了我们之前的发现,表明该方法改善了仇恨言论的泛化能力,提升了跨数据分布的召回率性能。此外,我们探索并比较了微调后的LLMs与使用GPT-3.5模型进行零样本仇恨检测的性能。我们的结果表明,虽然使用GPT-3.5模型实现了更好的泛化,但它在大多数数据集上召回率平庸且精确率较低。像GPT-3.5及其后续模型是否可以通过类似的文本生成技术来提高敏感性,仍是一个开放性问题。

英文摘要:

Automatic hate speech detection using deep neural models is hampered by the scarcity of labeled datasets, leading to poor generalization. To mitigate this problem, generative AI has been utilized to generate large amounts of synthetic hate speech sequences from available labeled examples, leveraging the generated data in finetuning large pre-trained language models (LLMs). In this chapter, we provide a review of relevant methods, experimental setups and evaluation of this approach. In addition to general LLMs, such as BERT, RoBERTa and ALBERT, we apply and evaluate the impact of train set augmentation with generated data using LLMs that have been already adapted for hate detection, including RoBERTa-Toxicity, HateBERT, HateXplain, ToxDect, and ToxiGen. An empirical study corroborates our previous findings, showing that this approach improves hate speech generalization, boosting recall performance across data distributions. In addition, we explore and compare the performance of the finetuned LLMs with zero-shot hate detection using a GPT-3.5 model. Our results demonstrate that while better generalization is achieved using the GPT-3.5 model, it achieves mediocre recall and low precision on most datasets. It is an open question whether the sensitivity of models such as GPT-3.5, and onward, can be improved using similar techniques of text generation.

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

↑