arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.08104cs.MMcs.LGeess.IV
收藏

基于生成对抗网络的深度神经网络水印检测与去除

Detect and remove watermark in deep neural networks via generative adversarial networks

Nanjing University of Aeronautics and Astronautics(南京航空航天大学)

Haoqi Wang, Mingfu Xue, Shichang Sun, Yushu Zhang, Jian Wang, Weiqiang Liu

摘要:

深度神经网络(DNN)在各个领域都取得了令人瞩目的表现。然而,从头开始训练DNN模型需要大量的计算资源和训练数据。对于大多数个人用户来说,难以获得这样的计算资源和训练数据。模特侵权是近年来出现的一个新问题。例如,预先训练的模型可能会在未经模型所有者授权的情况下被非法用户窃取或滥用。近年来,人们提出了许多关于保护DNN模型知识产权的工作。在这些工作中,嵌入水印到DNN基于后门是广泛使用的方法之一。然而,当DNN模型被盗时,基于后门的水印可能面临被对手检测和移除的风险。本文提出了一种通过生成对抗网络(GAN)在深度神经网络中检测和去除水印的方案。我们证明了基于后门的DNN水印容易受到基于GAN的水印去除攻击。所提出的攻击方法包括两个阶段。在第一阶段,我们使用GAN和少量的干净图像检测和反水印的DNN模型。在第二阶段,我们根据反向后门图像对水印DNN进行微调。在MNIST和CIFAR10数据集上的实验结果表明,该方法可以有效去除DNN模型中约98%的水印,水印留存率从100%降低到不足2%。同时,所提出的攻击几乎不影响模型的性能。在MNIST和CIFAR10数据集上,带水印的DNN的测试精度分别下降了不到1%和3%。

英文摘要:

Deep neural networks (DNN) have achieved remarkable performance in various fields. However, training a DNN model from scratch requires a lot of computing resources and training data. It is difficult for most individual users to obtain such computing resources and training data. Model copyright infringement is an emerging problem in recent years. For instance, pre-trained models may be stolen or abuse by illegal users without the authorization of the model owner. Recently, many works on protecting the intellectual property of DNN models have been proposed. In these works, embedding watermarks into DNN based on backdoor is one of the widely used methods. However, when the DNN model is stolen, the backdoor-based watermark may face the risk of being detected and removed by an adversary. In this paper, we propose a scheme to detect and remove watermark in deep neural networks via generative adversarial networks (GAN). We demonstrate that the backdoor-based DNN watermarks are vulnerable to the proposed GAN-based watermark removal attack. The proposed attack method includes two phases. In the first phase, we use the GAN and few clean images to detect and reverse the watermark in the DNN model. In the second phase, we fine-tune the watermarked DNN based on the reversed backdoor images. Experimental evaluations on the MNIST and CIFAR10 datasets demonstrate that, the proposed method can effectively remove about 98% of the watermark in DNN models, as the watermark retention rate reduces from 100% to less than 2% after applying the proposed attack. In the meantime, the proposed attack hardly affects the model's performance. The test accuracy of the watermarked DNN on the MNIST and the CIFAR10 datasets drops by less than 1% and 3%, respectively.

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

↑