Giter VIP home page Giter VIP logo

fedrec_imia's Introduction

FedRec_IMIA

Implementation for the WWW'23 paper Interaction-level Membership Inference Attack Against Federated Recommender Systems.

How to use

To convenient the experiment, all clients' models are stored during training process. This setting can avoid retraining FedRecs when searching hyper-parameters, however, it will cost some storage. If your computer does not have enough storage, you can rewrite the code to run FedRec and IMIA simultaneously, or randomly store a part of clients.

  • Step 1. put your dataset in corresponding directory (e.g. put ml-100k.base and ml-100k.test in dataset/ml-100k/).
  • Step 2. set hyper-parameters in Argument class in run.py.
  • Step 3. run run.py to train FedRec.
  • Step 4. set hyper-parameters for IMIA in Config class in membership_attack.py
  • Step 5. run membership.py.

Citation

Please cite the paper if the code is helpful. Thanks!

@inproceedings{yuan2023interaction,
  title={Interaction-level Membership Inference Attack Against Federated Recommender Systems},
  author={Yuan, Wei and Yang, Chaoqun and Nguyen, Quoc Viet Hung and Cui, Lizhen and He, Tieke and Yin, Hongzhi},
  booktitle={Proceedings of the ACM Web Conference 2023},
  pages={1053--1062},
  year={2023}
}

fedrec_imia's People

Contributors

hi-weiyuan avatar

Stargazers

 avatar Dzung Pham avatar

Watchers

 avatar

Forkers

dzungvpham

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.