TechRxiv
Local Post-hoc Explainable Methods for Adversarial Text Attacks.pdf (1.52 MB)
Download file

Local Post-hoc Explainable Methods for Adversarial Text Attacks

Download (1.52 MB)
preprint
posted on 21.12.2021, 08:38 by Yidong Chai, Ruicheng LiangRuicheng Liang, Hongyi Zhu, Sagar Samtani, Meng Wang, Yezheng Liu, Yuanchun Jiang
Deep learning models have significantly advanced various natural language processing tasks. However, they are strikingly vulnerable to adversarial text attacks, even in the black-box setting where no model knowledge is accessible to hackers. Such attacks are conducted with a two-phase framework: 1) a sensitivity estimation phase to evaluate each element’s sensitivity to the target model’s prediction, and 2) a perturbation execution phase to craft the adversarial examples based on estimated element sensitivity. This study explored the connections between the local post-hoc explainable methods for deep learning and black-box adversarial text attacks and proposed a novel eXplanation-based method for crafting Adversarial Text Attacks (XATA). XATA leverages local post-hoc explainable methods (e.g., LIME or SHAP) to measure input elements’ sensitivity and adopts the word replacement perturbation strategy to craft adversarial examples. We evaluated the attack performance of the proposed XATA on three commonly used text-based datasets: IMDB Movie Review, Yelp Reviews-Polarity, and Amazon Reviews-Polarity. The proposed XATA outperformed existing baselines in various target models, including LSTM, GRU, CNN, and BERT. Moreover, we found that improved local post-hoc explainable methods (e.g., SHAP) lead to more effective adversarial attacks. These findings showed that when researchers constantly advance the explainability of deep learning models with local post-hoc methods, they also provide hackers with weapons to craft more targeted and dangerous adversarial attacks.

Funding

72101079

71722010

72171071

91746302

91846201

JZ2021HGPA0060

History

Email Address of Submitting Author

rcliang@mail.hfut.edu.cn

ORCID of Submitting Author

0000-0001-6266-2657

Submitting Author's Institution

Hefei University of Technology

Submitting Author's Country

China

Usage metrics

Licence

Exports