Skip to content

TextHacker: a learning-based hybrid local search algorithm for text hard-label adversarial attacksTextHacker: Learning based Hybrid Local Search Algorithm for Text Hard-label Adversarial Attack

arXiv· arXiv:2201.08193· Findings of EMNLP 2022· Zhen Yu, Xiaosen Wang, Wanxiang Che, Kun He·Indexed by this site · 26 days ago· Originally publishedAttacks
AI summary

The researchers propose TextHacker, a text hard-label adversarial attack method that requires only access to predicted labels. Existing text adversarial attacks typically rely on gradients or prediction confidence, making them difficult to deploy in real applications; TextHacker first constructs adversarial examples by randomly perturbing a large number of words, then employs a hybrid local search algorithm that estimates word importance from the changes in predicted labels caused by word substitutions in the attack history, in order to minimize the adversarial perturbation. Extensive evaluations on text classification and textual entailment tasks show that TextHacker significantly outperforms existing hard-label attacks in both attack performance and adversarial example quality.

Read originalFindings of EMNLP 2022