OrderBkd:通过词语换位实现的文本后门攻击
OrderBkd: Textual backdoor attack through repositioning
AI总结:
本文提出 OrderBkd 文本后门攻击,利用基于 POS 规则选择的两个词换位作为触发器,在保持高攻击成功率的同时提升隐蔽性,并验证其对 ONION 防御的鲁棒性。
摘要:
第三方数据集和预训练机器学习模型的使用给 NLP 系统带来了威胁,因为其中可能隐藏后门攻击。现有攻击通过污染数据样本来实现,例如插入 token 或改写句子,但这些做法要么会改变原文语义,要么容易被检测。我们与先前工作的主要区别在于,将句子中两个词的换位作为触发器。通过设计并应用基于词性(POS)的特定规则来选择这些 token,我们在 SST-2 和 AG 分类数据集上保持了较高的攻击成功率,同时在困惑度以及与干净样本的语义相似度方面优于现有攻击。此外,我们证明了该攻击对 ONION 防御方法具有鲁棒性。本文的所有代码和数据均可在 https://github.com/alekseevskaia/OrderBkd 获取。
英文摘要:
The use of third-party datasets and pre-trained machine learning models poses a threat to NLP systems due to possibility of hidden backdoor attacks. Existing attacks involve poisoning the data samples such as insertion of tokens or sentence paraphrasing, which either alter the semantics of the original texts or can be detected. Our main difference from the previous work is that we use the reposition of a two words in a sentence as a trigger. By designing and applying specific part-of-speech (POS) based rules for selecting these tokens, we maintain high attack success rate on SST-2 and AG classification datasets while outperforming existing attacks in terms of perplexity and semantic similarity to the clean samples. In addition, we show the robustness of our attack to the ONION defense method. All the code and data for the paper can be obtained at https://github.com/alekseevskaia/OrderBkd.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。