Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examples
Not on the map. Why?
Abstract (arXiv)
We study the behavior of several black-box search algorithms used for generating adversarial examples for natural language processing (NLP) tasks. We perform a fine-grained analysis of three elements relevant to search: search algorithm, search space, and search budget. When new search algorithms are proposed in past work, the attack search space is often modified alongside the search algorithm. Without ablation studies benchmarking the search algorithm change with the search space held constant, one cannot tell if an increase in attack success rate is a result of an improved search algorithm or a less restrictive search space. Additionally, many previous studies fail to properly consider the search algorithms' run-time cost, which is essential for downstream tasks like adversarial training. Our experiments provide a reproducible benchmark of search algorithms across a variety of search spaces and query budgets to guide future research in adversarial NLP. Based on our experiments, we recommend greedy attacks with word importance ranking when under a time constraint or attacking long inputs, and either beam search or particle swarm optimization otherwise. Code implementation shared via https://github.com/QData/TextAttack-Search-Benchmark
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 3; 2023: 9; 2024: 5.
23 papers.
Sort:
- 2023Data-centric Artificial Intelligence: A Surveycited by 203
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 56
- 2022Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimizationcited by 22
- 2021A Strong Baseline for Query Efficient Attacks in a Black Box Settingcited by 16
- 2022Text Adversarial Purification as Defense against Adversarial Attackscited by 16
- 2023PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizercited by 15
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directionscited by 11
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
- 2023LimeAttack: Local Explainable Method for Textual Hard-Label Adversarial Attackcited by 9
- 2021Don't Search for a Search Method -- Simple Heuristics Suffice for Adversarial Text Attackscited by 5
11 more
- 2021Generating Natural Language Adversarial Examples through An Improved Beam Search Algorithmcited by 3
- 2023Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attackscited by 3
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
- 2023Robust Text Classification: Analyzing Prototype-Based Networkscited by 3
- 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifierscited by 2
- 2023Adversarially Robust Neural Legal Judgement Systemscited by 1
- 2024Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarialscited by 1
- 2024Simpler becomes Harder: Do LLMs Exhibit a Coherent Behavior on Simplified Corpora?cited by 1
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classificationcited by 0
- 2024A Generative Adversarial Attack for Multilingual Text Classifierscited by 0
- 2024Towards Robust Domain Generation Algorithm Classificationcited by 0
- 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifiers20 May 2024
- 2024Simpler becomes Harder: Do LLMs Exhibit a Coherent Behavior on Simplified Corpora?10 Apr 2024
- 2024Towards Robust Domain Generation Algorithm Classification9 Apr 2024
- 2024Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarials29 Feb 2024
- 2024A Generative Adversarial Attack for Multilingual Text Classifiers16 Jan 2024
- 2023Robust Text Classification: Analyzing Prototype-Based Networks11 Nov 2023
- 2023LimeAttack: Local Explainable Method for Textual Hard-Label Adversarial Attack1 Aug 2023
- 2023Adversarially Robust Neural Legal Judgement Systems31 Jul 2023
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classification4 Jul 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizer3 May 2023
- 2023Data-centric Artificial Intelligence: A Survey17 Mar 2023
11 more
- 2023Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attacks10 Feb 2023
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descend6 Feb 2023
- 2022Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimization17 Jun 2022
- 2022Text Adversarial Purification as Defense against Adversarial Attacks27 Mar 2022
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directions3 Jan 2022
- 2021Generating Natural Language Adversarial Examples through An Improved Beam Search Algorithm15 Oct 2021
- 2021Don't Search for a Search Method -- Simple Heuristics Suffice for Adversarial Text Attacks16 Sep 2021
- 2021A Strong Baseline for Query Efficient Attacks in a Black Box Setting10 Sep 2021
- 2021Towards Improving Adversarial Training of NLP Models1 Sep 2021
- 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitution29 Aug 2021
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Survey1 Mar 2021
- 2023Data-centric Artificial Intelligence: A Surveycited by 203
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2021Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitutioncited by 56
- 2022Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimizationcited by 22
- 2021A Strong Baseline for Query Efficient Attacks in a Black Box Settingcited by 16
- 2022Text Adversarial Purification as Defense against Adversarial Attackscited by 16
- 2023PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizercited by 15
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directionscited by 11
- 2023Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descendcited by 9
- 2023LimeAttack: Local Explainable Method for Textual Hard-Label Adversarial Attackcited by 9
- 2021Don't Search for a Search Method -- Simple Heuristics Suffice for Adversarial Text Attackscited by 5
12 most cited of 23 All 23 (JSON)
- 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifiers20 May 2024
- 2024Simpler becomes Harder: Do LLMs Exhibit a Coherent Behavior on Simplified Corpora?10 Apr 2024
- 2024Towards Robust Domain Generation Algorithm Classification9 Apr 2024
- 2024Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarials29 Feb 2024
- 2024A Generative Adversarial Attack for Multilingual Text Classifiers16 Jan 2024
- 2023Robust Text Classification: Analyzing Prototype-Based Networks11 Nov 2023
- 2023LimeAttack: Local Explainable Method for Textual Hard-Label Adversarial Attack1 Aug 2023
- 2023Adversarially Robust Neural Legal Judgement Systems31 Jul 2023
- 2023SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classification4 Jul 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizer3 May 2023
- 2023Data-centric Artificial Intelligence: A Survey17 Mar 2023
12 newest of 23 All 23 (JSON)