Skip to content

yigitcankaya/augmentation_mia

Repository files navigation

Yigitcan Kaya, Tudor Dumitras -- University of Maryland, College Park

Please contact cankaya at umd dot edu for bugs, questions and recommendations.

Requirements:

Source code files and their contents:

  • train_models.py --- contains the wrappers to train all the models with and without augmentation, takes the path to a config file as the command line argument.
  • mi_attacks.py --- contains the implementations of the three MIAs in the paper (average, powerful and augmentation-aware), take the path to a config file as the command line argument.
  • aux_funcs.py --- contains auxiliary functions for optimizers, regularization methods, datasets, loaders etc.
  • loss_rank_correlation.py --- contains the implementation of the LRC metric in Section 6.
  • models.py --- contains the definitions of the architectures we experiment with, the methods to train models with DP or with augmentation.
  • collect_results.py --- contains the methods to collect the results after models are trained and the MIAs are applied.
  • Playground.ipynb --- contains the demonstration of how to use the codebase, train models, apply attacks, collect results etc.
  • config.json --- the config file for training and attacking the models, specifies the hyper-parameters, paths, and experiment settings.

Releases

No releases published

Packages

No packages published