Skip to main content
QUICK REVIEW

[Paper Review] GuardNN: Secure DNN Accelerator for Privacy-Preserving Deep Learning.

Weizhe Hua, Muhammad Umar|arXiv (Cornell University)|Aug 26, 2020
Adversarial Robustness in Machine LearningComputer Science62 references13 citations
TL;DR

GuardNN is a hardware-protected DNN accelerator that ensures strong confidentiality and integrity for user data and model parameters in untrusted environments. By customizing its instruction set and using application-specific memory protection, GuardNN reduces trust to just the accelerator and achieves less than 2% performance overhead across modern DNN models.

ABSTRACT

This paper proposes GuardNN, a secure deep neural network (DNN) accelerator, which provides strong hardware-based protection for user data and model parameters even in an untrusted environment. GuardNN shows that the architecture and protection can be customized for a specific application to provide strong confidentiality and integrity protection with negligible overhead. The design of the GuardNN instruction set reduces the TCB to just the accelerator and enables confidentiality protection without the overhead of integrity protection. GuardNN also introduces a new application-specific memory protection scheme to minimize the overhead of memory encryption and integrity verification. The scheme shows that most of the off-chip meta-data in today's state-of-the-art memory protection can be removed by exploiting the known memory access patterns of a DNN accelerator. GuardNN is implemented as an FPGA prototype, which demonstrates effective protection with less than 2% performance overhead for inference over a variety of modern DNN models.

Motivation & Objective

  • To address the lack of strong, efficient hardware-level security for DNN accelerators in untrusted environments.
  • To minimize trust in the system by reducing the trusted computing base (TCB) to only the accelerator.
  • To eliminate unnecessary memory protection overhead by exploiting known DNN memory access patterns.
  • To provide confidentiality without incurring the cost of integrity protection in scenarios where it is not required.
  • To demonstrate practical feasibility with a low-overhead, FPGA-based prototype.

Proposed method

  • Designing a custom instruction set that isolates the accelerator as the sole trusted component, minimizing the TCB.
  • Introducing an application-specific memory protection scheme that removes most off-chip metadata by leveraging predictable DNN memory access patterns.
  • Separating confidentiality and integrity protection to allow selective enforcement, reducing overhead.
  • Implementing memory encryption and integrity verification only where necessary, based on access pattern analysis.
  • Optimizing the accelerator’s memory interface to reduce reliance on external metadata for security.
  • Validating the design with an FPGA prototype across multiple modern DNN models.

Experimental results

Research questions

  • RQ1Can a DNN accelerator achieve strong confidentiality and integrity protection with minimal performance overhead?
  • RQ2How can the trusted computing base (TCB) be reduced to just the accelerator in a DNN system?
  • RQ3To what extent can off-chip metadata in memory protection be eliminated by exploiting DNN-specific access patterns?
  • RQ4Can confidentiality be secured without incurring the cost of integrity protection in certain workloads?
  • RQ5What is the real-world performance overhead of such a secure DNN accelerator across diverse models?

Key findings

  • GuardNN achieves less than 2% performance overhead for DNN inference across a variety of modern models.
  • The trusted computing base is reduced to only the accelerator, eliminating trust in the host or system software.
  • The application-specific memory protection scheme eliminates most off-chip metadata, significantly reducing memory protection overhead.
  • Confidentiality can be secured independently of integrity, allowing for optimized deployment based on threat model.
  • The FPGA prototype demonstrates that strong security and high performance are compatible in DNN accelerators.
  • The design effectively protects both user data and model parameters in untrusted environments.

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.