{"id":13757762,"url":"https://github.com/csong27/membership-inference","last_synced_at":"2025-05-10T05:32:15.529Z","repository":{"id":55054999,"uuid":"93495956","full_name":"csong27/membership-inference","owner":"csong27","description":"Code for Membership Inference Attack against Machine Learning Models (in Oakland 2017)","archived":false,"fork":false,"pushed_at":"2017-11-15T18:40:25.000Z","size":8,"stargazers_count":186,"open_issues_count":10,"forks_count":63,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T13:35:20.142Z","etag":null,"topics":["machine-learning","privacy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csong27.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-06T08:42:05.000Z","updated_at":"2024-11-10T05:08:49.000Z","dependencies_parsed_at":"2022-08-14T10:20:22.957Z","dependency_job_id":null,"html_url":"https://github.com/csong27/membership-inference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csong27%2Fmembership-inference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csong27%2Fmembership-inference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csong27%2Fmembership-inference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csong27%2Fmembership-inference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csong27","download_url":"https://codeload.github.com/csong27/membership-inference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253371076,"owners_count":21897998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","privacy"],"created_at":"2024-08-03T12:00:49.142Z","updated_at":"2025-05-10T05:32:15.241Z","avatar_url":"https://github.com/csong27.png","language":"Python","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"# Membership Inference Attack against Machine Learning Models\nThis repository contains example of experiments for the paper Membership Inference Attack against Machine Learning Models (http://ieeexplore.ieee.org/document/7958568/). \n\n### Attack Experiment\n\npython attack.py train_feat_file train_label_file\n\n**train_feat_file** should be a text file where each line is a feature vector with floating point values separated by comma. \n**train_label_file** should be a text file where each line is a label with integer value. \n\nOnce 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. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsong27%2Fmembership-inference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsong27%2Fmembership-inference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsong27%2Fmembership-inference/lists"}