arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.01742cs.CRcs.CL
收藏

NCL:基于噪声增强对比学习的文本后门防御

NCL: Textual Backdoor Defense Using Noise-augmented Contrastive Learning

Peking University(北京大学)

Shengfang Zhai, Qingni Shen, Xiaoyi Chen, Weilong Wang, Cong Li, Yuejian Fang, Zhonghai Wu

摘要:

当前,后门攻击因其对深度学习模型造成的巨大危害而备受关注。攻击者对训练数据下毒,使模型在受害者使用中毒数据集无意识地训练后被注入后门。然而,在文本领域,现有的作品没有提供足够的防御后门攻击。在本文中,我们提出了一个噪声增强的对比学习(NCL)框架,以抵御文本后门攻击训练模型时,不可信的数据。为了减轻触发器和目标标签之间的映射,我们添加适当的噪声干扰可能的后门触发器,增加训练数据集,然后利用对比学习目标在特征空间中提取同源样本。实验结果表明,该方法在抵御三种文本后门攻击方面的有效性优于已有的方法。

英文摘要:

At present, backdoor attacks attract attention as they do great harm to deep learning models. The adversary poisons the training data making the model being injected with a backdoor after being trained unconsciously by victims using the poisoned dataset. In the field of text, however, existing works do not provide sufficient defense against backdoor attacks. In this paper, we propose a Noise-augmented Contrastive Learning (NCL) framework to defend against textual backdoor attacks when training models with untrustworthy data. With the aim of mitigating the mapping between triggers and the target label, we add appropriate noise perturbing possible backdoor triggers, augment the training dataset, and then pull homology samples in the feature space utilizing contrastive learning objective. Experiments demonstrate the effectiveness of our method in defending three types of textual backdoor attacks, outperforming the prior works.

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

↑