├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── __init__.py ├── combine_bounds_and_attacks.py ├── combine_quartiles.py ├── combine_shards.py ├── combine_slabs.py ├── data_utils.py ├── datasets.py ├── defense_testers.py ├── defenses.py ├── generate_bounds.py ├── generate_feasible_attack.py ├── generate_label_flip_baseline.py ├── generate_or_process_bounds.py ├── iterative_attack.py ├── make_combined_paper_plots.ipynb ├── matlab ├── computeTau.m ├── extractVecs.m ├── feasibilityAttack.m ├── go_feas.py ├── go_slab.py ├── nabla_Loss.m ├── pathdef.m ├── processDataLight.m ├── randRound.m ├── slabAttack.m ├── trainRDA.m ├── trainRDA2.m └── upperBoundTrue.m ├── mix_and_match_slab.py ├── plotter.py ├── process_all.sh ├── process_feasible_bounds.py ├── report.py ├── run_baseline_defenses.py ├── run_gradient_attack.py ├── test_defenses.py └── upper_bounds.py /.gitignore: -------------------------------------------------------------------------------- 1 | .ipynb* 2 | *pyc 3 | *.log 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /combine_bounds_and_attacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/combine_bounds_and_attacks.py -------------------------------------------------------------------------------- /combine_quartiles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/combine_quartiles.py -------------------------------------------------------------------------------- /combine_shards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/combine_shards.py -------------------------------------------------------------------------------- /combine_slabs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/combine_slabs.py -------------------------------------------------------------------------------- /data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/data_utils.py -------------------------------------------------------------------------------- /datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/datasets.py -------------------------------------------------------------------------------- /defense_testers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/defense_testers.py -------------------------------------------------------------------------------- /defenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/defenses.py -------------------------------------------------------------------------------- /generate_bounds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/generate_bounds.py -------------------------------------------------------------------------------- /generate_feasible_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/generate_feasible_attack.py -------------------------------------------------------------------------------- /generate_label_flip_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/generate_label_flip_baseline.py -------------------------------------------------------------------------------- /generate_or_process_bounds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/generate_or_process_bounds.py -------------------------------------------------------------------------------- /iterative_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/iterative_attack.py -------------------------------------------------------------------------------- /make_combined_paper_plots.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/make_combined_paper_plots.ipynb -------------------------------------------------------------------------------- /matlab/computeTau.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/computeTau.m -------------------------------------------------------------------------------- /matlab/extractVecs.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/extractVecs.m -------------------------------------------------------------------------------- /matlab/feasibilityAttack.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/feasibilityAttack.m -------------------------------------------------------------------------------- /matlab/go_feas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/go_feas.py -------------------------------------------------------------------------------- /matlab/go_slab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/go_slab.py -------------------------------------------------------------------------------- /matlab/nabla_Loss.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/nabla_Loss.m -------------------------------------------------------------------------------- /matlab/pathdef.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/pathdef.m -------------------------------------------------------------------------------- /matlab/processDataLight.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/processDataLight.m -------------------------------------------------------------------------------- /matlab/randRound.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/randRound.m -------------------------------------------------------------------------------- /matlab/slabAttack.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/slabAttack.m -------------------------------------------------------------------------------- /matlab/trainRDA.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/trainRDA.m -------------------------------------------------------------------------------- /matlab/trainRDA2.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/trainRDA2.m -------------------------------------------------------------------------------- /matlab/upperBoundTrue.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/matlab/upperBoundTrue.m -------------------------------------------------------------------------------- /mix_and_match_slab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/mix_and_match_slab.py -------------------------------------------------------------------------------- /plotter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/plotter.py -------------------------------------------------------------------------------- /process_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/process_all.sh -------------------------------------------------------------------------------- /process_feasible_bounds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/process_feasible_bounds.py -------------------------------------------------------------------------------- /report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/report.py -------------------------------------------------------------------------------- /run_baseline_defenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/run_baseline_defenses.py -------------------------------------------------------------------------------- /run_gradient_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/run_gradient_attack.py -------------------------------------------------------------------------------- /test_defenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/test_defenses.py -------------------------------------------------------------------------------- /upper_bounds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kohpangwei/data-poisoning-release/HEAD/upper_bounds.py --------------------------------------------------------------------------------