Adversarial Training with Fast Gradient Projection Method Against Synonym Substitution Based Text Attacks
Abstract
Adversarial training is the most empirically successful approach in improving the robustness of deep neural networks for image classification. For text classification, however, existing synonym substitution based adversarial attacks are effective but not very efficient to be incorporated into practical text adversarial training. Gradient-based attacks, which are very efficient for images, are hard to be implemented for synonym substitution based text attacks due to the lexical, grammatical and semantic constraints and the discrete text input space. Thereby, we propose a fast text adversarial attack method called Fast Gradient Projection Method (FGPM) based on synonym substitution, which is about 20 times faster than existing text attack methods and could achieve similar attack performance. We then incorporate FGPM with adversarial training and propose a text defense method called Adversarial Training with FGPM enhanced by Logit pairing (ATFL). Experiments show that ATFL could significantly improve the model robustness and block the transferability of adversarial examples.
Cite
Text
Wang et al. "Adversarial Training with Fast Gradient Projection Method Against Synonym Substitution Based Text Attacks." AAAI Conference on Artificial Intelligence, 2021. doi:10.1609/AAAI.V35I16.17648Markdown
[Wang et al. "Adversarial Training with Fast Gradient Projection Method Against Synonym Substitution Based Text Attacks." AAAI Conference on Artificial Intelligence, 2021.](https://mlanthology.org/aaai/2021/wang2021aaai-adversarial/) doi:10.1609/AAAI.V35I16.17648BibTeX
@inproceedings{wang2021aaai-adversarial,
title = {{Adversarial Training with Fast Gradient Projection Method Against Synonym Substitution Based Text Attacks}},
author = {Wang, Xiaosen and Yang, Yichen and Deng, Yihe and He, Kun},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2021},
pages = {13997-14005},
doi = {10.1609/AAAI.V35I16.17648},
url = {https://mlanthology.org/aaai/2021/wang2021aaai-adversarial/}
}