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

基于BERT的仇恨语音检测方法

BERT-based Ensemble Approaches for Hate Speech Detection

Telecom SudParis(巴黎高等电信学院);IMT(法国国立高等矿业电信学校联盟);Institut Polytechnique de Paris(巴黎理工学院)

Khouloud Mnassri, Praboda Rajapaksha, Reza Farahbakhsh, Noel Crespi

摘要:

随着在线社交媒体提供的通信自由,仇恨言论越来越多地产生。这导致网络冲突影响到个人和国家层面的社会生活。因此,仇恨内容分类变得越来越需要在将仇恨内容发送到社交网络之前过滤仇恨内容。本文的重点是使用多个深度模型对社交媒体中的仇恨言论进行分类,这些深度模型是通过整合最近基于transformer的语言模型(如BERT和神经网络)来实现的。为了提高分类性能,我们评估了几个集成技术,包括软投票,最大值,硬投票和堆叠。我们使用了三个公开可用的Twitter数据集(Davidson,HatEval2019,OLID),这些数据集是为了识别攻击性语言而生成的。我们融合了所有这些数据集,生成一个单一的数据集(DHO数据集),它在不同的标签之间更加平衡,以执行多标签分类。我们的实验在Davidson数据集和DHO语料库上进行。后者给出了最好的整体结果,特别是F1宏得分,即使它需要更多的资源(时间执行和内存)。实验显示了良好的结果,特别是集成模型,其中叠加在Davidson数据集上给出了97%的F1得分,在DHO数据集上聚合集成为77%。

英文摘要:

With the freedom of communication provided in online social media, hate speech has increasingly generated. This leads to cyber conflicts affecting social life at the individual and national levels. As a result, hateful content classification is becoming increasingly demanded for filtering hate content before being sent to the social networks. This paper focuses on classifying hate speech in social media using multiple deep models that are implemented by integrating recent transformer-based language models such as BERT, and neural networks. To improve the classification performances, we evaluated with several ensemble techniques, including soft voting, maximum value, hard voting and stacking. We used three publicly available Twitter datasets (Davidson, HatEval2019, OLID) that are generated to identify offensive languages. We fused all these datasets to generate a single dataset (DHO dataset), which is more balanced across different labels, to perform multi-label classification. Our experiments have been held on Davidson dataset and the DHO corpora. The later gave the best overall results, especially F1 macro score, even it required more resources (time execution and memory). The experiments have shown good results especially the ensemble models, where stacking gave F1 score of 97% on Davidson dataset and aggregating ensembles 77% on the DHO dataset.

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

↑