Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
Moscow Institute of Thermal Technology · University of Hong Kong · +1 more institution
Abstract
Machine learning algorithms are often vulnerable to adversarial examples that have imperceptible alterations from the original counterparts but can fool the state-of-the-art models. It is helpful to evaluate or even improve the robustness of these models by exposing the maliciously crafted adversarial examples. In this paper, we present TextFooler, a simple but strong baseline to generate adversarial text. By applying it to two fundamental natural language tasks, text classification and textual entailment, we successfully attacked three target models, including the powerful pre-trained BERT, and the widely used convolutional and recurrent neural networks. We demonstrate three advantages of this framework: (1)…
Citation impact
- FWCI
- 62.04
- Percentile
- 100%
- References
- 33
Authors
4Topics & keywords
- Adversarial system
- Computer science
- Grammaticality
- Artificial intelligence
- Robustness (evolution)
- Baseline (sea)
- Natural language processing
- Textual entailment
- Quality Education