arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.01579cs.LGcs.CRcs.CV
收藏

黑盒模型的无数据对抗攻击防御

Data-free Defense of Black Box Models Against Adversarial Attacks

University of Central Florida(中佛罗里达大学);New York University(纽约大学);Indian Institute of Science(印度科学学院)

Gaurav Kumar Nayak, Inder Khatri, Ruchit Rawal, Anirban Chakraborty

AI总结:

本文提出一种无数据黑盒防御方法,利用生成模型与模型窃取训练替代网络,并通过小波噪声去除器和再生器网络净化输入,在 CIFAR-10 上显著提升对抗准确率。

摘要:

多家公司通常通过 API 仅以黑盒形式向第三方用户暴露其训练好的深度模型(即架构细节、学习到的权重、训练细节等),以保护这些模型。此外,出于专有原因或敏感性考虑,它们甚至可能不提供对训练数据的访问。在这项工作中,我们提出了一种在无数据设置下针对黑盒模型对抗攻击的新型防御机制。我们通过生成模型构建合成数据,并使用模型窃取技术训练替代网络。为了最小化扰动样本上的对抗污染,我们提出了“小波噪声去除器”(WNR),它对输入图像执行离散小波分解,并仅仔细选择由我们的“小波系数选择模块”(WCSM)确定的少数重要系数。为了在通过 WNR 去除噪声后恢复图像的高频内容,我们进一步训练一个“再生器”网络,其目标是检索系数,使得重建图像在替代模型上产生与原始预测相似的结果。在测试时,WNR 与训练好的再生器网络组合后被前置到黑盒网络,从而大幅提升对抗准确率。与基线相比,即使攻击者使用与黑盒架构(Alexnet)相似的替代架构(Alexnet-half 和 Alexnet)并采用与防御者相同的模型窃取策略,我们的方法在 CIFAR-10 上针对最先进的 Auto Attack 仍将对抗准确率提高了 38.98% 和 32.01%。代码可在 https://github.com/vcl-iisc/data-free-black-box-defense 获取。

英文摘要:

Several companies often safeguard their trained deep models (i.e., details of architecture, learnt weights, training details etc.) from third-party users by exposing them only as black boxes through APIs. Moreover, they may not even provide access to the training data due to proprietary reasons or sensitivity concerns. In this work, we propose a novel defense mechanism for black box models against adversarial attacks in a data-free set up. We construct synthetic data via generative model and train surrogate network using model stealing techniques. To minimize adversarial contamination on perturbed samples, we propose 'wavelet noise remover' (WNR) that performs discrete wavelet decomposition on input images and carefully select only a few important coefficients determined by our 'wavelet coefficient selection module' (WCSM). To recover the high-frequency content of the image after noise removal via WNR, we further train a 'regenerator' network with an objective to retrieve the coefficients such that the reconstructed image yields similar to original predictions on the surrogate model. At test time, WNR combined with trained regenerator network is prepended to the black box network, resulting in a high boost in adversarial accuracy. Our method improves the adversarial accuracy on CIFAR-10 by 38.98% and 32.01% on state-of-the-art Auto Attack compared to baseline, even when the attacker uses surrogate architecture (Alexnet-half and Alexnet) similar to the black box architecture (Alexnet) with same model stealing strategy as defender. The code is available at https://github.com/vcl-iisc/data-free-black-box-defense

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

↑