Fast (and cheeky) differentially private gradient-based optimisation in PyTorch
Project description
deepee
deepee
is a library for differentially private deep learning in PyTorch. More precisely, deepee
implements the Differentially Private Stochastic Gradient Descent (DP-SGD) algorithm originally described by Abadi et al.. Despite the name, deepee
works with any (first order) optimizer, including Adam, AdaGrad, etc.
It wraps a regular PyTorch
model and takes care of calculating per-sample gradients, clipping, noising and accumulating gradients with an API which closely mimics the PyTorch
API of the original model.
Check out the documentation here
For paper readers
If you would like to reproduce the results from our paper, please go here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file deepee-0.1.9.tar.gz
.
File metadata
- Download URL: deepee-0.1.9.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.8 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21deeb80bda3d15c56abdb9487830b66799a222883cebd1bead5ef4f1ee2457f |
|
MD5 | 7f0dc17efddbfe27f8e5b62487b62127 |
|
BLAKE2b-256 | 603f5772436983d32b7c3a077cd98278bcc1e52bd1d67c0363d34757c2a1319e |
File details
Details for the file deepee-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: deepee-0.1.9-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.8 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264536abebd7ea88433101743a271e93472f2e17084f32811bd1f4cb56d7af72 |
|
MD5 | 04a7c0a61c286f62591a91fb78b18bb6 |
|
BLAKE2b-256 | b1f6863ddc0d05b8eed55d5fe054d44dffa35733af79660b2a85ec0bb9f3fe0f |