paper-with-me

홈 › Papers

Generating Natural Language Adversarial Examples

2018-04-21 · EMNLP 2018 10 · Moustafa Alzantot, Yash Sharma, Ahmed Elgohary, Bo-Jhang Ho, Mani Srivastava, Kai-Wei Chang

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.

📄 PDF Abstract BibTeX arXiv:1804.07998

Code (5)

nesl/nlp_adversarial_examples 공식 구현 tf
QData/TextAttack/blob/master/textattack/attack_recipes/genetic_algorithm_alzantot_2018.py
alankarj/robust_nlp
clips/gsoc2019_bias tf
makcedward/nlpaug tf

Tasks

DiversityNatural Language InferenceSentiment Analysis

Similar Papers 제목 키워드 기반

A Geometry-Inspired Attack for Generating Natural Language Adversarial Examples

2020-10-03 · COLING 2020 8 · Zhao Meng, Roger Wattenhofer

Generating adversarial examples for natural language is hard, as natural language consists of discrete symbols, and examples are often of variable lengths. In this paper, we propose a geometry-inspired attack for generat…

Generating Valid and Natural Adversarial Examples with Large Language Models

2023-11-20 · Zimu Wang, Wei Wang, Qi Chen, Qiufeng Wang 외

Deep learning-based natural language processing (NLP) models, particularly pre-trained language models (PLMs), have been revealed to be vulnerable to adversarial attacks. However, the adversarial examples generated by ma…

Adversarial Attackvalid

Generating Black-Box Adversarial Examples for Text Classifiers Using a Deep Reinforced Model

2019-09-17 · Prashanth Vijayaraghavan, Deb Roy

Recently, generating adversarial examples has become an important means of measuring robustness of a deep learning model. Adversarial examples help us identify the susceptibilities of the model and further counter those …

reinforcement-learningReinforcement LearningReinforcement Learning (RL)Sentiment Analysis+1

Generating Watermarked Adversarial Texts

2021-10-25 · Mingjie Li, Hanzhou Wu, Xinpeng Zhang

Adversarial example generation has been a hot spot in recent years because it can cause deep neural networks (DNNs) to misclassify the generated adversarial examples, which reveals the vulnerability of DNNs, motivating u…

Adversarial AttackAdversarial TextText Generation

BAE: BERT-based Adversarial Examples for Text Classification

2020-04-04 · EMNLP 2020 11 · Siddhant Garg, Goutham Ramakrishnan

Modern text classification models are susceptible to adversarial examples, perturbed versions of the original text indiscernible by humans which get misclassified by the model. Recent works in NLP use rule-based synonym …

Adversarial AttackAdversarial TextClassificationGeneral Classification+3