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

迈向稳健的有毒成分分类

Towards Robust Toxic Content Classification

Carnegie Mellon University(卡内基梅隆大学)

Keita Kurita, Anna Belova, Antonios Anastasopoulos

摘要:

有毒内容检测旨在识别可能冒犯或伤害其接收者的内容。有毒内容的自动分类器需要对故意试图绕过过滤器的对手具有鲁棒性。我们提出了一种使用有毒令牌词典生成现实模型不可知攻击的方法,该方法试图通过通过字符级扰动混淆有毒令牌或注入无毒干扰令牌来稀释毒性信号,从而误导毒性分类器。我们表明,这些现实的攻击减少了检测召回的国家的最先进的神经毒性检测器,包括那些使用ELMo和BERT,在某些情况下超过50%。我们探索两种方法来抵御这种攻击。首先,我们研究了训练对综合噪声数据的影响。其次,我们提出了上下文去噪自动编码器(CDAE):一种用于学习鲁棒表示的方法,该方法使用字符级和上下文信息来对扰动令牌进行去噪。我们表明,这两种方法是互补的,提高了字符级扰动和干扰的鲁棒性,恢复了相当一部分丢失的准确性。最后,我们分析了最具竞争力的方法的鲁棒性特征,并概述了改进毒性检测器的实际考虑。

英文摘要:

Toxic content detection aims to identify content that can offend or harm its recipients. Automated classifiers of toxic content need to be robust against adversaries who deliberately try to bypass filters. We propose a method of generating realistic model-agnostic attacks using a lexicon of toxic tokens, which attempts to mislead toxicity classifiers by diluting the toxicity signal either by obfuscating toxic tokens through character-level perturbations, or by injecting non-toxic distractor tokens. We show that these realistic attacks reduce the detection recall of state-of-the-art neural toxicity detectors, including those using ELMo and BERT, by more than 50% in some cases. We explore two approaches for defending against such attacks. First, we examine the effect of training on synthetically noised data. Second, we propose the Contextual Denoising Autoencoder (CDAE): a method for learning robust representations that uses character-level and contextual information to denoise perturbed tokens. We show that the two approaches are complementary, improving robustness to both character-level perturbations and distractors, recovering a considerable portion of the lost accuracy. Finally, we analyze the robustness characteristics of the most competitive methods and outline practical considerations for improving toxicity detectors.

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

↑