Character-level White-Box Adversarial Attacks against Transformers via Attachable Subwords Substitution
Not on the map. Why?
Abstract (arXiv)
We propose the first character-level white-box adversarial attack method against transformer models. The intuition of our method comes from the observation that words are split into subtokens before being fed into the transformer models and the substitution between two close subtokens has a similar effect to the character modification. Our method mainly contains three steps. First, a gradient-based method is adopted to find the most vulnerable words in the sentence. Then we split the selected words into subtokens to replace the origin tokenization result from the transformer tokenizer. Finally, we utilize an adversarial loss to guide the substitution of attachable subtokens in which the Gumbel-softmax trick is introduced to ensure gradient propagation. Meanwhile, we introduce the visual and length constraint in the optimization process to achieve minimum character modifications. Extensive experiments on both sentence-level and token-level tasks demonstrate that our method could outperform the previous attack methods in terms of success rate and edit distance. Furthermore, human evaluation verifies our adversarial examples could preserve their origin labels.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 37 of its 59 references that are in the map. First posted on arXiv 31 Oct 2022.
Builds on
37 of 59 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
25 more
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2018Audio Adversarial Examples: Targeted Attacks on Speech-to-Textcited by 268
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2019BERT for Joint Intent Classification and Slot Fillingcited by 195
- 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
- 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 93
- 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
- 2015Effective LSTMs for Target-Dependent Sentiment Classificationcited by 82
- 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
- 2021Locate and Label: A Two-stage Identifier for Nested Named Entity Recognitioncited by 60
- 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
- 2020SelfORE: Self-supervised Relational Feature Learning for Open Relation Extractioncited by 43
- 2021A Sequence-to-Set Network for Nested Named Entity Recognitioncited by 40
- 2020From Hero to Z'eroe: A Benchmark of Low-Level Adversarial Attackscited by 36
- 2020Semi-supervised Relation Extraction via Incremental Meta Self-Trainingcited by 35
- 2021Gradient Imitation Reinforcement Learning for Low Resource Relation Extractioncited by 33
- 2022HiURE: Hierarchical Exemplar Contrastive Learning for Unsupervised Relation Extractioncited by 32
- 2021Grey-box Adversarial Attack And Defence For Sentiment Classificationcited by 28
- 2022Parallel Instance Query Network for Named Entity Recognitioncited by 19
- 2019White-to-Black: Efficient Distillation of Black-Box Adversarial Attackscited by 14
- 2021Crowdsourcing Learning as Domain Adaptation: A Case Study on Named Entity Recognitioncited by 13
- 2022Identifying Chinese Opinion Expressions with Extremely-Noisy Crowdsourcing Annotationscited by 9
- 2020Rewriting Meaningful Sentences via Conditional BERT Sampling and an application on fooling text classifierscited by 1
Built on by
Citing papers per year: 2023: 13; 2024: 10; 2025: 5.
28 papers.
Sort:
By area:
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 204
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 164
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
- 2023A Semantic Invariant Robust Watermark for Large Language Modelscited by 97
- 2023An Unforgeable Publicly Verifiable Watermark for Large Language Modelscited by 54
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Modelscited by 20
- 2023Dynamic Transformers Provide a False Sense of Efficiencycited by 11
- 2023RAPL: A Relation-Aware Prototype Learning Approach for Few-Shot Document-Level Relation Extractioncited by 9
- 2023Enhancing Cross-lingual Natural Language Inference by Soft Prompting with Multilingual Verbalizercited by 7
- 2025CE-SDWV: Effective and Efficient Concept Erasure for Text-to-Image Diffusion Models via a Semantic-Driven Word Vocabularycited by 7
- 2023Think Rationally about What You See: Continuous Rationale Extraction for Relation Extractioncited by 6
16 more
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?cited by 6
- 2023CT-GAT: Cross-Task Generative Adversarial Attack based on Transferabilitycited by 6
- 2024Impeding LLM-assisted Cheating in Introductory Programming Assignments via Adversarial Perturbationcited by 5
- 2025Dynamic Optimization and Safety Indicator Injection for Jailbreaking Text-to-Image Models with Multimodal Safety Filterscited by 5
- 2024Revisiting Character-level Adversarial Attacks for Language Modelscited by 4
- 2024Enhancing Cross-Prompt Transferability in Vision-Language Models through Contextual Injection of Target Tokenscited by 4
- 2023Exploring the Compositional Generalization in Context Dependent Text-to-SQL Parsingcited by 2
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarkscited by 2
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encodercited by 2
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attackscited by 1
- 2024DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoisingcited by 1
- 2024Rethinking the Intermediate Features in Adversarial Attacks: Misleading Robotic Models via Adversarial Distillationcited by 1
- 2024TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual Similaritycited by 1
- 2025Q-FAKER: Query-free Hard Black-box Attack via Controlled Generationcited by 1
- 2023Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Datacited by 0
- 2024Adversarial Robustness through Dynamic Ensemble Learningcited by 0
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encoder3 Jun 2025
- 2025Dynamic Optimization and Safety Indicator Injection for Jailbreaking Text-to-Image Models with Multimodal Safety Filters25 May 2025
- 2025Q-FAKER: Query-free Hard Black-box Attack via Controlled Generation18 Apr 2025
- 2025CE-SDWV: Effective and Efficient Concept Erasure for Text-to-Image Diffusion Models via a Semantic-Driven Word Vocabulary26 Jan 2025
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks5 Jan 2025
- 2024Adversarial Robustness through Dynamic Ensemble Learning20 Dec 2024
- 2024TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual Similarity3 Dec 2024
- 2024Rethinking the Intermediate Features in Adversarial Attacks: Misleading Robotic Models via Adversarial Distillation21 Nov 2024
- 2024Impeding LLM-assisted Cheating in Introductory Programming Assignments via Adversarial Perturbation12 Oct 2024
- 2024DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoising28 Jun 2024
- 2024Enhancing Cross-Prompt Transferability in Vision-Language Models through Contextual Injection of Target Tokens19 Jun 2024
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May 2024
16 more
- 2024Revisiting Character-level Adversarial Attacks for Language Models7 May 2024
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks16 Feb 2024
- 2024Black-Box Access is Insufficient for Rigorous AI Audits25 Jan 2024
- 2023RAPL: A Relation-Aware Prototype Learning Approach for Few-Shot Document-Level Relation Extraction24 Oct 2023
- 2023CT-GAT: Cross-Task Generative Adversarial Attack based on Transferability22 Oct 2023
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct 2023
- 2023A Semantic Invariant Robust Watermark for Large Language Models10 Oct 2023
- 2023An Unforgeable Publicly Verifiable Watermark for Large Language Models30 Jul 2023
- 2023Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Data2 Jul 2023
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?27 Jun 2023
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Models27 Jun 2023
- 2023Exploring the Compositional Generalization in Context Dependent Text-to-SQL Parsing29 May 2023
- 2023Enhancing Cross-lingual Natural Language Inference by Soft Prompting with Multilingual Verbalizer22 May 2023
- 2023Dynamic Transformers Provide a False Sense of Efficiency20 May 2023
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May 2023
- 2023Think Rationally about What You See: Continuous Rationale Extraction for Relation Extraction2 May 2023
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 204
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 164
- 2025CE-SDWV: Effective and Efficient Concept Erasure for Text-to-Image Diffusion Models via a Semantic-Driven Word Vocabularycited by 7
- 2025CE-SDWV: Effective and Efficient Concept Erasure for Text-to-Image Diffusion Models via a Semantic-Driven Word Vocabulary26 Jan 2025
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May 2024
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct 2023
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May 2023
- 2023Dynamic Transformers Provide a False Sense of Efficiencycited by 11
- 2023Dynamic Transformers Provide a False Sense of Efficiency20 May 2023
- 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Modelscited by 20
- 2023RAPL: A Relation-Aware Prototype Learning Approach for Few-Shot Document-Level Relation Extractioncited by 9
- 2023Enhancing Cross-lingual Natural Language Inference by Soft Prompting with Multilingual Verbalizercited by 7
- 2023Think Rationally about What You See: Continuous Rationale Extraction for Relation Extractioncited by 6
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?cited by 6
- 2023CT-GAT: Cross-Task Generative Adversarial Attack based on Transferabilitycited by 6
- 2024Impeding LLM-assisted Cheating in Introductory Programming Assignments via Adversarial Perturbationcited by 5
- 2024Revisiting Character-level Adversarial Attacks for Language Modelscited by 4
- 2023Exploring the Compositional Generalization in Context Dependent Text-to-SQL Parsingcited by 2
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarkscited by 2
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encodercited by 2
12 most cited of 19 All 19 (JSON)
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encoder3 Jun 2025
- 2025Q-FAKER: Query-free Hard Black-box Attack via Controlled Generation18 Apr 2025
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks5 Jan 2025
- 2024Adversarial Robustness through Dynamic Ensemble Learning20 Dec 2024
- 2024TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual Similarity3 Dec 2024
- 2024Rethinking the Intermediate Features in Adversarial Attacks: Misleading Robotic Models via Adversarial Distillation21 Nov 2024
- 2024Impeding LLM-assisted Cheating in Introductory Programming Assignments via Adversarial Perturbation12 Oct 2024
- 2024DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoising28 Jun 2024
- 2024Revisiting Character-level Adversarial Attacks for Language Models7 May 2024
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks16 Feb 2024
- 2024Black-Box Access is Insufficient for Rigorous AI Audits25 Jan 2024
- 2023RAPL: A Relation-Aware Prototype Learning Approach for Few-Shot Document-Level Relation Extraction24 Oct 2023
12 newest of 19 All 19 (JSON)