Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimation
Not on the map. Why?
Abstract (arXiv)
Word-level adversarial attacks have shown success in NLP models, drastically decreasing the performance of transformer-based models in recent years. As a countermeasure, adversarial defense has been explored, but relatively few efforts have been made to detect adversarial examples. However, detecting adversarial examples may be crucial for automated tasks (e.g. review sentiment analysis) that wish to amass information about a certain population and additionally be a step towards a robust defense system. To this end, we release a dataset for four popular attack methods on four datasets and four models to encourage further research in this field. Along with it, we propose a competitive baseline based on density estimation that has the highest AUC on 29 out of 30 dataset-attack-model combinations. Source code is available in https://github.com/anoymous92874838/text-adv-detection.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 25 of its 46 references that are in the map. First posted on arXiv 3 Mar 2022.
Builds on
25 of 46 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Universal Sentence Encodercited by 485
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
13 more
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 312
- 2017On Detecting Adversarial Perturbationscited by 232
- 2017On the (Statistical) Detection of Adversarial Examplescited by 180
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
- 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
- 2021Defending Pre-trained Language Models from Adversarial Word Substitutions Without Performance Sacrificecited by 30
- 2017Minimum Covariance Determinant and Extensionscited by 18
- 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attackscited by 17
- 2020A Sweet Rabbit Hole by DARCY: Using Honeypots to Detect Universal Trigger's Adversarial Attackscited by 14
Built on by
Citing papers per year: 2022: 5; 2023: 11; 2024: 7; 2025: 8; 2026: 1.
32 papers.
Sort:
By area:
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2023Certifying LLM Safety against Adversarial Promptingcited by 248
- 2024Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-Polygraphcited by 105
- 2024Calibrating Large Language Models with Sample Consistencycited by 72
- 2024API Is Enough: Conformal Prediction for Large Language Models Without Logit-Accesscited by 68
- 2024A Stitch in Time Saves Nine: Small VLM is a Precise Guidance for Accelerating Large VLMscited by 35
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2023Query-Efficient Black-Box Red Teaming via Bayesian Optimizationcited by 31
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2024Efficient Non-Parametric Uncertainty Quantification for Black-Box Large Language Models and Decision Planningcited by 16
- 2025HalluEntity: Benchmarking and Understanding Entity-Level Hallucination Detectioncited by 13
20 more
- 2023Verifying the Robustness of Automatic Credibility Assessmentcited by 8
- 2025Uncertainty-aware abstention in medical diagnosis based on medical textscited by 6
- 2022Are Synonym Substitution Attacks Really Synonym Substitution Attacks?cited by 4
- 2025Taming Object Hallucinations with Verified Atomic Confidence Estimationcited by 4
- 2023Toward Stronger Textual Attack Detectorscited by 3
- 2023Efficient Black-Box Adversarial Attacks on Neural Text Detectorscited by 3
- 2024Can We Trust the Performance Evaluation of Uncertainty Estimation Methods in Text Summarization?cited by 3
- 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Modelscited by 3
- 2025Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Searchcited by 3
- 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
- 2025CLUE: Neural Networks Calibration via Learning Uncertainty-Error alignmentcited by 2
- 2025Adversarial Defence without Adversarial Defence: Enhancing Language Model Robustness via Instance-level Principal Component Removalcited by 2
- 2022Understanding, Detecting, and Separating Out-of-Distribution Samples and Adversarial Samples in Text Classificationcited by 1
- 2022On deceiving malware classification with section injectioncited by 1
- 2023Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classificationcited by 1
- 2025ALIEN: Aligned Entropy Head for Improving Uncertainty Estimation of LLMscited by 1
- 2023VoteTRANS: Detecting Adversarial Text without Training by Voting on Hard Labels of Transformationscited by 0
- 2024Adversarial Attacks and Dimensionality in Text Classifierscited by 0
- 2026Evaluating the Relevance of Uncertainty Estimators for LLM Hallucinationcited by 0
- 2026Evaluating the Relevance of Uncertainty Estimators for LLM Hallucination26 May 2026
- 2025Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search10 Dec 2025
- 2025Taming Object Hallucinations with Verified Atomic Confidence Estimation12 Nov 2025
- 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Models20 Sep 2025
- 2025Adversarial Defence without Adversarial Defence: Enhancing Language Model Robustness via Instance-level Principal Component Removal29 Jul 2025
- 2025CLUE: Neural Networks Calibration via Learning Uncertainty-Error alignment28 May 2025
- 2025ALIEN: Aligned Entropy Head for Improving Uncertainty Estimation of LLMs21 May 2025
- 2025Uncertainty-aware abstention in medical diagnosis based on medical texts25 Feb 2025
- 2025HalluEntity: Benchmarking and Understanding Entity-Level Hallucination Detection17 Feb 2025
- 2024A Stitch in Time Saves Nine: Small VLM is a Precise Guidance for Accelerating Large VLMs4 Dec 2024
- 2024Can We Trust the Performance Evaluation of Uncertainty Estimation Methods in Text Summarization?25 Jun 2024
- 2024Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-Polygraph21 Jun 2024
20 more
- 2024Adversarial Attacks and Dimensionality in Text Classifiers3 Apr 2024
- 2024API Is Enough: Conformal Prediction for Large Language Models Without Logit-Access2 Mar 2024
- 2024Calibrating Large Language Models with Sample Consistency21 Feb 2024
- 2024Efficient Non-Parametric Uncertainty Quantification for Black-Box Large Language Models and Decision Planning1 Feb 2024
- 2023A Survey of Confidence Estimation and Calibration in Large Language Models14 Nov 2023
- 2023Efficient Black-Box Adversarial Attacks on Neural Text Detectors3 Nov 2023
- 2023Toward Stronger Textual Attack Detectors21 Oct 2023
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep 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
- 2023Query-Efficient Black-Box Red Teaming via Bayesian Optimization27 May 2023
- 2023Can Large Language Models Be an Alternative to Human Evaluations?3 May 2023
- 2023Verifying the Robustness of Automatic Credibility Assessment14 Mar 2023
- 2022ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimation22 Oct 2022
- 2022Are Synonym Substitution Attacks Really Synonym Substitution Attacks?6 Oct 2022
- 2022On deceiving malware classification with section injection12 Aug 2022
- 2022Understanding, Detecting, and Separating Out-of-Distribution Samples and Adversarial Samples in Text Classification9 Apr 2022
- 2022A Survey of Adversarial Defences and Robustness in NLP12 Mar 2022
- 2023Certifying LLM Safety against Adversarial Promptingcited by 248
- 2023Query-Efficient Black-Box Red Teaming via Bayesian Optimizationcited by 31
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep 2023
- 2023Query-Efficient Black-Box Red Teaming via Bayesian Optimization27 May 2023
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2024Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-Polygraphcited by 105
- 2024Calibrating Large Language Models with Sample Consistencycited by 72
- 2024API Is Enough: Conformal Prediction for Large Language Models Without Logit-Accesscited by 68
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2024Efficient Non-Parametric Uncertainty Quantification for Black-Box Large Language Models and Decision Planningcited by 16
- 2025HalluEntity: Benchmarking and Understanding Entity-Level Hallucination Detectioncited by 13
- 2023Verifying the Robustness of Automatic Credibility Assessmentcited by 8
- 2025Uncertainty-aware abstention in medical diagnosis based on medical textscited by 6
- 2022Are Synonym Substitution Attacks Really Synonym Substitution Attacks?cited by 4
12 most cited of 28 All 28 (JSON)
- 2026Evaluating the Relevance of Uncertainty Estimators for LLM Hallucination26 May 2026
- 2025Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search10 Dec 2025
- 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Models20 Sep 2025
- 2025Adversarial Defence without Adversarial Defence: Enhancing Language Model Robustness via Instance-level Principal Component Removal29 Jul 2025
- 2025CLUE: Neural Networks Calibration via Learning Uncertainty-Error alignment28 May 2025
- 2025ALIEN: Aligned Entropy Head for Improving Uncertainty Estimation of LLMs21 May 2025
- 2025Uncertainty-aware abstention in medical diagnosis based on medical texts25 Feb 2025
- 2025HalluEntity: Benchmarking and Understanding Entity-Level Hallucination Detection17 Feb 2025
- 2024Can We Trust the Performance Evaluation of Uncertainty Estimation Methods in Text Summarization?25 Jun 2024
- 2024Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-Polygraph21 Jun 2024
- 2024Adversarial Attacks and Dimensionality in Text Classifiers3 Apr 2024
- 2024API Is Enough: Conformal Prediction for Large Language Models Without Logit-Access2 Mar 2024
12 newest of 28 All 28 (JSON)