Skip to content

Code for Membership Inference Attack against Machine Learning Models (in S&P 2017)

Notifications You must be signed in to change notification settings

MartinStrobel/membership-inference

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Membership Inference Attack against Machine Learning Models

This repository contains example of experiments for the paper Membership Inference Attack against Machine Learning Models (http://ieeexplore.ieee.org/document/7958568/).

Attack Experiment

python attack.py train_feat_file train_label_file

train_feat_file should be a text file where each line is a feature vector with floating point values separated by comma. train_label_file should be a text file where each line is a label with integer value.

Once data is loaded, we will split the data for training target model and shadow models and save the split to disk. Then we will train the target model as well as shadow models. Finally attack model can be trained with predictions from shadow models and test on the target model.

About

Code for Membership Inference Attack against Machine Learning Models (in S&P 2017)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%