Bag of Tricks for Long-Tail Visual Recognition of Animal Species in Camera-Trap Images
Authors:
Preprint
Abstract
Camera traps are a strategy for monitoring wildlife and they collect a large number of pictures. The number of images collected of each species usually follows a long-tail distribution, i.e., a few classes have a large number of instances, while a lot of species have just a small percentage. Although in most cases these rare species are the ones of interest to ecologists, they are often neglected when using deep-learning models because these models require a large number of images for the training. In this work, a simple and effective framework called Square-Root Sampling Branch (SSB) is proposed, which combines two classification branches that are trained using square-root sampling and instance sampling to improve long-tail visual recognition, and this is compared to state-of-the-art methods for handling this task: square-root sampling, class-balanced focal loss, and balanced group softmax. To achieve a more general conclusion, the methods for handling long-tail visual recognition were systematically evaluated in four families of computer vision models (ResNet, MobileNetV3, EfficientNetV2, and Swin Transformer) and four camera-trap datasets with different characteristics. Initially, a robust baseline with the most recent training tricks was prepared and, then, the methods for improving long-tail recognition were applied. Our experiments show that square-root sampling was the method that most improved the performance for minority classes by around 15%; however, this was at the cost of reducing the majority classes' accuracy by at least 3%. Our proposed framework (SSB) demonstrated itself to be competitive with the other methods and achieved the best or the second-best results for most of the cases for the tail classes; but, unlike the square-root sampling, the loss in the performance of the head classes was minimal, thus achieving the best trade-off among all the evaluated methods.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- Image Filtering and Labelling Assistant (IFLA): Expediting the analysis of data obtained from camera trapsEcological Informatics, 2021
- A systematic study of the class imbalance problem: Automatically identifying empty camera trap images using convolutional neural networksEcological Informatics, 2021
- An Adaptive Automatic Approach to Filtering Empty Images from Camera Traps Using a Deep Learning ModelWildlife Society Bulletin, 2021
- An automatic method for removing empty camera trap images using ensemble learningEcology and Evolution, 2021
- Identification of animals and recognition of their actions in wildlife videos using deep learning techniquesEcological Informatics, 2021
- Improving the accessibility and transferability of machine learning algorithms for identification of animals in camera trap images: MLWIC2Ecology and Evolution, 2020
- Three critical factors affecting automated image species recognition performance for camera trapsEcology and Evolution, 2020
- Animal Scanner: Software for classifying humans, animals, and empty frames in camera trap imagesEcology and Evolution, 2019
- Towards automatic wild animal monitoring: Identification of animal species in camera-trap images using very deep convolutional neural networksEcological Informatics, 2017
- ImageNet Large Scale Visual Recognition ChallengeInternational Journal of Computer Vision, 2015