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

利用随机扰动减轻情感分析模型的对抗攻击

Using Random Perturbations to Mitigate Adversarial Attacks on Sentiment Analysis Models

University of Colorado Colorado Springs(科罗拉多斯普林斯科罗拉多大学)

Abigail Swenor, Jugal Kalita

摘要:

对深度学习模型的攻击通常难以识别,因此难以防范。这个问题由于使用公共数据集而加剧,这些公共数据集通常在使用前不进行手动检查。在本文中,我们提供了一个解决方案,通过使用,在测试过程中,随机扰动,如拼写校正,如果必要的话,替换随机同义词,或简单地删除这个词,这个漏洞。这些扰动应用于随机句子中的随机单词,以保护NLP模型免受对抗攻击。我们的随机扰动防御和增强随机性防御方法成功地将受攻击的模型恢复到与攻击前模型相似的精度。在这项工作中使用的模型的原始准确率是80%的情感分类。在遭受攻击后,准确率下降到0%到44%之间。在应用我们的防御方法后,模型的精度在统计显著性范围内恢复到原始精度。

英文摘要:

Attacks on deep learning models are often difficult to identify and therefore are difficult to protect against. This problem is exacerbated by the use of public datasets that typically are not manually inspected before use. In this paper, we offer a solution to this vulnerability by using, during testing, random perturbations such as spelling correction if necessary, substitution by random synonym, or simply dropping the word. These perturbations are applied to random words in random sentences to defend NLP models against adversarial attacks. Our Random Perturbations Defense and Increased Randomness Defense methods are successful in returning attacked models to similar accuracy of models before attacks. The original accuracy of the model used in this work is 80% for sentiment classification. After undergoing attacks, the accuracy drops to accuracy between 0% and 44%. After applying our defense methods, the accuracy of the model is returned to the original accuracy within statistical significance.

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

↑