arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.00344cs.MMcs.CR
收藏

BlackMarks:用于深度神经网络的黑盒多比特水印

BlackMarks: Blackbox Multibit Watermarking for Deep Neural Networks

Huili Chen, Bita Darvish Rouhani, Farinaz Koushanfar

摘要:

深度神经网络为我们理解从计算机视觉和自然语言处理到情报战和医疗保健等各个重要领域的原始数据的能力带来了范式转变。虽然DNN越来越多地部署在白盒设置中,其中模型内部是公开的,或者黑盒设置中,其中只有模型输出是已知的,但实际问题是保护模型免受知识产权(IP)侵犯。我们提出了BlackMarks,第一个端到端的多位水印框架,适用于黑盒场景。BlackMarks将预训练的未标记模型和所有者的二进制签名作为输入,并输出相应的带有水印密钥的标记模型。为此,BlackMarks首先设计了一个依赖于模型的编码方案,通过将输出激活聚类为两组,将任务中所有可能的类映射到位'0'和位'1'。给定所有者的水印签名(二进制字符串),使用有针对性的对抗攻击设计一组密钥图像和标签对。然后,通过使用生成的WM密钥集微调模型,将水印(WM)嵌入到目标DNN的预测行为中。为了提取WM,远程模型由WM密钥图像查询,并且根据设计的编码方案从相应的预测中解码所有者的签名。我们对BlackMarks在MNIST,CIFAR10,ImageNet数据集上的性能进行了全面评估,并证实了其有效性和鲁棒性。BlackMarks保留了原始DNN的功能,并产生可忽略不计的WM嵌入运行时开销,低至2.054%。

英文摘要:

Deep Neural Networks have created a paradigm shift in our ability to comprehend raw data in various important fields ranging from computer vision and natural language processing to intelligence warfare and healthcare. While DNNs are increasingly deployed either in a white-box setting where the model internal is publicly known, or a black-box setting where only the model outputs are known, a practical concern is protecting the models against Intellectual Property (IP) infringement. We propose BlackMarks, the first end-to-end multi-bit watermarking framework that is applicable in the black-box scenario. BlackMarks takes the pre-trained unmarked model and the owner's binary signature as inputs and outputs the corresponding marked model with a set of watermark keys. To do so, BlackMarks first designs a model-dependent encoding scheme that maps all possible classes in the task to bit '0' and bit '1' by clustering the output activations into two groups. Given the owner's watermark signature (a binary string), a set of key image and label pairs are designed using targeted adversarial attacks. The watermark (WM) is then embedded in the prediction behavior of the target DNN by fine-tuning the model with generated WM key set. To extract the WM, the remote model is queried by the WM key images and the owner's signature is decoded from the corresponding predictions according to the designed encoding scheme. We perform a comprehensive evaluation of BlackMarks's performance on MNIST, CIFAR10, ImageNet datasets and corroborate its effectiveness and robustness. BlackMarks preserves the functionality of the original DNN and incurs negligible WM embedding runtime overhead as low as 2.054%.

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

↑