计算机科学 > 机器学习
[提交于 2020年11月17日 (v1),最后修订于 2021年9月22日 (此版本, v3)]
标题:On the Transferability of Adversarial Attacksagainst Neural Text Classifier
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Deep neural networks are vulnerable to adversarial attacks, where a small perturbation to an input alters the model prediction. In many cases, malicious inputs intentionally crafted for one model can fool another model. In this paper, we present the first study to systematically investigate the transferability of adversarial examples for text classification models and explore how various factors, including network architecture, tokenization scheme, word embedding, and model capacity, affect the transferability of adversarial examples. Based on these studies, we propose a genetic algorithm to find an ensemble of models that can be used to induce adversarial examples to fool almost all existing models. Such adversarial examples reflect the defects of the learning process and the data bias in the training set. Finally, we derive word replacement rules that can be used for model diagnostics from these adversarial examples.