DeepObfuscation:通过知识蒸馏保护卷积神经网络的结构
DeepObfuscation: Securing the Structure of Convolutional Neural Networks via Knowledge Distillation
摘要:
本文研究了深度学习模型的盗版问题。设计和训练性能良好的模型通常是昂贵的。然而,当发布它们时,攻击者可能会对模型进行逆向工程并盗版它们的设计。因此,本文提出了深度学习混淆,旨在阻止攻击者盗版深度学习模型。特别是,我们专注于模糊卷积神经网络(CNN),这是一种广泛应用于图像识别的深度学习架构。我们的方法最终通过用浅的和顺序的卷积块模拟其特征提取器来混淆CNN模型。为此,我们采用递归仿真方法和联合训练方法来训练仿真网络。联合训练方法利用特征提取器生成的中间知识和数据标签来训练仿真网络。通过这种方式,我们可以在不损失准确性的情况下获得混淆模型。我们已经用三种流行的CNN验证了我们方法的可行性,即,GoogLeNet、ResNet和DenseNet。虽然这些网络非常深,有几十层或几百层,但我们可以在只包含五层或七层卷积层的浅网络中模拟它们。混淆后的模型甚至比原始模型更有效。我们的混淆方法非常有效地保护深度学习模型的关键结构不被暴露给攻击者。此外,由于浅层模拟网络的学习能力较差,它还可以阻止攻击者使用迁移学习或增量学习技术来盗版模型。据我们所知,本文是混淆深度学习模型的第一次尝试,这可能会为未来的更多研究提供启示。
英文摘要:
This paper investigates the piracy problem of deep learning models. Designing and training a well-performing model is generally expensive. However, when releasing them, attackers may reverse engineer the models and pirate their design. This paper, therefore, proposes deep learning obfuscation, aiming at obstructing attackers from pirating a deep learning model. In particular, we focus on obfuscating convolutional neural networks (CNN), a widely employed type of deep learning architectures for image recognition. Our approach obfuscates a CNN model eventually by simulating its feature extractor with a shallow and sequential convolutional block. To this end, we employ a recursive simulation method and a joint training method to train the simulation network. The joint training method leverages both the intermediate knowledge generated by a feature extractor and data labels to train a simulation network. In this way, we can obtain an obfuscated model without accuracy loss. We have verified the feasibility of our approach with three prevalent CNNs, i.e., GoogLeNet, ResNet, and DenseNet. Although these networks are very deep with tens or hundreds of layers, we can simulate them in a shallow network including only five or seven convolutional layers. The obfuscated models are even more efficient than the original models. Our obfuscation approach is very effective to protect the critical structure of a deep learning model from being exposed to attackers. Moreover, it can also thwart attackers from pirating the model with transfer learning or incremental learning techniques because the shallow simulation network bears poor learning ability. To our best knowledge, this paper serves as a first attempt to obfuscate deep learning models, which may shed light on more future studies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。