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

AdvQDet:利用对抗性对比提示调优检测基于查询的对抗攻击

AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuning

Fudan University(复旦大学);School of Computer Science, Fudan University(复旦大学计算机科学学院)

Xin Wang, Kai Chen, Xingjun Ma, Zhineng Chen, Jingjing Chen, Yu-Gang Jiang

AI总结:

本文提出 ACPT 对比提示调优方法微调 CLIP 编码器,并构建 AdvQDet 框架,在 5 次查询内以逾 99% 检测率识别 7 种先进查询攻击。

摘要:

众所周知,深度神经网络(DNN)即使在攻击者只能查询模型的黑盒设置下,也容易受到对抗攻击。具体而言,基于查询的黑盒对抗攻击会根据目标模型针对一系列查询返回的概率向量来估计对抗梯度。在此过程中,向目标模型发出的查询是在先前攻击步骤中精心构造的中间对抗样本,它们在像素空间中具有很高的相似性。受这一观察启发,已有研究提出有状态检测方法,以检测并拒绝基于查询的攻击。尽管这些方法展现出良好效果,但它们要么已被更先进的攻击规避,要么在检测不同攻击所需的尝试次数(查询次数)方面效率较低。可以认为,这里的关键挑战在于:对于从同一张干净图像扰动得到的任意两个中间对抗样本,都要赋予较高的相似度分数。为应对这一挑战,我们提出一种新颖的对抗性对比提示调优(Adversarial Contrastive Prompt Tuning,ACPT)方法,用于鲁棒地微调 CLIP 图像编码器,从而为任意两个中间对抗查询提取相似的嵌入。借助 ACPT,我们进一步提出检测框架 AdvQDet,该框架能够在 5 次查询内检测 7 种最先进的基于查询的攻击,检测率超过 99%。我们还表明,ACPT 对 3 类自适应攻击具有鲁棒性。代码可在 https://github.com/xinwong/AdvQDet 获取。

英文摘要:

Deep neural networks (DNNs) are known to be vulnerable to adversarial attacks even under a black-box setting where the adversary can only query the model. Particularly, query-based black-box adversarial attacks estimate adversarial gradients based on the returned probability vectors of the target model for a sequence of queries. During this process, the queries made to the target model are intermediate adversarial examples crafted at the previous attack step, which share high similarities in the pixel space. Motivated by this observation, stateful detection methods have been proposed to detect and reject query-based attacks. While demonstrating promising results, these methods either have been evaded by more advanced attacks or suffer from low efficiency in terms of the number of shots (queries) required to detect different attacks. Arguably, the key challenge here is to assign high similarity scores for any two intermediate adversarial examples perturbed from the same clean image. To address this challenge, we propose a novel Adversarial Contrastive Prompt Tuning (ACPT) method to robustly fine-tune the CLIP image encoder to extract similar embeddings for any two intermediate adversarial queries. With ACPT, we further introduce a detection framework AdvQDet that can detect 7 state-of-the-art query-based attacks with $>99\%$ detection rate within 5 shots. We also show that ACPT is robust to 3 types of adaptive attacks. Code is available at https://github.com/xinwong/AdvQDet.

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

↑