Framework for encrypted machine learning in TensorFlow
Top 32.6% on sourcepulse
TF Encrypted is a framework for privacy-preserving machine learning in TensorFlow, enabling training and prediction on encrypted data using secure multi-party computation and homomorphic encryption. It targets researchers and developers who want to leverage machine learning without exposing sensitive data, offering an API that closely resembles TensorFlow's ease of use.
How It Works
TF Encrypted leverages secure multi-party computation (MPC) and homomorphic encryption (HE) protocols to perform computations on encrypted data. It integrates with TensorFlow 2's eager execution and tf.function
for graph building, allowing users to write privacy-preserving ML code with minimal cryptographic expertise. The framework partitions computations across multiple "players" (servers or clients), ensuring that no single party holds the plaintext data.
Quick Start & Requirements
pip install tf-encrypted
git clone https://github.com/tf-encrypted/tf-encrypted.git && cd tf-encrypted && pip install -e . && make build
Highlighted Details
tf.function
for improved developer experience.Maintenance & Community
contact@tf-encrypted.io
Licensing & Compatibility
Limitations & Caveats
TF Encrypted is experimental software and not intended for production use. Elements of TensorFlow's networking subsystem may not be fully hardened against malicious users, requiring potential mitigation through proxies or access filtering.
10 months ago
1 week