Datasets:

Size Categories:
10K<n<100K
ArXiv:
License:
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Bad split: clean. Available splits: ['adversarial_autoattack_resnet', 'adversarial_autoattack_vit', 'adversarial_pgd_resnet', 'adversarial_pgd_vit', 'synthetic_diffusion', 'synthetic_gan']
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 322, in compute
                  compute_first_rows_from_parquet_response(
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 88, in compute_first_rows_from_parquet_response
                  rows_index = indexer.get_rows_index(
                File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 444, in get_rows_index
                  return RowsIndex(
                File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 347, in __init__
                  self.parquet_index = self._init_parquet_index(
                File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 364, in _init_parquet_index
                  response = get_previous_step_or_raise(
                File "/src/libs/libcommon/src/libcommon/simple_cache.py", line 566, in get_previous_step_or_raise
                  raise CachedArtifactError(
              libcommon.simple_cache.CachedArtifactError: The previous step failed.
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 126, in get_rows_or_raise
                  return get_rows(
                File "/src/services/worker/src/worker/utils.py", line 64, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 87, in get_rows
                  ds = load_dataset(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 2567, in load_dataset
                  return builder_instance.as_streaming_dataset(split=split)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1389, in as_streaming_dataset
                  raise ValueError(f"Bad split: {split}. Available splits: {list(splits_generators)}")
              ValueError: Bad split: clean. Available splits: ['adversarial_autoattack_resnet', 'adversarial_autoattack_vit', 'adversarial_pgd_resnet', 'adversarial_pgd_vit', 'synthetic_diffusion', 'synthetic_gan']

Need help to make the dataset viewer work? Open a discussion for direct support.

Partial dataset used to build BROAD (Benchmarking Resilience Over Anomaly Diversity )

Refer to this repo to build the complete BROAD dataset.

The partial data included here contains synthetica images from BROAD and encoded unrecognizable images given by adversarial perturbations of imagenet samples. Decoding is implemented in the repo referred above.

Dataset Description

The BROAD dataset was introduced to benchmark OOD detection methods against a broader variety of distribution shifts in the paper Expecting The Unexpected: Towards Broad Out-Of-Distribution Detection.

Each split of BROAD is designed to be close (but different) to the ImageNet distribution.

Dataset Summary

BROAD is comprised of 16 splits, 9 of which can be downloaded from this page. The remaining 7 can be obtained through external links. We first describe the splits available from this hub, and then specify the external splits and how to get them. Please refer to Expecting The Unexpected: Towards Broad Out-Of-Distribution Detection for more detailed description of the data and its acquisition.

Included Splits

  • Clean is comprised of 36157 images from the original validation set of ILSVRC2012. They are used as in-distribution in BROAD.
  • Adversarial Autoattack Resnet, Adversarial Autoattack ViT, Adversarial PGD Resnet and Adversarial PGD ViT are splits each comprised of 5,000 adversarial perturbations of clean validation images, using a perturbation budget of 0.05 with the L-infinity norm. These attacks are computed against a trained ResNet-50 and a trained ViT-b/16. PGD uses 40 iterations and for Autoattack, only the attack model achieving the most confident misclassification is kept.
  • Synthetic Gan and Synthetic Diffusion are each comprised of 25,000 synthetic images generated to imitate the ImageNet distribution. For Synthetic Gan, a conditional BigGan architecture was used to generate 25 artificial samples from each ImageNet class. For Synthetic diffusion, we leveraged stable diffusion models to generate 25 artificial samples per class using the prompt "High quality image of a {class_name}".
  • CoComageNet is a novel split from the CoCo dataset comprised of 2000 images, each featuring multiple distinct classes of ImageNet. Each image of CoComageNet thus features multiple objects, at least two of which have distinct ImageNet labels. More details on the construction of CoComageNet can be found in the paper.
  • CoComageNet-mono is built similarly to CoComageNet, except each image only has one object with ImageNet label. It is designed as an ablation, to isolate the effect of having instances of multiple labels from other distributional shifts in CoComageNet.

External Splits

LICENSE

This work is licensed under a Creative Commons Attribution 4.0 Unported License.

Downloads last month
2
Edit dataset card