UG100
A dataset containing adversarial results for seven approximate attacks (+ MIP) on a subset of the MNIST and CIFAR10 test datasets. Specifically, it contains ~2.3k adversarial examples generated by the following attacks:
- Basic Iterative Method (
bim) - Brendel & Bethge Attack (
brendel) - Carlini & Wagner Attack (
carlini) - Deepfool (
deepfool) - Fast Gradient Sign Method (
fast_gradient) - Projected Gradient Descent (
pgd) - Uniform noise (
uniform) - MIPVerify (
mip)
It also includes adversarial distances (for all attacks) and bounds (for MIP), as well as MIP convergence times.
Applications of this dataset include:
- Studying how, when and why adversarial attacks are close-to-optimal;
- Training classifiers that are robust to adversarial noise;
- Benchmarking new adversarial attacks.
The code used to generate UG100 can be found here.
Installation
pip install ug100
Implementation Notes
Since there aren't adversarial examples for every element of the test sets, we store the adversarials as an index-to-results dictionary.
For sequential access, use IndexDataset.
Additionally, we do not store the corresponding genuine examples for MNIST and CIFAR10. If you're using PyTorch, consider using TorchVision's dataset library.
Citing this Dataset
Please cite this dataset as:
Samuele Marro and Michele Lombardi. _Asymmetries in Adversarial Settings_. 2022.
Metadata
Release files for ug100 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ug100-1.0.0.tar.gz | 34.6 kB | Without provenance | Details for ug100-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ug100-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for ug100-1.0.0-py3-none-any.whl |
Total release size: 41.5 kB
Release files / ug100-1.0.0.tar.gz
| Download URL | ug100-1.0.0.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bc1e456a16ff706aff36933dac7968a2e9f3267801ce39fc3723354d3322a0b
|
|
BLAKE2b-256 checksum How to use checksums |
42b2501ac034afae9d2656f39fe4d65d062de0df8d8f895cb60982176ee88153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.1
|
Release files / ug100-1.0.0-py3-none-any.whl
| Download URL | ug100-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9dbf2bc3fdfb23bad709e3614719ebd44c79b0c89a8e2d3ee7b825a3e55c568
|
|
BLAKE2b-256 checksum How to use checksums |
2f3bec72854f40e0db81d18de6b46ee8ccce50e52087ad62016aa87a2162226f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.1
|
Security for ug100 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.