DA3: A Distribution-Aware Adversarial Attack against Language Models
Not on the map. Why?
Abstract (arXiv)
Language models can be manipulated by adversarial attacks, which introduce subtle perturbations to input data. While recent attack methods can achieve a relatively high attack success rate (ASR), we've observed that the generated adversarial examples have a different data distribution compared with the original examples. Specifically, these adversarial examples exhibit reduced confidence levels and greater divergence from the training data distribution. Consequently, they are easy to detect using straightforward detection methods, diminishing the efficacy of such attacks. To address this issue, we propose a Distribution-Aware Adversarial Attack (DA3) method. DA3 considers the distribution shifts of adversarial examples to improve attacks' effectiveness under detection methods. We further design a novel evaluation metric, the Non-detectable Attack Success Rate (NASR), which integrates both ASR and detectability for the attack task. We conduct experiments on four widely used datasets to validate the attack effectiveness and transferability of adversarial examples generated by DA3 against both the white-box BERT-base and RoBERTa-base models and the black-box LLaMA2-7b model.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 38 of its 48 references that are in the map. First posted on arXiv 14 Nov 2023.
Builds on
38 of 48 references.
References · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
- 2018Neural Network Acceptability Judgmentscited by 958
26 more
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2018Universal Sentence Encodercited by 489
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 306
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
- 2017Generating Natural Adversarial Examplescited by 183
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 57
- 2020Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examplescited by 54
- 2020Universal Adversarial Attacks with Natural Triggers for Text Classificationcited by 51
- 2019Improving Back-Translation with Uncertainty-based Confidence Estimationcited by 34
- 2020Wat zei je? Detecting Out-of-Distribution Translations with Variational Transformerscited by 31
- 2022"That Is a Suspicious Reaction!": Interpreting Logits Variation to Detect NLP Adversarial Attackscited by 24
- 2021Understanding Out-of-distribution: A Perspective of Data Dynamicscited by 7
- 2023PromptAttack: Probing Dialogue State Trackers with Adversarial Promptscited by 6
- 2023Collaborative Semantic Alignment in Recommendation Systemscited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025NLP Security and Ethics, in the Wildcited by 2
- 2025NLP Security and Ethics, in the Wild9 Apr 2025