Spin:一个具备GPU加速的高效安全计算框架
Spin: An Efficient Secure Computation Framework with GPU Acceleration
AI总结:
Spin是一个GPU加速的安全多方计算框架,通过优化非线性函数协议和Transformer注意力机制,在保证安全性的同时实现了最高2倍于现有方案的训练加速及更高效的推理。
摘要:
准确性和效率仍然是多方计算(MPC)框架面临的挑战。Spin是一个GPU加速的MPC框架,支持多个计算参与方以及不诚实多数敌手设置。我们为对机器学习至关重要的非线性函数提出了优化协议,并针对作为Transformer模型基本单元的注意力机制提出了若干新颖的优化方法,使Spin能够在不牺牲安全性的前提下执行非平凡的CNN训练和Transformer推理。在后端层面,Spin利用GPU、CPU和支持RDMA的智能网卡进行加速。综合评估表明,在深度神经网络训练方面,Spin的速度最高可达当前最先进方案的2倍。对于具有1890万参数的Transformer模型推理,我们针对注意力的优化使Spin实现了更高的效率、更少的通信和更好的准确性。
英文摘要:
Accuracy and efficiency remain challenges for multi-party computation (MPC) frameworks. Spin is a GPU-accelerated MPC framework that supports multiple computation parties and a dishonest majority adversarial setup. We propose optimized protocols for non-linear functions that are critical for machine learning, as well as several novel optimizations specific to attention that is the fundamental unit of Transformer models, allowing Spin to perform non-trivial CNNs training and Transformer inference without sacrificing security. At the backend level, Spin leverages GPU, CPU, and RDMA-enabled smart network cards for acceleration. Comprehensive evaluations demonstrate that Spin can be up to $2\times$ faster than the state-of-the-art for deep neural network training. For inference on a Transformer model with 18.9 million parameters, our attention-specific optimizations enable Spin to achieve better efficiency, less communication, and better accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。