CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generation

10/05/2020
by   Tianlu Wang, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/29/2022

Towards Attribute-Entangled Controllable Text Generation: A Pilot Study of Blessing Generation

Controllable Text Generation (CTG) has obtained great success due to its...
research
12/22/2019

AdvCodec: Towards A Unified Framework for Adversarial Text Generation

While there has been great interest in generating imperceptible adversar...
research
09/24/2019

A Visual Analytics Framework for Adversarial Text Generation

This paper presents a framework which enables a user to more easily make...
research
02/23/2021

Controllable and Diverse Text Generation in E-commerce

In E-commerce, a key challenge in text generation is to find a good trad...
research
10/06/2022

FAST: Improving Controllability for Text Generation with Feedback Aware Self-Training

Controllable text generation systems often leverage control codes to dir...
research
06/05/2019

Automated Speech Generation from UN General Assembly Statements: Mapping Risks in AI Generated Texts

Automated text generation has been applied broadly in many domains such ...
research
05/23/2021

Controlling Text Edition by Changing Answers of Specific Questions

In this paper, we introduce the new task of controllable text edition, i...

Please sign up or login with your details

Forgot password? Click here to reset