Modeling Adversarial Attack on Pre-trained Language Models as Sequential Decision Making
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models (PLMs) have been widely used to underpin various downstream tasks. However, the adversarial attack task has found that PLMs are vulnerable to small perturbations. Mainstream methods adopt a detached two-stage framework to attack without considering the subsequent influence of substitution at each step. In this paper, we formally model the adversarial attack task on PLMs as a sequential decision-making problem, where the whole attack process is sequential with two decision-making problems, i.e., word finder and word substitution. Considering the attack process can only receive the final state without any direct intermediate signals, we propose to use reinforcement learning to find an appropriate sequential attack path to generate adversaries, named SDM-Attack. Extensive experimental results show that SDM-Attack achieves the highest attack success rate with a comparable modification rate and semantic similarity to attack fine-tuned BERT. Furthermore, our analyses demonstrate the generalization and transferability of SDM-Attack. The code is available at https://github.com/fduxuan/SDM-Attack.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 28 of its 43 references that are in the map. First posted on arXiv 27 May 2023.
Builds on
28 of 43 references.
References · 28
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2013Intriguing properties of neural networkscited by 5,155
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,060
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 807
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
16 more
- 2018Universal Sentence Encodercited by 489
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2018Audio Adversarial Examples: Targeted Attacks on Speech-to-Textcited by 274
- 2018Adversarial Attacks and Defences: A Surveycited by 259
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
- 2020The Next Decade in AI: Four Steps Towards Robust Artificial Intelligencecited by 195
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2017Deep Text Classification Can be Fooledcited by 106
- 2018Adversarial Attacks and Defences Competitioncited by 96
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
- 2018Text Data Augmentation Made Simple By Leveraging NLP Cloud APIscited by 40
- 2018SALSA-TEXT : self attentive latent space based adversarial text generationcited by 3
Built on by
Citing papers per year: 2023: 3; 2024: 3.
6 papers.
- 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplificationcited by 81
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2023Integration of Large Language Models and Federated Learningcited by 31
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
- 2023Generating Valid and Natural Adversarial Examples with Large Language Modelscited by 12
- 2024TF-Attack: Transferable and Fast Adversarial Attacks on Large Language Modelscited by 2
- 2024TF-Attack: Transferable and Fast Adversarial Attacks on Large Language Models26 Aug 2024
- 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplification30 Jul 2024
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Models2 Apr 2024
- 2023Generating Valid and Natural Adversarial Examples with Large Language Models20 Nov 2023
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023
- 2023Integration of Large Language Models and Federated Learning18 Jul 2023