TransFool: An Adversarial Attack against Neural Machine Translation Models
Not on the map. Why?
Abstract (arXiv)
Deep neural networks have been shown to be vulnerable to small perturbations of their inputs, known as adversarial attacks. In this paper, we investigate the vulnerability of Neural Machine Translation (NMT) models to adversarial attacks and propose a new attack algorithm called TransFool. To fool NMT models, TransFool builds on a multi-term optimization problem and a gradient projection step. By integrating the embedding representation of a language model, we generate fluent adversarial examples in the source language that maintain a high level of semantic similarity with the clean samples. Experimental results demonstrate that, for different translation tasks and NMT architectures, our white-box attack can severely degrade the translation quality while the semantic similarity between the original and the adversarial sentences stays high. Moreover, we show that TransFool is transferable to unknown target models. Finally, based on automatic and human evaluations, TransFool leads to improvement in terms of success rate, semantic similarity, and fluency compared to the existing attacks both in white-box and black-box settings. Thus, TransFool permits us to better characterize the vulnerability of NMT models and outlines the necessity to design strong defense mechanisms and more robust NMT systems for real-life applications.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 40 of its 65 references that are in the map. First posted on arXiv 2 Feb 2023.
Builds on
40 of 65 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2013Intriguing properties of neural networkscited by 5,114
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
28 more
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
- 2020Multilingual Translation with Extensible Multilingual Pretraining and Finetuningcited by 287
- 2020Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translationcited by 277
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2018Marian: Fast Neural Machine Translation in C++cited by 202
- 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 192
- 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
- 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
- 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
- 2020Imitation Attacks and Defenses for Black-box Machine Translation Systemscited by 78
- 2020AdvAug: Robust Adversarial Augmentation for Neural Machine Translationcited by 66
- 2019On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Modelscited by 56
- 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
- 2018Towards Robust Neural Machine Translationcited by 35
- 2020Optimism in the Face of Adversity: Understanding and Improving Deep Learning through Adversarial Robustnesscited by 28
- 2020Learning to Evaluate Translation Beyond English: BLEURT Submissions to the WMT Metrics 2020 Shared Taskcited by 25
- 2021Putting words into the system's mouth: A targeted attack on neural machine translation using monolingual data poisoningcited by 19
- 2022Block-Sparse Adversarial Attack to Fool Transformer-Based Text Classifierscited by 9
- 2020Adversarial Subword Regularization for Robust Neural Machine Translationcited by 6
- 2019Exploring the Robustness of NMT Systems to Nonsensical Inputscited by 5
- 2021Better Neural Machine Translation by Extracting Linguistic Information from BERTcited by 5
- 2021Doubly-Trained Adversarial Data Augmentation for Neural Machine Translationcited by 1
Built on by
Citing papers per year: 2023: 6; 2024: 2; 2025: 4.
12 papers.
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
- 2023Exploring Transferability of Multimodal Adversarial Samples for Vision-Language Pre-training Models with Contrastive Learningcited by 16
- 2023Targeted Adversarial Attacks against Neural Machine Translationcited by 10
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translationcited by 8
- 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translationcited by 4
- 2024Revisiting Character-level Adversarial Attacks for Language Modelscited by 4
- 2023Translate your gibberish: black-box adversarial attack on machine translation systemscited by 2
- 2023Iterative Adversarial Attack on Image-guided Story Ending Generationcited by 2
- 2025Text Adversarial Attacks with Dynamic Outputscited by 2
- 2025Multi-task Adversarial Attacks against Black-box Model with Few-shot Queriescited by 1
- 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one wordcited by 0
- 2025destroR: A Benchmark and Adversarial-Training Defense for Bangla Transfer Models under Meaning-Preserving Attackscited by 0
- 2025destroR: A Benchmark and Adversarial-Training Defense for Bangla Transfer Models under Meaning-Preserving Attacks13 Nov 2025
- 2025Text Adversarial Attacks with Dynamic Outputs26 Sep 2025
- 2025Multi-task Adversarial Attacks against Black-box Model with Few-shot Queries10 Aug 2025
- 2025Bridging the Linguistic Divide: A Survey on Leveraging Large Language Models for Machine Translation2 Apr 2025
- 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one word19 Nov 2024
- 2024Revisiting Character-level Adversarial Attacks for Language Models7 May 2024
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023
- 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translation29 Aug 2023
- 2023Exploring Transferability of Multimodal Adversarial Samples for Vision-Language Pre-training Models with Contrastive Learning24 Aug 2023
- 2023Iterative Adversarial Attack on Image-guided Story Ending Generation16 May 2023
- 2023Translate your gibberish: black-box adversarial attack on machine translation systems20 Mar 2023
- 2023Targeted Adversarial Attacks against Neural Machine Translation2 Mar 2023