journal article·2025-07-07Open access

Transferring Face Recognition Techniques to Entomology: An ArcFace and ResNet Approach for Improving Dragonfly Classification

Zhong Li, Shaoyan Pu, Jingsheng Lu, Ruibin Song, Haomiao Zhang, Xuemei Lu, Yanan Wang

Applied Sciences· Volume 15· Issue 13

Abstract

Dragonfly classification is crucial for biodiversity conservation. Traditional taxonomic approaches require extensive training and experience, limiting their efficiency. Computer vision offers promising solutions for dragonfly taxonomy. In this study, we adapt the face recognition algorithms for the classification of dragonfly species, achieving efficient recognition of categories with extremely small differences between classes. Meanwhile, this method can also reclassify data that were incorrectly labeled. The model is mainly built based on the classic face recognition algorithm (ResNet50+ArcFace), and ResNet50 is used as the comparison algorithm for model performance. Three datasets with different inter-class data distributions were constructed based on two dragonfly image data sources: Data1, Data2 and Data3. Ultimately, our model achieved Top1 accuracy rates of 94.3%, 85.7%, and 90.2% on the three datasets, surpassing ResNet50 by 0.6, 1.5, and 1.6 percentage points, respectively. Under the confidence thresholds of 0.7, 0.8, 0.9, and 0.95, the Top1 accuracy rates on the three datasets were 96.0%, 97.4%, 98.7%, and 99.2%, respectively. In conclusion, our research provides a novel approach for species classification. Furthermore, it can calculate the similarity between classes while predicting categories, thereby offering the potential to provide technical support for biological research on the similarity between species.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Orthoptera Research and Taxonomy · Species Distribution and Climate Change · Fossil Insects in Amber

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Key Laboratory of Genetic Evolution & Animal Models, Kunming Institute of Zoology, Chinese Academy of Sciences, Kunming 650201, China

Biodiversity Data Center of Kunming Institute of Zoology, Chinese Academy of Sciences, Kunming 650201, China

Yunnan Key Laboratory of Biodiversity Information, Kunming Institute of Zoology, Chinese Academy of Sciences, Kunming 650201, China

Kunming Zoological Museum of Kunming Institute of Zoology, Chinese Academy of Sciences, Kunming 650201, China

University of Chinese Academy of Sciences, Beijing 100049, China

Funding

Yunnan Fundamental Research Projects · Strategic Priority Research Program of the Chinese Academy of Sciences · Informatization Plan of Chinese Academy of Sciences · Yunnan Technology Innovation Talent Program · Technology Support Talent Program of Chinese Academy of Sciences · Yunnan Revitalization Talent Support Program Yunling Scholar Project

References (34)

Show source-provided references
1. Global diversity of dragonflies (Odonata) in freshwater10.1007/s10750-007-9029-x ↗
2. Phylogeny and classification of Odonata using targeted genomics10.1016/j.ympev.2021.107115 ↗
3. Schneider, S., Taylor, G.W., and Kremer, S. (2018, January 8–10). Deep Learning Object Detection Methods for Ecological Camera Trap Data. Proceedings of the 2018 15th Conference on Computer and Robot Vision (CRV), Toronto, ON, Canada.10.1109/CRV.2018.00052 ↗
4. Machine learning for image based species identification10.1111/2041-210X.13075 ↗
5. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
6. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
7. Huang, G., Liu, Z., Van Der Maaten, L., and Weinberger, K.Q. (2017, January 21–26). Densely Connected Convolutional Networks. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
8. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
9. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021, January 4). An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. Proceedings of the International Conference on Learning Representations, Vienna, Austria.
10. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 10–17). Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00986 ↗
11. Yuan, L., Chen, Y., Wang, T., Yu, W., Shi, Y., Jiang, Z., Tay, F.E.H., Feng, J., and Yan, S. (2021, January 10–17). Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet. Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00060 ↗
12. A comprehensive comparison on current deep learning approaches for plant image classification10.1088/1742-6596/1873/1/012002 ↗
13. Learning niche features to improve image-based species identification10.1016/j.ecoinf.2021.101217 ↗
14. Intelligent Identification of Jute Pests Based on Transfer Learning and Deep Convolutional Neural Networks10.1007/s11063-022-10978-4 ↗
15. Lightweight Plant Disease Classification Combining GrabCut Algorithm, New Coordinate Attention, and Channel Pruning10.1007/s11063-022-10863-0 ↗
16. Progressive Transfer Learning Approach for Identifying the Leaf Type by Optimizing Network Parameters10.1007/s11063-021-10521-x ↗
17. Odonata identification using Customized Convolutional Neural Networks10.1016/j.eswa.2022.117688 ↗
18. Sun, J., Futahashi, R., and Yamanaka, T. (2021). Improving the Accuracy of Species Identification by Combining Deep Learning With Field Occurrence Records. Front. Ecol. Evol., 9.10.3389/fevo.2021.762173 ↗
19. Frank, L., Wiegman, C., Davis, J., and Shearer, S. (2021, January 3–8). Confidence-Driven Hierarchical Classification of Cultivated Plant Stresses. Proceedings of the 2021 IEEE Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA.10.1109/WACV48630.2021.00255 ↗
20. Cryptic species as a window on diversity and conservation10.1016/j.tree.2006.11.004 ↗
21. Paulson, D. (2011). Dragonflies and Damselflies of the East, Princeton University Press.10.1515/9781400839667 ↗
22. Dijkstra, K., Schröter, A., and Lewington, R. (2020). Field Guide to the Dragonflies of Britain and Europe, Bloomsbury Publishing. [2nd ed.].
23. Barlow, A., Golden, D., and Bangma, J. (2009). Field Guide to Dragonflies and Damselflies of New Jersey, New Jersey Department of Environmental Protection, Division of Fish and Wildlife.
24. Corbet, P. (1999). Dragonflies: Behavior and Ecology of Odonata, Comstock Pub. Associates.
25. Wang, A., Chen, H., Liu, L., CHEN, K., Lin, Z., Han, J., and Ding, G. (2024, January 10–15). YOLOv10: Real-Time End-to-End Object Detection. Proceedings of the Thirty-Eighth Annual Conference on Neural Information Processing Systems, Vancouver, BC, Canada.
26. Bengio, Y., and LeCun, Y. (2015). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, 7–9 May 2015; Conference Track Proceedings, ICLR.
27. Leibe, B., Matas, J., Sebe, N., and Welling, M. A Discriminative Feature Learning Approach for Deep Face Recognition. Proceedings of the Computer Vision—ECCV 2016, Amsterdam, The Netherlands, 11–14 October 2016.10.1007/978-3-319-46466-4 ↗
28. Wang, H., Wang, Y., Zhou, Z., Ji, X., Gong, D., Zhou, J., Li, Z., and Liu, W. (2018, January 18–23). CosFace: Large Margin Cosine Loss for Deep Face Recognition. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00552 ↗
29. Liu, W., Wen, Y., Yu, Z., Li, M., Raj, B., and Song, L. (2017, January 21–26). SphereFace: Deep Hypersphere Embedding for Face Recognition. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.713 ↗
30. ArcFace: Additive Angular Margin Loss for Deep Face Recognition10.1109/TPAMI.2021.3087709 ↗
31. X2-Softmax: Margin adaptive loss function for face recognition10.1016/j.eswa.2024.123791 ↗
32. Bazarevsky, V., Kartynnik, Y., Vakunov, A., Raveendran, K., and Grundmann, M. (2019). BlazeFace: Sub-millisecond Neural Face Detection on Mobile GPUs. arXiv.
33. Deng, J., Guo, J., Ververas, E., Kotsia, I., and Zafeiriou, S. (2020, January 13–19). RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00525 ↗
34. Guo, J., Deng, J., Lattas, A., and Zafeiriou, S. (2022, January 25–29). Sample and Computation Redistribution for Efficient Face Detection. Proceedings of the International Conference on Learning Representations, Virtual.