mlsanityData to 7 Oct 2026

Multi-granularity Textual Adversarial Attack with Behavior Cloning

arXiv 2109.04367 ↗First posted 9 Sep 2021cs.CL cs.CR cs.LGcited by 21

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  7. 2013Intriguing properties of neural networkscited by 5,114
  8. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2016Adversarial examples in the physical worldcited by 1,762
  12. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
26 more
  1. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  2. 2016Multi-View 3D Object Detection Network for Autonomous Drivingcited by 721
  3. 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 719
  4. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  5. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  6. 2018Behavioral Cloning from Observationcited by 482
  7. 2018Generating Natural Language Adversarial Examplescited by 422
  8. 2017Mitigating Adversarial Effects Through Randomizationcited by 382
  9. 2018AllenNLP: A Deep Semantic Natural Language Processing Platformcited by 347
  10. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  11. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
  12. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  13. 2016A study of the effect of JPG compression on adversarial imagescited by 196
  14. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
  15. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
  16. 2017Deep Text Classification Can be Fooledcited by 105
  17. 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 99
  18. 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
  19. 2020OpenAttack: An Open-source Textual Adversarial Attack Toolkitcited by 84
  20. 2015DeepID3: Face Recognition with Very Deep Neural Networkscited by 62
  21. 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
  22. 2020Fast and Accurate Neural CRF Constituency Parsingcited by 50
  23. 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
  24. 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 43
  25. 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
  26. 2020TextAttack: Lessons learned in designing Python frameworks for NLPcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 6; 2023: 7; 2024: 3; 2025: 1; 2026: 2.

21 papers.

Sort:

  1. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  2. 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
  3. 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 56
  4. 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 27
  5. 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
  6. 2022A Word is Worth A Thousand Dollars: Adversarial Attack on Tweets Fools Stock Predictionscited by 15
  7. 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attackcited by 15
  8. 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
  9. 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 12
  10. 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
  11. 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attackscited by 5
  12. 2023Robustness Tests for Automatic Machine Translation Metrics with Adversarial Attackscited by 5
9 more
  1. 2024Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Modelscited by 4
  2. 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?cited by 4
  3. 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
  4. 2025NLP Security and Ethics, in the Wildcited by 2
  5. 2022Text Editing as Imitation Gamecited by 1
  6. 2023Fooling the Textual Fooler via Randomizing Latent Representationscited by 1
  7. 2024Exploiting Class Probabilities for Black-box Sentence-level Attackscited by 1
  8. 2023SenTest: Evaluating Robustness of Sentence Encoderscited by 0
  9. 2026Evaluation of Adversarial Robustness in Arabic Language Modelscited by 0