arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12233cs.LG
收藏

TCAB:一个大规模文本分类攻击基准

TCAB: A Large-Scale Text Classification Attack Benchmark

University of California Irvine(加州大学欧文分校);University of California San Diego(加州大学圣地亚哥分校);University of Oregon(俄勒冈大学)

Kalyani Asthana, Zhouhang Xie, Wencong You, Adam Noack, Jonathan Brophy, Sameer Singh, Daniel Lowd

摘要:

我们介绍了文本分类攻击基准(TCAB),这是一个用于分析、理解、检测和标记针对文本分类器的对抗攻击的数据集。TCAB包括150万个攻击实例,由12个对抗攻击生成,目标是在六个源数据集上训练的三个分类器,用于情感分析和英语滥用检测。与标准文本分类不同,文本攻击必须在被攻击的目标分类器的上下文中理解,因此目标分类器的特征也很重要。TCAB包括所有成功翻转预测标签的攻击实例;攻击的子集也由人类注释器标记,以确定保留主要语义的频率。生成攻击的过程是自动化的,因此TCAB可以很容易地扩展到新的文本攻击和更好的分类器。除了检测和标记攻击的主要任务外,TCAB还可以用于攻击定位、攻击目标标记和攻击特征描述。TCAB代码和数据集可在https://react-nlp.github.io/tcab/上获得。

英文摘要:

We introduce the Text Classification Attack Benchmark (TCAB), a dataset for analyzing, understanding, detecting, and labeling adversarial attacks against text classifiers. TCAB includes 1.5 million attack instances, generated by twelve adversarial attacks targeting three classifiers trained on six source datasets for sentiment analysis and abuse detection in English. Unlike standard text classification, text attacks must be understood in the context of the target classifier that is being attacked, and thus features of the target classifier are important as well. TCAB includes all attack instances that are successful in flipping the predicted label; a subset of the attacks are also labeled by human annotators to determine how frequently the primary semantics are preserved. The process of generating attacks is automated, so that TCAB can easily be extended to incorporate new text attacks and better classifiers as they are developed. In addition to the primary tasks of detecting and labeling attacks, TCAB can also be used for attack localization, attack target labeling, and attack characterization. TCAB code and dataset are available at https://react-nlp.github.io/tcab/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑