神经网络模型的多项式时间密码分析提取
Polynomial Time Cryptanalytic Extraction of Neural Network Models
AI总结:
本文提出新技术,以多项式时间和查询次数高精度提取ReLU深度神经网络参数,并在CIFAR10数据集上验证,仅需30分钟即可完成。
摘要:
目前,数十亿美元和无数GPU小时被用于训练深度神经网络(DNN)以完成各种任务。因此,当能够访问此类神经网络的黑盒实现时,确定提取其所有参数的难度至关重要。在过去的30年里,这个问题的许多版本已被研究,目前针对基于ReLU的深度神经网络的最佳攻击是由Carlini、Jagielski和Mironov在Crypto 2020上提出的。它类似于对密码系统的差分选择明文攻击,该密码系统的秘密密钥嵌入在其黑盒实现中,需要多项式数量的查询,但需要指数级的时间(作为神经元数量的函数)。在本文中,我们通过开发几种新技术改进了这种攻击,使我们能够使用多项式数量的查询和多项式时间,以任意高精度提取基于ReLU的DNN的所有实值参数。我们通过将其应用于一个用于分类CIFAR10数据集的完整规模神经网络来证明其实用效率,该网络有3072个输入,8个隐藏层,每层256个神经元,以及超过一百万个神经元参数。遵循Carlini等人方法的攻击需要对2的256次方种可能性进行穷举搜索。我们的攻击用新技术取代了这一点,仅需在256核计算机上运行30分钟。
英文摘要:
Billions of dollars and countless GPU hours are currently spent on training Deep Neural Networks (DNNs) for a variety of tasks. Thus, it is essential to determine the difficulty of extracting all the parameters of such neural networks when given access to their black-box implementations. Many versions of this problem have been studied over the last 30 years, and the best current attack on ReLU-based deep neural networks was presented at Crypto 2020 by Carlini, Jagielski, and Mironov. It resembles a differential chosen plaintext attack on a cryptosystem, which has a secret key embedded in its black-box implementation and requires a polynomial number of queries but an exponential amount of time (as a function of the number of neurons). In this paper, we improve this attack by developing several new techniques that enable us to extract with arbitrarily high precision all the real-valued parameters of a ReLU-based DNN using a polynomial number of queries and a polynomial amount of time. We demonstrate its practical efficiency by applying it to a full-sized neural network for classifying the CIFAR10 dataset, which has 3072 inputs, 8 hidden layers with 256 neurons each, and over million neuronal parameters. An attack following the approach by Carlini et al. requires an exhaustive search over 2 to the power 256 possibilities. Our attack replaces this with our new techniques, which require only 30 minutes on a 256-core computer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。