TL;DR
This paper introduces two new large-scale datasets, iNat2021 and NeWT, to better benchmark self-supervised learning (SSL) for fine-grained natural world image classification. They find that while SSL has advanced, supervised methods still generally outperform SSL on these challenging tasks, though NeWT's diverse tasks reveal specific areas where SSL can excel.
What Problem Does This Paper Address?
The field of self-supervised learning (SSL) has made remarkable strides in learning powerful image representations without explicit labels, often rivaling supervised methods when fine-tuned on downstream tasks. However, most SSL research has been evaluated on broad datasets like ImageNet. This paper argues that fine-grained visual categorization, particularly in the natural world (e.g., species identification), presents a more challenging and informative testbed for SSL. The authors highlight that labeling such data is expensive and time-consuming, making SSL particularly appealing. Existing benchmarks for natural world images are either too small or too narrowly focused on species classification. This work aims to bridge this gap by providing larger, more diverse datasets and a comprehensive evaluation of current SSL techniques against supervised baselines in this domain.
Methods
The core of this work involves creating new datasets and conducting a thorough benchmarking study.
- Dataset Creation:
- iNat2021: A large-scale dataset comprising 2.7 million images from 10,000 species, sourced from the iNaturalist citizen science platform. It's designed to have a substantial number of images per species (at least 152 in the training set) and a more geographically diverse distribution than previous iNaturalist datasets.
- NeWT (Natural World Tasks): A novel benchmark suite of 164 binary classification tasks. These tasks go beyond simple species identification and include categories like "Appearance - Age," "Appearance - Health," "Behavior," and "Context," informed by domain experts. This aims to test the generalization capabilities of learned representations on a wider range of ecological questions.
- Benchmarking Protocol:
- Feature Extraction: The authors use a ResNet50 model as the feature extractor. They evaluate features pre-trained using various methods:
- Supervised: Trained on ImageNet, iNat2018, iNat2021, and iNat2021 mini.
- Self-Supervised: Using methods like SimCLR, SimCLR v2, SwAV, and MoCo v2, pre-trained on ImageNet and iNat datasets.
- Downstream Evaluation: A linear classifier (SVM) is trained on top of the extracted features for each task. Performance is measured by top-1 accuracy. The primary evaluation metric is the change in accuracy relative to standard supervised ImageNet features.
Datasets
- Training Datasets:
- ImageNet (standard benchmark)
- iNat2018 (previous iNaturalist dataset)
- iNat2021 (newly introduced, 2.7M images, 10k species)
- iNat2021 mini (a smaller version of iNat2021 for faster experiments)
- Evaluation Datasets/Benchmarks:
- iNat2021: Used for both pre-training and evaluating species classification.
- NeWT: A newly introduced benchmark suite of 164 fine-grained tasks.
- Existing fine-grained datasets: Flowers102, CUB, CUBExpert, NABirds, StanfordDogs, StanfordCars.
Key Insights and Ideas
- Fine-grained domains are a tough nut to crack for SSL: Despite significant progress, self-supervised methods still lag behind supervised approaches on these challenging, nuanced tasks.
- ImageNet pre-training is often superior for SSL, even for natural world tasks: Surprisingly, SSL models pre-trained on ImageNet often perform better on fine-grained natural world datasets (like birds) than those pre-trained on the much larger, domain-specific iNat2021 dataset. This suggests that the augmentation strategies used in ImageNet-centric SSL might be better suited for general object recognition, even if the target domain is more specialized.
- Supervised learning on domain-specific data is powerful: When models are supervisedly trained on iNaturalist data (iNat2021, iNat2018), they show strong performance on downstream tasks, especially those related to species appearance and behavior.
- Not all tasks are created equal: The NeWT dataset reveals that SSL can sometimes outperform supervised methods on tasks that require a more holistic understanding of the image (e.g., "Gestalt" tasks, which assess photo quality) rather than focusing on a specific object.
- Data size isn't everything (for downstream tasks): While increasing the training data for iNat2021 significantly boosted performance on its own test set, the improvement for downstream fine-grained tasks was much smaller, suggesting that representation learning benefits from diverse tasks more than sheer data volume in some cases.
- Geographical context matters: Incorporating geographical priors alongside image features can significantly improve classification accuracy, especially for natural world datasets.
Key Results
- Supervised ImageNet features: Serve as a strong baseline, often outperforming SSL features across various fine-grained datasets and NeWT tasks.
- iNat2021 vs. ImageNet for SSL: SSL models pre-trained on ImageNet generally performed better than those pre-trained on iNat2021 across most fine-grained datasets.
- NeWT performance:
- Supervised iNat2021 models achieved the best average accuracy (0.806) across all 164 NeWT tasks.
- Supervised ImageNet models achieved an average accuracy of 0.744.
- The best self-supervised model (SwAV trained on ImageNet) achieved 0.733 average accuracy.
- iNat2021 dataset impact: Training on the full iNat2021 dataset (2.7M images) resulted in an ~11 percentage point increase in top-1 accuracy compared to the iNat2021 mini dataset (50 images per class) for supervised learning on the iNat2021 test set. However, this boost was less pronounced for downstream tasks.
- Geographical prior integration: Combining a geographical prior with a supervised ResNet50 classifier on iNat2021 improved accuracy, with the best combination achieving 0.801 accuracy.
Limitations and Future Work
- SSL vs. Supervised Gap: The paper acknowledges that supervised methods still hold an edge over current self-supervised approaches for many natural world tasks.
- ImageNet Overfitting: The authors suggest that self-supervised training settings might be "overfit" to ImageNet, potentially due to hyperparameters or augmentation strategies, which could explain why they don't always transfer well to iNaturalist datasets.
- NeWT Task Difficulty: The low performance on the "Counting" tasks in NeWT suggests that current classifiers might not be well-suited for these types of problems, or that these tasks highlight significant generalization challenges.
- Future Work: The authors propose that the iNat2021 and NeWT datasets will be valuable resources for tracking the progress of new self-supervised learning methods as they are continuously released. They also suggest further exploration into the impact of data size and the development of SSL techniques better suited for fine-grained and diverse natural world tasks.
Summary updated