第1034章你是在偷我的模型吗?指纹深度神经网络的样本相关性
Are You Stealing My Model? Sample Correlation for Fingerprinting Deep Neural Networks
摘要:
现成的模型作为一种商业服务可能会被模型窃取攻击所窃取,对模型所有者的权利构成极大的威胁。模型指纹技术旨在验证可疑模型是否是从受害模型中窃取的,受到越来越多的关注。以往的方法总是利用可转移的对抗样本作为模型指纹,这对对抗防御或迁移学习场景敏感。为了解决这个问题,我们考虑样本之间的成对关系,而不是提出了一种新的,但简单的基于样本相关性(SAC)的模型窃取检测方法。具体来说,我们提出了SAC-w,选择错误分类的正常样本作为模型输入,并计算其模型输出之间的平均相关性。为了减少训练时间,我们进一步开发了SAC-m,它选择CutMix增强样本作为模型输入,而不需要训练代理模型或生成对抗性示例。大量的结果验证了SAC成功地抵御了各种模型窃取攻击,甚至包括对抗性训练或迁移学习,并在不同数据集和模型架构的AUC方面以最佳性能检测被盗模型。这些代码可在https://github.com/guanjiyang/SAC上获得。
英文摘要:
An off-the-shelf model as a commercial service could be stolen by model stealing attacks, posing great threats to the rights of the model owner. Model fingerprinting aims to verify whether a suspect model is stolen from the victim model, which gains more and more attention nowadays. Previous methods always leverage the transferable adversarial examples as the model fingerprint, which is sensitive to adversarial defense or transfer learning scenarios. To address this issue, we consider the pairwise relationship between samples instead and propose a novel yet simple model stealing detection method based on SAmple Correlation (SAC). Specifically, we present SAC-w that selects wrongly classified normal samples as model inputs and calculates the mean correlation among their model outputs. To reduce the training time, we further develop SAC-m that selects CutMix Augmented samples as model inputs, without the need for training the surrogate models or generating adversarial examples. Extensive results validate that SAC successfully defends against various model stealing attacks, even including adversarial training or transfer learning, and detects the stolen models with the best performance in terms of AUC across different datasets and model architectures. The codes are available at https://github.com/guanjiyang/SAC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。