mlsanityData to 7 Oct 2026

Text Adversarial Purification as Defense against Adversarial Attacks

arXiv 2203.14207 ↗First posted 27 Mar 2022cs.CLcited by 15

Not on the map. Why?

Abstract (arXiv)

Adversarial purification is a successful defense mechanism against adversarial attacks without requiring knowledge of the form of the incoming attack. Generally, adversarial purification aims to remove the adversarial perturbations therefore can make correct predictions based on the recovered clean samples. Despite the success of adversarial purification in the computer vision field that incorporates generative models such as energy-based models and diffusion models, using purification as a defense strategy against textual adversarial attacks is rarely explored. In this work, we introduce a novel adversarial purification method that focuses on defending against textual adversarial attacks. With the help of language models, we can inject noise by masking input texts and reconstructing the masked texts based on the masked language models. In this way, we construct an adversarial purification process for textual models against the most widely used word-substitution adversarial attacks. We test our proposed adversarial purification method on several strong adversarial attack methods including Textfooler and BERT-Attack and experimental results indicate that the purification algorithm can successfully defend against strong word-substitution attacks.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 25 of its 39 references that are in the map. First posted on arXiv 27 Mar 2022.

Builds on

25 of 39 references.

References · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  7. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  8. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  9. 2018Universal Sentence Encodercited by 485
  10. 2018Generating Natural Language Adversarial Examplescited by 422
  11. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  12. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
13 more
  1. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  2. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  3. 2021Adversarial purification with Score-based generative modelscited by 132
  4. 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
  5. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  6. 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
  7. 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
  8. 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
  9. 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 55
  10. 2021Online Adversarial Purification based on Self-Supervisioncited by 45
  11. 2020Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemblecited by 26
  12. 2020Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examplescited by 23
  13. 2020TAVAT: Token-Aware Virtual Adversarial Training for Language Understandingcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 6; 2025: 5; 2026: 2.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2023Language Guided Adversarial Purification
  2. 2022Diffusion Models for Adversarial Purification
  3. 2025Defending Against Frequency-Based Attacks with Diffusion Models
  4. 2025Gradient-Free Adversarial Purification with Diffusion Models
  5. 2024Instant Adversarial Purification with Adversarial Consistency Distillation
  6. 2024Classifier Guidance Enhances Diffusion-based Adversarial Purification by Preserving Predictive Information
  7. 2023DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification
  8. 2026AMRM-Pure: Semantic-Preserving Adversarial Purification ↗