Don't Search for a Search Method -- Simple Heuristics Suffice for Adversarial Text Attacks
Not on the map. Why?
Abstract (arXiv)
Recently more attention has been given to adversarial attacks on neural networks for natural language processing (NLP). A central research topic has been the investigation of search algorithms and search constraints, accompanied by benchmark algorithms and tasks. We implement an algorithm inspired by zeroth order optimization-based attacks and compare with the benchmark results in the TextAttack framework. Surprisingly, we find that optimization-based methods do not yield any improvement in a constrained setup and slightly benefit from approximate gradient information only in unconstrained setups where search spaces are larger. In contrast, simple heuristics exploiting nearest neighbors without querying the target function yield substantial success rates in constrained setups, and nearly full success rate in unconstrained setups, at an order of magnitude fewer queries. We conclude from these results that current TextAttack benchmark tasks are too easy and constraints are too strict, preventing meaningful research on black-box adversarial text attacks.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 11 of its 23 references that are in the map. First posted on arXiv 16 Sep 2021.
Builds on
11 of 23 references.
References · 11
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2013Intriguing properties of neural networkscited by 5,155
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
- 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
- 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
- 2020Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examplescited by 23
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 2; 2026: 1.
5 papers.
- 2023Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attackscited by 3
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attackscited by 1
- 2025The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcutscited by 0
- 2025Embedding-Space Data Augmentation to Prevent Membership Inference Attacks in Clinical Time Series Forecastingcited by 0
- 2026Generalization Is Stability, Not Accuracy: Multi-Axis Evaluation of LLMscited by 0
- 2026Generalization Is Stability, Not Accuracy: Multi-Axis Evaluation of LLMs1 Oct 2026
- 2025Embedding-Space Data Augmentation to Prevent Membership Inference Attacks in Clinical Time Series Forecasting7 Nov 2025
- 2025The Dog the Cat Chased Stumped the Model: Measuring When Language Models Abandon Structure for Shortcuts23 Oct 2025
- 2024Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks16 Feb 2024
- 2023Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attacks10 Feb 2023