paper-with-me

홈 › Papers

Natural Language Adversarial Defense through Synonym Encoding

2019-09-15 · Xiaosen Wang, Hao Jin, Yichen Yang, Kun He

In the area of natural language processing, deep learning models are recently known to be vulnerable to various types of adversarial perturbations, but relatively few works are done on the defense side. Especially, there exists few effective defense method against the successful synonym substitution based attacks that preserve the syntactic structure and semantic information of the original text while fooling the deep learning models. We contribute in this direction and propose a novel adversarial defense method called Synonym Encoding Method (SEM). Specifically, SEM inserts an encoder before the input layer of the target model to map each cluster of synonyms to a unique encoding and trains the model to eliminate possible adversarial perturbations without modifying the network architecture or adding extra data. Extensive experiments demonstrate that SEM can effectively defend the current synonym substitution based attacks and block the transferability of adversarial examples. SEM is also easy and efficient to scale to large models and big datasets.

📄 PDF Abstract BibTeX arXiv:1909.06723

Code (1)

xiaosen-wang/SEM 공식 구현 tf

Tasks

Adversarial AttackAdversarial DefenseDeep Learning

Similar Papers 제목 키워드 기반

SNEAK: Synonymous Sentences-Aware Adversarial Attack on Natural Language Video Localization

2021-12-08 · Wenbo Gou, Wen Shi, Jian Lou, Lijie Huang 외

Natural language video localization (NLVL) is an important task in the vision-language understanding area, which calls for an in-depth understanding of not only computer vision and natural language side alone, but more i…

Adversarial AttackAdversarial Robustness

Fast Adversarial Training against Textual Adversarial Attacks

2024-01-23 · Yichen Yang, Xin Liu, Kun He

Many adversarial defense methods have been proposed to enhance the adversarial robustness of natural language processing models. However, most of them introduce additional pre-set linguistic knowledge and assume that the…

Adversarial DefenseAdversarial Robustness

Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemble

2020-06-20 · Yi Zhou, Xiaoqing Zheng, Cho-Jui Hsieh, Kai-Wei Chang 외

Despite neural networks have achieved prominent performance on many natural language processing (NLP) tasks, they are vulnerable to adversarial examples. In this paper, we propose Dirichlet Neighborhood Ensemble (DNE), a…

Sentence

Defense against Synonym Substitution-based Adversarial Attacks via Dirichlet Neighborhood Ensemble

2021-08-01 · ACL 2021 5 · Yi Zhou, Xiaoqing Zheng, Cho-Jui Hsieh, Kai-Wei Chang 외

Although deep neural networks have achieved prominent performance on many NLP tasks, they are vulnerable to adversarial examples. We propose Dirichlet Neighborhood Ensemble (DNE), a randomized method for training a robus…

Sentence

Generalization to Mitigate Synonym Substitution Attacks

2020-11-01 · EMNLP (DeeLIO) 2020 11 · Basemah Alshemali, Jugal Kalita

Studies have shown that deep neural networks (DNNs) are vulnerable to adversarial examples – perturbed inputs that cause DNN-based models to produce incorrect results. One robust adversarial attack in the NLP domain is t…

Adversarial Attack