Multi-granularity Textual Adversarial Attack with Behavior Cloning
Not on the map. Why?
Abstract (arXiv)
Recently, the textual adversarial attack models become increasingly popular due to their successful in estimating the robustness of NLP models. However, existing works have obvious deficiencies. (1) They usually consider only a single granularity of modification strategies (e.g. word-level or sentence-level), which is insufficient to explore the holistic textual space for generation; (2) They need to query victim models hundreds of times to make a successful attack, which is highly inefficient in practice. To address such problems, in this paper we propose MAYA, a Multi-grAnularitY Attack model to effectively generate high-quality adversarial samples with fewer queries to victim models. Furthermore, we propose a reinforcement-learning based method to train a multi-granularity attack agent through behavior cloning with the expert knowledge from our MAYA algorithm to further reduce the query times. Additionally, we also adapt the agent to attack black-box models that only output labels without confidence scores. We conduct comprehensive experiments to evaluate our attack models by attacking BiLSTM, BERT and RoBERTa in two different black-box attack settings and three benchmark datasets. Experimental results show that our models achieve overall better attacking performance and produce more fluent and grammatical adversarial samples compared to baseline models. Besides, our adversarial attack agent significantly reduces the query times in both attack settings. Our codes are released at https://github.com/Yangyi-Chen/MAYA.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 38 of its 52 references that are in the map. First posted on arXiv 9 Sep 2021.
Builds on
38 of 52 references.
References · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2016Adversarial examples in the physical worldcited by 1,762
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
26 more
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2016Multi-View 3D Object Detection Network for Autonomous Drivingcited by 721
- 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 719
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Behavioral Cloning from Observationcited by 482
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2017Mitigating Adversarial Effects Through Randomizationcited by 382
- 2018AllenNLP: A Deep Semantic Natural Language Processing Platformcited by 347
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
- 2016A study of the effect of JPG compression on adversarial imagescited by 196
- 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
- 2017Deep Text Classification Can be Fooledcited by 105
- 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 99
- 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
- 2020OpenAttack: An Open-source Textual Adversarial Attack Toolkitcited by 84
- 2015DeepID3: Face Recognition with Very Deep Neural Networkscited by 62
- 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
- 2020Fast and Accurate Neural CRF Constituency Parsingcited by 50
- 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
- 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 43
- 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
- 2020TextAttack: Lessons learned in designing Python frameworks for NLPcited by 3
Built on by
Citing papers per year: 2021: 2; 2022: 6; 2023: 7; 2024: 3; 2025: 1; 2026: 2.
21 papers.
Sort:
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 56
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 27
- 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
- 2022A Word is Worth A Thousand Dollars: Adversarial Attack on Tweets Fools Stock Predictionscited by 15
- 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attackcited by 15
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 12
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attackscited by 5
- 2023Robustness Tests for Automatic Machine Translation Metrics with Adversarial Attackscited by 5
9 more
- 2024Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Modelscited by 4
- 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?cited by 4
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
- 2025NLP Security and Ethics, in the Wildcited by 2
- 2022Text Editing as Imitation Gamecited by 1
- 2023Fooling the Textual Fooler via Randomizing Latent Representationscited by 1
- 2024Exploiting Class Probabilities for Black-box Sentence-level Attackscited by 1
- 2023SenTest: Evaluating Robustness of Sentence Encoderscited by 0
- 2026Evaluation of Adversarial Robustness in Arabic Language Modelscited by 0
- 2026Evaluation of Adversarial Robustness in Arabic Language Models28 Jul 2026
- 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?27 Mar 2026
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2024Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Models23 May 2024
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Models2 Apr 2024
- 2024Exploiting Class Probabilities for Black-box Sentence-level Attacks5 Feb 2024
- 2023SenTest: Evaluating Robustness of Sentence Encoders29 Nov 2023
- 2023Robustness Tests for Automatic Machine Translation Metrics with Adversarial Attacks1 Nov 2023
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attacks25 Oct 2023
- 2023Fooling the Textual Fooler via Randomizing Latent Representations2 Oct 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generation5 May 2023
9 more
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descend6 Feb 2023
- 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attack27 Oct 2022
- 2022Text Editing as Imitation Game21 Oct 2022
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLP19 Oct 2022
- 2022Phrase-level Textual Adversarial Attack with Label Preservation22 May 2022
- 2022A Word is Worth A Thousand Dollars: Adversarial Attack on Tweets Fools Stock Predictions1 May 2022
- 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigm11 Apr 2022
- 2021Measure and Improve Robustness in NLP Models: A Survey15 Dec 2021
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Framework28 Oct 2021
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 56
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 27
- 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
- 2022A Word is Worth A Thousand Dollars: Adversarial Attack on Tweets Fools Stock Predictionscited by 15
- 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attackcited by 15
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 12
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attackscited by 5
- 2023Robustness Tests for Automatic Machine Translation Metrics with Adversarial Attackscited by 5
12 most cited of 21 All 21 (JSON)
- 2026Evaluation of Adversarial Robustness in Arabic Language Models28 Jul 2026
- 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?27 Mar 2026
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2024Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Models23 May 2024
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Models2 Apr 2024
- 2024Exploiting Class Probabilities for Black-box Sentence-level Attacks5 Feb 2024
- 2023SenTest: Evaluating Robustness of Sentence Encoders29 Nov 2023
- 2023Robustness Tests for Automatic Machine Translation Metrics with Adversarial Attacks1 Nov 2023
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attacks25 Oct 2023
- 2023Fooling the Textual Fooler via Randomizing Latent Representations2 Oct 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generation5 May 2023
12 newest of 21 All 21 (JSON)