Code Monkey home page Code Monkey logo

membership_inference_attack's People

Contributors

adrienbenamira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

membership_inference_attack's Issues

Not achieving same accuracy of target model

Hi,

Thank you for supplying code for this Membership Inference Attack, I've stumbled upon an issue I'm having when trying to recreate the results shown in the paper for the CIFAR10 dataset. When running the main.py script with a copy of the config file found in the results section folder called 'overfitting_CIFAR10_overfitting_2019_05_11_09_48_18' and adding a small print statement to report the best accuracy found after training the (target) model for the specified amount of epochs, my accuracy is much lower than the accuracy reported. The accuracy of the target model, gained by printing the 'best_acc' variable from the train_model function in trainer.py, after training for 100 epochs is only 32.7%. If I train the used model (Net_cifar10) myself with the same parameters I only achieve around 60% accuracy after 100 epoch.

Could you maybe test this yourself or explain why my performance might differ from the reported performance?

Have some questions about the dataloader

Thanks for your code! But I have some questions about the dataloader.py. In the test circumstance, the shadow dataset's data index is [test_size:], but the target index is [test_size*(num+1):test_size*(num+2)]๏ผŒ I don't understand why did you slice the dataset like this, the data and the targets seem to be inconsistent?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.