Skip to main content
QUICK REVIEW

[Paper Review] Enabling Privacy-Preserving, Compute- and Data-Intensive Computing using Heterogeneous Trusted Execution Environment

Jianping Zhu, Rui Hou|arXiv (Cornell University)|Apr 9, 2019
Security and Verification in ComputingComputer Science29 references9 citations
TL;DR

This paper introduces HETEE, the first Trusted Execution Environment (TEE) that enables privacy-preserving, high-performance compute- and data-intensive (CDI) workloads by securely integrating untrusted accelerators like GPUs and TPUs. It uses a standalone security controller managing PCIe-based dynamic partitioning of accelerators between secure and insecure worlds, achieving only 12.34% throughput overhead for inference and 9.87% for training on large-scale neural networks.

ABSTRACT

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.

Motivation & Objective

  • Address the urgent need for privacy-preserving, high-throughput computing in big data workloads.
  • Overcome the limitation of existing TEEs that lack support for accelerators like GPUs and TPUs.
  • Enable secure execution of compute- and data-intensive (CDI) workloads on commodity servers without modifying CPUs or accelerators.
  • Design a system that maintains strong security while allowing dynamic control of accelerators between trusted and untrusted environments.
  • Provide a generic, efficient programming model for offloading tasks to the secure environment.

Proposed method

  • Deploy a standalone security controller as the sole trust anchor, managing PCIe switches to dynamically shift accelerator ownership between host OS and secure world.
  • Use in-memory encrypted and signed task queues for secure communication between host systems and the HETEE controller.
  • Implement custom OS, runtime, encryption, authentication, and remote attestation components within the security controller.
  • Design a generic programming model allowing the host CPU to offload tasks to HETEE using encrypted code and data.
  • Ensure backward compatibility by requiring no changes to existing commercial CPUs or accelerators.
  • Leverage PCIe-based isolation to protect accelerators while enabling high-throughput data and compute workloads.

Experimental results

Research questions

  • RQ1How can a TEE securely support accelerators such as GPUs and TPUs that are not natively protected by existing TEEs?
  • RQ2What architectural design enables dynamic, fine-grained control of accelerator access between secure and insecure worlds without modifying hardware?
  • RQ3Can a standalone security controller effectively manage trust boundaries for heterogeneous accelerators while maintaining high performance?
  • RQ4What performance overhead does a secure, accelerator-integrated TEE incur for large-scale machine learning workloads?
  • RQ5How can a generic and efficient programming model be designed to support offloading of CDI tasks to a secure execution environment?

Key findings

  • HETEE successfully supports large-scale neural network inference and training workloads in a privacy-preserving manner.
  • The system incurs only 12.34% average throughput overhead for inference tasks on GPU-accelerated workloads.
  • For training workloads, HETEE achieves just 9.87% average throughput overhead when using accelerators.
  • The security controller acts as the sole trust anchor, ensuring strong isolation and remote attestation for all secure operations.
  • The design is fully compatible with existing commercial CPUs and accelerators, requiring no hardware modifications.
  • The in-memory task queue enables efficient, secure offloading of encrypted code and data between host and HETEE.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.