Skip to main content

OpenSSF Best Practices

ai-privacy-toolkit


A toolkit for tools and techniques related to the privacy and compliance of AI models.

The anonymization module contains methods for anonymizing ML model training data, so that when a model is retrained on the anonymized data, the model itself will also be considered anonymous. This may help exempt the model from different obligations and restrictions set out in data protection regulations such as GDPR, CCPA, etc.

The minimization module contains methods to help adhere to the data minimization principle in GDPR for ML models. It enables to reduce the amount of personal data needed to perform predictions with a machine learning model, while still enabling the model to make accurate predictions. This is done by by removing or generalizing some of the input features.

The dataset assessment module implements a tool for privacy assessment of synthetic datasets that are to be used in AI model training.

Official ai-privacy-toolkit documentation: https://ai-privacy-toolkit.readthedocs.io/en/latest/

Installation: pip install ai-privacy-toolkit

For more information or help using or improving the toolkit, please contact Abigail Goldsteen at abigailt@il.ibm.com, or join our Slack channel: https://aip360.mybluemix.net/community.

We welcome new contributors! If you're interested, take a look at our contribution guidelines.

Related toolkits:

ai-minimization-toolkit - has been migrated into this toolkit.

differential-privacy-library: A general-purpose library for experimenting with, investigating and developing applications in, differential privacy.

adversarial-robustness-toolbox: A Python library for Machine Learning Security. Includes an attack module called inference that contains privacy attacks on ML models (membership inference, attribute inference, model inversion and database reconstruction) as well as a privacy metrics module that contains membership leakage metrics for ML models.

Citation

Abigail Goldsteen, Ola Saadi, Ron Shmelkin, Shlomit Shachor, Natalia Razinkov, "AI privacy toolkit", SoftwareX, Volume 22, 2023, 101352, ISSN 2352-7110, https://doi.org/10.1016/j.softx.2023.101352.

Metadata

Release files for ai-privacy-toolkit 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-privacy-toolkit 0.2.1
File Size Uploaded
ai-privacy-toolkit-0.2.1.tar.gz 59.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-privacy-toolkit 0.2.1
File Interpreter ABI Platform
ai_privacy_toolkit-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 116.9 kB

Release files / ai-privacy-toolkit-0.2.1.tar.gz

Download URL ai-privacy-toolkit-0.2.1.tar.gz
Size 59.5 kB
Tags Source
SHA-256 checksum
How to use checksums
83d33baaeff01e155a509a5a2e5810e944efcda60781d4d6dd48180745c94c1c
BLAKE2b-256 checksum
How to use checksums
848a1d8ab9b83d5bc23d239b15181216fa5711158db9d56556ed35acf76fd07b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / ai_privacy_toolkit-0.2.1-py3-none-any.whl

Download URL ai_privacy_toolkit-0.2.1-py3-none-any.whl
Size 57.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ff61661149fa95af8531816f251f0bda02419d5e9809146201b1401b16a3826
BLAKE2b-256 checksum
How to use checksums
16863983af31404861c71c2f1c46abf1d925609400c6895fd9c906d3c23945b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page