articleJan 1, 2020GOLD OA

TextAttack: A Framework for Adversarial Attacks, Data Augmentation, and Adversarial Training in NLP

University of Virginia

Indexed incrossref

Abstract

While there has been substantial research using adversarial attacks to analyze NLP models, each attack is implemented in its own code repository. It remains challenging to develop NLP attacks and utilize them to improve model performance. This paper introduces TextAttack, a Python framework for adversarial attacks, data augmentation, and adversarial training in NLP. TextAttack builds attacks from four components: a goal function, a set of constraints, a transformation, and a search method. TextAttack's modular design enables researchers to easily construct attacks from combinations of novel and existing components. TextAttack provides implementations of 16 adversarial attacks from the literature and supports a…

Citation impact

532
total citations
FWCI
45.97
Percentile
100%
References
42
Citations per year

Authors

6

Topics & keywords

Keywords
  • Adversarial system
  • Computer science
  • Modular design
  • Artificial intelligence
  • Python (programming language)
  • Training set
  • Machine learning
  • Robustness (evolution)
No related works found for this paper.