[论文解读] Transfer Learning for Hate Speech Detection in Social Media
本文提出 t-HateNet,一种迁移学习框架,通过在两个无关的仇恨言论数据集上联合训练,构建一个共享的、通用的表示空间,用于仇恨言论检测。通过利用跨数据集的知识迁移,该模型在标注数据有限的情况下提升了检测性能,并实现了仇恨言论地图(Map of Hate)——一种可视化工具,可揭示标注不一致性,增强对不同定义下仇恨内容的可解释性。
Today, the internet is an integral part of our daily lives, enabling people to be more connected than ever before. However, this greater connectivity and access to information increase exposure to harmful content such as cyber-bullying and cyber-hatred. Models based on machine learning and natural language offer a way to make online platforms safer by identifying hate speech in web text autonomously. However, the main difficulty is annotating a sufficiently large number of examples to train these models. This paper uses a transfer learning technique to leverage two independent datasets jointly and builds a single representation of hate speech. We build an interpretable two-dimensional visualization tool of the constructed hate speech representation -- dubbed the Map of Hate -- in which multiple datasets can be projected and comparatively analyzed. The hateful content is annotated differently across the two datasets (racist and sexist in one dataset, hateful and offensive in another). However, the common representation successfully projects the harmless class of both datasets into the same space and can be used to uncover labeling errors (false positives). We also show that the joint representation boosts prediction performances when only a limited amount of supervision is available. These methods and insights hold the potential for safer social media and reduce the need to expose human moderators and annotators to distressing online messaging.
研究动机与目标
- 开发一种不依赖昂贵手工特征的通用仇恨言论检测系统。
- 通过从多个小型、无关的数据集中联合学习,解决仇恨言论检测中的数据稀缺问题。
- 创建一种可解释的可视化工具,支持对不同标注方案下的仇恨言论进行对比分析。
- 通过共享表示学习检测并诊断现有仇恨言论数据集中存在的标注错误和偏差。
- 通过在多个数据集中接触多样化的定义和标注者,减少模型偏差。
提出的方法
- 该框架使用共享的双向LSTM编码器和共享的词嵌入,以在两个仇恨言论数据集之间学习联合表示空间。
- 通过在一个模型上同时训练两个具有不同标注方案(如种族主义/性别歧视 vs. 可恨/冒犯性)的独立数据集,实现迁移学习。
- 模型使用预训练的词嵌入,并通过双向LSTM单元微调,以适应特定任务的仇恨言论检测。
- 利用共享嵌入构建一个二维可视化工具——'仇恨言论地图',用于比较和分析不同数据集中的仇恨言论。
- 通过复用学习到的仇恨嵌入,无需从头开始训练,即可实现零样本迁移至新任务。
- 通过分析共享嵌入空间中'无害'文本的空间聚类,诊断标注错误和假阳性样本。
实验结果
研究问题
- RQ1能否在具有不同标注方案的无关仇恨言论数据集之间学习到共享的表示空间?
- RQ2在多个小型数据集上联合训练,是否能通过有限监督提升仇恨言论检测性能?
- RQ3共享表示空间能否揭示现有数据集中系统性的标注错误或偏差?
- RQ4仇恨言论地图可视化工具是否能有效分离并表征不同类型的仇恨内容?
- RQ5与单数据集训练相比,多数据集训练在多大程度上减少了模型偏差?
主要发现
- 通过 t-HateNet 学习到的联合表示成功地将两个数据集中的'无害'文本映射到共享嵌入空间的同一区域,表明语义一致性。
- 仇恨言论地图可视化显示,使用联合嵌入时,仇恨类别比在每个数据集上单独训练模型时更具可分性。
- 该模型通过跨数据集的知识迁移,在低资源设置下提升了预测性能,尤其在标注数据稀缺时表现更优。
- 该框架通过检测'无害'聚类中的异常值,识别出标注错误的样本,证明其在诊断标注错误方面的实用性。
- 在多个数据集上训练可降低单个标注者偏差的影响,从而获得对仇恨言论更全面、更稳健的理解。
- 该系统通过仅依赖文本内容和学习到的嵌入,实现了平台和来源无关的仇恨言论检测。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。