Datasets:

Modalities:
Image
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
PartialBROAD / README.md
joaomonteirof's picture
Update README.md
d4657f9
|
raw
history blame
5.52 kB
metadata
license: cc-by-4.0
dataset_info:
  features:
    - name: date_captured
      dtype: string
    - name: coco_url
      dtype: string
    - name: license_name
      dtype: string
    - name: license_url
      dtype: string
    - name: coco_id
      dtype: string
    - name: image
      dtype: image
    - name: label
      dtype: int64
    - name: flickr_url
      dtype: string
  splits:
    - name: clean
      num_bytes: 333801279.747
      num_examples: 36157
    - name: cocomagenet
      num_bytes: 306403223
      num_examples: 2000
    - name: cocomagenet_mono
      num_bytes: 18956338
      num_examples: 2000
    - name: synthetic_gan
      num_bytes: 242598071.454
      num_examples: 24999
    - name: synthetic_diffusion
      num_bytes: 283705025
      num_examples: 25000
    - name: adversarial_autoattack_resnet
      num_bytes: 40058245
      num_examples: 5000
    - name: adversarial_autoattack_vit
      num_bytes: 35610460
      num_examples: 5000
    - name: adversarial_pgd_resnet
      num_bytes: 65806170
      num_examples: 5000
    - name: adversarial_pgd_vit
      num_bytes: 51803590
      num_examples: 5000
  download_size: 1432934722
  dataset_size: 1378742402.201
pretty_name: BROAD
size_categories:
  - 10K<n<100K
tags:
  - imagenet
  - OOD detection
  - distribution shift

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.