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