Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examples
Not on the map. Why?
Abstract (arXiv)
Recent efforts have shown that neural text processing models are vulnerable to adversarial examples, but the nature of these examples is poorly understood. In this work, we show that adversarial attacks against CNN, LSTM and Transformer-based classification models perform word substitutions that are identifiable through frequency differences between replaced words and their corresponding substitutions. Based on these findings, we propose frequency-guided word substitutions (FGWS), a simple algorithm exploiting the frequency properties of adversarial word substitutions for the detection of adversarial examples. FGWS achieves strong performance by accurately detecting adversarial examples on the SST-2 and IMDb sentiment datasets, with F1 detection scores of up to 91.4% against RoBERTa-based classification models. We compare our approach against a recently proposed perturbation discrimination framework and show that we outperform it by up to 13.0% F1.
Key facts. Cited by 54 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 16; 2023: 16; 2024: 6; 2025: 6; 2026: 4.
54 papers.
Sort:
By area:
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
- 2024One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Modelscited by 39
- 2022Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimationcited by 32
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2021Defending Pre-trained Language Models from Adversarial Word Substitutions Without Performance Sacrificecited by 30
- 2023The Trickle-down Impact of Reward (In-)consistency on RLHFcited by 29
- 2022"That Is a Suspicious Reaction!": Interpreting Logits Variation to Detect NLP Adversarial Attackscited by 24
- 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
- 2022A Prompting-based Approach for Adversarial Example Generation and Robustness Enhancementcited by 12
- 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretationcited by 12
- 2025Defending Against Knowledge Poisoning Attacks During Retrieval-Augmented Generationcited by 11
38 more
- 2022Textwash -- automated open-source text anonymisationcited by 10
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
- 2023TextDefense: Adversarial Text Detection based on Word Importance Entropycited by 9
- 2021Detecting Textual Adversarial Examples through Randomized Substitution and Votecited by 8
- 2022Residue-Based Natural Language Adversarial Attack Detectioncited by 8
- 2023TextShield: Beyond Successfully Detecting Adversarial Sentences in Text Classificationcited by 8
- 2024Fast Adversarial Training against Textual Adversarial Attackscited by 7
- 2022Rethinking Textual Adversarial Defense for Pre-trained Language Modelscited by 5
- 2023Masked Language Model Based Textual Adversarial Example Detectioncited by 5
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Modelcited by 5
- 2022Identifying Adversarial Attacks on Text Classifierscited by 4
- 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustnesscited by 4
- 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attackscited by 4
- 2021Contrasting Human- and Machine-Generated Word-Level Adversarial Examples for Text Classificationcited by 3
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
- 2023Toward Stronger Textual Attack Detectorscited by 3
- 2021Adversarial Examples Detection with Bayesian Neural Networkcited by 2
- 2021TREATED:Towards Universal Defense against Textual Adversarial Attackscited by 2
- 2022Input-specific Attention Subnetworks for Adversarial Detectioncited by 2
- 2022Detecting Textual Adversarial Examples Based on Distributional Characteristics of Data Representationscited by 2
- 2022Identifying Human Strategies for Generating Word-Level Adversarial Examplescited by 2
- 2022TCAB: A Large-Scale Text Classification Attack Benchmarkcited by 2
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimationcited by 2
- 2023On the Universal Adversarial Perturbations for Efficient Data-free Adversarial Detectioncited by 2
- 2024RoCoIns: Enhancing Robustness of Large Language Models through Code-Style Instructionscited by 2
- 2025Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importancecited by 2
- 2023Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classificationcited by 1
- 2023DA3: A Distribution-Aware Adversarial Attack against Language Modelscited by 1
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attackscited by 1
- 2022Towards Explainability in NLP: Analyzing and Calculating Word Saliency through Word Propertiescited by 0
- 2023VoteTRANS: Detecting Adversarial Text without Training by Voting on Hard Labels of Transformationscited by 0
- 2023What Learned Representations and Influence Functions Can Tell Us About Adversarial Examplescited by 0
- 2024Reversible Jump Attack to Textual Classifiers with Modification Reductioncited by 0
- 2025Effective faking of verbal deception detection with target-aligned adversarial attackscited by 0
- 2025RedHerring Attack: Testing the Reliability of Attack Detectioncited by 0
- 2025Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approachcited by 0
50 most cited of 54 All 54 (JSON)
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoning28 Sep 2026
- 2026Evaluation of Adversarial Robustness in Arabic Language Models28 Jul 2026
- 2026RTD-Guard: A Black-Box Textual Adversarial Detection Framework via Replacement Token Detection13 Mar 2026
- 2026Rectifying Adversarial Examples Using Their Vulnerabilities1 Jan 2026
- 2025Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approach19 Dec 2025
- 2025RedHerring Attack: Testing the Reliability of Attack Detection25 Sep 2025
- 2025Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importance6 Aug 2025
- 2025Defending Against Knowledge Poisoning Attacks During Retrieval-Augmented Generation4 Aug 2025
- 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attacks8 Apr 2025
- 2025Effective faking of verbal deception detection with target-aligned adversarial attacks10 Jan 2025
- 2024One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Models8 Jun 2024
- 2024Reversible Jump Attack to Textual Classifiers with Modification Reduction21 Mar 2024
38 more
- 2024RoCoIns: Enhancing Robustness of Large Language Models through Code-Style Instructions26 Feb 2024
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks16 Feb 2024
- 2024Fast Adversarial Training against Textual Adversarial Attacks23 Jan 2024
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Model7 Jan 2024
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attention29 Nov 2023
- 2023DA3: A Distribution-Aware Adversarial Attack against Language Models14 Nov 2023
- 2023Toward Stronger Textual Attack Detectors21 Oct 2023
- 2023The Trickle-down Impact of Reward (In-)consistency on RLHF28 Sep 2023
- 2023What Learned Representations and Influence Functions Can Tell Us About Adversarial Examples19 Sep 2023
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilities24 Aug 2023
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attacks31 Jul 2023
- 2023Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classification3 Jul 2023
- 2023On the Universal Adversarial Perturbations for Efficient Data-free Adversarial Detection27 Jun 2023
- 2023VoteTRANS: Detecting Adversarial Text without Training by Voting on Hard Labels of Transformations2 Jun 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examples6 May 2023
- 2023Masked Language Model Based Textual Adversarial Example Detection18 Apr 2023
- 2023TextDefense: Adversarial Text Detection based on Word Importance Entropy12 Feb 2023
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descend6 Feb 2023
- 2023TextShield: Beyond Successfully Detecting Adversarial Sentences in Text Classification3 Feb 2023
- 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustness26 Oct 2022
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimation22 Oct 2022
- 2022TCAB: A Large-Scale Text Classification Attack Benchmark21 Oct 2022
- 2022Identifying Human Strategies for Generating Word-Level Adversarial Examples20 Oct 2022
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLP19 Oct 2022
- 2022Textwash -- automated open-source text anonymisation27 Aug 2022
- 2022Rethinking Textual Adversarial Defense for Pre-trained Language Models21 Jul 2022
- 2022Towards Explainability in NLP: Analyzing and Calculating Word Saliency through Word Properties17 Jul 2022
- 2022Detecting Textual Adversarial Examples Based on Distributional Characteristics of Data Representations29 Apr 2022
- 2022Residue-Based Natural Language Adversarial Attack Detection17 Apr 2022
- 2022"That Is a Suspicious Reaction!": Interpreting Logits Variation to Detect NLP Adversarial Attacks10 Apr 2022
- 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretation23 Mar 2022
- 2022Input-specific Attention Subnetworks for Adversarial Detection23 Mar 2022
- 2022A Prompting-based Approach for Adversarial Example Generation and Robustness Enhancement21 Mar 2022
- 2022Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimation3 Mar 2022
- 2022Identifying Adversarial Attacks on Text Classifiers21 Jan 2022
- 2021TREATED:Towards Universal Defense against Textual Adversarial Attacks13 Sep 2021
- 2021Detecting Textual Adversarial Examples through Randomized Substitution and Vote13 Sep 2021
50 newest of 54 All 54 (JSON)
- 2023The Trickle-down Impact of Reward (In-)consistency on RLHFcited by 29
- 2023The Trickle-down Impact of Reward (In-)consistency on RLHF28 Sep 2023
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
- 2022Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimationcited by 32
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2021Defending Pre-trained Language Models from Adversarial Word Substitutions Without Performance Sacrificecited by 30
- 2022"That Is a Suspicious Reaction!": Interpreting Logits Variation to Detect NLP Adversarial Attackscited by 24
- 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
- 2022A Prompting-based Approach for Adversarial Example Generation and Robustness Enhancementcited by 12
- 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretationcited by 12
- 2022Textwash -- automated open-source text anonymisationcited by 10
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
12 most cited of 48 All 48 (JSON)
- 2026Evaluation of Adversarial Robustness in Arabic Language Models28 Jul 2026
- 2026RTD-Guard: A Black-Box Textual Adversarial Detection Framework via Replacement Token Detection13 Mar 2026
- 2026Rectifying Adversarial Examples Using Their Vulnerabilities1 Jan 2026
- 2025RedHerring Attack: Testing the Reliability of Attack Detection25 Sep 2025
- 2025Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importance6 Aug 2025
- 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attacks8 Apr 2025
- 2025Effective faking of verbal deception detection with target-aligned adversarial attacks10 Jan 2025
- 2024Reversible Jump Attack to Textual Classifiers with Modification Reduction21 Mar 2024
- 2024RoCoIns: Enhancing Robustness of Large Language Models through Code-Style Instructions26 Feb 2024
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks16 Feb 2024
- 2024Fast Adversarial Training against Textual Adversarial Attacks23 Jan 2024
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attention29 Nov 2023
12 newest of 48 All 48 (JSON)