Block-Sparse Adversarial Attack to Fool Transformer-Based Text Classifiers
Not on the map. Why?
Abstract (arXiv)
Recently, it has been shown that, in spite of the significant performance of deep neural networks in different fields, those are vulnerable to adversarial examples. In this paper, we propose a gradient-based adversarial attack against transformer-based text classifiers. The adversarial perturbation in our method is imposed to be block-sparse so that the resultant adversarial example differs from the original sentence in only a few words. Due to the discrete nature of textual data, we perform gradient projection to find the minimizer of our proposed optimization problem. Experimental results demonstrate that, while our adversarial attack maintains the semantics of the sentence, it can reduce the accuracy of GPT-2 to less than 5% on different datasets (AG News, MNLI, and Yelp Reviews). Furthermore, the block-sparsity constraint of the proposed optimization problem results in small perturbations in the adversarial example.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 17 of its 21 references that are in the map. First posted on arXiv 11 Mar 2022.
Builds on
17 of 21 references.
References · 17
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Universal Sentence Encodercited by 485
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
5 more
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
- 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
- 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
Built on by
Citing papers per year: 2023: 4; 2024: 2; 2025: 3.
9 papers.
- 2023TransFool: An Adversarial Attack against Neural Machine Translation Modelscited by 12
- 2023Targeted Adversarial Attacks against Neural Machine Translationcited by 10
- 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translationcited by 4
- 2023Translate your gibberish: black-box adversarial attack on machine translation systemscited by 2
- 2024BinarySelect to Improve Accessibility of Black-Box Attack Researchcited by 1
- 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one wordcited by 0
- 2025Extend Adversarial Policy Against Neural Machine Translation via Unknown Tokencited by 0
- 2025RedHerring Attack: Testing the Reliability of Attack Detectioncited by 0
- 2025Overcoming Black-box Attack Inefficiency with Hybrid and Dynamic Select Algorithmscited by 0
- 2025Overcoming Black-box Attack Inefficiency with Hybrid and Dynamic Select Algorithms25 Sep 2025
- 2025RedHerring Attack: Testing the Reliability of Attack Detection25 Sep 2025
- 2025Extend Adversarial Policy Against Neural Machine Translation via Unknown Token21 Jan 2025
- 2024BinarySelect to Improve Accessibility of Black-Box Attack Research13 Dec 2024
- 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one word19 Nov 2024
- 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translation29 Aug 2023
- 2023Translate your gibberish: black-box adversarial attack on machine translation systems20 Mar 2023
- 2023Targeted Adversarial Attacks against Neural Machine Translation2 Mar 2023
- 2023TransFool: An Adversarial Attack against Neural Machine Translation Models2 Feb 2023