Abstract: Existing image classification datasets used in computer vision tend to have a uniform distribution of images across object categories. In contrast, the natural world is heavily imbalanced, as some species are more abundant and easier to photograph than others. To encourage further progress in challenging real world conditions we present the iNaturalist species classification and detection dataset, consisting of 859,000 images from over 5,000 different species of plants and animals. It features visually similar species, captured in a wide variety of situations, from all over the world. Images were collected with different camera types, have varying image quality, feature a large class imbalance, and have been verified by multiple citizen scientists. We discuss the collection of the dataset and present extensive baseline experiments using state-of-the-art computer vision classification and detection models. Results show that current non-ensemble based methods achieve only 67% top one classification accuracy, illustrating the difficulty of the dataset. Specifically, we observe poor results for classes with small numbers of training examples suggesting more attention is needed in low-shot learning.
Introduction
Most popular image classification benchmarks, such as ImageNet (ILSVRC), are curated to have a roughly uniform distribution of images across categories. While useful for general feature learning, these "lab-conditioned" datasets do not reflect the messy reality of the physical world. In nature, some species are ubiquitous and easy to photograph, while others are rare or elusive.
Furthermore, biological classification is a "fine-grained" problem: two species might look nearly identical to the untrained eye or a standard convolutional neural network (CNN), requiring expert-level discrimination to identify correctly. The iNaturalist 2017 (iNat2017) dataset addresses the lack of large-scale, imbalanced, and fine-grained datasets that can push the boundaries of "in-the-wild" computer vision.
The iNat2017 Dataset
The primary contribution of this work is a massive, real-world benchmark for species classification and detection. Sourced from the iNaturalist citizen science platform, the data has been verified by a community of enthusiasts and experts.
- Scale and Taxonomy: The dataset contains 859,000 images across 5,089 species, organized into 13 super-classes (e.g., Plantae, Insecta, Aves, Mammalia).
- Annotations: It includes classification labels for all images and 561,767 manually created bounding boxes for 9 of the 13 super-classes.
- Class Imbalance: Unlike datasets like CUB-200-2011, which has an imbalance factor of 1.03, iNat2017 features an extreme "long-tail" distribution with an imbalance factor of 435.44.
Methodology
The researchers established baseline performance using several state-of-the-art CNN architectures, including ResNets, Inception V3, Inception ResNet V2, and MobileNet. To handle the dataset's unique challenges, they implemented Squeeze-and-Excitation (SE) blocks for better feature recalibration and added a 0.5 probability dropout layer to ResNets to prevent overfitting on classes with sparse training data.
A key procedural novelty was the data split strategy. Instead of splitting by image, they split by observer. This prevents models from "cheating" by recognizing the specific camera gear, location, or photography style of a single contributor across training and test sets.
Key Results and Insights
Experiments revealed that while performance on ImageNet is nearing saturation, iNat2017 remains a significant challenge. The best model, an Inception ResNet V2 SE, achieved only 67.7% top-1 accuracy on the private test set.
The Long-Tail Difficulty
There is a clear correlation between the number of training images and accuracy. However, data volume isn't the only factor; some super-classes (like Reptilia) proved significantly harder than others (like Protozoa) even with similar amounts of data, likely due to higher visual diversity or more subtle distinguishing features.
Detection and Granularity
For the detection task, the best model achieved an Average Precision (AP) of 43.5. Interestingly, training a detector on fine-grained labels (2,854 classes) actually decreased performance when evaluated on coarse-grained categories (9 super-classes) compared to a model trained directly on coarse labels. This suggests that "recognition errors"—confusing similar species—heavily penalize overall detection scores.
Conclusion and Future Work
The iNat2017 dataset highlights the limitations of current architectures when faced with fine-grained labels and imbalanced data. The poor performance on classes with few examples suggests that standard transfer learning is insufficient, and more specialized low-shot learning techniques are required. Future work will explore "open-world" recognition, where models must identify species never seen during training and recognize their own uncertainty.
Summary updated