论文标题
OpenAttack:开源文字对抗攻击工具包
OpenAttack: An Open-source Textual Adversarial Attack Toolkit
论文作者
论文摘要
近年来,文本对抗攻击受到了广泛的关注。已经提出了各种攻击模型,这些模型非常不同,并通过不同的编程框架和设置实现。这些事实阻碍了攻击模型的快速利用和公平比较。在本文中,我们提出了一个名为OpenAttack的开源文本对抗攻击工具包,以解决这些问题。与现有其他文本对抗攻击工具包相比,OpenAttack具有支持所有攻击类型,多语言和并行处理的独特优势。目前,OpenAttack包括15种涵盖所有攻击类型的典型攻击模型。其高度包容性的模块化设计不仅支持对现有攻击模型的快速利用,而且还可以极大地灵活性和可扩展性。 OpenAttack具有广泛的用途,包括比较和评估攻击模型,测量模型的鲁棒性,有助于开发新的攻击模型以及对抗性训练。可以在https://github.com/thunlp/openattack上获得源代码和文档。
Textual adversarial attacking has received wide and increasing attention in recent years. Various attack models have been proposed, which are enormously distinct and implemented with different programming frameworks and settings. These facts hinder quick utilization and fair comparison of attack models. In this paper, we present an open-source textual adversarial attack toolkit named OpenAttack to solve these issues. Compared with existing other textual adversarial attack toolkits, OpenAttack has its unique strengths in support for all attack types, multilinguality, and parallel processing. Currently, OpenAttack includes 15 typical attack models that cover all attack types. Its highly inclusive modular design not only supports quick utilization of existing attack models, but also enables great flexibility and extensibility. OpenAttack has broad uses including comparing and evaluating attack models, measuring robustness of a model, assisting in developing new attack models, and adversarial training. Source code and documentation can be obtained at https://github.com/thunlp/OpenAttack.