The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examples
Not on the map. Why?
Abstract (arXiv)
Recent studies have revealed the vulnerability of pre-trained language models to adversarial attacks. Existing adversarial defense techniques attempt to reconstruct adversarial examples within feature or text spaces. However, these methods struggle to effectively repair the semantics in adversarial examples, resulting in unsatisfactory performance and limiting their practical utility. To repair the semantics in adversarial examples, we introduce a novel approach named Reactive Perturbation Defocusing (Rapid). Rapid employs an adversarial detector to identify fake labels of adversarial examples and leverage adversarial attackers to repair the semantics in adversarial examples. Our extensive experimental results conducted on four public datasets, convincingly demonstrate the effectiveness of Rapid in various adversarial attack scenarios. To address the problem of defense performance validation in previous works, we provide a demonstration of adversarial detection and repair based on our work, which can be easily evaluated at https://tinyurl.com/22ercuf8.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 38 of its 62 references that are in the map. First posted on arXiv 6 May 2023.
Builds on
38 of 62 references.
References · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 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
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
26 more
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2021Improving Robustness using Generated Datacited by 233
- 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 207
- 2017Generating Natural Adversarial Examplescited by 182
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2018Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defensescited by 109
- 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
- 2020OpenAttack: An Open-source Textual Adversarial Attack Toolkitcited by 84
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
- 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
- 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
- 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
- 2021How Should Pre-Trained Language Models Be Fine-Tuned Towards Adversarial Robustness?cited by 49
- 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
- 2019Natural Language Adversarial Defense through Synonym Encodingcited by 39
- 2018Greedy Attack and Gumbel Attack: Generating Adversarial Examples for Discrete Datacited by 37
- 2023Exploring and Exploiting Decision Boundary Dynamics for Adversarial Robustnesscited by 35
- 2021Defending Pre-trained Language Models from Adversarial Word Substitutions Without Performance Sacrificecited by 30
- 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
- 2020Mind Your Inflections! Improving NLP for Non-Standard Englishes with Base-Inflection Encodingcited by 22
- 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attackscited by 17
- 2021Detecting Textual Adversarial Examples through Randomized Substitution and Votecited by 8
- 2023TextShield: Beyond Successfully Detecting Adversarial Sentences in Text Classificationcited by 8
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.