Skip to main content
QUICK REVIEW

[论文解读] Multi-Task Learning with Sentiment, Emotion, and Target Detection to Recognize Hate Speech and Offensive Language

Flor Miriam Plaza-del-Arco, Sercan Halat|arXiv (Cornell University)|Sep 21, 2021
Hate Speech and Cyberbullying DetectionComputer Science被引用 17
一句话总结

本文提出了一种多任务学习框架,联合训练基于 BERT 的模型以实现仇恨言论与冒犯性语言(HOF)检测、情感分析、情绪识别以及目标识别。通过利用 CrowdFlower 情绪语料库、SemEval 2016 情感语料库以及 OffensEval 2019 目标数据,该模型在 HASOC 2021 上实现了 0.7947 的 F1 分数,在 HASOC 2019 上实现了 2pp 的 F1 提升(0.80),且 HOF 的召回率显著提高,表明对情感与目标化成分进行联合建模可增强 HOF 检测性能。

ABSTRACT

The recognition of hate speech and offensive language (HOF) is commonly formulated as a classification task to decide if a text contains HOF. We investigate whether HOF detection can profit by taking into account the relationships between HOF and similar concepts: (a) HOF is related to sentiment analysis because hate speech is typically a negative statement and expresses a negative opinion; (b) it is related to emotion analysis, as expressed hate points to the author experiencing (or pretending to experience) anger while the addressees experience (or are intended to experience) fear. (c) Finally, one constituting element of HOF is the mention of a targeted person or group. On this basis, we hypothesize that HOF detection shows improvements when being modeled jointly with these concepts, in a multi-task learning setup. We base our experiments on existing data sets for each of these concepts (sentiment, emotion, target of HOF) and evaluate our models as a participant (as team IMS-SINAI) in the HASOC FIRE 2021 English Subtask 1A. Based on model-selection experiments in which we consider multiple available resources and submissions to the shared task, we find that the combination of the CrowdFlower emotion corpus, the SemEval 2016 Sentiment Corpus, and the OffensEval 2019 target detection data leads to an F1 =.79 in a multi-head multi-task learning model based on BERT, in comparison to .7895 of plain BERT. On the HASOC 2019 test data, this result is more substantial with an increase by 2pp in F1 and a considerable increase in recall. Across both data sets (2019, 2021), the recall is particularly increased for the class of HOF (6pp for the 2019 data and 3pp for the 2021 data), showing that MTL with emotion, sentiment, and target identification is an appropriate approach for early warning systems that might be deployed in social media platforms.

研究动机与目标

  • 探究联合建模情感、情绪与目标检测是否能提升仇恨言论与冒犯性语言(HOF)检测性能。
  • 评估在多任务学习设置下,将多个情感与结构化 NLP 任务组合对 HOF 分类的影响。
  • 识别用于情感、情绪与目标检测的现有标注语料库的最佳组合,以提升 HOF 检测性能。
  • 提高 HOF 类别的召回率,特别是在 HOF 实例代表性不足的低资源场景中。
  • 评估该模型在社交媒体平台早期预警系统中的实际应用价值。

提出的方法

  • 作者采用基于 BERT 的多头多任务学习架构,联合训练 HOF 检测、情感分类、情绪识别与目标识别。
  • 他们使用独立的分类头对每个任务对单一 BERT 主干网络进行微调。
  • 该模型在三个公开数据集的组合上进行训练:CrowdFlower 情绪语料库、SemEval 2016 情感语料库以及 OffensEval 2019 目标检测数据集。
  • 通过在 HASOC 2021 开发集上进行超参数调优与交叉验证,完成模型选择,以识别最佳性能配置。
  • 最终模型作为 FIRE 2021 共享任务的一部分,在官方 HASOC 2021 与 2019 测试集上进行评估。
  • 该方法利用 BERT 的共享上下文表示,同时通过独立的分类头实现各任务的特定适应。

实验结果

研究问题

  • RQ1在情感、情绪与目标检测上进行联合训练,能否提升仇恨言论与冒犯性语言检测性能?
  • RQ2用于情感、情绪与目标检测的现有语料库的哪种组合能获得最佳的 HOF 检测性能?
  • RQ3多任务学习是否通过利用积极情感与情绪信号,降低 HOF 检测中的误报率?
  • RQ4与基线 BERT 模型相比,该模型在 HOF 类别的召回率如何,尤其是在类别不平衡的情况下?
  • RQ5为何性能提升在 HASOC 2019 数据集上比在 2021 年数据集上更为显著?

主要发现

  • 结合 CrowdFlower 情绪语料库、SemEval 2016 情感语料库与 OffensEval 2019 目标数据的多任务学习模型,在 HASOC 2021 测试集上实现了 0.7947 的 F1 分数,优于基线 BERT 模型(F1 = 0.7895)。
  • 在 HASOC 2019 测试集上,多任务模型实现了 0.80 的 F1 分数,相比基线 BERT 模型(F1 = 0.78)提升了 2pp。
  • 该模型在 HASOC 2019 数据集上使 HOF 类别的召回率提升了 6pp(从 0.866 提升至 0.917),表明能更好地检测出此前被遗漏的 HOF 实例。
  • 尽管精确率略有下降,该模型在 HASOC 2021 数据集上也使 HOF 类别的召回率提升了 3pp,表明对 HOF 内容的覆盖能力更强。
  • 性能提升归因于模型通过检测与仇恨言论不一致的积极情感与情绪信号,有效排除了非 HOF 内容。
  • 结果表明,结合情感与目标化组件的多任务学习在低资源 HOF 检测场景中特别有效,有助于提升召回率。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。