mlsanityData to 7 Oct 2026

TextHacker: Learning based Hybrid Local Search Algorithm for Text Hard-label Adversarial Attack

arXiv 2201.08193 ↗First posted 20 Jan 2022cs.CL cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

Existing textual adversarial attacks usually utilize the gradient or prediction confidence to generate adversarial examples, making it hard to be deployed in real-world applications. To this end, we consider a rarely investigated but more rigorous setting, namely hard-label attack, in which the attacker can only access the prediction label. In particular, we find we can learn the importance of different words via the change on prediction label caused by word substitutions on the adversarial examples. Based on this observation, we propose a novel adversarial attack, termed Text Hard-label attacker (TextHacker). TextHacker randomly perturbs lots of words to craft an adversarial example. Then, TextHacker adopts a hybrid local search algorithm with the estimation of word importance from the attack history to minimize the adversarial perturbation. Extensive evaluations for text classification and textual entailment show that TextHacker significantly outperforms existing hard-label attacks regarding the attack performance as well as adversary quality.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 25 of its 40 references that are in the map. First posted on arXiv 20 Jan 2022.

Builds on

25 of 40 references.

References · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  4. 2013Intriguing properties of neural networkscited by 5,114
  5. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  6. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  7. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  8. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  9. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  10. 2018Universal Sentence Encodercited by 485
  11. 2018Generating Natural Language Adversarial Examplescited by 422
  12. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
13 more
  1. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  2. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  3. 2021Admix: Enhancing the Transferability of Adversarial Attackscited by 155
  4. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  5. 2017Deep Text Classification Can be Fooledcited by 105
  6. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  7. 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
  8. 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
  9. 2019Natural Language Adversarial Defense through Synonym Encodingcited by 39
  10. 2018Greedy Attack and Gumbel Attack: Generating Adversarial Examples for Discrete Datacited by 37
  11. 2020A Geometry-Inspired Attack for Generating Natural Language Adversarial Examplescited by 20
  12. 2020Learning to Attack: Towards Textual Adversarial Attacking in Real-world Situationscited by 7
  13. 2020TextDecepter: Hard Label Black Box Attack on Text Classifierscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 3; 2026: 3.

10 papers.