Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Text

Manjinder Singh, Alexander E. I. Brownlee, Mohamed Elawady
6/25/2026
cs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Deep learning models have achieved impressive performance across various fields but remain vulnerable to adversarial inputs, particularly in NLP, where such attacks can have significant real-world consequences. Adversarial attacks often involve small, semantically similar token replacements to fool NLP models, and recent methods have become more precise by targeting specific vulnerable words, often by exploiting some level of access to the model's internal structure. This paper proposes GAversary, a hybrid Genetic Algorithm (GA) to generate adversarial attacks on natural language models. The GA is able to treat the target model as a black box, requiring only the logit value output by the model to guide the search. GAversary differs from GAs previously proposed for this problem by using GloVe embeddings to propose word replacements (the mutation operator) to improve the semantic similarity of the adversarial examples. GAversary is applied to several benchmark data sets and well-known target models. GAversary is able to substantially reduce the target model's accuracy on test data compared to the BAE and A2T attacks compared against (in the best case, reducing a 76.8% accuracy to 5.8%, compared to BAE's 27.6%). The trade-off is that GAversary perturbs just under twice as many words as the other two methods, with a slightly lower semantic similarity to the original text and around a 5% increase in run-time.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{singh2026vulnerability,
  title  = {Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Text},
  author = {Manjinder Singh and Alexander E. I. Brownlee and Mohamed Elawady},
  year   = {2026},
  eprint = {2606.27215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.27215v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.27215.svg)](https://codeofpaper.com/paper/2606.27215)

Discussion