Fall of Giants: How popular text-based MLaaS fall against a simple evasion attack
Not on the map. Why?
Abstract (arXiv)
The increased demand for machine learning applications made companies offer Machine-Learning-as-a-Service (MLaaS). In MLaaS (a market estimated 8000M USD by 2025), users pay for well-performing ML models without dealing with the complicated training procedure. Among MLaaS, text-based applications are the most popular ones (e.g., language translators). Given this popularity, MLaaS must provide resiliency to adversarial manipulations. For example, a wrong translation might lead to a misunderstanding between two parties. In the text domain, state-of-the-art attacks mainly focus on strategies that leverage ML models' weaknesses. Unfortunately, not much attention has been given to the other pipeline' stages, such as the indexing stage (i.e., when a sentence is converted from a textual to a numerical representation) that, if manipulated, can significantly affect the final performance of the application. In this paper, we propose a novel text evasion technique called "textitZero-Width attack" (ZeW) that leverages the injection of human non-readable characters, affecting indexing stage mechanisms. We demonstrate that our simple yet effective attack deceives MLaaS of "giants" such as Amazon, Google, IBM, and Microsoft. Our case study, based on the manipulation of hateful tweets, shows that out of 12 analyzed services, only one is resistant to our injection strategy. We finally introduce and test a simple textitinput validation defense that can prevent our proposed attack.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 26 of its 60 references that are in the map. First posted on arXiv 13 Apr 2021.
Builds on
26 of 60 references.
References · 26
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
- 2017Evasion Attacks against Machine Learning at Test Timecited by 686
- 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 439
- 2018Generating Natural Language Adversarial Examplescited by 422
14 more
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2017Deep Reinforcement Learning framework for Autonomous Drivingcited by 224
- 2015Brain Tumor Segmentation with Deep Neural Networkscited by 137
- 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
- 2017Deceiving Google's Perspective API Built for Detecting Toxic Commentscited by 99
- 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 93
- 2020An Embarrassingly Simple Approach for Trojan Attack in Deep Neural Networkscited by 92
- 2018All You Need is "Love": Evading Hate-speech Detectioncited by 56
- 2017Towards Crafting Text Adversarial Samplescited by 55
- 2014Addressing the Rare Word Problem in Neural Machine Translationcited by 50
- 2018Adversarial Texts with Gradient Methodscited by 14
- 2017Security Risks in Deep Learning Implementationscited by 12
- 2019How Large a Vocabulary Does Text Classification Need? A Variational Approach to Vocabulary Selectioncited by 11
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 3; 2025: 2; 2026: 1.
12 papers.
- 2023A Watermark for Large Language Modelscited by 667
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 55
- 2025The Hidden Threat in Plain Text: Attacking RAG Data Loaderscited by 8
- 2023When Vision Fails: Text Attacks Against ViT and OCRcited by 5
- 2023Your Attack Is Too DUMB: Formalizing Attacker Scenarios for Adversarial Transferabilitycited by 5
- 2025DeBackdoor: A Deductive Framework for Detecting Backdoor Attacks on Deep Models with Limited Datacited by 5
- 2026Adversarial News and Lost Profits: Manipulating Headlines in LLM-Driven Algorithmic Tradingcited by 4
- 2024Privacy Implications of Explainable AI in Data-Driven Systemscited by 3
- 2022Captcha Attack: Turning Captchas Against Humanitycited by 2
- 2023Invisible Threats: Backdoor Attack in OCR Systemscited by 1
- 2024Unraveling Attacks in Machine Learning-based IoT Ecosystems: A Survey and the Open Libraries Behind Themcited by 0
- 2024Watermark Smoothing Attacks against Language Modelscited by 0
- 2026Adversarial News and Lost Profits: Manipulating Headlines in LLM-Driven Algorithmic Trading19 Jan 2026
- 2025The Hidden Threat in Plain Text: Attacking RAG Data Loaders7 Jul 2025
- 2025DeBackdoor: A Deductive Framework for Detecting Backdoor Attacks on Deep Models with Limited Data27 Mar 2025
- 2024Watermark Smoothing Attacks against Language Models19 Jul 2024
- 2024Privacy Implications of Explainable AI in Data-Driven Systems22 Jun 2024
- 2024Unraveling Attacks in Machine Learning-based IoT Ecosystems: A Survey and the Open Libraries Behind Them22 Jan 2024
- 2023Invisible Threats: Backdoor Attack in OCR Systems12 Oct 2023
- 2023Your Attack Is Too DUMB: Formalizing Attacker Scenarios for Adversarial Transferability27 Jun 2023
- 2023When Vision Fails: Text Attacks Against ViT and OCR12 Jun 2023
- 2023A Watermark for Large Language Models24 Jan 2023
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practice29 Dec 2022
- 2022Captcha Attack: Turning Captchas Against Humanity11 Jan 2022