Dash:使用算术混淆电路加速分布式私有卷积神经网络推理
Dash: Accelerating Distributed Private Convolutional Neural Network Inference with Arithmetic Garbled Circuits
AI总结:
本文提出 Dash,一种基于算术混淆电路的分布式私有卷积神经网络推理方案,通过引入 LabelTensors 利用 GPU 并行性,并结合中国剩余定理余数缩放操作,将性能提升约 100 倍,实现更高精度,且每步推理仅需一轮通信。
摘要:
机器学习解决方案的采用在社会的各个领域正迅速增加。随着模型规模变大,机器学习模型的训练和推理越来越多地被外包,例如外包给云服务提供商。这意味着潜在敏感数据在不可信平台上处理,这带来了固有的数据安全和隐私风险。在本工作中,我们研究如何保护分布式机器学习系统,重点关注深度卷积神经网络。最常见且性能最佳的混合 MPC 方法基于 HE、秘密共享和混淆电路。它们通常面临巨大的性能开销、严重的精度损失,以及随神经网络深度线性增长的通信开销。为了改善这些问题,我们提出了 Dash,这是一种快速、分布式且能抵御恶意攻击者的私有卷积神经网络推理方案。基于算术混淆构件 [BMR16] 和 fancy-garbling [BCM+19],Dash 纯粹基于算术混淆电路。我们引入了 LabelTensors,使我们能够利用现代 GPU 的大规模并行性。结合最先进的混淆优化,Dash 的性能比以前的混淆方法高出约 100 倍。此外,我们引入了一种基于中国剩余定理表示余数的高效缩放操作到算术混淆电路中,这使我们能够混淆更大的网络,并实现比以前方法高得多的精度。最后,无论神经网络深度如何,Dash 每次推理步骤仅需一轮通信,且在线通信量非常小且恒定。
英文摘要:
The adoption of machine learning solutions is rapidly increasing across all parts of society. As the models grow larger, both training and inference of machine learning models is increasingly outsourced, e.g. to cloud service providers. This means that potentially sensitive data is processed on untrusted platforms, which bears inherent data security and privacy risks. In this work, we investigate how to protect distributed machine learning systems, focusing on deep convolutional neural networks. The most common and best-performing mixed MPC approaches are based on HE, secret sharing, and garbled circuits. They commonly suffer from large performance overheads, big accuracy losses, and communication overheads that grow linearly in the depth of the neural network. To improve on these problems, we present Dash, a fast and distributed private convolutional neural network inference scheme secure against malicious attackers. Building on arithmetic garbling gadgets [BMR16] and fancy-garbling [BCM+19], Dash is based purely on arithmetic garbled circuits. We introduce LabelTensors that allow us to leverage the massive parallelity of modern GPUs. Combined with state-of-the-art garbling optimizations, Dash outperforms previous garbling approaches up to a factor of about 100. Furthermore, we introduce an efficient scaling operation over the residues of the Chinese remainder theorem representation to arithmetic garbled circuits, which allows us to garble larger networks and achieve much higher accuracy than previous approaches. Finally, Dash requires only a single communication round per inference step, regardless of the depth of the neural network, and a very small constant online communication volume.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。