Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Text

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy · Depth: Expert, quick

Summary

GAversary, a novel hybrid Genetic Algorithm, generates black-box adversarial attacks against natural language processing models by requiring only the model's logit output. This method distinguishes itself by employing GloVe embeddings for its mutation operator, enhancing the semantic similarity of generated adversarial examples. Applied across several benchmark datasets and well-known target models, GAversary significantly reduces model accuracy. In its best performance, it decreased a model's 76.8% accuracy to 5.8%, substantially outperforming BAE and A2T attacks, which reduced accuracy to 27.6%. While effective, GAversary perturbs nearly twice as many words as its counterparts, exhibits slightly lower semantic similarity to original texts, and incurs approximately a 5% increase in run-time.

Key takeaway

For NLP Engineers evaluating model robustness, GAversary demonstrates that even black-box attacks can severely degrade classifier performance, reducing accuracy from 76.8% to 5.8%. You should integrate advanced black-box adversarial testing, particularly methods using evolutionary algorithms and semantic embeddings, into your validation pipelines. This is critical for identifying and mitigating vulnerabilities before deploying NLP systems in sensitive applications.

Key insights

GAversary employs hybrid Genetic Algorithms and GloVe embeddings for effective black-box adversarial attacks on NLP classifiers.

Principles

Method

GAversary employs a hybrid Genetic Algorithm, using target model logit values to guide the search and GloVe embeddings for semantically similar word replacements during mutation.

In practice

Topics

Best for: Research Scientist, CTO, VP of Engineering/Data, AI Scientist, NLP Engineer, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.