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

DNN水印中的深度保真度:面向分类模型的后门水印研究

Deep Fidelity in DNN Watermarking: A Study of Backdoor Watermarking for Classification Models

Guang Hua, Andrew Beng Jin Teoh

AI总结:

本文针对DNN后门水印保真度衡量不足的问题,提出深度保真度概念,并通过PFL、SPL损失函数与FixLL策略同时保持宿主模型的特征表示和决策边界,实验验证了其优势。

摘要:

后门水印是保护深度神经网络(DNN)模型版权的一种有前景的范式。在现有关于该主题的研究中,研究者们主要聚焦于水印的鲁棒性,而保真度这一涉及保持模型原始功能的概念则受到的关注较少。本文聚焦于深度图像分类模型,表明现有仅以学习准确率为唯一衡量标准的共识性做法不足以刻画后门保真度。同时,我们指出多媒体水印中嵌入失真的类似概念——在DNN后门水印中被解释为总权重损失(TWL)——用于保真度衡量也存在问题。为应对这一挑战,我们提出深度保真度的概念,即后门水印DNN模型应同时保持未加水印宿主模型的特征表示和决策边界。为实现深度保真度,我们提出两个损失函数,分别称为倒数第二层特征损失(PFL)和softmax概率分布损失(SPL),用于保持特征表示;而决策边界则通过所提出的固定最后一层(FixLL)处理方式来保持,这一设计受到最近发现的启发,即使用固定分类器的深度学习不会造成学习准确率损失。基于上述设计,我们实现了从零开始嵌入和微调两种策略,以评估后门嵌入的深度保真度,并通过使用ResNet18进行MNIST和CIFAR-10分类以及使用宽残差网络(即WRN28_10)进行CIFAR-100任务的实验,验证了其相对于现有方法的优势。PyTorch代码可在https://github.com/ghua-ac/dnn_watermark获取。

英文摘要:

Backdoor watermarking is a promising paradigm to protect the copyright of deep neural network (DNN) models. In the existing works on this subject, researchers have intensively focused on watermarking robustness, while the concept of fidelity, which is concerned with the preservation of the model's original functionality, has received less attention. In this paper, focusing on deep image classification models, we show that the existing shared notion of the sole measurement of learning accuracy is inadequate to characterize backdoor fidelity. Meanwhile, we show that the analogous concept of embedding distortion in multimedia watermarking, interpreted as the total weight loss (TWL) in DNN backdoor watermarking, is also problematic for fidelity measurement. To address this challenge, we propose the concept of deep fidelity, which states that the backdoor watermarked DNN model should preserve both the feature representation and decision boundary of the unwatermarked host model. To achieve deep fidelity, we propose two loss functions termed penultimate feature loss (PFL) and softmax probability-distribution loss (SPL) to preserve feature representation, while the decision boundary is preserved by the proposed fix last layer (FixLL) treatment, inspired by the recent discovery that deep learning with a fixed classifier causes no loss of learning accuracy. With the above designs, both embedding from scratch and fine-tuning strategies are implemented to evaluate the deep fidelity of backdoor embedding, whose advantages over the existing methods are verified via experiments using ResNet18 for MNIST and CIFAR-10 classifications, and wide residual network (i.e., WRN28_10) for CIFAR-100 task. PyTorch codes are available at https://github.com/ghua-ac/dnn_watermark.

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

↑