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

屏蔽Google的语言毒性模型以抵御对抗攻击

Shielding Google's language toxicity model against adversarial attacks

Universidad Distrital FJC(弗朗西斯科·何塞·德·卡尔达斯区立大学)

Nestor Rodriguez, Sergio Rojas-Galeano

摘要:

在线社区缺乏节制,使参与者遭受人身攻击,骚扰或网络欺凌,这些问题在当代后真相政治场景中因极端主义激进化而加剧。这种敌意通常通过恶毒的语言、亵渎或辱骂性的言论来表达。最近,谷歌开发了一种基于机器学习的毒性模型,试图评估评论的敌意;不幸的是,有人认为该模型可能被操纵评论文本序列的对抗攻击所欺骗。在本文中,我们首先介绍了这样的对抗攻击使用混淆和极性变换。前者通过排版编辑破坏有毒触发内容来欺骗,而后者则通过语法否定有毒内容来欺骗。然后,我们提出了一个两阶段的方法来反击这些异常,最近提出的文本去混淆方法和毒性评分模型的基础上。最后,我们用大约24000条扭曲的评论进行了一个实验,展示了如何以这种方式恢复对抗性变体的毒性,同时导致处理时间大约增加两倍。尽管新的对手的挑战将继续来自书面语言的多功能性,我们预计,技术相结合的机器学习和文本模式识别方法,每一个针对不同层次的语言特征,将需要实现强大的检测有毒语言,从而促进侵略-自由的数字互动。

英文摘要:

Lack of moderation in online communities enables participants to incur in personal aggression, harassment or cyberbullying, issues that have been accentuated by extremist radicalisation in the contemporary post-truth politics scenario. This kind of hostility is usually expressed by means of toxic language, profanity or abusive statements. Recently Google has developed a machine-learning-based toxicity model in an attempt to assess the hostility of a comment; unfortunately, it has been suggested that said model can be deceived by adversarial attacks that manipulate the text sequence of the comment. In this paper we firstly characterise such adversarial attacks as using obfuscation and polarity transformations. The former deceives by corrupting toxic trigger content with typographic edits, whereas the latter deceives by grammatical negation of the toxic content. Then, we propose a two--stage approach to counter--attack these anomalies, bulding upon a recently proposed text deobfuscation method and the toxicity scoring model. Lastly, we conducted an experiment with approximately 24000 distorted comments, showing how in this way it is feasible to restore toxicity of the adversarial variants, while incurring roughly on a twofold increase in processing time. Even though novel adversary challenges would keep coming up derived from the versatile nature of written language, we anticipate that techniques combining machine learning and text pattern recognition methods, each one targeting different layers of linguistic features, would be needed to achieve robust detection of toxic language, thus fostering aggression--free digital interaction.

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

↑