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

文本分类中的扰动识别与对抗攻击

Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classification

University of California, Los Angeles(加州大学洛杉矶分校)

Yichao Zhou, Jyun-Yu Jiang, Kai-Wei Chang, Wei Wang

摘要:

针对机器学习模型的对抗攻击已经威胁到各种现实世界的应用,例如垃圾邮件过滤和情感分析。在本文中,我们提出了一种新的框架,学习辨别扰动(DISP),识别和调整恶意扰动,从而阻止文本分类模型的对抗攻击。为了识别对抗攻击,扰动验证器验证文本中的令牌被扰动的可能性,并提供一组潜在的扰动。对于每个潜在的扰动,嵌入估计器学习基于上下文恢复原始单词的嵌入,并且基于近似kNN搜索选择替换令牌。DISP可以阻止任何NLP模型的对抗攻击,而无需修改模型结构或训练过程。在两个基准数据集上的大量实验表明,DISP在阻止文本分类的对抗攻击方面明显优于基线方法。此外,深入分析表明,债务重组和战略计划在不同情况下都很稳健。

英文摘要:

Adversarial attacks against machine learning models have threatened various real-world applications such as spam filtering and sentiment analysis. In this paper, we propose a novel framework, learning to DIScriminate Perturbations (DISP), to identify and adjust malicious perturbations, thereby blocking adversarial attacks for text classification models. To identify adversarial attacks, a perturbation discriminator validates how likely a token in the text is perturbed and provides a set of potential perturbations. For each potential perturbation, an embedding estimator learns to restore the embedding of the original word based on the context and a replacement token is chosen based on approximate kNN search. DISP can block adversarial attacks for any NLP model without modifying the model structure or training procedure. Extensive experiments on two benchmark datasets demonstrate that DISP significantly outperforms baseline methods in blocking adversarial attacks for text classification. In addition, in-depth analysis shows the robustness of DISP across different situations.

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

↑