Skip to content

code for our ICML 2022 paper "Provably Adversarially Robust Nearest Prototype Classifiers"

Notifications You must be signed in to change notification settings

vvoracek/Provably-Adversarially-Robust-Nearest-Prototype-Classifiers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Provably Adversarially Robust Nearest Prototype Classifiers

code for our ICML 2022 paper "Provably Adversarially Robust Nearest Prototype Classifiers" (under construction)

Before running the experiments, install the dependencies with:

pip install -r requirements.txt

To replicate training for MNIST, $\ell_2$ robust radius $1.58$, run the default parameters:

python main.py 

To replicate training for LPIPS distance cifar, run:

python main.py --dataset cifar10lpips --ppc 50 --decay 0.5 --bs 5000 --lr 100 --epochs 10

About

code for our ICML 2022 paper "Provably Adversarially Robust Nearest Prototype Classifiers"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages