mlsanityData to 7 Oct 2026

Fooling the Textual Fooler via Randomizing Latent Representations

arXiv 2310.01452 ↗First posted 2 Oct 2023cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Despite outstanding performance in a variety of NLP tasks, recent studies have revealed that NLP models are vulnerable to adversarial attacks that slightly perturb the input to cause the models to misbehave. Among these attacks, adversarial word-level perturbations are well-studied and effective attack strategies. Since these attacks work in black-box settings, they do not require access to the model architecture or model parameters and thus can be detrimental to existing NLP applications. To perform an attack, the adversary queries the victim model many times to determine the most important words in an input text and to replace these words with their corresponding synonyms. In this work, we propose a lightweight and attack-agnostic defense whose main goal is to perplex the process of generating an adversarial example in these query-based black-box attacks; that is to fool the textual fooler. This defense, named AdvFooler, works by randomizing the latent representation of the input at inference time. Different from existing defenses, AdvFooler does not necessitate additional computational overhead during training nor relies on assumptions about the potential adversarial perturbation set while having a negligible impact on the model's accuracy. Our theoretical and empirical analyses highlight the significance of robustness resulting from confusing the adversary via randomizing the latent space, as well as the impact of randomization on clean accuracy. Finally, we empirically demonstrate near state-of-the-art robustness of AdvFooler against representative adversarial word-level attacks on two benchmark datasets.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 2 Oct 2023.

Builds on

41 of 53 references.

References · 41

  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. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  6. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  7. 2021Datasets: A Community Library for Natural Language Processingcited by 526
  8. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  9. 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 462
  10. 2018Generating Natural Language Adversarial Examplescited by 422
  11. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  12. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
29 more
  1. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  2. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  3. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  4. 2019Improving Adversarial Robustness via Promoting Ensemble Diversitycited by 213
  5. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  6. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
  7. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  8. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  9. 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 99
  10. 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 93
  11. 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
  12. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  13. 2020Robustness Verification for Transformerscited by 76
  14. 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 72
  15. 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
  16. 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
  17. 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 55
  18. 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
  19. 2020Better Robustness by More Coverage: Adversarial Training with Mixup Augmentation for Robust Fine-tuningcited by 39
  20. 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
  21. 2021Multi-granularity Textual Adversarial Attack with Behavior Cloningcited by 21
  22. 2022Textual Manifold-based Defense Against Natural Language Adversarial Examplescited by 19
  23. 2022Improving the Adversarial Robustness of NLP Models by Information Bottleneckcited by 17
  24. 2020On the Transferability of Adversarial Attacksagainst Neural Text Classifiercited by 16
  25. 2022Text Adversarial Purification as Defense against Adversarial Attackscited by 15
  26. 2023Randomized Smoothing with Masked Inference for Adversarially Robust Text Classificationscited by 11
  27. 2020Automatic Perturbation Analysis for Scalable Certified Robustness and Beyondcited by 10
  28. 2020TAVAT: Token-Aware Virtual Adversarial Training for Language Understandingcited by 8
  29. 2023DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimizationcited by 7

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.