English

TextBugger: Generating Adversarial Text Against Real-world Applications

Cryptography and Security 2018-12-14 v1 Computation and Language Machine Learning

Abstract

Deep Learning-based Text Understanding (DLTU) is the backbone technique behind various applications, including question answering, machine translation, and text classification. Despite its tremendous popularity, the security vulnerabilities of DLTU are still largely unknown, which is highly concerning given its increasing use in security-sensitive applications such as sentiment analysis and toxic content detection. In this paper, we show that DLTU is inherently vulnerable to adversarial text attacks, in which maliciously crafted texts trigger target DLTU systems and services to misbehave. Specifically, we present TextBugger, a general attack framework for generating adversarial texts. In contrast to prior works, TextBugger differs in significant ways: (i) effective -- it outperforms state-of-the-art attacks in terms of attack success rate; (ii) evasive -- it preserves the utility of benign text, with 94.9\% of the adversarial text correctly recognized by human readers; and (iii) efficient -- it generates adversarial text with computational complexity sub-linear to the text length. We empirically evaluate TextBugger on a set of real-world DLTU systems and services used for sentiment analysis and toxic content detection, demonstrating its effectiveness, evasiveness, and efficiency. For instance, TextBugger achieves 100\% success rate on the IMDB dataset based on Amazon AWS Comprehend within 4.61 seconds and preserves 97\% semantic similarity. We further discuss possible defense mechanisms to mitigate such attack and the adversary's potential countermeasures, which leads to promising directions for further research.

Keywords

Cite

@article{arxiv.1812.05271,
  title  = {TextBugger: Generating Adversarial Text Against Real-world Applications},
  author = {Jinfeng Li and Shouling Ji and Tianyu Du and Bo Li and Ting Wang},
  journal= {arXiv preprint arXiv:1812.05271},
  year   = {2018}
}

Comments

To appear in NDSS 2019

R2 v1 2026-06-23T06:41:02.538Z