{"title":"Improved Rare Species Identification Using Focal Loss Based Deep Learning Models","authors":"Chad Goldsworthy, B. Rajeswari Matam","volume":169,"journal":"International Journal of Computer and Information Engineering","pagesStart":18,"pagesEnd":23,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10011740","abstract":"<p>The use of deep learning for species identification in camera trap images has revolutionised our ability to study, conserve and monitor species in a highly efficient and unobtrusive manner, with state-of-the-art models achieving accuracies surpassing the accuracy of manual human classification. The high imbalance of camera trap datasets, however, results in poor accuracies for minority (rare or endangered) species due to their relative insignificance to the overall model accuracy. This paper investigates the use of Focal Loss, in comparison to the traditional Cross Entropy Loss function, to improve the identification of minority species in the &ldquo;255 Bird Species&rdquo; dataset from Kaggle. The results show that, although Focal Loss slightly decreased the accuracy of the majority species, it was able to increase the F1-score by 0.06 and improve the identification of the bottom two, five and ten (minority) species by 37.5%, 15.7% and 10.8%, respectively, as well as resulting in an improved overall accuracy of 2.96%.<\/p>\r\n","references":"[1]\tT. G. O\u2019Brien, \u201cAbundance, Density and Relative Abundance,\u201d in Camera Traps in Animal Ecology, A. F. O\u2019Connel, J. D. Nichols, K. U. Karanth. Tokyo: Springer, 2011, pp. 71-96.\r\n[2]\tA. Swanson, M. Kosmala, C. Lintott, C. Packer, \u201cA generalised approach for producing, quantifying, and validating citizen science data from wildlife images,\u201d Conservation Biology, vol. 30, issue 3, pp. 520-531, Apr 2016.\r\n[3]\tS. Schneider, S. Greenberg, G. W. Taylor, S. C. Kremer, \u201cThree critical factors affecting automated image species recognition performance for camera traps,\u201d Ecology and Evolution, vol. 10, issue 7, pp. 3503-3517, Mar 2020.\r\n[4]\tM. S. Norouzzadeh, A. Nguyen, M. Kosmala, \u201cAutomatically identifying wild animals in camera trap images with deep learning,\u201d Proceedings of the National Academy of Sciences, vol. 115, issue 25, pp. E5716-E5725, Jun 2018.\r\n[5]\tJ. Martin, W. M. Kitchens, J. E. Hines, \u201cImportance of well-designed monitoring programs for the conservation of endangered species,\u201d Conservation Biology, vol. 21, issue 2, pp. 472-481, Apr 2007. \r\n[6]\tA. Panesar, Machine Learning and AI for Healthcare. Coventry: Apress, 2019.\r\n[7]\tM. Mitchell, Artificial Intelligence: A Guide for Thinking Humans. London: Penguin, 2019.\r\n[8]\tZ. Alom, T. M. Taha, C. Yakopcic, S. Westberg, P. Sidike, et al., \u201cThe History Began from AlexNet: A Comprehensive Survey on Deep Learning Approaches,\u201d Post-Doctoral research, Dept. Comp. Sci., Univ. of Dayton, OH, 2018.\r\n[9]\tD. H. Hubel and T. N. Wiesel, \u201cReceptive fields of single neurones in the cat\u2019s striate cortex,\u201d The Journal of Physiology, vol. 148, issue 3, pp. 574-591, Oct 1959.\r\n[10]\tS. Sutherland, \u201cThe vision of David Marr,\u201d Nature, vol. 298, pp. 691-692, Aug 1982.\r\n[11]\tI. Goodfellow, Y. Bengio, A. Courville, Deep Learning (Adaptive Computation and Machine Learning series). Cambridge: MIT Press, 2016.\r\n[12]\tZ. Yang, T. Dan, Y. Yang, \u201cMulti-temporal Remote Sensing Image Registration Using Deep Convolutional Features,\u201d IEEE Access, vol. 6, pp 38544-38555, Jul 2018.\r\n[13]\tV. H. Phung and E. J. Rhee, \u201cA High\u2010Accuracy Model Average Ensemble of Convolutional Neural Networks for Classification of Cloud Image Patches on Small Datasets,\u201d Applied Sciences, vol. 9, issue 21, pp. 4500, Nov 2019.\r\n[14]\tA. Gomez, G. Diez, A. Salazar, A. Diaz, \u201cAnimal Identification in Low Quality Camera-Trap Images Using Very Deep Convolutional Neural Networks and Confidence Thresholds,\u201d in International Symposium on Visual Computing, Las Vegas, NV, 2016, pp. 747-756. \r\n[15]\tImageNet. (2016, May 31). Large Scale Visual Recognition Challenge 2016 (ILSVRC2016) (Online). Available: http:\/\/image-net.org\/challenges\/LSVRC\/2016\/\r\n[16]\tZooniverse. (2020). Snapshot Serengeti (Online). Available: https:\/\/www.zooniverse.org\/projects\/zooniverse\/snapshot-serengeti \r\n[17]\tM. A. Tabak, M. S. Norouzzadeh, D. W. Wolfson, S. K. Sweeney, et al., \u201cMachine learning to classify animal species in camera trap images: Applications in ecology,\u201d Methods in Ecology and Evolution, vol. 10, issue 4, pp. 585-590, Nov 2018.\r\n[18]\tParks Canada. (2019, Oct. 16). Wildlife webcams and remote cameras (Online). Available: https:\/\/www.pc.gc.ca\/en\/nature\/science\/controle-monitoring\/cameras \r\n[19]\tO. J. Robinson, V. R. Gutierrez, D. Fink, \u201cCorrecting for bias in distribution modelling for rare species using citizen science data,\u201d Diversity and Distributions, vol. 24, issue 4, pp. 460-472, Dec 2017.\r\n[20]\tA. Swanson, M. Kosmala, C. Lintott, R. Simpson, A. Smith, C. Packer, \u201cSnapshot Serengeti, high-frequency annotated camera trap images of 40 mammalian species in an African savanna,\u201d Scientific Data, vol. 2, Article 150026, Jun 2015.\r\n[21]\tT. Y. Lin, P. Goyal, R. Girshick, K. He, P. Doll\u00e1r, \u201cFocal Loss for Dense Object Detection,\u201d IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 42, issue 2, pp. 318-327, Feb 2020. \r\n[22]\tM. Lofty, R. Shubair, S. Albarqouni, \u201cInvestigation of Focal Loss in Deep Learning Models For Femur Fractures Classification\u201d in The 2019 IEEE International Conference on Electrical and Computing Technologies and Applications, UAE, 2019.\r\n[23]\tK. Pasupa, S. Vatathanavaro, S. Tungjitnob, \u201cConvolutional neural networks based focal loss for class imbalance problem: a case study of canine red blood cells morphology classification,\u201d Journal of Ambient Intelligence and Humanized Computing, Feb 2020.\r\n[24]\tS. Schneider. (2019, Sep. 9) Camera Trap Species Classifier (Source Code). Available: https:\/\/github.com\/Schnei1811\/Camera_Trap_Species_Classifier \r\n[25]\tTensorflow. (2020, Aug. 5). Focal_loss.py (Source Code).Available: https:\/\/github.com\/tensorflow\/addons\/blob\/v0.11.2\/tensorflow_addons\/losses\/focal_loss.py\r\n[26]\tG. Piosenka. (2020, Jul. 27). 225 Bird Species (Online). Available: https:\/\/www.kaggle.com\/gpiosenka\/100-bird-species ","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 169, 2021"}