Privacy-Preserving ML ML Frameworks

Libraries, frameworks, and techniques for training machine learning models while protecting data privacy through differential privacy, federated learning, secure computation, and related methods. Does NOT include general privacy policies, data governance, or non-ML privacy tools.

There are 46 privacy-preserving ml frameworks tracked. 8 score above 50 (established tier). The highest-rated is tensorflow/privacy at 64/100 with 2,003 stars. 2 of the top 10 are actively maintained.

Get all 46 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=privacy-preserving-ml&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 tensorflow/privacy

Library for training machine learning models with privacy for training data

64
Established
2 meta-pytorch/opacus

Training PyTorch models with differential privacy

64
Established
3 tf-encrypted/tf-encrypted

A Framework for Encrypted Machine Learning in TensorFlow

59
Established
4 awslabs/fast-differential-privacy

Fast, memory-efficient, scalable optimization of deep learning with...

56
Established
5 privacytrustlab/ml_privacy_meter

Privacy Meter: An open-source library to audit data privacy in statistical...

53
Established
6 IBM/differential-privacy-library

Diffprivlib: The IBM Differential Privacy Library

53
Established
7 sassoftware/dpmm

dpmm: a library for synthetic tabular data generation with rich...

51
Established
8 Ye-D/PPML-Resource

Materials about Privacy-Preserving Machine Learning

50
Established
9 leriomaggio/ppml-tutorial

Privacy-Preserving Machine Learning (PPML) Tutorial

47
Emerging
10 wenzhu23333/Differential-Privacy-Based-Federated-Learning

Everything you want about DP-Based Federated Learning, including Papers and...

47
Emerging
11 Guyanqi/Awesome-Privacy

Repository for collection of research papers on privacy.

46
Emerging
12 NervanaSystems/he-transformer

nGraph-HE: Deep learning with Homomorphic Encryption (HE) through Intel nGraph

46
Emerging
13 deepanwadhwa/zink

A Python package for zero-shot text anonymization using Transformer-based NER models.

44
Emerging
14 filrg/split_learning

スプリットラーニング - Split Learning with PyTorch

43
Emerging
15 sisaman/GAP

GAP: Differentially Private Graph Neural Networks with Aggregation...

42
Emerging
16 AvinashThimmareddy/privacy-aware-data-transformation

An open-source framework for automated sensitive data classification and...

42
Emerging
17 Shuyib/data-privacy-pres

A repo that takes you through some principles about data privacy based on...

38
Emerging
18 privacy-tech-lab/privacy-pioneer-machine-learning

Code and models for the machine learning used in Privacy Pioneer

38
Emerging
19 jimouris/curl

Curl: Private LLMs through Wavelet-Encoded Look-Up Tables

37
Emerging
20 eth-sri/dp-sniper

A machine-learning-based tool for discovering differential privacy...

37
Emerging
21 nesaorg/nesa

Run AI models end-to-end encrypted.

37
Emerging
22 JeffffffFu/Awesome-Differential-Privacy-and-Meachine-Learning

Differentially private federated learning: A systematic review (ACM Survey);...

36
Emerging
23 DominiqueMercier/PPML-TSA

Evaluating Privacy-Preserving Machine Learning in Critical Infrastructures:...

35
Emerging
24 sisaman/ProGAP

ProGAP: Progressive Graph Neural Networks with Differential Privacy...

35
Emerging
25 ar-roy/dct-cryptonets

Official code for "DCT-CryptoNets: Scaling Private Inference in the...

34
Emerging
26 VectorInstitute/privacy-enhancing-techniques

A collection of demos and utilities prepared ahead of the Vector Institute...

31
Emerging
27 Crypto-TII/FANNG-MPC

Your GoTo Library for NN's over MPC

29
Experimental
28 williamdevena/Defending-federated-learning-system

Implementation of a client reputation, gradient checking and homomorphic...

29
Experimental
29 loretanr/dp-gbdt

GBDT learning + differential privacy. Standalone C++ implementation of...

29
Experimental
30 simran-arora/focus

This repo contains code for the paper: "Can Foundation Models Help Us...

27
Experimental
31 AdityaBhatt3010/DP-SGD-Differential-Privacy-Stochastic-Gradient-Descent

Differential Privacy, DP-SGD, MNIST — Comparative analysis of...

22
Experimental
32 azithteja91/phi-exposure-guard

Adaptive PHI de-identification for streaming multimodal data:...

22
Experimental
33 khoaguin/ppml-materials

A compiled list of resources and materials for PPML

22
Experimental
34 kenziyuliu/DP2

[ICLR 2023] Official JAX/Haiku implementation of the paper "Differentially...

22
Experimental
35 hsp1234h/openpcc

🔒 Achieve privacy in AI inference with OpenPCC, an open-source framework for...

21
Experimental
36 miguelfrndz/Differential-Privacy-GL-Attacks

Differential Privacy: Gradient Leakage Attacks in Federated Learning Environments

21
Experimental
37 mikeroyal/Differential-Privacy-Guide

Differential Privacy Guide

19
Experimental
38 Dustin-Ray/capy2vML

Trains a differentially-private linear regression inside of the RISC-Zero...

18
Experimental
39 guilhermecerqueiraoliveira/PyPrivacy

PyPrivacy é uma ferramenta desenvolvida em Python com o objetivo de ocultar...

17
Experimental
40 yashmaurya01/Awesome-ML-Privacy-Mitigations

A curated collection of privacy-preserving machine learning techniques,...

13
Experimental
41 kmoonn/Privacy-Preserving-Deep-Learning

面向隐私保护深度学习的变换数据分类方法

13
Experimental
42 sukjingitsit/PrivSyn

An open-source implementation of PrivSyn: Differentially Private Data...

12
Experimental
43 ipc-lab/collaborative-inference-oac

Source code of the paper "Private Collaborative Edge Inference via...

12
Experimental
44 k80trombetta/PrivacyPreservingMachineLearning

Privacy preserving supervised machine learning model uses a private...

11
Experimental
45 lab-secureai/Privacy-Preserving-Deep-Learning-Research-List

This list provides up-to-date resources pertaining to the research and...

11
Experimental
46 nanaabat/secure-and-private-ai

AI model

10
Experimental