On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Models
Not on the map. Why?
Abstract (arXiv)
Adversarial examples --- perturbations to the input of a model that elicit large changes in the output --- have been shown to be an effective way of assessing the robustness of sequence-to-sequence (seq2seq) models. However, these perturbations only indicate weaknesses in the model if they do not change the input so significantly that it legitimately results in changes in the expected output. This fact has largely been ignored in the evaluations of the growing body of related literature. Using the example of untargeted attacks on machine translation (MT), we propose a new evaluation framework for adversarial attacks on seq2seq models that takes the semantic equivalence of the pre- and post-perturbation input into account. Using this framework, we demonstrate that existing methods may not preserve meaning in general, breaking the aforementioned assumption that source side perturbations should not result in changes in the expected output. We further use this framework to demonstrate that adding additional constraints on attacks allows for adversarial perturbations that are more meaning-preserving, but nonetheless largely change the output sequence. Finally, we show that performing untargeted adversarial training with meaning-preserving attacks is beneficial to the model in terms of adversarial robustness, without hurting test performance. A toolkit implementing our evaluation framework is released at https://github.com/pmichel31415/teapot-nlp.
Key facts. Cited by 56 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Mar 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 20; 2022: 5; 2023: 16; 2024: 10; 2025: 5.
56 papers.
Sort:
- 2021Bad Characters: Imperceptible NLP Attackscited by 71
- 2021CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understandingcited by 50
- 2021Symbolic Brittleness in Sequence Models: on Systematic Generalization in Symbolic Mathematicscited by 27
- 2021Reliability Testing for Natural Language Processing Systemscited by 25
- 2021Code-Mixing on Sesame Street: Dawn of the Adversarial Polyglotscited by 23
- 2021Certified Robustness to Programmable Transformations in LSTMscited by 18
- 2023How do humans perceive adversarial text? A reality check on the validity and naturalness of word-based adversarial attackscited by 18
- 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
- 2021On Robustness of Neural Semantic Parserscited by 14
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 14
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
- 2023TransFool: An Adversarial Attack against Neural Machine Translation Modelscited by 12
38 more
- 2024Robustness of Large Language Models Against Adversarial Attackscited by 12
- 2021Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extractioncited by 11
- 2021When and How to Fool Explainable Models (and Humans) with Adversarial Examplescited by 10
- 2023Targeted Adversarial Attacks against Neural Machine Translationcited by 10
- 2021Consistency Training with Virtual Adversarial Discrete Perturbationcited by 9
- 2023CODET: A Benchmark for Contrastive Dialectal Evaluation of Machine Translationcited by 9
- 2024An Empirical Study of In-context Learning in LLMs for Machine Translationcited by 9
- 2024Desiderata for the Context Use of Question Answering Systemscited by 7
- 2021Virtual Data Augmentation: A Robust and General Framework for Fine-tuning Pre-trained Modelscited by 5
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attackscited by 5
- 2024Cross-Lingual Transfer Robustness to Lower-Resource Languages on Adversarial Datasetscited by 5
- 2021MINIMAL: Mining Models for Data Free Universal Adversarial Triggerscited by 4
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directionscited by 4
- 2022Generating Authentic Adversarial Examples beyond Meaning-preserving with Doubly Round-trip Translationcited by 4
- 2023Frauds Bargain Attack: Generating Adversarial Text Samples via Word Manipulation Processcited by 4
- 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translationcited by 4
- 2022Precisely the Point: Adversarial Augmentations for Faithful and Informative Text Generationcited by 3
- 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentationcited by 3
- 2025Misspellings in Natural Language Processing: A surveycited by 3
- 2021Adversarial Machine Learning in Text Analysis and Generationcited by 2
- 2021Secoco: Self-Correcting Encoding for Neural Machine Translationcited by 2
- 2022Can NMT Understand Me? Towards Perturbation-based Evaluation of NMT Models for Code Generationcited by 2
- 2022Plug and Play Counterfactual Text Generation for Model Robustnesscited by 2
- 2023Iterative Adversarial Attack on Image-guided Story Ending Generationcited by 2
- 2023A Multilingual Evaluation of NER Robustness to Adversarial Inputscited by 2
- 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifierscited by 2
- 2021Doubly-Trained Adversarial Data Augmentation for Neural Machine Translationcited by 1
- 2021CLLD: Contrastive Learning with Label Distance for Text Classificationcited by 1
- 2023Sentiment Perception Adversarial Attacks on Neural Machine Translation Systemscited by 1
- 2023A Relaxed Optimization Approach for Adversarial Attacks against Neural Machine Translation Modelscited by 1
- 2023Analyzing the Impact of Adversarial Examples on Explainable Machine Learningcited by 1
- 2024Camouflage is all you need: Evaluating and Enhancing Language Model Robustness Against Camouflage Adversarial Attackscited by 1
- 2024Optimal and efficient text counterfactuals using Graph Neural Networkscited by 1
- 2025Multi-task Adversarial Attacks against Black-box Model with Few-shot Queriescited by 1
- 2021Cascaded Head-colliding Attentioncited by 0
- 2021Masked Adversarial Generation for Neural Machine Translationcited by 0
- 2023AF2-Mutation: Adversarial Sequence Mutations against AlphaFold2 on Protein Tertiary Structure Predictioncited by 0
- 2023Machine Translation Models Stand Strong in the Face of Adversarial Attackscited by 0
50 most cited of 56 All 56 (JSON)
- 2025Feedback Loops and Code Perturbations in LLM-based Software Engineering: A Case Study on a C-to-Rust Translation System2 Dec 2025
- 2025GoldenTransformer: A Modular Fault Injection Framework for Transformer Robustness Research13 Sep 2025
- 2025Multi-task Adversarial Attacks against Black-box Model with Few-shot Queries10 Aug 2025
- 2025Misspellings in Natural Language Processing: A survey28 Jan 2025
- 2025Extend Adversarial Policy Against Neural Machine Translation via Unknown Token21 Jan 2025
- 2024Robustness of Large Language Models Against Adversarial Attacks22 Dec 2024
- 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one word19 Nov 2024
- 2024Optimal and efficient text counterfactuals using Graph Neural Networks4 Aug 2024
- 2024Rethinking Targeted Adversarial Attacks For Neural Machine Translation7 Jul 2024
- 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifiers20 May 2024
- 2024Cross-Lingual Transfer Robustness to Lower-Resource Languages on Adversarial Datasets29 Mar 2024
- 2024Reversible Jump Attack to Textual Classifiers with Modification Reduction21 Mar 2024
38 more
- 2024Camouflage is all you need: Evaluating and Enhancing Language Model Robustness Against Camouflage Adversarial Attacks15 Feb 2024
- 2024Desiderata for the Context Use of Question Answering Systems31 Jan 2024
- 2024An Empirical Study of In-context Learning in LLMs for Machine Translation22 Jan 2024
- 2023Break it, Imitate it, Fix it: Robustness by Generating Human-Like Attacks25 Oct 2023
- 2023Machine Translation Models Stand Strong in the Face of Adversarial Attacks10 Sep 2023
- 2023A Classification-Guided Approach for Adversarial Attacks against Neural Machine Translation29 Aug 2023
- 2023Analyzing the Impact of Adversarial Examples on Explainable Machine Learning17 Jul 2023
- 2023A Relaxed Optimization Approach for Adversarial Attacks against Neural Machine Translation Models14 Jun 2023
- 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentation8 Jun 2023
- 2023A Multilingual Evaluation of NER Robustness to Adversarial Inputs30 May 2023
- 2023CODET: A Benchmark for Contrastive Dialectal Evaluation of Machine Translation26 May 2023
- 2023How do humans perceive adversarial text? A reality check on the validity and naturalness of word-based adversarial attacks24 May 2023
- 2023Iterative Adversarial Attack on Image-guided Story Ending Generation16 May 2023
- 2023AF2-Mutation: Adversarial Sequence Mutations against AlphaFold2 on Protein Tertiary Structure Prediction15 May 2023
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generation5 May 2023
- 2023Sentiment Perception Adversarial Attacks on Neural Machine Translation Systems2 May 2023
- 2023Targeted Adversarial Attacks against Neural Machine Translation2 Mar 2023
- 2023Frauds Bargain Attack: Generating Adversarial Text Samples via Word Manipulation Process1 Mar 2023
- 2023TransFool: An Adversarial Attack against Neural Machine Translation Models2 Feb 2023
- 2022Precisely the Point: Adversarial Augmentations for Faithful and Informative Text Generation22 Oct 2022
- 2022Plug and Play Counterfactual Text Generation for Model Robustness21 Jun 2022
- 2022AEON: A Method for Automatic Evaluation of NLP Test Cases13 May 2022
- 2022Generating Authentic Adversarial Examples beyond Meaning-preserving with Doubly Round-trip Translation19 Apr 2022
- 2022Can NMT Understand Me? Towards Perturbation-based Evaluation of NMT Models for Code Generation29 Mar 2022
- 2021Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extraction20 Dec 2021
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directions26 Oct 2021
- 2021CLLD: Contrastive Learning with Label Distance for Text Classification25 Oct 2021
- 2021Doubly-Trained Adversarial Data Augmentation for Neural Machine Translation12 Oct 2021
- 2021Symbolic Brittleness in Sequence Models: on Systematic Generalization in Symbolic Mathematics28 Sep 2021
- 2021MINIMAL: Mining Models for Data Free Universal Adversarial Triggers25 Sep 2021
- 2021Virtual Data Augmentation: A Robust and General Framework for Fine-tuning Pre-trained Models13 Sep 2021
- 2021Masked Adversarial Generation for Neural Machine Translation1 Sep 2021
- 2021Secoco: Self-Correcting Encoding for Neural Machine Translation27 Aug 2021
- 2021When and How to Fool Explainable Models (and Humans) with Adversarial Examples5 Jul 2021
- 2021CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understanding1 Jul 2021
- 2021Bad Characters: Imperceptible NLP Attacks18 Jun 2021
- 2021Cascaded Head-colliding Attention31 May 2021
- 2021Reliability Testing for Natural Language Processing Systems6 May 2021
50 newest of 56 All 56 (JSON)
- 2021Bad Characters: Imperceptible NLP Attackscited by 71
- 2021CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understandingcited by 50
- 2021Symbolic Brittleness in Sequence Models: on Systematic Generalization in Symbolic Mathematicscited by 27
- 2021Reliability Testing for Natural Language Processing Systemscited by 25
- 2021Code-Mixing on Sesame Street: Dawn of the Adversarial Polyglotscited by 23
- 2021Certified Robustness to Programmable Transformations in LSTMscited by 18
- 2023How do humans perceive adversarial text? A reality check on the validity and naturalness of word-based adversarial attackscited by 18
- 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
- 2021On Robustness of Neural Semantic Parserscited by 14
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 14
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
- 2023TransFool: An Adversarial Attack against Neural Machine Translation Modelscited by 12
12 most cited of 56 All 56 (JSON)
- 2025Feedback Loops and Code Perturbations in LLM-based Software Engineering: A Case Study on a C-to-Rust Translation System2 Dec 2025
- 2025GoldenTransformer: A Modular Fault Injection Framework for Transformer Robustness Research13 Sep 2025
- 2025Multi-task Adversarial Attacks against Black-box Model with Few-shot Queries10 Aug 2025
- 2025Misspellings in Natural Language Processing: A survey28 Jan 2025
- 2025Extend Adversarial Policy Against Neural Machine Translation via Unknown Token21 Jan 2025
- 2024Robustness of Large Language Models Against Adversarial Attacks22 Dec 2024
- 2024NMT-Obfuscator Attack: Ignore a sentence in translation with only one word19 Nov 2024
- 2024Optimal and efficient text counterfactuals using Graph Neural Networks4 Aug 2024
- 2024Rethinking Targeted Adversarial Attacks For Neural Machine Translation7 Jul 2024
- 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifiers20 May 2024
- 2024Cross-Lingual Transfer Robustness to Lower-Resource Languages on Adversarial Datasets29 Mar 2024
- 2024Reversible Jump Attack to Textual Classifiers with Modification Reduction21 Mar 2024
12 newest of 56 All 56 (JSON)