Glossary:在加密数据上快速准确地训练深度神经网络
Glyph: Fast and Accurately Training Deep Neural Networks on Encrypted Data
摘要:
大数据是启用和训练深度神经网络(DNN)的基石之一。由于缺乏专业知识,为了从他们的数据中获益,普通用户不得不依赖并将他们的私人数据上传到他们可能不信任的大数据公司。由于合规性、法律或隐私的限制,大多数用户只愿意贡献他们的加密数据,而缺乏兴趣或资源来参与云DNN的训练。为了以完全非交互的方式在加密数据上训练DNN,最近的工作提出了一种基于全同态加密(FHE)的技术,该技术通过基于\textit{Brakerski-Gentry-Vaikuntanathan (BGV)}的查找表来实现神经网络中的所有激活。然而,这种低效的基于查找表的激活显著延长了隐私保护DNN的训练延迟。在本文中,我们提出了一种基于FHE的方案,通过在TFHE(环面上的快速全同态加密)和BGV密码系统之间切换,在加密数据上快速准确地训练DNN。Glencore使用逻辑运算友好的TFHE实现非线性激活,而采用矢量算术友好的BGV执行乘累加(MAC)运算。Glencore进一步将迁移学习应用到DNN的训练上,以提高测试精度,减少卷积层密文与密文之间的MAC操作次数。我们的实验结果表明,Gladium获得了最先进的测试精度,但减少了$99\%$的训练延迟比现有的FHE为基础的技术在各种加密数据集。
英文摘要:
Big data is one of the cornerstones to enabling and training deep neural networks (DNNs). Because of the lack of expertise, to gain benefits from their data, average users have to rely on and upload their private data to big data companies they may not trust. Due to the compliance, legal, or privacy constraints, most users are willing to contribute only their encrypted data, and lack interests or resources to join the training of DNNs in cloud. To train a DNN on encrypted data in a completely non-interactive way, a recent work proposes a fully homomorphic encryption (FHE)-based technique implementing all activations in the neural network by \textit{Brakerski-Gentry-Vaikuntanathan (BGV)}-based lookup tables. However, such inefficient lookup-table-based activations significantly prolong the training latency of privacy-preserving DNNs. In this paper, we propose, Glyph, a FHE-based scheme to fast and accurately train DNNs on encrypted data by switching between TFHE (Fast Fully Homomorphic Encryption over the Torus) and BGV cryptosystems. Glyph uses logic-operation-friendly TFHE to implement nonlinear activations, while adopts vectorial-arithmetic-friendly BGV to perform multiply-accumulation (MAC) operations. Glyph further applies transfer learning on the training of DNNs to improve the test accuracy and reduce the number of MAC operations between ciphertext and ciphertext in convolutional layers. Our experimental results show Glyph obtains the state-of-the-art test accuracy, but reduces the training latency by $99\%$ over the prior FHE-based technique on various encrypted datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。