VertAttack:利用文本分类器的水平视觉特性
VertAttack: Taking advantage of Text Classifiers' horizontal vision
AI总结:
本研究提出VertAttack攻击方法,通过将文本分类器依赖的单词垂直重写,大幅降低多个transformer模型的准确率,同时保留语义,为研发更鲁棒的分类算法提供启发。
摘要:
多年来,文本分类系统的性能持续提升。然而,几乎所有当前的SOTA(state-of-the-art,最优水平)分类器都存在一个类似的缺陷:它们以水平方式处理文本。垂直书写的单词无法被分类器识别。相比之下,人类能够轻松识别并阅读水平和垂直书写的单词。因此,人类攻击者可以将有问题的单词垂直书写,而对其他人类来说其含义仍然保留。我们模拟了这种攻击,即VertAttack。VertAttack会识别分类器依赖的单词,然后将这些单词垂直重写。我们发现,VertAttack能够大幅降低4种不同transformer模型在5个数据集上的准确率。例如,在SST2数据集上,VertAttack能够将RoBERTa的准确率从94%降至13%。此外,由于VertAttack不会替换单词,语义很容易得到保留。我们通过一项人类研究验证了这一点,发现众包工作者能够正确标注77%的受扰动文本,而原始文本的正确标注率为81%。我们认为,VertAttack揭示了未来人类可能如何规避分类器,从而启发人们研究更鲁棒的算法。
英文摘要:
Text classification systems have continuously improved in performance over the years. However, nearly all current SOTA classifiers have a similar shortcoming, they process text in a horizontal manner. Vertically written words will not be recognized by a classifier. In contrast, humans are easily able to recognize and read words written both horizontally and vertically. Hence, a human adversary could write problematic words vertically and the meaning would still be preserved to other humans. We simulate such an attack, VertAttack. VertAttack identifies which words a classifier is reliant on and then rewrites those words vertically. We find that VertAttack is able to greatly drop the accuracy of 4 different transformer models on 5 datasets. For example, on the SST2 dataset, VertAttack is able to drop RoBERTa's accuracy from 94 to 13%. Furthermore, since VertAttack does not replace the word, meaning is easily preserved. We verify this via a human study and find that crowdworkers are able to correctly label 77% perturbed texts perturbed, compared to 81% of the original texts. We believe VertAttack offers a look into how humans might circumvent classifiers in the future and thus inspire a look into more robust algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。