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

NLP中的模型偏差--基于迁移学习技术的仇恨语音分类

Model Bias in NLP -- Application to Hate Speech Classification using transfer learning techniques

ETH Zürich(苏黎世联邦理工学院)

Aygul Zagidullina, Georgios Patoulidis, Jonas Bokstaller

摘要:

在本文中,一个基于BERT的神经网络模型应用于JIGSAW数据集,以创建一个模型,识别仇恨和有毒的评论(严格分离的攻击性语言)在在线社交平台(英语),在这种情况下Twitter。另外三个神经网络架构和一个GPT-2模型也应用于所提供的数据集,以比较这些不同的模型。然后将训练好的BERT模型应用于两个不同的数据集,以评估其泛化能力,即另一个Twitter数据集和HASOC 2019数据集,其中包括Twitter和Facebook评论;我们专注于英语HASOC 2019数据。此外,可以表明,通过经由重新训练部分或所有层应用不同的迁移学习场景,在这两个数据集上微调经训练的BERT模型,与简单地应用在JIGSAW数据集上预训练的模型相比,预测分数提高。通过我们的结果,我们获得了从64%到90%左右的精确度,同时仍然达到了至少低于60%的可接受的召回值,证明了BERT适用于社交平台中的真实用例。

英文摘要:

In this paper, a BERT based neural network model is applied to the JIGSAW data set in order to create a model identifying hateful and toxic comments (strictly seperated from offensive language) in online social platforms (English language), in this case Twitter. Three other neural network architectures and a GPT-2 model are also applied on the provided data set in order to compare these different models. The trained BERT model is then applied on two different data sets to evaluate its generalisation power, namely on another Twitter data set and the data set HASOC 2019 which includes Twitter and also Facebook comments; we focus on the English HASOC 2019 data. In addition, it can be shown that by fine-tuning the trained BERT model on these two data sets by applying different transfer learning scenarios via retraining partial or all layers the predictive scores improve compared to simply applying the model pre-trained on the JIGSAW data set. With our results, we get precisions from 64% to around 90% while still achieving acceptable recall values of at least lower 60s%, proving that BERT is suitable for real use cases in social platforms.

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

↑