arXiv:2502.20562cs.CVcs.CR2025-02被引 3

通过学习图像相似性提升防御能力,有效应对灰盒攻击。

LISArD: Learning Image Similarity to Defend Against Gray-box Adversarial Attacks

  • 用嵌入向量的交叉相关矩阵逼近对角矩阵,实现无梯度防御。
  • 在灰盒和白盒攻击下均表现稳健,且不增加计算开销。
  • 适用于多种架构,适合追求实用防御的开发者参考。

当前最先进的防御方法通常在白盒攻击下评估,这并不现实,因假设攻击者可访问目标网络的梯度。为应对此情况,对抗训练(AT)和对抗蒸馏(AD)在训练中引入对抗样本,对抗净化则使用生成模型重建输入图像。本文考虑更真实的灰盒攻击场景:攻击者知晓网络架构与训练数据集,但无法获取梯度。我们实证表明模型对灰盒攻击仍脆弱,并提出LISArD,一种不增加计算与时间成本的防御机制,可在无需对抗训练的情况下抵御灰盒与白盒攻击。该方法通过同时进行分类学习,将扰动图像与干净图像嵌入的交叉相关矩阵近似为对角矩阵。结果表明,LISArD能有效防御灰盒攻击,适用于多种架构,并具备向白盒场景迁移的能力。此外,现有最优的AD模型在移除对抗训练或切换至灰盒设置时性能大幅下降,凸显其在非白盒场景下的鲁棒性不足。所有源代码已公开于https://github.com/Joana-Cabral/LISArD。

原文摘要 · Abstract (English)

State-of-the-art defense mechanisms are typically evaluated in the context of white-box attacks, which is not realistic, as it assumes the attacker can access the gradients of the target network. To protect against this scenario, Adversarial Training (AT) and Adversarial Distillation (AD) include adversarial examples during the training phase, and Adversarial Purification uses a generative model to reconstruct all the images given to the classifier. This paper considers an even more realistic evaluation scenario: gray-box attacks, which assume that the attacker knows the architecture and the dataset used to train the target network, but cannot access its gradients. We provide empirical evidence that models are vulnerable to gray-box attacks and propose LISArD, a defense mechanism that does not increase computational and temporal costs but provides robustness against gray-box and white-box attacks without including AT. Our method approximates a cross-correlation matrix, created with the embeddings of perturbed and clean images, to a diagonal matrix while simultaneously conducting classification learning. Our results show that LISArD can effectively protect against gray-box attacks, can be used in multiple architectures, and carries over its resilience to the white-box scenario. Also, state-of-the-art AD models underperform greatly when removing AT and/or moving to gray-box settings, highlighting the lack of robustness from existing approaches to perform in various conditions (aside from white-box settings). All the source code is available at https://github.com/Joana-Cabral/LISArD.

对抗攻击灰盒防御图像相似性无训练防御

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。