Joint Character-Level Word Embedding and Adversarial Stability Training to Defend Adversarial Text

Authors

  • Hui Liu Chinese Academy of Sciences
  • Yongzheng Zhang Chinese Academy of Sciences
  • Yipeng Wang Chinese Academy of Sciences
  • Zheng Lin Chinese Academy of Sciences
  • Yige Chen Chinese Academy of Sciences

DOI:

https://doi.org/10.1609/aaai.v34i05.6356

Abstract

Text classification is a basic task in natural language processing, but the small character perturbations in words can greatly decrease the effectiveness of text classification models, which is called character-level adversarial example attack. There are two main challenges in character-level adversarial examples defense, which are out-of-vocabulary words in word embedding model and the distribution difference between training and inference. Both of these two challenges make the character-level adversarial examples difficult to defend. In this paper, we propose a framework which jointly uses the character embedding and the adversarial stability training to overcome these two challenges. Our experimental results on five text classification data sets show that the models based on our framework can effectively defend character-level adversarial examples, and our models can defend 93.19% gradient-based adversarial examples and 94.83% natural adversarial examples, which outperforms the state-of-the-art defense models.

Downloads

Published

2020-04-03

How to Cite

Liu, H., Zhang, Y., Wang, Y., Lin, Z., & Chen, Y. (2020). Joint Character-Level Word Embedding and Adversarial Stability Training to Defend Adversarial Text. Proceedings of the AAAI Conference on Artificial Intelligence, 34(05), 8384-8391. https://doi.org/10.1609/aaai.v34i05.6356

Issue

Section

AAAI Technical Track: Natural Language Processing