Contextualized Perturbation for Textual Adversarial Attack
Not on the map. Why?
Abstract (arXiv)
Adversarial examples expose the vulnerabilities of natural language processing (NLP) models, and can be used to evaluate and improve their robustness. Existing techniques of generating such examples are typically driven by local heuristic rules that are agnostic to the context, often resulting in unnatural and ungrammatical outputs. This paper presents CLARE, a ContextuaLized AdversaRial Example generation model that produces fluent and grammatical outputs through a mask-then-infill procedure. CLARE builds on a pre-trained masked language model and modifies the inputs in a context-aware manner. We propose three contextualized perturbations, Replace, Insert and Merge, allowing for generating outputs of varied lengths. With a richer range of available strategies, CLARE is able to attack a victim model more efficiently with fewer edits. Extensive experiments and human evaluation demonstrate that CLARE outperforms the baselines in terms of attack success rate, textual similarity, fluency and grammaticality.
Key facts. Cited by 136 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 23; 2022: 25; 2023: 42; 2024: 28; 2025: 10; 2026: 8.
136 papers.
Sort:
By area:
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Modelscited by 257
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023MGTBench: Benchmarking Machine-Generated Text Detectioncited by 90
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2023Robust Multi-bit Natural Language Watermarking through Invariant Featurescited by 76
- 2021NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentationcited by 72
- 2023VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Modelscited by 66
38 more
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labelscited by 61
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
- 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
- 2024Changing Answer Order Can Decrease MMLU Accuracycited by 41
- 2023Did You Train on My Dataset? Towards Public Dataset Protection with Clean-Label Backdoor Watermarkingcited by 37
- 2023Smaller Language Models are Better Black-box Machine-Generated Text Detectorscited by 35
- 2021FlipDA: Effective and Robust Data Augmentation for Few-Shot Learningcited by 32
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2021Perturbing Inputs for Fragile Interpretations in Deep Natural Language Processingcited by 30
- 2023Evaluating the Robustness of Text-to-image Diffusion Models against Real-world Attackscited by 24
- 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
- 2022Generalized but not Robust? Comparing the Effects of Data Modification Methods on Out-of-Domain Generalization and Adversarial Robustnesscited by 23
- 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
- 2024Data Contamination Calibration for Black-box LLMscited by 23
- 2022TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven Optimizationcited by 21
- 2023How do humans perceive adversarial text? A reality check on the validity and naturalness of word-based adversarial attackscited by 18
- 2021A Strong Baseline for Query Efficient Attacks in a Black Box Settingcited by 16
- 2021Text Counterfactuals via Latent Optimization and Shapley-Guided Searchcited by 16
- 2022BERT Rankers are Brittle: a Study using Adversarial Document Perturbationscited by 16
- 2024HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Textcited by 16
- 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
- 2022TASA: Deceiving Question Answering Models by Twin Answer Sentences Attackcited by 15
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothingcited by 15
- 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responsescited by 15
- 2021Accurate, yet inconsistent? Consistency Analysis on Language Understanding Modelscited by 13
- 2023Exploring Multimodal Approaches for Alzheimer's Disease Detection Using Patient Speech Transcript and Audio Datacited by 13
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
- 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretationcited by 12
- 2021Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extractioncited by 11
- 2023Two-in-One: A Model Hijacking Attack Against Text Generation Modelscited by 11
- 2023Toward Adversarial Training on Contextualized Language Representationcited by 10
- 2024VQAttack: Transferable Adversarial Attacks on Visual Question Answering via Pre-trained Modelscited by 10
- 2021Consistency Training with Virtual Adversarial Discrete Perturbationcited by 9
- 2021Semantically Distributed Robust Optimization for Vision-and-Language Inferencecited by 9
- 2023LimeAttack: Local Explainable Method for Textual Hard-Label Adversarial Attackcited by 9
- 2024A Modified Word Saliency-Based Adversarial Attack on Text Classification Modelscited by 9
- 2023TextShield: Beyond Successfully Detecting Adversarial Sentences in Text Classificationcited by 8
- 2024Toward Robust RALMs: Revealing the Impact of Imperfect Retrieval on Retrieval-Augmented Language Modelscited by 8
50 most cited of 136 All 136 (JSON)
- 2026OASIS: Optimizing Attacker Sequences for Hard-Label Black-Box Text Attacks30 Aug 2026
- 2026Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Text25 Jun 2026
- 2026Trajectory-Level Redirection Attacks on Vision-Language-Action Models11 Jun 2026
- 2026Universal Adversarial Triggers18 May 2026
- 2026LBA: Textual Hard-Label Adversarial Attack under Low Query Budgets5 May 2026
- 2026Agentic Adversarial Rewriting Exposes Architectural Vulnerabilities in Black-Box NLP Pipelines26 Apr 2026
- 2026Persona Jailbreaking in Large Language Models23 Jan 2026
- 2026Responsible AI for General-Purpose Systems: Overview, Challenges, and A Path Forward19 Jan 2026
- 2025DAMASHA: Detecting AI in Mixed Adversarial Texts via Segmentation with Human-interpretable Attribution4 Dec 2025
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Selective Adversarial Attacks on LLM Benchmarks15 Oct 2025
- 2025Overcoming Black-box Attack Inefficiency with Hybrid and Dynamic Select Algorithms25 Sep 2025
38 more
- 2025RedHerring Attack: Testing the Reliability of Attack Detection25 Sep 2025
- 2025Coordinated Robustness Evaluation Framework for Vision-Language Models5 Jun 2025
- 2025Can LLMs Deceive CLIP? Benchmarking Adversarial Compositionality of Pre-trained Multimodal Representation via Text Updates28 May 2025
- 2025CAMOUFLAGE: Exploiting Misinformation Detection Systems Through LLM-driven Adversarial Claim Transformation3 May 2025
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks5 Jan 2025
- 2024BinarySelect to Improve Accessibility of Black-Box Attack Research13 Dec 2024
- 2024On the Lack of Robustness of Binary Function Similarity Systems5 Dec 2024
- 2024Toward Robust RALMs: Revealing the Impact of Imperfect Retrieval on Retrieval-Augmented Language Models19 Oct 2024
- 2024How much do contextualized representations encode long-range context?16 Oct 2024
- 2024An Effective, Robust and Fairness-aware Hate Speech Detection Framework25 Sep 2024
- 2024OpenFact at CheckThat! 2024: Combining Multiple Attack Methods for Effective Adversarial Text Generation4 Sep 2024
- 2024TF-Attack: Transferable and Fast Adversarial Attacks on Large Language Models26 Aug 2024
- 2024Optimal and efficient text counterfactuals using Graph Neural Networks4 Aug 2024
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distance1 Aug 2024
- 2024Enhancing Adversarial Text Attacks on BERT Models with Projected Gradient Descent29 Jul 2024
- 2024Data Poisoning: An Overlooked Threat to Power Grid Resilience19 Jul 2024
- 2024Changing Answer Order Can Decrease MMLU Accuracy27 Jun 2024
- 2024Automated Adversarial Discovery for Safety Classifiers24 Jun 2024
- 2024Unmasking Database Vulnerabilities: Zero-Knowledge Schema Inference Attacks in Text-to-SQL Systems20 Jun 2024
- 2024Saliency Attention and Semantic Similarity-Driven Adversarial Perturbation18 Jun 2024
- 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responses7 Jun 2024
- 2024Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Models23 May 2024
- 2024Data Contamination Calibration for Black-box LLMs20 May 2024
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothing18 Apr 2024
- 2024VertAttack: Taking advantage of Text Classifiers' horizontal vision12 Apr 2024
- 2024Reversible Jump Attack to Textual Classifiers with Modification Reduction21 Mar 2024
- 2024A Modified Word Saliency-Based Adversarial Attack on Text Classification Models17 Mar 2024
- 2024VQAttack: Transferable Adversarial Attacks on Visual Question Answering via Pre-trained Models16 Feb 2024
- 2024Arabic Synonym BERT-based Adversarial Examples for Text Classification5 Feb 2024
- 2024Exploiting Class Probabilities for Black-box Sentence-level Attacks5 Feb 2024
- 2024eXplainable Bayesian Multi-Perspective Generative Retrieval4 Feb 2024
- 2024HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text2 Feb 2024
- 2024Single Word Change is All You Need: Using LLMs to Create Synthetic Training Examples for Text Classifiers30 Jan 2024
- 2023Robustness Tests for Automatic Machine Translation Metrics with Adversarial Attacks1 Nov 2023
- 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdown29 Oct 2023
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attacks25 Oct 2023
- 2023Toward Stronger Textual Attack Detectors21 Oct 2023
50 newest of 136 All 136 (JSON)
- 2023Robust Multi-bit Natural Language Watermarking through Invariant Featurescited by 76
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labelscited by 61
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothingcited by 15
- 2023PromptAttack: Probing Dialogue State Trackers with Adversarial Promptscited by 6
- 2026Persona Jailbreaking in Large Language Modelscited by 2
- 2024Data Poisoning: An Overlooked Threat to Power Grid Resiliencecited by 1
- 2026Persona Jailbreaking in Large Language Models23 Jan 2026
- 2024Data Poisoning: An Overlooked Threat to Power Grid Resilience19 Jul 2024
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothing18 Apr 2024
- 2023PromptAttack: Probing Dialogue State Trackers with Adversarial Prompts7 Jun 2023
- 2023Robust Multi-bit Natural Language Watermarking through Invariant Features3 May 2023
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection25 May 2022
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov 2021
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Modelscited by 257
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2023MGTBench: Benchmarking Machine-Generated Text Detectioncited by 90
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2021NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentationcited by 72
- 2023VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Modelscited by 66
- 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
12 most cited of 123 All 123 (JSON)
- 2026OASIS: Optimizing Attacker Sequences for Hard-Label Black-Box Text Attacks30 Aug 2026
- 2026Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Text25 Jun 2026
- 2026Universal Adversarial Triggers18 May 2026
- 2026LBA: Textual Hard-Label Adversarial Attack under Low Query Budgets5 May 2026
- 2026Responsible AI for General-Purpose Systems: Overview, Challenges, and A Path Forward19 Jan 2026
- 2025DAMASHA: Detecting AI in Mixed Adversarial Texts via Segmentation with Human-interpretable Attribution4 Dec 2025
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Selective Adversarial Attacks on LLM Benchmarks15 Oct 2025
- 2025Overcoming Black-box Attack Inefficiency with Hybrid and Dynamic Select Algorithms25 Sep 2025
- 2025RedHerring Attack: Testing the Reliability of Attack Detection25 Sep 2025
- 2025Can LLMs Deceive CLIP? Benchmarking Adversarial Compositionality of Pre-trained Multimodal Representation via Text Updates28 May 2025
- 2025CAMOUFLAGE: Exploiting Misinformation Detection Systems Through LLM-driven Adversarial Claim Transformation3 May 2025
12 newest of 123 All 123 (JSON)