mlsanityData to 7 Oct 2026

Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Framework

arXiv 2110.15317 ↗First posted 28 Oct 2021cs.CL cs.CR cs.LGcited by 27

Not on the map. Why?

Abstract (arXiv)

Despite recent success on various tasks, deep learning techniques still perform poorly on adversarial examples with small perturbations. While optimization-based methods for adversarial attacks are well-explored in the field of computer vision, it is impractical to directly apply them in natural language processing due to the discrete nature of the text. To address the problem, we propose a unified framework to extend the existing optimization-based adversarial attack methods in the vision domain to craft textual adversarial samples. In this framework, continuously optimized perturbations are added to the embedding layer and amplified in the forward propagation process. Then the final perturbed latent representations are decoded with a masked language model head to obtain potential adversarial samples. In this paper, we instantiate our framework with an attack algorithm named Textual Projected Gradient Descent (T-PGD). We find our algorithm effective even using proxy gradient information. Therefore, we perform the more challenging transfer black-box attack and conduct comprehensive experiments to evaluate our attack algorithm with several models on three benchmark datasets. Experimental results demonstrate that our method achieves overall better performance and produces more fluent and grammatical adversarial samples compared to strong baseline methods. The code and data are available at urlhttps://github.com/Phantivia/T-PGD.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 36 of its 58 references that are in the map. First posted on arXiv 28 Oct 2021.

Builds on

36 of 58 references.

References · 36

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  7. 2013Intriguing properties of neural networkscited by 5,114
  8. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  9. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  10. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  11. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  12. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
24 more
  1. 2016Adversarial examples in the physical worldcited by 1,762
  2. 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
  3. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  4. 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
  5. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  6. 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
  7. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  8. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  9. 2018Generating Natural Language Adversarial Examplescited by 422
  10. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  11. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  12. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  13. 2017Improving the Adversarial Robustness and Interpretability of Deep Neural Networks by Regularizing their Input Gradientscited by 236
  14. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  15. 2017State-of-the-art Speech Recognition With Sequence-to-Sequence Modelscited by 196
  16. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
  17. 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
  18. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  19. 2020OpenAttack: An Open-source Textual Adversarial Attack Toolkitcited by 84
  20. 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
  21. 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
  22. 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
  23. 2018Selective Refinement Network for High Performance Face Detectioncited by 21
  24. 2021Multi-granularity Textual Adversarial Attack with Behavior Cloningcited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 3; 2023: 8; 2024: 13; 2025: 1; 2026: 1.

27 papers.

Sort:

By area:

  1. 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
  2. 2023DRESS: Instructing Large Vision-Language Models to Align and Interact with Humans via Natural Language Feedbackcited by 99
  3. 2023Revisiting Out-of-distribution Robustness in NLP: Benchmark, Analysis, and LLMs Evaluationscited by 96
  4. 2024Safety of Multimodal Large Language Models on Images and Textscited by 70
  5. 2021Prompt Waywardness: The Curious Case of Discretized Interpretation of Continuous Promptscited by 64
  6. 2022A Close Look into the Calibration of Pre-trained Language Modelscited by 57
  7. 2023Measuring and Improving Chain-of-Thought Reasoning in Vision-Language Modelscited by 45
  8. 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responsescited by 15
  9. 2022Impact of Adversarial Training on Robustness and Generalizability of Language Modelscited by 9
  10. 2024Revealing Vulnerabilities in Stable Diffusion via Targeted Attackscited by 8
  11. 2024Fluent dreaming for language modelscited by 5
  12. 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translationcited by 4
15 more
  1. 2024Enhancing Cross-Prompt Transferability in Vision-Language Models through Contextual Injection of Target Tokenscited by 4
  2. 2024AMA-LSTM: Pioneering Robust and Fair Financial Audio Analysis for Stock Volatility Predictioncited by 4
  3. 2023Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attackscited by 3
  4. 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
  5. 2024CodeCipher: Learning to Obfuscate Source Code Against LLMscited by 3
  6. 2025IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Methodcited by 3
  7. 2023Group-based Robustness: A General Framework for Customized Robustness in the Real Worldcited by 1
  8. 2024Exploiting Class Probabilities for Black-box Sentence-level Attackscited by 1
  9. 2024Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarialscited by 1
  10. 2024DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoisingcited by 1
  11. 2023Making Pre-trained Language Models both Task-solvers and Self-calibratorscited by 0
  12. 2024A Generative Adversarial Attack for Multilingual Text Classifierscited by 0
  13. 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one wordcited by 0
  14. 2024SurvAttack: Black-Box Attack On Survival Models through Ontology-Informed EHR Perturbationcited by 0
  15. 2026Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Textcited by 0