arXiv · 2010.02338
CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generation
Abstract
NLP models are shown to suffer from robustness issues, i.e., a model's prediction can be easily changed under small perturbations to the input. In this work, we present a Controlled Adversarial Text Generation (CAT-Gen) model that, given an input text, generates adversarial texts through controllable attributes that are known to be invariant to task labels. For example, in order to attack a model for sentiment classification over product reviews, we can use the product categories as the controllable attribute which would not change the sentiment of the reviews. Experiments on real-world NLP datasets demonstrate that our method can generate more diverse and fluent adversarial texts, compared to many existing adversarial text generation approaches. We further use our generated adversarial examples to improve models through adversarial training, and we demonstrate that our generated attacks are more robust against model re-training and different model architectures.
Explore related subjects
Keep this discovery
Tianlu Wang, Xuezhi Wang, Yao Qin, Ben Packer, Kang Li, Jilin Chen, Alex Beutel, Ed Chi. 2020-10-05. CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generation. https://arxiv.org/abs/2010.02338
Cite the original work for its findings. Save a collection to share your selection of sources.