nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically\n Encrypted Data

Fabian Boemer, Yixing Lao, Rosario Cammarota, Casimir Wierzynski

arXiv (Cornell University) · 2018 · 23 citations · 0 references

DOIFull text

Open access

Concepts

Abstract

Homomorphic encryption (HE)---the ability to perform computation on encrypted\ndata---is an attractive remedy to increasing concerns about data privacy in\ndeep learning (DL). However, building DL models that operate on ciphertext is\ncurrently labor-intensive and requires simultaneous expertise in DL,\ncryptography, and software engineering. DL frameworks and recent advances in\ngraph compilers have greatly accelerated the training and deployment of DL\nmodels to various computing platforms. We introduce nGraph-HE, an extension of\nnGraph, Intel's DL graph compiler, which enables deployment of trained models\nwith popular frameworks such as TensorFlow while simply treating HE as another\nhardware target. Our graph-compiler approach enables HE-aware optimizations--\nimplemented at compile-time, such as constant folding and HE-SIMD packing, and\nat run-time, such as special value plaintext bypass. Furthermore, nGraph-HE\nintegrates with DL frameworks such as TensorFlow, enabling data scientists to\nbenchmark DL models with minimal overhead.\n