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

少样本学习是否遭受后门攻击?

Does Few-shot Learning Suffer from Backdoor Attacks?

Institute of Information Engineering, CAS(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanyang Technological University(南洋理工大学);University of Oxford(牛津大学);National University of Singapore(新加坡国立大学);Sun Yat-sen University(中山大学)

Xinwei Liu, Xiaojun Jia, Jindong Gu, Yuan Xun, Siyuan Liang, Xiaochun Cao

AI总结:

本文提出少样本学习后门攻击(FLBA),通过最大化中毒与良性特征差距的触发器及两类不可感知扰动,解决FSL中过拟合与隐蔽性问题,实现高攻击成功率并保持干净准确率。

摘要:

少样本学习(FSL)领域在训练数据有限的场景中展现出了有前景的结果,但其对后门攻击的脆弱性在很大程度上仍未被探索。我们首先通过评估现有后门攻击方法在少样本学习场景中的表现来探索这一课题。与标准监督学习不同,由于两个主要问题,现有后门攻击方法未能在FSL中实施有效攻击。首先,模型倾向于过拟合于良性特征或触发器特征,导致攻击成功率与良性准确率之间出现艰难的权衡。其次,由于训练样本数量少,支持集中的脏标签或可见触发器很容易被受害者检测到,这降低了攻击的隐蔽性。FSL似乎能够免受后门攻击。然而,在本文中,我们提出了少样本学习后门攻击(FLBA),以表明FSL仍然容易受到后门攻击。具体而言,我们首先生成一个触发器,以最大化中毒特征与良性特征之间的差距。它使模型能够同时学习良性特征和触发器特征,从而解决了过拟合问题。为了使其更具隐蔽性,我们通过优化两种类型的不可感知扰动(即吸引性扰动和排斥性扰动)来隐藏触发器,而不是直接附加触发器。一旦我们获得了这些扰动,我们就可以将良性支持集中的所有样本投毒为隐藏的中毒支持集,并在其上微调模型。我们的方法在不同的少样本学习范式的FSL任务中展现出了高攻击成功率(ASR),同时保持了干净准确率并维持了隐蔽性。本研究揭示了少样本学习仍然面临后门攻击,其安全性应受到重视。

英文摘要:

The field of few-shot learning (FSL) has shown promising results in scenarios where training data is limited, but its vulnerability to backdoor attacks remains largely unexplored. We first explore this topic by first evaluating the performance of the existing backdoor attack methods on few-shot learning scenarios. Unlike in standard supervised learning, existing backdoor attack methods failed to perform an effective attack in FSL due to two main issues. Firstly, the model tends to overfit to either benign features or trigger features, causing a tough trade-off between attack success rate and benign accuracy. Secondly, due to the small number of training samples, the dirty label or visible trigger in the support set can be easily detected by victims, which reduces the stealthiness of attacks. It seemed that FSL could survive from backdoor attacks. However, in this paper, we propose the Few-shot Learning Backdoor Attack (FLBA) to show that FSL can still be vulnerable to backdoor attacks. Specifically, we first generate a trigger to maximize the gap between poisoned and benign features. It enables the model to learn both benign and trigger features, which solves the problem of overfitting. To make it more stealthy, we hide the trigger by optimizing two types of imperceptible perturbation, namely attractive and repulsive perturbation, instead of attaching the trigger directly. Once we obtain the perturbations, we can poison all samples in the benign support set into a hidden poisoned support set and fine-tune the model on it. Our method demonstrates a high Attack Success Rate (ASR) in FSL tasks with different few-shot learning paradigms while preserving clean accuracy and maintaining stealthiness. This study reveals that few-shot learning still suffers from backdoor attacks, and its security should be given attention.

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

↑