Adversarial Texts with Gradient Methods
Not on the map. Why?
Abstract (arXiv)
Adversarial samples for images have been extensively studied in the literature. Among many of the attacking methods, gradient-based methods are both effective and easy to compute. In this work, we propose a framework to adapt the gradient attacking methods on images to text domain. The main difficulties for generating adversarial texts with gradient methods are i) the input space is discrete, which makes it difficult to accumulate small noise directly in the inputs, and ii) the measurement of the quality of the adversarial texts is difficult. We tackle the first problem by searching for adversarials in the embedding space and then reconstruct the adversarial texts via nearest neighbor search. For the latter problem, we employ the Word Mover's Distance (WMD) to quantify the quality of adversarial texts. Through extensive experiments on three datasets, IMDB movie reviews, Reuters-2 and Reuters-5 newswires, we show that our framework can leverage gradient attacking methods to generate very high-quality adversarial texts that are only a few words different from the original texts. There are many cases where we can change one word to alter the label of the whole piece of text. We successfully incorporate FGM and DeepFool into our framework. In addition, we empirically show that WMD is closely related to the quality of adversarial texts.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 22 Jan 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 2; 2023: 3; 2024: 0; 2025: 2.
14 papers.
Sort:
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
- 2021Grey-box Adversarial Attack And Defence For Sentiment Classificationcited by 28
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Modelscited by 20
- 2021Fall of Giants: How popular text-based MLaaS fall against a simple evasion attackcited by 12
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directionscited by 9
- 2023Verifying the Robustness of Automatic Credibility Assessmentcited by 8
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directionscited by 4
- 2022EDoG: Adversarial Edge Detection For Graph Neural Networkscited by 4
- 2023Adversary for Social Good: Leveraging Adversarial Attacks to Protect Personal Attribute Privacycited by 3
- 2021Adversarial Machine Learning in Text Analysis and Generationcited by 2
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithmscited by 0
- 2021HAT4RD: Hierarchical Adversarial Training for Rumor Detection on Social Mediacited by 0
2 more
- 2025A Robust and Explainable Transformer-Based Framework for Phishing Email Detection15 Nov 2025
- 2025A Grey-box Text Attack Framework using Explainable AI11 Mar 2025
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Models27 Jun 2023
- 2023Adversary for Social Good: Leveraging Adversarial Attacks to Protect Personal Attribute Privacy4 Jun 2023
- 2023Verifying the Robustness of Automatic Credibility Assessment14 Mar 2023
- 2022EDoG: Adversarial Edge Detection For Graph Neural Networks27 Dec 2022
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directions3 Jan 2022
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directions26 Oct 2021
- 2021HAT4RD: Hierarchical Adversarial Training for Rumor Detection on Social Media29 Aug 2021
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithms12 Aug 2021
- 2021Towards Robustness Against Natural Language Word Substitutions28 Jul 2021
- 2021Fall of Giants: How popular text-based MLaaS fall against a simple evasion attack13 Apr 2021
2 more
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
- 2021Grey-box Adversarial Attack And Defence For Sentiment Classificationcited by 28
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Modelscited by 20
- 2021Fall of Giants: How popular text-based MLaaS fall against a simple evasion attackcited by 12
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directionscited by 9
- 2023Verifying the Robustness of Automatic Credibility Assessmentcited by 8
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directionscited by 4
- 2022EDoG: Adversarial Edge Detection For Graph Neural Networkscited by 4
- 2023Adversary for Social Good: Leveraging Adversarial Attacks to Protect Personal Attribute Privacycited by 3
- 2021Adversarial Machine Learning in Text Analysis and Generationcited by 2
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithmscited by 0
- 2021HAT4RD: Hierarchical Adversarial Training for Rumor Detection on Social Mediacited by 0
12 most cited of 14 All 14 (JSON)
- 2025A Robust and Explainable Transformer-Based Framework for Phishing Email Detection15 Nov 2025
- 2025A Grey-box Text Attack Framework using Explainable AI11 Mar 2025
- 2023A Survey on Out-of-Distribution Evaluation of Neural NLP Models27 Jun 2023
- 2023Adversary for Social Good: Leveraging Adversarial Attacks to Protect Personal Attribute Privacy4 Jun 2023
- 2023Verifying the Robustness of Automatic Credibility Assessment14 Mar 2023
- 2022EDoG: Adversarial Edge Detection For Graph Neural Networks27 Dec 2022
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directions3 Jan 2022
- 2021Adversarial Attacks and Defenses for Social Network Text Processing Applications: Techniques, Challenges and Future Research Directions26 Oct 2021
- 2021HAT4RD: Hierarchical Adversarial Training for Rumor Detection on Social Media29 Aug 2021
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithms12 Aug 2021
- 2021Towards Robustness Against Natural Language Word Substitutions28 Jul 2021
- 2021Fall of Giants: How popular text-based MLaaS fall against a simple evasion attack13 Apr 2021
12 newest of 14 All 14 (JSON)