mlsanityData to 7 Oct 2026

Bad Characters: Imperceptible NLP Attacks

arXiv 2106.09898 ↗First posted 18 Jun 2021cs.CL cs.CR cs.LGcited by 69

Not on the map. Why?

Abstract (arXiv)

Several years of research have shown that machine-learning systems are vulnerable to adversarial examples, both in theory and in practice. Until now, such attacks have primarily targeted visual models, exploiting the gap between human and machine perception. Although text-based models have also been attacked with adversarial examples, such attacks struggled to preserve semantic meaning and indistinguishability. In this paper, we explore a large class of adversarial examples that can be used to attack text-based models in a black-box setting without making any human-perceptible visual modification to inputs. We use encoding-specific perturbations that are imperceptible to the human eye to manipulate the outputs of a wide range of Natural Language Processing (NLP) systems from neural machine-translation pipelines to web search engines. We find that with a single imperceptible encoding injection -- representing one invisible character, homoglyph, reordering, or deletion -- an attacker can significantly reduce the performance of vulnerable models, and with three injections most models can be functionally broken. Our attacks work against currently-deployed commercial systems, including those produced by Microsoft and Google, in addition to open source models published by Facebook, IBM, and HuggingFace. This novel series of attacks presents a significant threat to many language processing systems: an attacker can affect systems in a targeted manner without any assumptions about the underlying model. We conclude that text-based NLP systems require careful input sanitization, just like conventional applications, and that given such systems are now being deployed rapidly at scale, the urgent attention of architects and operators is required.

Key facts. Cited by 69 papers in the map (data through 7 Oct 2026). Builds on 36 of its 83 references that are in the map. First posted on arXiv 18 Jun 2021.

Builds on

36 of 83 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2013Intriguing properties of neural networkscited by 5,114
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  9. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  10. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  11. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  12. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
24 more
  1. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  2. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  3. 2016Practical Black-Box Attacks against Machine Learningcited by 893
  4. 2017Evasion Attacks against Machine Learning at Test Timecited by 686
  5. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  6. 2018Generating Natural Language Adversarial Examplescited by 422
  7. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
  8. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  9. 2020Label-Only Membership Inference Attackscited by 371
  10. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  11. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
  12. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  13. 2018Manipulating Machine Learning: Poisoning Attacks and Countermeasures for Regression Learningcited by 219
  14. 2018Scaling Neural Machine Translationcited by 204
  15. 2017Generating Natural Adversarial Examplescited by 182
  16. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  17. 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 108
  18. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  19. 2016Towards the Science of Security and Privacy in Machine Learningcited by 89
  20. 2019On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Modelscited by 56
  21. 2019Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attackscited by 55
  22. 2017Learning Paraphrastic Sentence Embeddings from Back-Translated Bitextcited by 27
  23. 2019A Reinforced Generation of Adversarial Examples for Neural Machine Translationcited by 9
  24. 2019ShamFinder: An Automated Framework for Detecting IDN Homographscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 13; 2023: 22; 2024: 13; 2025: 13; 2026: 5.

69 papers.

Sort:

By area:

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  2. 2023A Watermark for Large Language Modelscited by 667
  3. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  4. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
  5. 2025Defeating Prompt Injections by Designcited by 256
  6. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  7. 2024JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMscited by 87
  8. 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplificationcited by 80
  9. 2023LLM Censorship: A Machine Learning Challenge or a Computer Security Problem?cited by 47
  10. 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
  11. 2022Adversarial Attacks on Image Generation With Made-Up Wordscited by 29
  12. 2022Exploiting Cultural Biases via Homoglyphs in Text-to-Image Synthesiscited by 29
38 more
  1. 2022Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectorscited by 28
  2. 2023Training-free Lexical Backdoor Attacks on Language Modelscited by 27
  3. 2022Architectural Backdoors in Neural Networkscited by 24
  4. 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
  5. 2023MTTM: Metamorphic Testing for Textual Content Moderation Softwarecited by 20
  6. 2025LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challengecited by 20
  7. 2022Fact-Saboteurs: A Taxonomy of Evidence Manipulation Attacks against Fact-Verification Systemscited by 11
  8. 2023Two-in-One: A Model Hijacking Attack Against Text Generation Modelscited by 11
  9. 2024Architectural Neural Backdoors from First Principlescited by 10
  10. 2023Model-tuning Via Prompts Makes NLP Models Adversarially Robustcited by 9
  11. 2024A Modified Word Saliency-Based Adversarial Attack on Text Classification Modelscited by 9
  12. 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 8
  13. 2022Efficient Adversarial Training With Data Pruningcited by 7
  14. 2023No more Reviewer #2: Subverting Automatic Paper-Reviewer Assignment using Adversarial Learningcited by 7
  15. 2023RoCOCO: Robustness Benchmark of MS-COCO to Stress-test Image-Text Matching Modelscited by 7
  16. 2024The Impact of Uniform Inputs on Activation Sparsity and Energy-Latency Attacks in Computer Visioncited by 7
  17. 2024Probing the Robustness of Vision-Language Pretrained Models: A Multimodal Adversarial Attack Approachcited by 7
  18. 2023Beyond Boundaries: A Comprehensive Survey of Transferable Attacks on AI Systemscited by 6
  19. 2022Adversarial Text Normalizationcited by 5
  20. 2023When Vision Fails: Text Attacks Against ViT and OCRcited by 5
  21. 2024SongBsAb: A Dual Prevention Approach against Singing Voice Conversion based Illegal Song Coverscited by 5
  22. 2023BERT Lost Patience Won't Be Robust to Adversarial Slowdowncited by 4
  23. 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attackscited by 4
  24. 2025RAG-Pull: Turning Retrieval into a Code-Injection Channel via Invisible Unicode Perturbationscited by 4
  25. 2026Adversarial News and Lost Profits: Manipulating Headlines in LLM-Driven Algorithmic Tradingcited by 4
  26. 2022Secure and Trustworthy Artificial Intelligence-Extended Reality (AI-XR) for Metaversescited by 3
  27. 2023Learning the Legibility of Visual Text Perturbationscited by 3
  28. 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentationcited by 3
  29. 2024SpamDam: Towards Privacy-Preserving and Adversary-Resistant SMS Spam Detectioncited by 3
  30. 2025BiMarker: Enhancing Text Watermark Detection for Large Language Models with Bipolar Watermarkscited by 3
  31. 2022Towards a Responsible AI Development Lifecycle: Lessons From Information Securitycited by 2
  32. 2022On the Security Vulnerabilities of Text-to-SQL Modelscited by 2
  33. 2023QuantAttack: Exploiting Dynamic Quantization to Attack Vision Transformerscited by 2
  34. 2024DeSparsify: Adversarial Attack Against Token Sparsification Mechanisms in Vision Transformerscited by 2
  35. 2024The Best Defense is a Good Offense: Countering LLM-Powered Cyberattackscited by 2
  36. 2025Sponge Attacks on Sensing AI: Energy-Latency Vulnerabilities and Defense via Model Pruningcited by 2
  37. 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectorscited by 2
  38. 2026DECEIVE-AFC: Adversarial Claim Attacks against Search-Enabled LLM-based Fact-Checking Systemscited by 2

50 most cited of 69 All 69 (JSON)