mlsanityData to 7 Oct 2026

Character-level White-Box Adversarial Attacks against Transformers via Attachable Subwords Substitution

arXiv 2210.17004 ↗First posted 31 Oct 2022cs.CLcited by 28

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  11. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  12. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
25 more
  1. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  2. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  3. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  4. 2018Audio Adversarial Examples: Targeted Attacks on Speech-to-Textcited by 268
  5. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  6. 2019BERT for Joint Intent Classification and Slot Fillingcited by 195
  7. 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
  8. 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 93
  9. 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
  10. 2015Effective LSTMs for Target-Dependent Sentiment Classificationcited by 82
  11. 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
  12. 2021Locate and Label: A Two-stage Identifier for Nested Named Entity Recognitioncited by 60
  13. 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
  14. 2020SelfORE: Self-supervised Relational Feature Learning for Open Relation Extractioncited by 43
  15. 2021A Sequence-to-Set Network for Nested Named Entity Recognitioncited by 40
  16. 2020From Hero to Z'eroe: A Benchmark of Low-Level Adversarial Attackscited by 36
  17. 2020Semi-supervised Relation Extraction via Incremental Meta Self-Trainingcited by 35
  18. 2021Gradient Imitation Reinforcement Learning for Low Resource Relation Extractioncited by 33
  19. 2022HiURE: Hierarchical Exemplar Contrastive Learning for Unsupervised Relation Extractioncited by 32
  20. 2021Grey-box Adversarial Attack And Defence For Sentiment Classificationcited by 28
  21. 2022Parallel Instance Query Network for Named Entity Recognitioncited by 19
  22. 2019White-to-Black: Efficient Distillation of Black-Box Adversarial Attackscited by 14
  23. 2021Crowdsourcing Learning as Domain Adaptation: A Case Study on Named Entity Recognitioncited by 13
  24. 2022Identifying Chinese Opinion Expressions with Extremely-Noisy Crowdsourcing Annotationscited by 9
  25. 2020Rewriting Meaningful Sentences via Conditional BERT Sampling and an application on fooling text classifierscited by 1

Built on by

Cited by year

Citing papers per year: 2023: 13; 2024: 10; 2025: 5.

28 papers.

Sort:

By area:

  1. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 204
  2. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
  3. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 164
  4. 2024Black-Box Access is Insufficient for Rigorous AI Auditscited by 123
  5. 2023A Semantic Invariant Robust Watermark for Large Language Modelscited by 97
  6. 2023An Unforgeable Publicly Verifiable Watermark for Large Language Modelscited by 54
  7. 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Modelscited by 20
  8. 2023Dynamic Transformers Provide a False Sense of Efficiencycited by 11
  9. 2023RAPL: A Relation-Aware Prototype Learning Approach for Few-Shot Document-Level Relation Extractioncited by 9
  10. 2023Enhancing Cross-lingual Natural Language Inference by Soft Prompting with Multilingual Verbalizercited by 7
  11. 2025CE-SDWV: Effective and Efficient Concept Erasure for Text-to-Image Diffusion Models via a Semantic-Driven Word Vocabularycited by 7
  12. 2023Think Rationally about What You See: Continuous Rationale Extraction for Relation Extractioncited by 6
16 more
  1. 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?cited by 6
  2. 2023CT-GAT: Cross-Task Generative Adversarial Attack based on Transferabilitycited by 6
  3. 2024Impeding LLM-assisted Cheating in Introductory Programming Assignments via Adversarial Perturbationcited by 5
  4. 2025Dynamic Optimization and Safety Indicator Injection for Jailbreaking Text-to-Image Models with Multimodal Safety Filterscited by 5
  5. 2024Revisiting Character-level Adversarial Attacks for Language Modelscited by 4
  6. 2024Enhancing Cross-Prompt Transferability in Vision-Language Models through Contextual Injection of Target Tokenscited by 4
  7. 2023Exploring the Compositional Generalization in Context Dependent Text-to-SQL Parsingcited by 2
  8. 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarkscited by 2
  9. 2025Robustness in Both Domains: CLIP Needs a Robust Text Encodercited by 2
  10. 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attackscited by 1
  11. 2024DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoisingcited by 1
  12. 2024Rethinking the Intermediate Features in Adversarial Attacks: Misleading Robotic Models via Adversarial Distillationcited by 1
  13. 2024TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual Similaritycited by 1
  14. 2025Q-FAKER: Query-free Hard Black-box Attack via Controlled Generationcited by 1
  15. 2023Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Datacited by 0
  16. 2024Adversarial Robustness through Dynamic Ensemble Learningcited by 0