3LegRace:基于TEE和GPU的隐私保护DNN训练
3LegRace: Privacy-Preserving DNN Training over TEEs and GPUs
摘要:
利用并行硬件(例如GPU)进行深度神经网络(DNN)训练带来了高计算性能。然而,它引起了数据隐私问题,因为GPU缺乏一个可信的环境来保护数据。可信执行环境(TEE)已经成为实现隐私保护学习的一个有前途的解决方案。不幸的是,TEE有限的计算能力使它们在性能上无法与GPU相提并论。为了改善隐私,计算性能和模型准确性之间的权衡,我们提出了一个\emph{asymmetric}模型分解框架,\AsymML{},(1)使用并行硬件加速训练;(2)使用TEE和差分隐私(DP)实现强大的隐私保证,与DP相比,精度损失要小得多。通过利用训练数据中的低秩特征和中间特征,\AsymML{}将输入和中间激活不对称地分解为低秩和残差部分。利用分解的数据,目标DNN模型相应地被分成\emph{trusted}和\emph{untrusted}部分。可信部分在低等级数据上执行计算,具有低计算和存储成本。不可信部分被馈送以由非常小的噪声扰动的残差。通过将可信和不可信部分分别委托给TEE和GPU,可以很好地管理隐私、计算性能和模型准确性。我们提供了一个正式的DP保证,证明,对于相同的隐私保证,结合非对称数据分解和DP需要更小的噪声相比,单独使用DP没有分解。与仅使用DP方法而不分解相比,这显著改善了隐私效用权衡。此外,我们提出了一个秩界分析表明,在整个模型的每一层后,低秩结构被保留。
英文摘要:
Leveraging parallel hardware (e.g. GPUs) for deep neural network (DNN) training brings high computing performance. However, it raises data privacy concerns as GPUs lack a trusted environment to protect the data. Trusted execution environments (TEEs) have emerged as a promising solution to achieve privacy-preserving learning. Unfortunately, TEEs' limited computing power renders them not comparable to GPUs in performance. To improve the trade-off among privacy, computing performance, and model accuracy, we propose an \emph{asymmetric} model decomposition framework, \AsymML{}, to (1) accelerate training using parallel hardware; and (2) achieve a strong privacy guarantee using TEEs and differential privacy (DP) with much less accuracy compromised compared to DP-only methods. By exploiting the low-rank characteristics in training data and intermediate features, \AsymML{} asymmetrically decomposes inputs and intermediate activations into low-rank and residual parts. With the decomposed data, the target DNN model is accordingly split into a \emph{trusted} and an \emph{untrusted} part. The trusted part performs computations on low-rank data, with low compute and memory costs. The untrusted part is fed with residuals perturbed by very small noise. Privacy, computing performance, and model accuracy are well managed by respectively delegating the trusted and the untrusted part to TEEs and GPUs. We provide a formal DP guarantee that demonstrates that, for the same privacy guarantee, combining asymmetric data decomposition and DP requires much smaller noise compared to solely using DP without decomposition. This improves the privacy-utility trade-off significantly compared to using only DP methods without decomposition. Furthermore, we present a rank bound analysis showing that the low-rank structure is preserved after each layer across the entire model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。