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

使用异构可信执行环境实现隐私保护、计算和数据密集型计算

Enabling Privacy-Preserving, Compute- and Data-Intensive Computing using Heterogeneous Trusted Execution Environment

Jianping Zhu, Rui Hou, XiaoFeng Wang, Wenhao Wang, Jiangfeng Cao, Lutan Zhao, Fengkai Yuan, Peinan Li, Zhongpu Wang, Boyan Zhao, Lixin Zhang, Dan Meng

摘要:

在大数据时代,迫切需要能够支持计算和数据密集型(CDI)计算的隐私保护技术。然而,现有的TEE都不能真正支持CDI计算任务,因为CDI需要像GPU和TPU这样的高吞吐量加速器,但是TEE不提供对这些加速器的安全保护。本文介绍了HETEE(异构TEE),第一个设计的TEE能够强有力地保护异构计算与不安全的加速器。HETEE的独特结构可以与当今的服务器配合使用,并且不需要对现有的商业CPU或加速器进行任何更改。我们设计的核心思想是将安全控制器作为一个独立的计算系统运行,通过PCIe交换机动态调整安全和不安全世界之间的边界,在不需要安全计算时将加速器的控制权移交给主机操作系统,并在需要时将其转移回来。控制器是系统中唯一的信任单元,它运行自定义操作系统和加速器运行时,以及加密,身份验证和远程证明组件。主机服务器和其他计算系统通过存储器中的任务队列与控制器通信,该存储器中的任务队列以加密和签名的代码和数据的形式容纳卸载到HETEE的计算任务。此外,HETEE还为主机CPU提供了通用且高效的编程模型。我们已经在硬件原型系统上实现了HETEE设计,并使用大规模神经网络推理和训练任务对其进行了评估。我们的评估表明,HETEE可以很容易地支持这样的安全计算任务,平均只会产生12.34%的吞吐量开销的推理和9.87%的训练开销。

英文摘要:

There is an urgent demand for privacy-preserving techniques capable of supporting compute and data intensive (CDI) computing in the era of big data. However, none of existing TEEs can truly support CDI computing tasks, as CDI requires high throughput accelerators like GPU and TPU but TEEs do not offer security protection of such accelerators. This paper present HETEE (Heterogeneous TEE), the first design of TEE capable of strongly protecting heterogeneous computing with unsecure accelerators. HETEE is uniquely constructed to work with today's servers, and does not require any changes for existing commercial CPUs or accelerators. The key idea of our design runs security controller as a stand-alone computing system to dynamically adjust the boundary of between secure and insecure worlds through the PCIe switches, rendering the control of an accelerator to the host OS when it is not needed for secure computing, and shifting it back when it is. The controller is the only trust unit in the system and it runs the custom OS and accelerator runtimes, together with the encryption, authentication and remote attestation components. The host server and other computing systems communicate with controller through an in memory task queue that accommodates the computing tasks offloaded to HETEE, in the form of encrypted and signed code and data. Also, HETEE offers a generic and efficient programming model to the host CPU. We have implemented the HETEE design on a hardware prototype system, and evaluated it with large-scale Neural Networks inference and training tasks. Our evaluations show that HETEE can easily support such secure computing tasks and only incurs a 12.34% throughput overhead for inference and 9.87% overhead for training on average.

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

↑