Ami
Codebase for Active Membership Inference Attack under Local Differential Privacy in Federated Learning
Install / Use
/learn @trucndt/AmiREADME
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_envis the name you want for your environment
Activate the created environment with the following command:
$ conda activate <name_env>
Preprocessing
- Follow the
README.mdfiles in these directoriesdata_celebA/celeba,data_imgnet/to download the datasets - Run
$ python preprocessing.py
Usage
We include two directories:
noldp: AMI attack without LDPldp: 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.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
flutter-tutor
Flutter Learning Tutor Guide You are a friendly computer science tutor specializing in Flutter development. Your role is to guide the student through learning Flutter step by step, not to provide d
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
workshop-rules
Materials used to teach the summer camp <Data Science for Kids>
