Generating Natural Adversarial Sentences via Gradient PerturbationNatural Adversarial Sentence Generation with Gradient-based Perturbation
AI summary
The researchers propose an algorithm that generates natural language adversarial examples using gradient perturbations, for testing the robustness of text classification models. The method applies gradient perturbations to the sentence embeddings used by the classifier and trains a decoder to generate adversarial sentences; it successfully induces incorrect predictions on sentiment analysis models and can also carry out black-box attacks on models with unknown parameters. On a certain public sentiment analysis API, the method causes an average accuracy relative decrease of 20% and an absolute error relative increase of 74%.