arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.17601cs.CVcs.AI
收藏

CleanerCLIP:用于对比学习后门防御的细粒度反事实语义增强

CleanerCLIP: Fine-grained Counterfactual Semantic Augmentation for Backdoor Defense in Contrastive Learning

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

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

AI总结:

针对CLIP模型易受后门攻击且现有微调防御策略在无监督领域存在局限的问题,提出细粒度文本对齐清理器(TA-Cleaner)切断后门触发器特征连接,在六种攻击算法上实现最先进防御性能。

摘要:

用于多模态对比学习的预训练大型模型(如 CLIP)在业界被广泛认为极易受到数据投毒的后门攻击。这对下游模型训练构成了重大风险。针对此类潜在威胁,与使用增强数据重新训练大型模型相比,微调提供了一种更简单、更高效的防御选择。在监督学习领域,微调防御策略能够实现出色的防御性能。然而,在无监督和半监督领域,我们发现当 CLIP 面临一些复杂的攻击技术时,现有的微调防御策略 CleanCLIP 在防御性能上存在一定的局限性。其文本增强的同义词替换不足以增强文本特征空间。为了弥补这一弱点,我们通过提出一种细粒度的文本对齐清理器(TA-Cleaner)对其进行改进,以切断后门触发器的特征连接。我们在 CleanCLIP 的每个 epoch 中随机选择少量样本进行正负子文本生成,并将这些子文本与图像对齐以加强文本自监督。我们评估了 TA-Cleaner 针对六种攻击算法的有效性,并在 ImageNet1K 上进行了全面的零样本分类测试。实验结果表明,TA-Cleaner 在基于微调的防御技术中实现了最先进的防御能力。即使面对新型攻击技术 BadCLIP,我们的 TA-Cleaner 也优于 CleanCLIP,分别将 Top-1 和 Top-10 的 ASR 降低了 52.02% 和 63.88%。

英文摘要:

Pre-trained large models for multimodal contrastive learning, such as CLIP, have been widely recognized in the industry as highly susceptible to data-poisoned backdoor attacks. This poses significant risks to downstream model training. In response to such potential threats, finetuning offers a simpler and more efficient defense choice compared to retraining large models with augmented data. In the supervised learning domain, fine-tuning defense strategies can achieve excellent defense performance. However, in the unsupervised and semi-supervised domain, we find that when CLIP faces some complex attack techniques, the existing fine-tuning defense strategy, CleanCLIP, has some limitations on defense performance. The synonym substitution of its text-augmentation is insufficient to enhance the text feature space. To compensate for this weakness, we improve it by proposing a fine-grained \textbf{T}ext \textbf{A}lignment \textbf{C}leaner (TA-Cleaner) to cut off feature connections of backdoor triggers. We randomly select a few samples for positive and negative subtext generation at each epoch of CleanCLIP, and align the subtexts to the images to strengthen the text self-supervision. We evaluate the effectiveness of our TA-Cleaner against six attack algorithms and conduct comprehensive zero-shot classification tests on ImageNet1K. Our experimental results demonstrate that TA-Cleaner achieves state-of-the-art defensiveness among finetuning-based defense techniques. Even when faced with the novel attack technique BadCLIP, our TA-Cleaner outperforms CleanCLIP by reducing the ASR of Top-1 and Top-10 by 52.02\% and 63.88\%, respectively.

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

↑