Skip to main content

Tools for the statistical disclosure control of machine learning models

Project description

License Latest Version DOI Codacy Badge codecov PyPI package Python versions

AI-SDC

A collection of tools and resources for managing the statistical disclosure control of trained machine learning models.

Content

  • aisdc
    • attacks Contains a variety of privacy attacks on machine learning models, including membership and attribute inference.
    • preprocessing Contains preprocessing modules for test datasets.
    • safemodel The safemodel package is an open source wrapper for common machine learning models. It is designed for use by researchers in Trusted Research Environments (TREs) where disclosure control methods must be implemented. Safemodel aims to give researchers greater confidence that their models are more compliant with disclosure control.
  • docs Contains Sphinx documentation files.
  • example_notebooks Contains short tutorials on the basic concept of "safe_XX" versions of machine learning algorithms, and examples of some specific algorithms.
  • examples Contains examples of how to run the code contained in this repository:
    • How to simulate attribute inference attacks attribute_inference_example.py.
    • How to simulate membership inference attacks:
      • Worst case scenario attack worst_case_attack_example.py.
      • LIRA scenario attack lira_attack_example.py.
    • Integration of attacks into safemodel classes safemodel_attack_integration_bothcalls.py.
  • risk_examples Contains hypothetical examples of data leakage through machine learning models as described in the Green Paper.
  • tests Contains unit tests.

Documentation

Documentation is hosted here: https://ai-sdc.github.io/AI-SDC/


This work was funded by UK Research and Innovation Grant Number MC_PC_21033 as part of Phase 1 of the DARE UK (Data and Analytics Research Environments UK) programme (https://dareuk.org.uk/), delivered in partnership with HDR UK and ADRUK. The specific project was Guidelines and Resources for AI Model Access from TrusTEd Research environments (GRAIMATTER).­ This project has also been supported by MRC and EPSRC [grant number MR/S010351/1]: PICTURES.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aisdc-1.0.1.post1.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

aisdc-1.0.1.post1-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

Details for the file aisdc-1.0.1.post1.tar.gz.

File metadata

  • Download URL: aisdc-1.0.1.post1.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for aisdc-1.0.1.post1.tar.gz
Algorithm Hash digest
SHA256 f0a4c88d24d205ae8c56e64d70b0fa0065ca4e3b682fb42a5339b5a8dd896077
MD5 64d7b90521779e9e75695312c8d329c9
BLAKE2b-256 46c59a73be97a818420e77a12709a1763a430050d50a2b1079c530eb5c08e046

See more details on using hashes here.

File details

Details for the file aisdc-1.0.1.post1-py3-none-any.whl.

File metadata

  • Download URL: aisdc-1.0.1.post1-py3-none-any.whl
  • Upload date:
  • Size: 65.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for aisdc-1.0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf51e2ca5c07a92c3a800af2b5589740a2aaa6ce0aa3cdd6c62be4a6476ad3ba
MD5 b4b85ff27e4d1c44f0c4e3868ff07280
BLAKE2b-256 db1d071a18532c3fa5fcc1019f9636b9b76c8a60ce075dd7db75e4bdf4a71190

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page