This repository contains the source code for CleverHans, a Python library to benchmark machine learning systems' vulnerability to adversarial examples. You can learn more about such vulnerabilities on the accompanying blog. The CleverHans library is under continual development, always welcoming contributions of the latest attacks and defenses. In particular, we always welcome help with resolving the issues currently open. Since v4.0.0, CleverHans supports 3 frameworks: JAX, PyTorch, and TF2. We are currently prioritizing implementing attacks in PyTorch, but we very much welcome contributions for all 3 frameworks. In versions v3.1.0 and prior, CleverHans supported TF1; the code for v3.1.0 can be found under cleverhans_v3.1.0/ or by checking out a prior Github release. The library focuses on providing a reference implementation of attacks against machine learning models to help with benchmarking models against adversarial examples.
Features
- Documentation available
- This library uses Jax, PyTorch or TensorFlow 2
- CleverHans is likely to work on many other machine configurations
- Tutorials directory
- Examples available
- The library focuses on providing reference implementation of attacks against machine learning models