Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classification
Not on the map. Why?
Abstract (arXiv)
Adversarial attacks against machine learning models have threatened various real-world applications such as spam filtering and sentiment analysis. In this paper, we propose a novel framework, learning to DIScriminate Perturbations (DISP), to identify and adjust malicious perturbations, thereby blocking adversarial attacks for text classification models. To identify adversarial attacks, a perturbation discriminator validates how likely a token in the text is perturbed and provides a set of potential perturbations. For each potential perturbation, an embedding estimator learns to restore the embedding of the original word based on the context and a replacement token is chosen based on approximate kNN search. DISP can block adversarial attacks for any NLP model without modifying the model structure or training procedure. Extensive experiments on two benchmark datasets demonstrate that DISP significantly outperforms baseline methods in blocking adversarial attacks for text classification. In addition, in-depth analysis shows the robustness of DISP across different situations.
Key facts. Cited by 55 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 13; 2022: 21; 2023: 13; 2024: 4; 2025: 1; 2026: 3.
55 papers.
Sort:
By area:
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 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
- 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
- 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attackscited by 17
- 2021Simplified DOM Trees for Transferable Attribute Extraction from the Webcited by 16
- 2022On Robust Prefix-Tuning for Text Classificationcited by 15
- 2022A Prompting-based Approach for Adversarial Example Generation and Robustness Enhancementcited by 12
38 more
- 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretationcited by 12
- 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
- 2024A Modified Word Saliency-Based Adversarial Attack on Text Classification Modelscited by 9
- 2021Detecting Textual Adversarial Examples through Randomized Substitution and Votecited by 8
- 2022Residue-Based Natural Language Adversarial Attack Detectioncited by 8
- 2023Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by Rewriting Textcited by 8
- 2024DENOISER: Rethinking the Robustness for Open-Vocabulary Action Recognitioncited by 8
- 2022Data-Driven Mitigation of Adversarial Text Perturbationcited by 5
- 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
- 2021Enhancing Model Robustness By Incorporating Adversarial Knowledge Into Semantic Representationcited by 4
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directionscited by 4
- 2022Identifying Adversarial Attacks on Text Classifierscited by 4
- 2022Disentangled Text Representation Learning with Information-Theoretic Perspective for Adversarial Robustnesscited by 4
- 2023Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purificationcited 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
- 2022Distinguishing Non-natural from Natural Adversarial Samples for More Robust Pre-trained Language Modelcited by 3
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3
- 2021Adversarial Machine Learning in Text Analysis and Generationcited by 2
- 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
- 2022Understanding, Detecting, and Separating Out-of-Distribution Samples and Adversarial Samples in Text Classificationcited by 1
- 2022Probabilistic Inverse Modeling: An Application in Hydrologycited by 1
- 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
- 2021Adversarially Robust and Explainable Model Compression with On-Device Personalization for Text Classificationcited by 0
- 2021SEPP: Similarity Estimation of Predicted Probabilities for Defending and Detecting Adversarial Textcited by 0
- 2023VoteTRANS: Detecting Adversarial Text without Training by Voting on Hard Labels of Transformationscited by 0
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classificationcited by 0
50 most cited of 55 All 55 (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
- 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attacks8 Apr 2025
- 2024One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Models8 Jun 2024
- 2024DENOISER: Rethinking the Robustness for Open-Vocabulary Action Recognition23 Apr 2024
- 2024A Modified Word Saliency-Based Adversarial Attack on Text Classification Models17 Mar 2024
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Model7 Jan 2024
- 2023Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purification13 Dec 2023
- 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
- 2023What Learned Representations and Influence Functions Can Tell Us About Adversarial Examples19 Sep 2023
38 more
- 2023Machine Translation Models Stand Strong in the Face of Adversarial Attacks10 Sep 2023
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classification4 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
- 2023Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by Rewriting Text25 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
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descend6 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
- 2022Probabilistic Inverse Modeling: An Application in Hydrology12 Oct 2022
- 2022Rethinking Textual Adversarial Defense for Pre-trained Language Models21 Jul 2022
- 2022Phrase-level Textual Adversarial Attack with Label Preservation22 May 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
- 2022Understanding, Detecting, and Separating Out-of-Distribution Samples and Adversarial Samples in Text Classification9 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
- 2022Distinguishing Non-natural from Natural Adversarial Samples for More Robust Pre-trained Language Model19 Mar 2022
- 2022On Robust Prefix-Tuning for Text Classification19 Mar 2022
- 2022A Survey of Adversarial Defences and Robustness in NLP12 Mar 2022
- 2022Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimation3 Mar 2022
- 2022Data-Driven Mitigation of Adversarial Text Perturbation19 Feb 2022
- 2022Identifying Adversarial Attacks on Text Classifiers21 Jan 2022
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directions26 Oct 2021
- 2021SEPP: Similarity Estimation of Predicted Probabilities for Defending and Detecting Adversarial Text12 Oct 2021
- 2021TREATED:Towards Universal Defense against Textual Adversarial Attacks13 Sep 2021
- 2021Detecting Textual Adversarial Examples through Randomized Substitution and Vote13 Sep 2021
- 2021Contrasting Human- and Machine-Generated Word-Level Adversarial Examples for Text Classification9 Sep 2021
- 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attacks2 Jun 2021
- 2021Defending Pre-trained Language Models from Adversarial Word Substitutions Without Performance Sacrifice30 May 2021
- 2021Adversarial Examples Detection with Bayesian Neural Network18 May 2021
50 newest of 55 All 55 (JSON)
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2022Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimationcited 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
- 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attackscited by 17
- 2021Simplified DOM Trees for Transferable Attribute Extraction from the Webcited by 16
- 2022On Robust Prefix-Tuning for Text Classificationcited by 15
- 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
12 most cited of 51 All 51 (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
- 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attacks8 Apr 2025
- 2024A Modified Word Saliency-Based Adversarial Attack on Text Classification Models17 Mar 2024
- 2023Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purification13 Dec 2023
- 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
- 2023What Learned Representations and Influence Functions Can Tell Us About Adversarial Examples19 Sep 2023
- 2023Machine Translation Models Stand Strong in the Face of Adversarial Attacks10 Sep 2023
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classification4 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
12 newest of 51 All 51 (JSON)