he-transformer | Deep learning with Homomorphic Encryption | Machine Learning library
kandi X-RAY | he-transformer Summary
kandi X-RAY | he-transformer Summary
The Intel HE transformer for nGraph is a Homomorphic Encryption (HE) backend to the Intel nGraph Compiler, Intel's graph compiler for Artificial Neural Networks. Homomorphic encryption is a form of encryption that allows computation on encrypted data, and is an attractive remedy to increasing concerns about data privacy in the field of machine learning. For more information, see our original paper. Our updated paper showcases many of the recent advances in he-transformer. This project is meant as a proof-of-concept to demonstrate the feasibility of HE on local machines. The goal is to measure performance of various HE schemes for deep learning. This is not intended to be a production-ready product, but rather a research tool. Currently, we support the CKKS encryption scheme, implemented by the Simple Encrypted Arithmetic Library (SEAL) from Microsoft Research. To help compute non-polynomial activiations, we additionally integrate with the ABY multi-party computation library. See also the NDSS 2015 paper introducing ABY. For more details about our integration with ABY, please refer to our ARES 2020 paper. We also integrate with the Intel nGraph Compiler and runtime engine for TensorFlow to allow users to run inference on trained neural networks through Tensorflow.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of he-transformer
he-transformer Key Features
he-transformer Examples and Code Snippets
def _add_uniform_scaling_initializer_transformer(
parent, node, full_name, name, logs):
"""Updates references to uniform_unit_scaling_initializer.
Transforms:
tf.uniform_unit_scaling_initializer(factor, seed, dtype) to
tf.compat.v1.keras
function heapify(arr, length, i) {
let largest = i;
let left = i * 2 + 1;
let right = left + 1;
if (left < length && arr[left] > arr[largest]) {
largest = left;
}
if (right < length && arr[right] > arr[larg
Community Discussions
Trending Discussions on he-transformer
QUESTION
I am trying to build the open source project he-transformer in a Docker container. This is a tool build on top of ngraph, which is connected via ngraph-bridge with tensorflow, to enable writing deep learning programs using a graph-based abstraction. he-transformer is an extension of ngraph that allows inference over encrypted data using homomorphic encryption.
I use the latest he-transformer commit on the master branch (6d5a5b39). The build process throws many undefined reference
errors:
ANSWER
Answered 2020-Aug-05 at 21:08Kudos for this hint to the repository maintainer of he-transformer, Fabian Boemer.
He noticed that the logs indicate an issue with the CXX ABI. The issue is caused by compiling ngraph with an old version of g++ (< 5.1). The log confirms this, see compiler identification is GNU 4.8.5
.
Removing the installation of gcc 4.8 from the Dockerfile so that the system's default is gcc-7 solved the issue and could successfully compile he-transformer.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install he-transformer
Before building, make sure you deactivate any active virtual environments (i.e. run deactivate). Note, you may need sudo permissions to install he_seal_backend to the default location. To set a custom installation prefix, add the -DCMAKE_INSTALL_PREFIX=~/my_install_prefix flag to the above cmake command. See 1a and 1b for additional configuration options. To install, run the below command (note, this may take several hours. To speed up compilation with multiple threads, call make -j install).
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page