Skip to content

trucndt/ami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Active Membership Inference Attack under Local Differential Privacy in Federated Learning

https://proceedings.mlr.press/v206/nguyen23e.html

Dependencies

This codebase has been developed and tested only with Python 3.8.10 and PyTorch 1.7.0, on a Linux 64-bit operation system.

conda

We have prepared a file containing the same environment specifications that we use for this project. To reproduce this environment (only on a Linux 64-bit OS), execute the following command:

$ conda create --name <name_env> --file spec-list.txt
  • name_env is the name you want for your environment

Activate the created environment with the following command:

$ conda activate <name_env>

Preprocessing

  1. Follow the README.md files in these directories data_celebA/celeba, data_imgnet/ to download the datasets
  2. Run $ python preprocessing.py

Usage

We include two directories:

  • noldp: AMI attack without LDP
  • ldp: AMI attack under LDP (including BitRand and OME)

Follow the README.md files in those directories

Citation

@inproceedings{nguyen2023active,
  title={Active Membership Inference Attack under Local Differential Privacy in Federated Learning},
  author={Nguyen, Truc and Lai, Phung and Tran, Khang and Phan, NhatHai and Thai, My T},
  booktitle={Proceedings of The 26th International Conference on Artificial Intelligence and Statistics},
  pages={5714--5730},
  year={2023},
  publisher={PMLR},
  volume={206},
  series={Proceedings of Machine Learning Research}
}

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Codebase for Active Membership Inference Attack under Local Differential Privacy in Federated Learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages