File size: 3,181 Bytes
01c2327
 
164bee7
 
 
 
 
 
 
 
 
 
 
01c2327
164bee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a33389
 
164bee7
 
 
 
 
 
 
 
 
 
7b839b2
 
 
164bee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
license: mit
task_categories:
- image-classification
language:
- en
pretty_name: mnist_ambigous
size_categories:
- 10K<n<100K
source_datasets:
- extended|mnist
annotations_creators:
- machine-generated
---


# Fashion-Mnist-Ambiguous

This dataset contains fashion-mnist-like images, but with an unclear ground truth. For each image, there are two classes that could be considered true.
Robust and uncertainty-aware DNNs should thus detect and flag these issues.

### Features
Same as fashion-mnist, the supervised dataset has an `image` (28x28 int array) and a `label` (int).

Additionally, the following features are exposed for your convenience:

- `text_label` (str): A textual representation of the probabilistic label, e.g. `p(Pullover)=0.54, p(Shirt)=0.46` 
- `p_label` (list of floats): Ground-Truth probabilities for each class (two nonzero values for our ambiguous images)
- `is_ambiguous` (bool): Flag indicating if this is one of our ambiguous images (see 'splits' below)

### Splits
We provide four splits:

- `test`: 10'000 ambiguous images
- `train`: 10'000 ambiguous images - adding ambiguous images to the training set makes sure test-time ambiguous images are in-distribution.
- `test_mixed`: 20'000 images, consisting of the (shuffled) concatenation of our ambiguous `test` set and the nominal *original* fashion mnist test set
- `train_mixed`: 70'000 images, consisting of the (shuffled) concatenation of our ambiguous `training` and the nominal training set.

Note that the ambiguous train images are highly ambiguous (i.e., the two classes have very similar ground truth likelihoods), 
the training set images allow for more unbalanced ambiguity. 
This is to make the training set more closely connected to the nominal data, while still keeping the test set clearly ambiguous.

For research targeting explicitly aleatoric uncertainty, we recommend training the model using `train_mixed`. 
Otherwise, our `test` set will lead to both epistemic and aleatoric uncertainty. 
In related literature, such 'mixed' splits are sometimes denoted as *dirty* splits.

### Assessment and Validity
For a brief discussion of the strength and weaknesses of this dataset we refer to our paper.
Please note that our images are not typically realistic - 
i.e., while they represent multiple classes and thus have an ambiguous ground truth, they do not resemble real-world photographs.

### Paper
Pre-print here: [https://arxiv.org/abs/2207.10495](https://arxiv.org/abs/2207.10495)

Citation:
```
@misc{https://doi.org/10.48550/arxiv.2207.10495,
  doi = {10.48550/ARXIV.2207.10495},
  url = {https://arxiv.org/abs/2207.10495},
  author = {Weiss, Michael and Gómez, André García and Tonella, Paolo},
  title = {A Forgotten Danger in DNN Supervision Testing: Generating and Detecting True Ambiguity},
  publisher = {arXiv},
  year = {2022}
}
```


### Related Datasets
- Ambiguous Mnist Dataset: [https://huggingface.co/datasets/mweiss/mnist_ambiguous](https://huggingface.co/datasets/mweiss/mnist_ambiguous)
- Corrupted Fashion-Mnist Dataset: [https://huggingface.co/datasets/mweiss/fashion_mnist_corrupted](https://huggingface.co/datasets/mweiss/fashion_mnist_corrupted)