Danish Fungi 2020 -- Not Just Another Image Recognition Dataset

We introduce a novel fine-grained dataset and benchmark, the Danish Fungi 2020 (DF20). The dataset, constructed from observations submitted to the Atlas of Danish Fungi, is unique in its taxonomy-accurate class labels, small number of errors, highly unbalanced long-tailed class distribution, rich observation metadata, and well-defined class hierarchy. DF20 has zero overlap with ImageNet, allowing unbiased comparison of models fine-tuned from publicly available ImageNet checkpoints. The proposed evaluation protocol enables testing the ability to improve classification using metadata -- e.g. precise geographic location, habitat, and substrate, facilitates classifier calibration testing, and finally allows to study the impact of the device settings on the classification performance. Experiments using Convolutional Neural Networks (CNN) and the recent Vision Transformers (ViT) show that DF20 presents a challenging task. Interestingly, ViT achieves results superior to CNN baselines with 80.45% accuracy and 0.743 macro F1 score, reducing the CNN error by 9% and 12% respectively. A simple procedure for including metadata into the decision process improves the classification accuracy by more than 2.95 percentage points, reducing the error rate by 15%. The source code for all methods and experiments is available at https://sites.google.com/view/danish-fungi-dataset.

PDF Abstract

Datasets


Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Classification DF20 ViT-Large/16 (384) Top-1 80.45 # 1
Top-3 91.68 # 1
F1 - macro 0.743 # 1
Image Classification DF20 SE-ResNeXt-101-32x4d (224) Top-1 74.26 # 7
Top-3 87.78 # 7
F1 - macro 0.66 # 7
Image Classification DF20 EfficientNet-B3 (224) Top-1 72.51 # 13
Top-3 86.77 # 12
F1 - macro 0.634 # 11
Image Classification DF20 EfficientNet-B0 (224) Top-1 70.33 # 15
Top-3 85.19 # 14
F1 - macro 0.613 # 12
Image Classification DF20 ViT-Large/16 (224) Top-1 75.29 # 6
Top-3 88.34 # 6
F1 - macro 0.675 # 5
Image Classification DF20 ViT-Base/16 (384) Top-1 79.48 # 2
Top-3 90.95 # 2
F1 - macro 0.727 # 2
Image Classification DF20 EfficientNet-B0 (299) Top-1 73.65 # 10
Image Classification DF20 Inception-ResNet-V2 (299) Top-1 74.01 # 9
Top-3 87.49 # 9
F1 - macro 0.651 # 9
Image Classification DF20 Inception-V3 (299) Top-1 72.1 # 14
Top-3 86.58 # 13
Image Classification DF20 ResNet-50 (299) Top-1 73.49 # 11
Top-3 87.13 # 10
Image Classification DF20 ResNet-34 (299) Top-3 84.76 # 16
F1 - macro 0.60 # 13
Image Classification DF20 EfficientNet-B1 (299) Top-1 74.08 # 8
Top-3 87.68 # 8
F1 - macro 0.654 # 8
Image Classification DF20 EfficientNet-B5 (299) Top-1 76.1 # 4
Top-3 88.85 # 4
F1 - macro 0.678 # 4
Image Classification DF20 Inception-V4 (299) Top-1 73 # 12
Top-3 86.87 # 11
F1 - macro 0.637 # 10
Image Classification DF20 EfficientNet-B3 (299) Top-1 75.69 # 5
Top-3 88.72 # 5
F1 - macro 0.673 # 6
Image Classification DF20 SE-ResNeXt-101-32x4d (299) Top-3 89.48 # 3
F1 - macro 0.693 # 3
Image Classification DF20 SE-ResNeXt-101-32x4d Top-1 77.13 # 3
Image Classification DF20 ResNet-18 Top-1 67.13 # 17
Top-3 82.65 # 17
F1 - macro 0.580 # 14
Image Classification DF20 MobileNet-V2 (299) Top-1 69.77 # 16
Top-3 85.01 # 15
Image Classification DF20 - Mini SE-ResNeXt-101-32x4d Top-1 72.23 # 3
Image Classification DF20 - Mini EfficientNet-B3 (299) Top-1 69.59 # 5
Top-3 85.55 # 6
F1 - macro 0.59 # 5
Image Classification DF20 - Mini SE-ResNeXt-101-32x4d (224) Top-1 68.87 # 6
Top-3 85.14 # 8
F1 - macro 0.585 # 6
Image Classification DF20 - Mini MobileNet-V2 (299) Top-1 65.58 # 15
Image Classification DF20 - Mini EfficientNet-B3 (224) Top-1 67.39 # 12
Top-3 83.74 # 11
F1 - macro 0.55 # 9
Image Classification DF20 - Mini SE-ResNeXt-101-32x4d (299) Top-3 87.28 # 3
F1 - macro 0.62 # 3
Image Classification DF20 - Mini EfficientNet-B0 (224) Top-1 65.66 # 14
Top-3 83.65 # 12
F1 - macro 0.531 # 11
Image Classification DF20 - Mini ViT-Large/16 (384) Top-1 75.85 # 1
Top-3 89.95 # 1
F1 - macro 0.669 # 1
Image Classification DF20 - Mini EfficientNet-B5 (299) Top-1 68.76 # 7
Top-3 85 # 9
Image Classification DF20 - Mini ViT-Large/16 (224) Top-1 71.04 # 4
Top-3 86.15 # 4
F1 - macro 0.603 # 4
Image Classification DF20 - Mini EfficientNet-B1 (299) Top-1 68.35 # 9
Top-3 84.67 # 10
Image Classification DF20 - Mini ViT-Base/16 (384) Top-1 74.23 # 2
Top-3 89.12 # 2
F1 - macro 0.639 # 2
Image Classification DF20 - Mini Inception-V4 (299) Top-1 67.45 # 11
Top-3 82.78 # 15
Image Classification DF20 - Mini ResNet-34 (299) Top-3 83.52 # 13
F1 - macro 0.559 # 8
Image Classification DF20 - Mini ResNet-18 Top-1 62.91 # 17
Top-3 81.65 # 16
F1 - macro 0.514 # 12
Image Classification DF20 - Mini Inception-ResNet-V2 (299) Top-1 64.67 # 16
Top-3 81.42 # 17
Image Classification DF20 - Mini EfficientNet-B0 (299) Top-1 67.94 # 10
Top-3 85.71 # 5
F1 - macro 0.567 # 7
Image Classification DF20 - Mini Inception-V3 (299) Top-1 65.91 # 13
Top-3 82.97 # 14
F1 - macro 0.535 # 10
Image Classification DF20 - Mini ResNet-50 (299) Top-1 68.49 # 8
Top-3 85.22 # 7

Methods