arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.18633cs.LGcs.AIcs.CL
收藏

设置陷阱:通过蜜罐捕获并击败预训练语言模型中的后门

Setting the Trap: Capturing and Defeating Backdoors in Pretrained Language Models through Honeypots

Rice University(莱斯大学);ZJU-Hangzhou Global Scientific and Technological Innovation Center(浙江大学杭州国际科创中心);Zhejiang University(浙江大学);Samsung Electronics America(三星电子美国)

Ruixiang Tang, Jiayi Yuan, Yiming Li, Zirui Liu, Rui Chen, Xia Hu

AI总结:

本文提出在预训练语言模型中集成蜜罐模块以专门吸收后门信息,并通过惩罚该模块的信息获取来抑制微调过程中的后门形成,实验显示攻击成功率比现有最优方法降低10%至40%。

摘要:

在自然语言处理领域,主流方法涉及使用本地样本对预训练语言模型(PLMs)进行微调。近期研究揭示了PLMs容易遭受后门攻击,攻击者可以通过操纵少量训练样本来嵌入恶意预测行为。在本研究中,我们的目标是开发一种抗后门的微调程序,无论微调数据集是否包含被投毒的样本,都能得到一个无后门的模型。为此,我们提出并将一个蜜罐模块集成到原始PLM中,该模块专门设计用于专门吸收后门信息。我们的设计基于以下观察:PLMs中较低层的表示携带了足够的后门特征,同时携带的原始任务信息极少。因此,我们可以对蜜罐模块获取的信息施加惩罚,以在主干网络微调过程中抑制后门的形成。在基准数据集上进行的全面实验证实了我们防御策略的有效性和鲁棒性。值得注意的是,这些结果表明,与先前最先进的方法相比,攻击成功率显著降低了10%至40%。

英文摘要:

In the field of natural language processing, the prevalent approach involves fine-tuning pretrained language models (PLMs) using local samples. Recent research has exposed the susceptibility of PLMs to backdoor attacks, wherein the adversaries can embed malicious prediction behaviors by manipulating a few training samples. In this study, our objective is to develop a backdoor-resistant tuning procedure that yields a backdoor-free model, no matter whether the fine-tuning dataset contains poisoned samples. To this end, we propose and integrate a honeypot module into the original PLM, specifically designed to absorb backdoor information exclusively. Our design is motivated by the observation that lower-layer representations in PLMs carry sufficient backdoor features while carrying minimal information about the original tasks. Consequently, we can impose penalties on the information acquired by the honeypot module to inhibit backdoor creation during the fine-tuning process of the stem network. Comprehensive experiments conducted on benchmark datasets substantiate the effectiveness and robustness of our defensive strategy. Notably, these results indicate a substantial reduction in the attack success rate ranging from 10\% to 40\% when compared to prior state-of-the-art methods.

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

↑