OpenAttack: An Open-source Textual Adversarial Attack Toolkit
[
paper]
[
code]
OpenAttack is an open-source textual adversarial attack toolkit. It currently builds in 14 typical attack models that cover all the attack types. Its highly inclusive modular design not only supports quick utilization of existing attack models, but also enables great flexibility and extensibility. It has broad uses including comparing and evaluating attack models, measuring robustness of a victim model, assisting in developing new attack models, and adversarial training.