arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.07863cs.CR
收藏

基于双层触发器优化的后门对比学习

Backdoor Contrastive Learning via Bi-level Trigger Optimization

Weiyu Sun, Xinyu Zhang, Hao Lu, Yingcong Chen, Ting Wang, Jinghui Chen, Lu Lin

AI总结:

针对对比学习中固定触发器后门攻击成功率低的问题,提出基于双层优化的触发器设计方法,在1%低投毒率下实现ImageNet-100上99%的攻击成功率,且可规避现有最先进防御。

摘要:

对比学习(Contrastive Learning,CL)凭借其在无监督表示学习中的出色能力受到了广泛关注。然而,近期研究揭示了CL易受后门攻击的脆弱性:特征提取器可能被误导,将含后门的数据嵌入到与攻击目标类别相近的位置,从而欺骗下游预测器将其误分类为目标类别。现有攻击通常采用固定的触发器模式,通过注入触发器的数据投毒训练集,期望特征提取器学习到触发器与目标类别之间的关联。但我们发现,由于CL的特殊机制,这种固定触发器设计无法在嵌入空间中有效将注入触发器的数据与目标类别关联,导致攻击成功率(Attack Success Rate,ASR)有限。这一现象促使我们寻找一种专为CL框架定制的更优后门触发器设计。本文提出了一种双层优化方法来实现这一目标:内层优化模拟替代受害模型的CL动态过程,外层优化强制后门触发器在整个替代CL训练过程中始终与目标类别保持接近。大量实验表明,我们的攻击在极低投毒率(1%)下即可实现更高的攻击成功率(例如在ImageNet-100上达到99%的ASR)。此外,该攻击能够有效规避现有的最先进防御方法。代码可在以下链接获取:https://github.com/SWY666/SSL-backdoor-BLTO。

英文摘要:

Contrastive Learning (CL) has attracted enormous attention due to its remarkable capability in unsupervised representation learning. However, recent works have revealed the vulnerability of CL to backdoor attacks: the feature extractor could be misled to embed backdoored data close to an attack target class, thus fooling the downstream predictor to misclassify it as the target. Existing attacks usually adopt a fixed trigger pattern and poison the training set with trigger-injected data, hoping for the feature extractor to learn the association between trigger and target class. However, we find that such fixed trigger design fails to effectively associate trigger-injected data with target class in the embedding space due to special CL mechanisms, leading to a limited attack success rate (ASR). This phenomenon motivates us to find a better backdoor trigger design tailored for CL framework. In this paper, we propose a bi-level optimization approach to achieve this goal, where the inner optimization simulates the CL dynamics of a surrogate victim, and the outer optimization enforces the backdoor trigger to stay close to the target throughout the surrogate CL procedure. Extensive experiments show that our attack can achieve a higher attack success rate (e.g., $99\%$ ASR on ImageNet-100) with a very low poisoning rate ($1\%$). Besides, our attack can effectively evade existing state-of-the-art defenses. Code is available at: https://github.com/SWY666/SSL-backdoor-BLTO.

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

↑