Skip to main content

Dataset containing adversarial results for seven approximate attacks (+ MIP) on MNIST and CIFAR10.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ug100-1.0.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ug100-1.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file ug100-1.0.0.tar.gz.

File metadata

  • Download URL: ug100-1.0.0.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.1

File hashes

Hashes for ug100-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6bc1e456a16ff706aff36933dac7968a2e9f3267801ce39fc3723354d3322a0b
MD5 4b744c15caa17970731a4a838c435cdd
BLAKE2b-256 42b2501ac034afae9d2656f39fe4d65d062de0df8d8f895cb60982176ee88153

See more details on using hashes here.

File details

Details for the file ug100-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ug100-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.1

File hashes

Hashes for ug100-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9dbf2bc3fdfb23bad709e3614719ebd44c79b0c89a8e2d3ee7b825a3e55c568
MD5 3a3507266c97a0efb265423eb496ea6a
BLAKE2b-256 2f3bec72854f40e0db81d18de6b46ee8ccce50e52087ad62016aa87a2162226f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page