T RIVIAL OR IMPOSSIBLE — DICHOTOMOUS DATA DIFFICULTY MASKS MODEL DIFFERENCES ( ON I MAGE N ET AND BEYOND )
Anonymous authors
Paper under double-blind review
A BSTRACT “The power of a generalization system follows directly from its biases” (Mitchell 1980).
Today, CNNs are incredibly powerful generalisation systems—but to what degree have we understood how their inductive bias inﬂuences model decisions?
We here attempt to disentangle the various aspects that determine how a model decides.
In particular, we ask: what makes one model decide differently from another?
In a meticulously controlled setting, we ﬁnd that (1.)
irrespective of the network architecture or objective (e.g. self-supervised, semi-supervised, vision transformers, recurrent models) all models end up making similar decisions.
To understand these ﬁndings, we analysed model decisions on the ImageNet validation set from epoch to epoch and image by image.
We ﬁnd that the ImageNet validation set, among others, suffers from dichotomous data difﬁculty (DDD): For the range of investigated models and their accuracies, it is dominated by 46.0% “trivial” and 11.5% “impossible” images (beyond label errors).
Only 42.5% of the images could possibly be responsible for the differences between two models’ decision boundaries.
Only removing the “impossible” and “trivial” images allows us to see pronounced differences between models.
Humans are highly accurate at predicting which images are “trivial” and “impossible” for CNNs (81.4%).
This implies that in future comparisons of brains, machines and behaviour, much may be gained from investigating the decisive role of images and the distribution of their difﬁculties.
Humans can reliably differentiate between images that are “trivially easy” and “impossibly hard” for CNNs (81.4% accuracy).
I NTRODUCTION
Let’s play a game we call Find those tricky images!
In Figure 1, we show pairs of images.
One image is impossible for a CNN regardless of its architecture, optimiser, random seed etc.—it never gets the label correct.
The other image always yields a correct classiﬁcation—can you ﬁnd the tricky images?
[Figure]
Done?
We will wait.
You have probably never seen these images before, and neither have CNNs seen them during training.
How exactly a decision maker—be it a neural network, or a biological brain—generalises to previously unseen images is inﬂuenced by the decision maker’s inductive bias (Goyal and Bengio, 2020)—in fact, as already recognised in 1980, “the power of a generalisation system follows directly from its biases” (Mitchell, 1980).
Commonly, the inductive bias is deﬁned as the set of assumptions and choices that determine which hypothesis space is available to the model, before the model is exposed to data.
For instance, starting from the set of all possible hypotheses, the hypothesis space of linear models is a tiny subset (linearity is one example of a strong inductive bias).
After the “choice” of the inductive bias, the dataset then inﬂuences which particular decision boundary (or concrete hypothesis) is selected from the model’s hypothesis space.
Finding the right inductive bias for a given problem is at the core of machine learning.
Therefore it is only consequent that a tremendous amount of work is being invested in improved architectures (Alzubaidi et al., 2021), optimisers (Ruder, 2016), learning rate schedules (Loshchilov and Hutter, 2016), etc.—surely we would expect these choices to make a difference on the resulting model’s decisions even if trained on the exact same dataset.
However, in the present work, we have tested various factors related to the inductive bias—among other aspects, architecture, optimiser, learning rate, and initialisation—and yet, on ImageNet, all models agree in the sense that they all make largely similar errors.
This is shown in Figure 2: even radically different state-of-the-art (SOTA) models make surprisingly similar errors on the ImageNet validation set.
To a certain degree, image difﬁculty appears dichotomous: nearly 60% of all images are either “trivial” (all models correct) or “impossible” (all models wrong).
As we will demonstrate later, this dataset issue masks and overshadows hidden differences between models.
1. R ELATED WORK
Metrics for CNN comparisons Given the scientiﬁc, practical and engineering implications of model inductive biases, it is perhaps not surprising that a number of studies investigated differences between neural networks.
For this purpose, the standard metric is accuracy.
Some studies also focus on learned features and decision boundaries (e.g. Hermann and Lampinen, 2020;
Nguyen et al., 2020; Wang et al., 2018; Hermann et al., 2019; Shah et al., 2020), or internal representations (Kriegeskorte et al.,
2008; Kornblith et al., 2019).
Using representational similarity analysis (RSA) and most similar to our work, Mehrer et al.
(2020) and Akbarinia and Gegenfurtner (2019)
investigated whether different
CNNs yield correlated representations and found that many neural networks show differences on a representational level.
How intermediate representations are related to classiﬁcation behaviour largely remains unclear.
In order to compare networks on a behavioural level directly, metrics such as error consistency can be used.
Error consistency (measured by κ ) assesses the degree of agreement between two decision-makers on an image-by-image basis, not just average performance (Geirhos et al., 2020a;b).
Consistent model errors Tramèr et al.
(2017) observe that the decision boundaries of two models are highly similar, an issue that is related to the transferability of adversarial examples between models.
Additionally, it has been shown that standard vanilla models systematically agree on their errors both on IID (independent and identically distributed) data
(Mania et al., 2019) and OOD (out-of-distribution) data (Geirhos et al., 2020a).
It is unclear whether, if at all, there is a connection between model inductive bias, dataset difﬁculty and consistent model errors.
Problems of datasets The ImageNet dataset (Russakovsky et al., 2015) has numerous issues.
Next to those affecting most datasets—such as dataset bias (Torralba and Efros, 2011)—a number of problems have been identiﬁed.
Very recently, Northcutt et al.
(2021b) showed that around 6% of
ImageNet validation images suffer from label errors.
Additionally, many images simply require more than a single label since multiple objects are present, and the distinctions between classes seem rather arbitrary at times (Tsipras et al., 2020; Beyer et al., 2020).
Even when trying to replicate the original ImageNet labeling procedure in order to create a new test set, models trained on ImageNet have an accuracy drop of 11–14% on this new test set (Recht et al., 2019).
Finally, ImageNet labels are based on the WordNet hierarchy, which contains many problematic categories.
For instance, many categories in the “person” subtree have labels ranging from outdated to outrageous and racist (Crawford and Paglen; Yang et al., 2020).
Furthermore and similar to our work, authors already investigated image sampling strategies during training (Jiang et al., 2019; Katharopoulos and Fleuret, 2018).
However, these studies focused on accelerating the training and not how the ImageNet issues may obscure differences between models as we explore here.
Example difﬁculty
A number of papers have investigated what makes images easy or difﬁcult—e.g.
Agarwal et al.
Baldock et al.
; Mangalam and Prabhu (2019);
Paul et al. (2021) for MNIST/CIFAR, and e.g. Hacohen et al. (2020) for ImageNet.
Furthermore, However, while it was previously known that models often make similar errors—and often learn examples in the same order, see e.g. Toneva et al.
; Kalimeris et al.
(2019)—it is still unclear whether this is caused by models or by data , which we attempt to disentangle here.
M ETHODS
All details regarding our software, hardware and dataset can be found in the appendix (section A.2).
Similarity measure For the investigation of network similarities, we mainly use the behavioural measure error consistency ( κ ) (Geirhos et al., 2020a) based on Cohen’s work (Cohen, 1960).
κ >represents that two decision-makers systematically make errors on the same images; κ = 0 indicates no more error overlap than what could be expected by chance alone.
κ < 0 shows that two decisionmakers systematically disagree.
Network variations In our experiments we investigated the systematic agreement between CNNs, varying not only architecture but carefully controlling for number of epochs, optimiser, batch size, random initialisation, learning rate, hardware randomness, data order, architecture, and disjoint data sampling.
Unless stated otherwise, we only changed one of the above parameters at a time.
Our main results are based on the ImageNet ILSVRC dataset (Russakovsky et al., 2015).
We ﬁrst used systematic variations on ResNet-18 (called ResNet-18 variants).
Details can be found in section A. in the Appendix.
In total, 30 networks were trained on each of the three data sets (See below:
ImageNet, CIFAR-100, Gaussian) presented in the main text, as well as 60 more networks for control experiments reported in the Appendix.
We stored all network states and all responses for each epoch.
This allows us to analyse the agreement on different training stages epoch by epoch (and image by image).
Later, we investigated different state-of-the-art network architectures.
When we investigated these SOTA models, implementations provided by modelvshuman (Geirhos et al., 2021) were used (which focuses on various out-of-distribution datasets but not on ImageNet as we do).
Psychophysical experiment In order to test whether humans can infer which images are easy and hard for CNNs, we conducted a psychophysical two-alternative forced choice experiment (Wichmann and Jäkel, 2018).
In the experiment, observers were instructed to indicate by button press which image of an image pair they believe to be more difﬁcult for a network to classify correctly—Is the right or the left image easier to classify for a CNN?
An example trial can be found in the appendix, see
Figure 20.
Images were chosen from the ImageNet validation set such that the image pairs consisted of one image which all networks with different inductive bias classiﬁed correctly and another image which all networks misclassiﬁed (see also Figure 15).
Stimuli were non-normalized images of size 224 × 224 px.
Observers performed 149 self-paced trials.
Overall, nine observers (mean age = 34. yrs, 2 female, 7 male) participated.
Two observers were entirely naïve to CNN research, a further four were naïve to the purpose of the experiments, but knew about CNNs.
Subjects received monetary compensation of 10 C per hour.
The total duration of the experiment was 30 minutes per observer.
R ESULTS
3. M ODEL ERRORS ARE ALIGNED DUE TO DICHOTOMOUS DATA DIFFICULTY (DDD)
Figure 3 shows the result of our controlled study of model differences on ImageNet.
A positive error consistency score means that the networks agree beyond what is expected by independent models.
Regardless of the parameter changed (architecture, optimiser, etc.), we ﬁnd very high error consistencies (around 0.7)—thus all models agree which images are easy or difﬁcult to classify irrespective of the model differences investigated.
2 Strikingly, changes that we hypothesized would make a larger difference, e.g. different architecture, have basically the same error consistency as “minor” changes like enabling hardware randomness on the GPUs.
All networks achieved similar top1 accuracies (mean: 69.05% after 90 epochs; range: 65.87% to 71.47%; standard deviation: 1.60%, cf.
Figure 10 in the Appendix).
Another popular method for agreement analysis is RSA.
All our results also hold here, see Figure 7 in the Appendix.
Additionally, switching the base architecture to
VGG-11 or DenseNet-121 does not make a difference either (see Figures 12 and 13 in the Appendix).
We go into a deeper analysis of why model differences play such an insigniﬁcant role in Figure 4, which plots, for the base network, whether ImageNet validation images are classiﬁed correctly (white) or incorrectly (blue) across epochs.
There are three take-aways from this visualization.
(1.), one immediately notices the inﬂuence of the standard learning rate steps after 30 and 60 epochs.
However, after this step, some images (bottom) are also “forgotten” (classiﬁed correctly before step but incorrectly afterwards), which contrasts with the usual expectation that a model gradually improves over time.
(2.), some images are learned immediately during the very ﬁrst epoch and never forgotten later (top right region), while some are never learned at all.
We will later see that this is not an effect of label errors, see Figure 2a.
(3.), while accuracy usually only improves minimally from one epoch to the next (e.g. 0.04% from epoch 89 to epoch 90, or 14 additionally correctly classiﬁed images out of 50,000), on average 12.37% of the models’ image classiﬁcation decisions swap every epoch, corresponding to 6,184 images!
(See Figure 14 in the Appendix for a plot which shows the percentage of swapped labels from epoch to epoch).
The key takeaways from Figure 4 are already known from previous works investigating model errors over training time (Toneva et al., 2018;
Mangalam and Prabhu, 2019; Kalimeris et al., 2019)—we do not intend to claim any conceptual novelty in this regard, Figure 4 simply intends to visualise these intriguing patterns clearly.
This last ﬁnding becomes even more prominent in Figure 5, where we overlay the previous ﬁgure for all of the 13 networks with different hyperparameters, architectures etc.
(explained in section 2).
A very light red entry indicates that all networks correctly classify the image, a very dark red entry that all networks misclassify the corresponding image; shades of red indicate the cases in-between (where, e.g., some but not all networks make errors).
The ﬁgure illustrates that the previous ﬁndings hold across very different inductive biases for ResNet-18 variants : We observe that 48.2 % images are learned by all models regardless of their inductive bias; 14.3 % images are consistently misclassiﬁed by all models 3 ; only roughly a third (37.5%) of images are responsible for the differences between two model’s decisions.
We call this phenomenon dichotomous data difﬁculty (DDD): While the inductive bias restricts the hyperparameter space for a given model, the nature of the dataset—and especially its highly non-uniform image difﬁculties—seems to be an important cause for the high similarity in the decisions of different networks.
Model differences may play a bigger role for images of intermediate difﬁculty (where there is substantial consistency variation across models), but only a minor role for easy and hard images.
As the dataset primarily consists of images that all models either classify correctly or incorrectly, all models end up with similar classiﬁcation behaviour.
Let us consider two extreme cases in order to put these ﬁndings into context.
On one end of the spectrum, if all images were equally difﬁcult and if all networks were independent (i.e. their different inductive biases would result in independent decision boundaries), then we could expect a binomial distribution of model errors: out of 13 investigated ResNet-18 models, very few images should be misclassiﬁed by all models and very few correctly classiﬁed by all models—instead, most images should be correctly classiﬁed by a handful of models.
Figure 2a shows, in green, exactly this distribution expected for independent models and equally difﬁcult data 4 .
On the extreme end of the spectrum, if the inductive bias had no inﬂuence at all and the dataset only contained “trivial” and “impossible” images, we would expect a histogram with only two “spikes”: given ImageNet accuracies of 69.05% on average, one spike at “None” (30.95% for ImageNet) and one at “All” (69.
% for ImageNet).
Clearly, the empirically obtained histogram (blue) much more resembles the latter, i.e. the scenario where the (nearly) dichotomous data difﬁculty dominates over inductive bias.
We observe that DDD on ImageNet is ampliﬁed, but not caused, by label errors (Northcutt et al., 2021a;
Beyer et al., 2020;
Tsipras et al., 2020) which only have a minor inﬂuence on the “None-Bar” from our histogram in Figure 2.
Hence: removing erroneous labels is beneﬁcial and laudable, but it will not solve DDD.
Is dichotomous data difﬁculty (DDD) only a problem for ImageNet?
This is not the case: DDD is also present in CIFAR-100 and in the synthetic Gaussian dataset we (purposefully) generated .
As a ﬁrst indication, for both of these datasets we ﬁnd similarly high error consistencies between different models, just like we found for ImageNet (see section A.5 in the appendix).
3. D ICHOTOMOUS D ATA D IFFICULTY EVEN AFFECTS RADICALLY DIFFERENT STATE - OF - THE - ART MODELS
In the previous section, we found that changing different aspects within one model class does not change the decisions signiﬁcantly.
However, it is unclear whether these results generalize across model classes.
Therefore, we apply the analysis from Figure 2a with a number of models speciﬁcally chosen to be radically different from each: a self-supervised model (SimCLR, Chen et al.
(2020)), a semi-supervised model (SWSL, Yalniz et al.
(2019)), a vision transformer (ViT, Dosovitskiy et al.
(2020)), a recurrent model (CORnet-RT, Kubilius et al.
a very deep model (ResNet-152, He et al.
(2016)), a highly compressed model (SqueezeNet, Iandola et al.
(2016)), an adversarially trained model (ResNet-50 with epsilon 1 L2-robustness on ImageNet, Salman et al.
(2020)), a bag-of-local-features model (Bagnet-33, Brendel and Bethge (2019)) , a network trained on stylized ImageNet (ResNet-50 trained on SIN, Geirhos et al.
(2019)), a deep high resolution neural network (HRNET, Wang et al.
(2020)) , and OpenAI’s CLIP model (Radford et al., 2021) with a transformer architecture and joint image-language training objective (11 models in total).
Individual accuracies of these networks can be found in the appendix (see Figure 11).
Again, we ﬁnd the same pattern in Figure 2b.
In total, 46.0 % “trivial” images are learned by all except one model; 11.5 % “impossible” images are consistently misclassiﬁed by all except one model.
(42.5%) of images are responsible for the differences between two model’s decisions (inconclusive images).
3. D ATASET SUBSAMPLING ACCORDING TO D ICHOTOMOUS D ATA D IFFICULTY REVEALS DIFFERENCES BETWEEN MODELS
So far we have seen that models agree despite markedly different choices of architecture, training objectives, and many other aspects.
While we hypothesized DDD (a dataset issue) to be the cause, an alternative explanation would be that models simply agree irrespective of the choice of data difﬁculty.
In order to differentiate between these two competing hypotheses we performed an experiment where we removed both the “trivial” and the “impossible” images from the ImageNet validation dataset. The training dataset was not altered.
If model agreement is indeed caused by DDD, then we should ﬁnd much stronger differences between different models (as indicated through lower error consistency scores).
The results are presented in Figure 6: Indeed, model differences are now much more pronounced, in many cases the consistency between different models even approaches zero, indicating that some networks make truly independent decisions, i.e. have learned independent decision boundaries whilst being similarly accurate.
This shows that the high agreement between different models (as observed e.g. by Geirhos et al.
(2020a; 2021) and Mania et al.
(2019)) is a result of dataset DDD problems, not that inductive bias does not matter much.
Please note that the reduced consistency is not trivially caused by the removal of impossible and trivial images: Even when removing extreme images (all models correct/incorrect), two models could agree or disagree on the remaining images of intermediate difﬁculty (error consistency is calculated pair-wise).
Finally, we show that there are some particularly easy and hard classes (Section A.7 in the Appendix).
H UMANS ARE HIGHLY ACCURATE AT PREDICTING WHICH IMAGES ARE DIFFICULT FOR CNN S
Since we found DDD to affect very different models, we were interested to understand whether humans could identify which images were “trivial” and “impossible” for CNNs.
If they can, this would mean that there is—at least to some degree—a shared notion of image difﬁculty between humans and CNNs.
We therefore conducted a psychophysical experiment, where subjects were asked to identify which image was easier for a neural network to classify.
We found that human observers were able to do so well beyond chance (50%): on average, with an accuracy of 81.36%.
The accuracies of the different subjects ranged from 71.81% 5 to 88.59%, with a standard deviation of 6.29%.
The mean error consistency between the subjects was 0.5874.
For all combinations of different subjects, the error consistency ranged from 0.4053 to 0.7527, with a standard deviation of 0.08783.
In conclusion, even naïve human observers without machine learning experience can reliably and consistently predict which images are easy and difﬁcult for CNNs.
D ISCUSSION
We investigated the inﬂuence of dataset difﬁculty on model decisions.
We found that model decisions are not only determined by the inductive bias (such as their architecture)—they are also largely inﬂuenced by the dichotomous difﬁculty of images in common datasets (DDD): many ImageNet images are either “trivial” or “impossible”, but only a third in-between.
This has implications for model design.
Viewed positively, results for one network may generalise towards different networks, which can be advantageous in some circumstances.
This is in line with previous ﬁndings that some results transfer between different model classes, e.g. adversarial examples (Szegedy et al., 2013;
Papernot et al., 2016).
However, if models are trained on datasets with DDD, design decisions like architectural improvements may not be able to show their full potential since the resulting models, due to DDD, have a high likelihood of ending up in a very similar regime as other (already existing) models—and might even inherit their vulnerabilities.
In comparison to underspeciﬁcation described by D’Amour et al.
we observe for our setting overspeciﬁcation; models behave very similarly because of DDD.
When removing trivial and impossible images, the differences between models get pronounced as these are the “interesting images”—which potentially can be used to accelerate training (Jiang et al., 2019; Katharopoulos and Fleuret, 2018).
Furthermore, our method also offers an easy to implement and powerfull and method to curate DDD-free dataset.
One only needs to train different models on the same data.
Afterwards remove impossible and trivial images.
Then the rest —the in-between ones— are the interesting images which are DDD-free.
Previous investigations found label errors to be a problem in a number of datasets.
Here we show a dataset issues that affects a much larger number of ImageNet images than those affected by label errors.
In order to be able to improve our ability to differentiate between models (and give their inductive bias a chance to truly make a difference), we will need datasets that are more balanced with respect to image difﬁculty or use only in-between images.
This is far from trivial since we do not know precisely what causes DDD.
Inspiration could come from psychology and vision science, where investigations into what makes an image or object difﬁcult have a long history.
At least since
Eleanor Rosch’s
(Rosch, 1973)
pioneering work we know that for some object categories there are “natural prototypes”, i.e. particularly representative exemplars of a category.
Thus not all members of a category are equally easy to recognize and classify.
Second, for human vision it is well known that the recognition of an object depends on its viewpoint: objects are easier to see from a “canonical” viewpoint (Biederman, 1987; Bülthoff and Edelman, 1992; Freeman, 1994; Tarr and Kriegman, 2001;
Tarr et al., 1996).
Third, object recognition also depends on its context and surroundings.
Humans can recognize objects remarkably quickly (Thorpe et al., 1996), but this is only true if they are effectively segmented from their background (Wichmann et al., 2010).
As a result one can make a real-world dataset arbitrarily trivial (or impossible) for human observers by selecting prototypical (or non-prototypical) objects, showing them from canonical (or degenerate) viewpoints and have objects segmented from (or camouﬂaged by) the background.
Perhaps it was naïve to believe that large automatically generated datasets would somehow “get the mix right” and result in images where the difﬁculty within and between categories is approximately the same—or at least not so large that it dominates over inductive bias as we show in this work.
Our human experiment shows that humans can reliably identify the impossible images from ImageNet (see Figure 15 in the Appendix for more examples).
Inspection of those images left us with the impression that impossible images often contain multiple objects and sometimes “unusual” objects and viewpoints (see above).
However, albeit having much smaller images which predominantly contain a single object, the DDD effect persists in CIFAR-100 (see Figure 16 in the Appendix).
From a cognitive science or neuroscience perspective DDD might thus also provide new opportunities for insights:
Perhaps the impossible images are the ones which can reveal differences between humans and CNNs and are thus those which neuroscience and cognitive science should be interested in.
It may be beneﬁcial to compare humans and brains to CNNs on images selected by their difﬁculty.
E THICS STATEMENT
Potential social harm.
We do not expect that our work causes harm to people or groups.
Environmental aspects.
We roughly used 250 GPU days for this paper.
Each GPU unit on our cluster (together with CPU and RAM) consumes on average 300W.
In total, this paper consumed 1800kWh.
The CO2 emission in the country of the authors is roughly 400g/kW resulting in a CO equivalent of 720kg—this corresponds to roughly 45% of the emission of a ﬂight from London to
New York.
We will compensate the amount of CO2 with a certiﬁed CO2-compensation company.
Furthermore, we will make sure that other researchers have access to the trained models, see below.
We can not distribute all models yet (several GBs) because of the size limit of the supplementary materials.
Psychophysical experiment.
Prior to the experiment written consensus was collected from all participants.
Recently, some issues around ImageNet were discussed e.g. by https://www.
excavating.ai .
Thus, we removed some images in our psychophysical experiment and do not show any images containing humans in this paper.
Otherwise, we do not see potential participants risks in our experiment.
R EPRODUCIBILITY STATEMENT
The entire code to reproduce our ﬁndings can be found in the supplemental material, and will be published as a public github repository upon acceptance.
Additionally, we added exemplary jupyter notebooks as a guide on how to use our code.
A A PPENDIX A. R ES N ET -18 VARIANTS
Our systematic variations for the ResNet-18 variants are:
• Base condition : a standard ResNet-18 trained on ImageNet in PyTorch 6 was used as the baseline network for all comparisons; one instance trained.
• Plus 1ep : a network was trained for one additional epoch compared to the base network; one instance trained.
• Plus 10ep : a network was trained for ten additional epochs compared to the base network; one instance trained.
• Different optimizer : a network was trained using SGD with Nesterov momentum(Sutskever et al., 2013) instead of vanilla SGD; one instance trained.
• Different batch size : for this condition we split the batch size in half (128 instead of the 256).
This was done by drawing the same batches from the data loader and splitting them in half.
We then input the halves sequentially into the model, effectively doubling the number of gradient updates; one instance trained.
• Different initialisation : networks were varied in the initialisation of their layer weights by choosing a different random seed for each network; ﬁve instances trained.
• Different learning rate : the networks were trained using initial learning rates varying from 0.148 to 0.152 instead of the default learning rate of 0.1.
We narrowed the range such that they still reach the same accuracy level; ﬁve instances trained.
• CUDA non-deterministic : Training networks without CUDA determinism is the standard procedure.
However, graphic card operations are not necessarily deterministic, e.g. functions like reduce_sum (Riach, 2019).
This non determinism might not inﬂuence accuracy but may inﬂuence agreement between instances; ﬁve instances trained.
• Different dataorder : networks were trained with the exact same training data, however the order of the samples was varied for each model by choosing a different random seed before initialisation of the data loader; ﬁve instances trained.
• Different architectures : we trained a DenseNet-121 as a different architecture.
Due to hardware constraints, we had to use a batch size of 64 for this condition; one instance trained.
• Half data : the network was trained on only half of the data but compared to the base condition with all data; one instance trained.
• Combined condition : for this condition, we combined multiple conditions.
Here, we trained networks of the different architecture condition with training data in a different order, using SGD with Nesterov momentum, varying learning rates from 0.148 to 0.152, and different initialisations for each network; 5 instances trained.
• Different data : two networks were trained on the ﬁrst and second half of the ImageNet training set respectively.
Thus two different, disjoint training datasets were used—of course from the same distribution (ImageNet).
For this condition we compared the networks to each other instead of comparing against the base condition.
A. S OFTWARE , HARDWARE AND DATA
The networks were trained on GeForce RTX 2080 Ti GPUs with CUDA Version 11.1, CPU cores and 32 GB RAM shared between the cores. All code was written in PyTorch using Python 3 and the code to reproduce our ﬁndings is available in the supplementary material. For the RSA analysis, we used the thingsvision toolkit (Muttenthaler and Hebart, 2021).
We used three data sets: ImageNet (Russakovsky et al., 2015), CIFAR-
(Krizhevsky and Hinton, 2009) and the third dataset (“Gaussian noise”) was generated by ourselves to investigate the effect of training on a dataset that does not contain any “natural image structure”.
It was generated by drawing pixel-wise uncorrelated Gaussian noise for each of the three RGB-channels.
The dataset consisted of 100 classes with 20000 train and 50 test images per class.
The i -th class has a mean of 128 and a standard deviation of σ = i , which is how classes can be identiﬁed by a model.
A. C ONTROL EXPERIMENTS WITH VGG AND D ENSENET
To ensure that our ﬁndings generalize across different architectures and different datasets, we reran our main experiment with a number of variations: examples master/imagenet : batch size of 256, 90 epochs,
SGD optimizer and an initial learning rate of 0.1 that was divided by
30 epochs. First, we tested different architectures; ImageNet with Densenet-121 as base network : Using a Denenetas base network with a slightly altered training paradigm using only 30 instead of 90 epochs—to reduce the environmental impact of our study—and a batch size of 64 due to GPU RAM limitations.
A ResNet-50 was used as comparison architectures.
Imagenet with VGG-11 as base network : For VGG-11 as the base network, we used a starting learning rate of 0.
as according to the standard PyTorch implementation.
Again, we only trained networks in this paradigm for 30 epochs and with learning rate steps every 10 epochs.
Additionally, we used an AlexNet as different architecture.
Second, in addition to ImageNet and our Gaussian dataset we used another dataset, namely CIFAR-100 :
Again, we followed the standard ResNet-18 PyTorch implementation with the modiﬁcation that we only used a total of 30 epochs to reduce the environmental impact of our study.
A. C ONTROL EXPERIMENT R EPRESENTATIONAL S IMILARLY A NALYSIS
Additionally, to check whether our results are reproducible outside of a behavioural measure, we applied the tool representational similarly analysis (RSA).
RSA is a method that originated in the brain sciences.
It quantiﬁes whether the inner representation—here the activation of kernels by single images—is similar across networks (Kriegeskorte et al., 2008; Mehrer et al., 2020).
An RSA between two networks yields a correlation index between -1 and 1, indicating anti-correlation, no correlation (0) and perfect correlation respectively.
It is important to note that the correlation values from RSA and κ from error consistency are not comparable, although they have the same limits.
A. DDD IN C IFAR AND THE G AUSSIAN DATASET
Is dichotomous data difﬁculty (DDD) only a problem for ImageNet?
We here show that this is not the case on two different datasets.
CIFAR-100 (Krizhevsky and Hinton, 2009) and the third dataset (“Gaussian noise”) was generated by ourselves to investigate the effect of training on a dataset that does not contain any “natural image structure”.
It was generated by drawing pixel-wise uncorrelated Gaussian noise for each of the three
RGB-channels.
The dataset consisted of 100 classes with 20000 train and 50 test images per class.
The i -th class has a mean of 128 and a standard deviation of σ = i , which is how classes can be identiﬁed by a model 7 .
As a ﬁrst indication, for both of these datasets we ﬁnd similarly high error consistencies between different models, just like we found for ImageNet (see Figure 18).
Furthermore, training models on CIFAR-100 and the
Gaussian data set leads to a very similar result pattern as for natural data sets like ImageNet and CIFAR-100 (shown in panel (b) and (c) of Figure 19).
This is a strong indication —together with the imbalanced class accuracies in Figure 17— that highly consistent model errors are a result of DDD and not an artefact of natural images.
A. KL DIVERGENCE
We constructed a third dataset (“Gaussian noise”).
It was generated by drawing pixel-wise uncorrelated Gaussian noise for each of the three RGB-channels.
The dataset consisted of 100 classes with 20000 train and 500 test images per class.
The i -th class has a mean of 128 and a standard deviation of σ = i , which is how classes can be identiﬁed by a ML model.
With this procedure, the KL-Divergence
[Equation]
i
[Equation]
between class i and i − 1 is decreasing, see Figure 8.
A. C LASS ACCURACIES
Figure 17 clearly shows that for all datasets, some classes are very easy to classify (e.g. up to 100% top-1 accuracy on ImageNet), while other classes are very difﬁcult (e.g. down to 10% top-1 accuracy on ImageNet, for a list of top-10 easiest and hardest classes see Table 1).
This means that there are both easy and hard images as well as easy and hard classes.
[Table]
A. M ODELING IMAGE DIFFICULTY
We modelled the image difﬁculty in Figure 2 as uniform.
One of our reviewers suggested to model the image difﬁculty with an exponential decay instead—this means that we assumed that there are many simple images, then less and less more difﬁcult images.
We therefore extend our previous approach by simulating an exponential and a sigmoid function.
For each of the two functions, we binned the “difﬁculty” in bins of size 0.01 in the range of 0.00 to 1.00.
We then calculated how many images are to be expected in each of the difﬁculty bins given the underlying function.
For each of the difﬁculty bins, we then sampled from a binomial distribution.
The mean difﬁculty of the images corresponds to the observed mean difﬁculty (p=0.689) for ResNet-18 variants. Both functions still yield very different histograms compared to the observed histogram of image difﬁculties. In order to better reproduce the observed histogram, a U-shaped function would be required.
[Figure]
All variations performed are the same as outlined in the Methods section.
In this case, the different architecture is an AlexNet.
The conditions are ordered by the mean error consistency on the ImageNet validation set for ResNet-18 as the base network (see Figure 3).
For conditions in which multiple models were trained, the model-wise error consistencies are plotted with a lower opacity compared to the mean over all models for the conditions.
All variations performed are the same as outlined in the Methods section.
In this case, the different architecture is a ResNet-50.
The conditions are ordered by the mean error consistency on the
ImageNet validation set for ResNet-18 as the base network (see Figure 3).
For conditions in which multiple models were trained, the model-wise error consistencies are plotted with a lower opacity compared to the mean over all models for the conditions.
[Figure] [Figure]