English

Defense of Word-level Adversarial Attacks via Random Substitution Encoding

Computation and Language 2020-06-15 v2 Machine Learning

Abstract

The adversarial attacks against deep neural networks on computer vision tasks have spawned many new technologies that help protect models from avoiding false predictions. Recently, word-level adversarial attacks on deep models of Natural Language Processing (NLP) tasks have also demonstrated strong power, e.g., fooling a sentiment classification neural network to make wrong decisions. Unfortunately, few previous literatures have discussed the defense of such word-level synonym substitution based attacks since they are hard to be perceived and detected. In this paper, we shed light on this problem and propose a novel defense framework called Random Substitution Encoding (RSE), which introduces a random substitution encoder into the training process of original neural networks. Extensive experiments on text classification tasks demonstrate the effectiveness of our framework on defense of word-level adversarial attacks, under various base and attack models.

Keywords

Cite

@article{arxiv.2005.00446,
  title  = {Defense of Word-level Adversarial Attacks via Random Substitution Encoding},
  author = {Zhaoyang Wang and Hongtao Wang},
  journal= {arXiv preprint arXiv:2005.00446},
  year   = {2020}
}

Comments

12 pages, 2 figures, 4 tables. Accepted as a FULL paper at KSEM 2020

R2 v1 2026-06-23T15:14:38.176Z