mlsanityData to 7 Oct 2026

Towards Variable-Length Textual Adversarial Attacks

arXiv 2104.08139 ↗First posted 16 Apr 2021cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Adversarial attacks have shown the vulnerability of machine learning models, however, it is non-trivial to conduct textual adversarial attacks on natural language processing tasks due to the discreteness of data. Most previous approaches conduct attacks with the atomic textitreplacement operation, which usually leads to fixed-length adversarial examples and therefore limits the exploration on the decision space. In this paper, we propose variable-length textual adversarial attacks~(VL-Attack) and integrate three atomic operations, namely textitinsertion, textitdeletion and textitreplacement, into a unified framework, by introducing and manipulating a special textitblank token while attacking. In this way, our approach is able to more comprehensively find adversarial examples around the decision boundary and effectively conduct adversarial attacks. Specifically, our method drops the accuracy of IMDB classification by 96% with only editing 1.3% tokens while attacking a pre-trained BERT model. In addition, fine-tuning the victim model with generated adversarial samples can improve the robustness of the model without hurting the performance, especially for length-sensitive models. On the task of non-autoregressive machine translation, our method can achieve 33.18 BLEU score on IWSLT14 German-English translation, achieving an improvement of 1.47 over the baseline model.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 16 Apr 2021.

Builds on

27 of 36 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  8. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  9. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  10. 2016Adversarial examples in the physical worldcited by 1,762
  11. 2016Sequence-Level Knowledge Distillationcited by 761
  12. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
15 more
  1. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  2. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  3. 2018Universal Sentence Encodercited by 485
  4. 2017Non-Autoregressive Neural Machine Translationcited by 457
  5. 2018Generating Natural Language Adversarial Examplescited by 422
  6. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  7. 2017Generating Natural Adversarial Examplescited by 182
  8. 2017Deep Text Classification Can be Fooledcited by 105
  9. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  10. 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
  11. 2020Imitation Attacks and Defenses for Black-box Machine Translation Systemscited by 78
  12. 2018Non-Autoregressive Neural Machine Translation with Enhanced Decoder Inputcited by 39
  13. 2019Fine-Tuning by Curriculum Learning for Non-Autoregressive Neural Machine Translationcited by 39
  14. 2018Attacks Meet Interpretability: Attribute-steered Detection of Adversarial Samplescited by 38
  15. 2020Semi-Autoregressive Training Improves Mask-Predict Decodingcited by 33

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 2; 2024: 0; 2025: 1.

5 papers.