University of Cambridge(剑桥大学);Vector Institute(向量研究所);University of Edinburgh(爱丁堡大学);University of Toronto(多伦多大学)
Nicholas Boucher, Ilia Shumailov, Ross Anderson, Nicolas Papernot
备注:
To appear in the 43rd IEEE Symposium on Security and Privacy. Revisions: NER & sentiment analysis experiments, previous work comparison, defense evaluation
Several years of research have shown that machine-learning systems are vulnerable to adversarial examples, both in theory and in practice. Until now, such attacks have primarily targeted visual models, exploiting the gap between human and machine perception. Although text-based models have also been attacked with adversarial examples, such attacks struggled to preserve semantic meaning and indistinguishability. In this paper, we explore a large class of adversarial examples that can be used to attack text-based models in a black-box setting without making any human-perceptible visual modification to inputs. We use encoding-specific perturbations that are imperceptible to the human eye to manipulate the outputs of a wide range of Natural Language Processing (NLP) systems from neural machine-translation pipelines to web search engines. We find that with a single imperceptible encoding injection -- representing one invisible character, homoglyph, reordering, or deletion -- an attacker can significantly reduce the performance of vulnerable models, and with three injections most models can be functionally broken. Our attacks work against currently-deployed commercial systems, including those produced by Microsoft and Google, in addition to open source models published by Facebook, IBM, and HuggingFace. This novel series of attacks presents a significant threat to many language processing systems: an attacker can affect systems in a targeted manner without any assumptions about the underlying model. We conclude that text-based NLP systems require careful input sanitization, just like conventional applications, and that given such systems are now being deployed rapidly at scale, the urgent attention of architects and operators is required.
在过去的几年里,ML社区已经创建了许多基于Transformer架构的新NLP模型。这些模型在基准数据集上的各种NLP任务中表现出出色的性能,通常超过SOTA结果。在这种成功的鼓舞下,人们经常发现行业从业者积极尝试微调这些模型,以构建用于行业用例的NLP应用程序。然而,对于从业者用于构建工业NLP应用程序的大多数数据集,很难保证数据中存在任何噪声。虽然大多数基于Transformer的NLP模型在将学习从一个数据集转移到另一个数据集方面表现得非常好,但仍不清楚这些模型在对噪声文本进行微调时的表现。我们解决了Kumar et al.(2020)提出的开放性问题,以探索流行的基于Transformer的NLP模型对文本数据中噪声的敏感性。我们继续处理他们定义的噪音-拼写错误和错别字(这是最常见的噪音)。我们表明(通过实验结果),这些模型在最常见的NLP任务,即文本分类,文本相似性,NER,问答,文本摘要基准数据集上表现不佳。我们进一步表明,随着数据中的噪声增加,性能下降。我们的研究结果表明,人们必须在微调流行的基于Transformer的NLP模型时,改变数据集中噪声的存在。
Towards a Robust Deep Neural Network in Texts: A Survey
Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education(空天信息安全与可信计算教育部重点实验室);School of Cyber Science and Engineering, Wuhan University(武汉大学网络空间安全学院)
BenLLMEval: A Comprehensive Evaluation into the Potentials and Pitfalls of Large Language Models on Bengali NLP
Islamic University of Technology(伊斯兰理工大学);York University(约克大学);University of Alberta(阿尔伯塔大学);Nanyang Technological University(南洋理工大学);Dialpad Inc.(Dialpad公司)
RTD-Guard: A Black-Box Textual Adversarial Detection Framework via Replacement Token Detection
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)