tensorflow/privacy
Library for training machine learning models with privacy for training data
What it solves
TensorFlow Privacy helps developers train machine learning models while protecting the privacy of the data used to train them. It provides the tools necessary to implement differential privacy, a technique that ensures the model learns general patterns without memorizing specific details about individual data points.
How it works
The library provides specialized optimizers that you can wrap around standard TensorFlow optimizers like SGD or Adam. These optimizers perform "gradient clipping," which limits the influence of any single training example on the final model. The library also includes analysis tools to calculate and verify the privacy guarantees provided by your trained model.
Who it’s for
This library is designed for data scientists and machine learning engineers working with sensitive datasets who need to ensure their models comply with privacy standards. It is built to integrate directly into existing TensorFlow workflows.
Highlights
- Includes specialized optimizers for training models with differential privacy.
- Provides analysis tools to compute and measure privacy guarantees.
- Features efficient per-example gradient clipping for Keras models, minimizing memory and runtime overhead.
- Offers extensive tutorials to help users wrap existing optimizers and tune privacy parameters.
- Compatible with TensorFlow 2.x and Keras models.
Related
- Project
- Project
- Project
- Project