[Paper Review] A View on Vulnerabilites: The Security Challenges of XAI (Academic Track)
This paper proposes a black-box, population-based genetic algorithm to generate semantically and syntactically similar adversarial examples in natural language, achieving 97% success on sentiment analysis and 70% on textual entailment. The method preserves human interpretability, with 92.3% of adversarial examples classified identically by humans, and demonstrates that adversarial training fails to improve robustness, highlighting the strength and diversity of the attacks.
Deep neural networks (DNNs) are vulnerable to adversarial examples, perturbations to correctly classified examples which can cause the model to misclassify. In the image domain, these perturbations are often virtually indistinguishable to human perception, causing humans and state-of-the-art models to disagree. However, in the natural language domain, small perturbations are clearly perceptible, and the replacement of a single word can drastically alter the semantics of the document. Given these challenges, we use a black-box population-based optimization algorithm to generate semantically and syntactically similar adversarial examples that fool well-trained sentiment analysis and textual entailment models with success rates of 97% and 70%, respectively. We additionally demonstrate that 92.3% of the successful sentiment analysis adversarial examples are classified to their original label by 20 human annotators, and that the examples are perceptibly quite similar. Finally, we discuss an attempt to use adversarial training as a defense, but fail to yield improvement, demonstrating the strength and diversity of our adversarial examples. We hope our findings encourage researchers to pursue improving the robustness of DNNs in the natural language domain.
Motivation & Objective
- To address the challenge of generating adversarial examples in natural language where perturbations are perceptible and discrete, unlike in images.
- To develop a black-box attack method that does not rely on gradients, enabling use against opaque models.
- To ensure adversarial examples remain semantically and syntactically coherent to preserve human interpretability.
- To evaluate the robustness of models against such attacks, particularly testing adversarial training as a defense.
- To demonstrate that even with human-level similarity, state-of-the-art models can be reliably fooled.
Proposed method
- Uses a genetic algorithm for black-box, gradient-free optimization to generate adversarial examples.
- Employs a Perturb subroutine that selects word replacements based on GloVe embeddings and counter-fitting to ensure synonymy.
- Imposes constraints on semantic and syntactic similarity using embedding proximity and context-aware filtering.
- Applies crossover and mutation operations to evolve a population of candidate adversarial sentences toward higher attack success.
- Fixes maximum word modification limits (20% for IMDB, 25% for SNLI) to control perturbation size.
- Validates attack success using model predictions and human evaluation on sentiment and similarity.
Experimental results
Research questions
- RQ1Can effective adversarial examples be generated in the natural language domain despite the discrete and perceptible nature of word-level perturbations?
- RQ2Can a gradient-free, population-based optimization method effectively generate adversarial examples under a black-box threat model?
- RQ3How similar are the generated adversarial examples to the original in terms of human perception and semantic coherence?
- RQ4Does adversarial training improve robustness against such attacks in NLP models?
- RQ5To what extent do human annotators perceive the adversarial examples as equivalent to the original in sentiment and meaning?
Key findings
- The attack achieved a 97% success rate on the IMDB sentiment analysis task, successfully flipping predictions with minimal word changes.
- On the SNLI textual entailment task, the attack succeeded in 70% of cases, demonstrating effectiveness even on short hypothesis sentences.
- 92.3% of adversarial examples were classified with the same sentiment by 20 human annotators, confirming perceptual similarity.
- The average similarity rating between original and adversarial pairs was 2.23 out of 4, indicating only minor perceptual differences.
- Adversarial training failed to improve robustness, as the model remained vulnerable to the same attack on the test set despite being trained on adversarial examples.
- The genetic algorithm significantly outperformed a greedy baseline in both success rate and word modification efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.