CrypTen:安全多方计算与机器学习相遇
CrypTen: Secure Multi-Party Computation Meets Machine Learning
摘要:
安全多方计算(MPC)允许各方对数据执行计算,同时保持数据的私密性。这种能力对机器学习应用有很大的潜力:它有助于在不同方拥有的私有数据集上训练机器学习模型,使用另一方的私有数据评估一方的私有模型等。安全MPC的采用受到缺乏灵活的软件框架的阻碍,这些框架可以“说机器学习研究人员和工程师的语言”。为了促进安全MPC在机器学习中的采用,我们提出了CrypTen:一个软件框架,通过现代机器学习框架中常见的抽象来暴露流行的安全MPC原语,例如张量计算,自动微分和模块化神经网络。本文介绍了CrypTen的设计,并衡量其性能的最先进的模型,文本分类,语音识别和图像分类。我们的基准测试表明,CrypTen的GPU支持和(任意数量的)各方之间的高性能通信使其能够在半诚实的威胁模型下对现代机器学习模型进行有效的私人评估。例如,使用CrypTen的双方可以使用Wav2Letter比实时更快地安全地预测语音记录中的音素。我们希望CrypTen将促进安全MPC在机器学习社区中的采用。
英文摘要:
Secure multi-party computation (MPC) allows parties to perform computations on data while keeping that data private. This capability has great potential for machine-learning applications: it facilitates training of machine-learning models on private data sets owned by different parties, evaluation of one party's private model using another party's private data, etc. Although a range of studies implement machine-learning models via secure MPC, such implementations are not yet mainstream. Adoption of secure MPC is hampered by the absence of flexible software frameworks that "speak the language" of machine-learning researchers and engineers. To foster adoption of secure MPC in machine learning, we present CrypTen: a software framework that exposes popular secure MPC primitives via abstractions that are common in modern machine-learning frameworks, such as tensor computations, automatic differentiation, and modular neural networks. This paper describes the design of CrypTen and measure its performance on state-of-the-art models for text classification, speech recognition, and image classification. Our benchmarks show that CrypTen's GPU support and high-performance communication between (an arbitrary number of) parties allows it to perform efficient private evaluation of modern machine-learning models under a semi-honest threat model. For example, two parties using CrypTen can securely predict phonemes in speech recordings using Wav2Letter faster than real-time. We hope that CrypTen will spur adoption of secure MPC in the machine-learning community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。