Contextualized Perturbation for Textual Adversarial Attack

By Dianqi Li, Yizhe Zhang, Hao Peng, Liqun Chen, Chris Brockett, Ming-Ting Sun, Bill Dolan. 2020

285 citations recorded by the source corpus.

Adversarial examples expose the vulnerabilities of natural language processing (NLP) models, and can be used to evaluate and improve their robustness. Existing techniques of generating such examples are typically driven by local heuristic rules that are agnostic to the context, often resulting in unnatural and ungrammatical outputs. This paper presents CLARE, a ContextuaLized AdversaRial Example generation model that produces fluent and grammatical outputs through a mask-then-infill procedure. CLARE builds on a pre-trained masked language model and modifies the inputs in a context-aware manner. We propose three contextualized perturbations, Replace, Insert and Merge, that allow for generating outputs of varied lengths. CLARE can flexibly combine these perturbations and apply them at any position in the inputs, and is thus able to attack the victim model more effectively with fewer edits. Extensive experiments and human evaluation demonstrate that CLARE outperforms the baselines in terms of attack success rate, textual similarity, fluency and grammaticality.

Subfields: Artificial Intelligence, Natural Language Processing, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Douwe Kiela
  3. Noah A. Smith
  4. Graham Neubig
  5. Jianfeng Gao
  6. Luke S. Zettlemoyer
  7. Percy Liang
  8. Yejin Choi

In Natural Language Processing

  1. Mohit Bansal
  2. Douwe Kiela
  3. Sebastian Gehrmann
  4. Graham Neubig
  5. Yejin Choi
  6. Noah A. Smith
  7. Sebastian Ruder
  8. Adina Williams

In Safety, Robustness & Interpretability

  1. Eduard H. Hovy
  2. Adina Williams
  3. Daniel S. Weld
  4. Yulia Tsvetkov
  5. Tongshuang Sherry Wu
  6. Hanjie Chen
  7. Mengnan Du
  8. Douwe Kiela

Citations in the corpus