arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.05566cs.CRcs.LG
收藏

利用有限的可信硬件加速基于2 PC的ML

Accelerating 2PC-based ML with Limited Trusted Hardware

UCSB(加州大学圣塔芭芭拉分校);IIT Delhi(印度理工学院德里分校);IIT Kanpur(印度理工学院坎普尔分校)

Muqsit Nawaz, Aditya Gulati, Kunlong Liu, Vishwajeet Agrawal, Prabhanjan Ananth, Trinabh Gupta

摘要:

本文描述了Otak的设计、实现和评估,该系统允许两个非合谋的云提供商在不知道推理输入的情况下运行机器学习(ML)推理。以前的工作主要依赖于先进的密码学,如双方安全计算(2 PC)协议,提供严格的保证,但遭受高资源开销。Otak通过一个新的2 PC协议提高了效率,该协议(i)将最近的原语(如函数和同态秘密共享)定制为ML推理,以及(ii)在有限的容量中使用可信硬件来引导协议。与此同时,Otak通过在硬件内部运行一个小代码,将其使用限制在预处理步骤,并在来自不同供应商的异构可信硬件平台上分配信任,减少了对可信硬件的信任假设。Otak的实现和评估表明,其CPU和网络开销转换为美元金额为5.4 $-$ 385 $\times$低于最先进的基于2 PC的作品。此外,Otak的可信计算基础(可信硬件内的代码)只有1,300行代码,比现有的基于可信硬件的作品的代码大小低14.6 $-$ 29.2 $\times$。

英文摘要:

This paper describes the design, implementation, and evaluation of Otak, a system that allows two non-colluding cloud providers to run machine learning (ML) inference without knowing the inputs to inference. Prior work for this problem mostly relies on advanced cryptography such as two-party secure computation (2PC) protocols that provide rigorous guarantees but suffer from high resource overhead. Otak improves efficiency via a new 2PC protocol that (i) tailors recent primitives such as function and homomorphic secret sharing to ML inference, and (ii) uses trusted hardware in a limited capacity to bootstrap the protocol. At the same time, Otak reduces trust assumptions on trusted hardware by running a small code inside the hardware, restricting its use to a preprocessing step, and distributing trust over heterogeneous trusted hardware platforms from different vendors. An implementation and evaluation of Otak demonstrates that its CPU and network overhead converted to a dollar amount is 5.4$-$385$\times$ lower than state-of-the-art 2PC-based works. Besides, Otak's trusted computing base (code inside trusted hardware) is only 1,300 lines of code, which is 14.6$-$29.2$\times$ lower than the code-size in prior trusted hardware-based works.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑