arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.06336cs.CL
收藏

用于仇恨语音检测的分级HyperNetworks

Character-level HyperNetworks for Hate Speech Detection

University of Haifa(海法大学);Braude College of Engineering(布劳德工程学院);McGovern Institute for Brain Research, MIT(麻省理工学院麦戈文脑科学研究所)

Tomer Wullach, Amir Adler, Einat Minkov

摘要:

仇恨言论和针对特定亚群体的仇恨内容的大规模传播是一个具有重大社会意义的问题。仇恨语音检测的自动化方法通常采用最先进的基于深度学习(DL)的文本分类器-超过1亿个参数的大型预训练神经语言模型,使这些模型适应使用相关标记数据集进行仇恨语音检测的任务。不幸的是,只有少数大小有限的公共标记数据集可用于此目的。我们为推动这一事态发展作出了几项具有很大潜力的贡献。我们提出了用于仇恨语音检测的超网络,这是一类特殊的DL网络,其权重由小规模辅助网络调节。这些架构在字符级操作,而不是字或子字级,并且与流行的DL分类器相比小几个数量级。我们进一步表明,使用额外的大量自动生成的示例来训练仇恨检测分类器通常是有益的,但这种做法特别提高了所提出的超网络的性能。我们报告了大量实验的结果,使用五个公共数据集评估了多个神经架构在仇恨检测上的性能。评估的方法包括BERT、RoBERTa、ALBERT、MobileBERT和CharBERT的预训练语言模型,CharBERT是BERT的变体,它将字符与子词嵌入结合在一起。除了传统的数据集内评估设置之外,我们还进行了跨数据集评估实验,测试了各种模型在数据迁移条件下的泛化能力。我们的研究结果表明,建议的超网络实现的性能是有竞争力的,在某些情况下,比这些预训练的语言模型,而更小的数量级。

英文摘要:

The massive spread of hate speech, hateful content targeted at specific subpopulations, is a problem of critical social importance. Automated methods of hate speech detection typically employ state-of-the-art deep learning (DL)-based text classifiers-large pretrained neural language models of over 100 million parameters, adapting these models to the task of hate speech detection using relevant labeled datasets. Unfortunately, there are only a few public labeled datasets of limited size that are available for this purpose. We make several contributions with high potential for advancing this state of affairs. We present HyperNetworks for hate speech detection, a special class of DL networks whose weights are regulated by a small-scale auxiliary network. These architectures operate at character-level, as opposed to word or subword-level, and are several orders of magnitude smaller compared to the popular DL classifiers. We further show that training hate detection classifiers using additional large amounts of automatically generated examples is beneficial in general, yet this practice especially boosts the performance of the proposed HyperNetworks. We report the results of extensive experiments, assessing the performance of multiple neural architectures on hate detection using five public datasets. The assessed methods include the pretrained language models of BERT, RoBERTa, ALBERT, MobileBERT and CharBERT, a variant of BERT that incorporates character alongside subword embeddings. In addition to the traditional setup of within-dataset evaluation, we perform cross-dataset evaluation experiments, testing the generalization of the various models in conditions of data shift. Our results show that the proposed HyperNetworks achieve performance that is competitive, and better in some cases, than these pretrained language models, while being smaller by orders of magnitude.

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

↑