DarkneTZ: Towards Model Privacy at the Edge using Trusted Execution Environments

Fan Mo, Ali Shahin Shamsabadi, Kleomenis Katevas, Soteris Demetriou, Ilias Leontiadis +2 more
4/12/2020
262 citations
cs.LGcs.CRstat.ML

Official code: mofanv/darknetz (95 stars, C, MIT, last commit 2024-08-08).

Abstract

We present DarkneTZ, a framework that uses an edge device's Trusted Execution Environment (TEE) in conjunction with model partitioning to limit the attack surface against Deep Neural Networks (DNNs). Increasingly, edge devices (smartphones and consumer IoT devices) are equipped with pre-trained DNNs for a variety of applications.

Show full abstract

This trend comes with privacy risks as models can leak information about their training data through effective membership inference attacks (MIAs). We evaluate the performance of DarkneTZ, including CPU execution time, memory usage, and accurate power consumption, using two small and six large image classification models. Due to the limited memory of the edge device's TEE, we partition model layers into more sensitive layers (to be executed inside the device TEE), and a set of layers to be executed in the untrusted part of the operating system. Our results show that even if a single layer is hidden, we can provide reliable model privacy and defend against state of the art MIAs, with only 3% performance overhead. When fully utilizing the TEE, DarkneTZ provides model protections with up to 10% overhead.

View on arXivView PDF

Code Implementations(1)

mofanv/darknetzOfficial100%
MIT

runs several layers of a deep learning model in TrustZone

9531C, CudaJan 31, 20192 years agoMIT

Similar Papers

Cite this paper

@article{mo2020darknetz,
  title  = {DarkneTZ: Towards Model Privacy at the Edge using Trusted Execution Environments},
  author = {Fan Mo and Ali Shahin Shamsabadi and Kleomenis Katevas and Soteris Demetriou and Ilias Leontiadis and Andrea Cavallaro and Hamed Haddadi},
  year   = {2020},
  eprint = {2004.05703},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.05703}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.05703.svg)](https://codeofpaper.com/paper/2004.05703)

Discussion