Skip to content

Context-aware perturbations for text adversarial attacksContextualized Perturbation for Textual Adversarial Attack

arXiv· arXiv:2009.07502· NAACL 2021· Dianqi Li, Yizhe Zhang, Hao Peng, Liqun Chen, Chris Brockett, Ming-Ting Sun, Bill Dolan·Indexed by this site · 23 days ago· Originally publishedAttacks
AI summary

The paper proposes CLARE, a context-aware adversarial text example generation model based on a pretrained masked language model, which outputs fluent, grammatical text through a mask-fill process. The authors design three context-aware perturbations, Replace, Insert, and Merge, which can generate adversarial text of different lengths. Experiments and human evaluation show that CLARE outperforms baselines in attack success rate, text similarity, fluency, and grammaticality, and can attack target models more efficiently with fewer edits.

Read originalNAACL 2021