arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.02203cs.CRcs.LG
收藏

Adam in Private:使用自适应矩估计安全快速地训练深度神经网络

Adam in Private: Secure and Fast Training of Deep Neural Networks with Adaptive Moment Estimation

National Institute of Advanced Industrial Science and Technology(产业技术综合研究所);NTT(日本电信电话株式会社);University of St. Gallen(圣加仑大学)

Nuttapong Attrapadung, Koki Hamada, Dai Ikarashi, Ryo Kikuchi, Takahiro Matsuda, Ibuki Mishina, Hiraku Morita, Jacob C. N. Schuldt

摘要:

隐私保护机器学习(PPML)旨在使机器学习(ML)算法能够用于敏感数据。我们通过提出一个框架来促进这一研究,该框架允许通过安全多方计算(MPC)对成熟的最先进的ML算法进行有效和安全的评估。这与大多数先前的作品相反,这些作品用近似的“MPC友好”变体代替ML算法。后一种方法的缺点是需要对组合的ML和MPC算法进行微调,这可能导致效率较低的算法或质量较差的ML。这对于安全的深度神经网络(DNN)训练尤其是一个问题,因为这涉及被认为是“MPC不友好”的算术算法,即整数除法、取幂、求逆和平方根。在这项工作中,我们提出了安全和有效的协议,上述看似MPC不友好的计算。我们的协议是三方协议中的诚实多数设置,我们提出了被动安全和主动安全的中止变体。我们的协议的一个显着特点是,他们同时提供高精度和效率。这个框架使我们能够有效和安全地计算现代ML算法,如Adam和softmax函数,而无需采用近似。因此,我们获得了安全的DNN训练,其性能优于最先进的三方系统;我们的完整训练比最近提出的标准基准网络上的ECOCON @PETS'21的在线阶段快6.7倍。我们进一步对真实世界的DNN、AlexNet和VGG 16进行了测量。我们的框架的性能对于AlexNet来说快了大约12-14倍,对于VGG 16来说快了46-48倍,分别达到了70%和75%的准确度。

英文摘要:

Privacy-preserving machine learning (PPML) aims at enabling machine learning (ML) algorithms to be used on sensitive data. We contribute to this line of research by proposing a framework that allows efficient and secure evaluation of full-fledged state-of-the-art ML algorithms via secure multi-party computation (MPC). This is in contrast to most prior works, which substitute ML algorithms with approximated "MPC-friendly" variants. A drawback of the latter approach is that fine-tuning of the combined ML and MPC algorithms is required, which might lead to less efficient algorithms or inferior quality ML. This is an issue for secure deep neural networks (DNN) training in particular, as this involves arithmetic algorithms thought to be "MPC-unfriendly", namely, integer division, exponentiation, inversion, and square root. In this work, we propose secure and efficient protocols for the above seemingly MPC-unfriendly computations. Our protocols are three-party protocols in the honest-majority setting, and we propose both passively secure and actively secure with abort variants. A notable feature of our protocols is that they simultaneously provide high accuracy and efficiency. This framework enables us to efficiently and securely compute modern ML algorithms such as Adam and the softmax function "as is", without resorting to approximations. As a result, we obtain secure DNN training that outperforms state-of-the-art three-party systems; our full training is up to 6.7 times faster than just the online phase of the recently proposed FALCON@PETS'21 on a standard benchmark network. We further perform measurements on real-world DNNs, AlexNet and VGG16. The performance of our framework is up to a factor of about 12-14 faster for AlexNet and 46-48 faster for VGG16 to achieve an accuracy of 70% and 75%, respectively, when compared to FALCON.

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

↑