{"title":"SimCLR-enhanced MammalHairNet: advancing species identification through hair scale classification.","authors":"Zhihui Liu, Wenhui Niu, Yuxi Le, Yinan Gong, Wenxuan Zhao, Tianchun Pu, Daicheng Han, Jiatao Ge, Hong Gu, Yongxin Zhang, Limin Feng","doi":"10.1093/cz/zoaf063","DOIUrl":null,"url":null,"abstract":"<p><p>The aim of this study is to enhance the classification accuracy of mammalian hair scale images using deep learning techniques, particularly SimCLR (Simple Framework for Contrastive Learning of Visual Representations) pretraining with unlabeled data, providing reliable technical support for species identification. We created a mammalian scanning electron microscope image dataset of 9,953 valid images of 33 mammal species. Four segmentation models-U-Net, SegNet, DeepLabV3+, and Segment Anything Model (SAM)-were evaluated for performance. SAM achieved the highest segmentation accuracy overall, although minor errors were still observed in the delineation of scales with clearly defined edges. SimCLR was pretrained on 2 datasets: one containing all 33 species, and a subset of 25 species with over 200 images per species. These models achieved Top-1 accuracies of 94.64% and 94.40%, exceeding ResNet-50, EfficientNet_b0, and ViT-B/16 trained from scratch, comparable to transfer learning (pretrained on ImageNet) results of ResNet-50 and EfficientNet_b0, and superior to that of ViT-B/16. Score-CAM visualizations revealed that the network's attention was focused on image regions that correspond to the morphological features traditionally used for species identification, demonstrating strong biological interpretability. Additionally, t-SNE visualizations confirmed the model's ability to effectively distinguish between different species. Cosine distance-based clustering of species-specific scale features further highlighted interspecies similarity patterns and commonly misclassified species pairs. The results demonstrate that deep learning models, particularly with the integration of SimCLR pretraining, are highly effective in classifying mammalian hair scales, providing a reliable method for species identification.</p>","PeriodicalId":50599,"journal":{"name":"Current Zoology","volume":"72 4","pages":"536-547"},"PeriodicalIF":2.1000,"publicationDate":"2025-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13500162/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Current Zoology","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1093/cz/zoaf063","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/8/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"ZOOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
The aim of this study is to enhance the classification accuracy of mammalian hair scale images using deep learning techniques, particularly SimCLR (Simple Framework for Contrastive Learning of Visual Representations) pretraining with unlabeled data, providing reliable technical support for species identification. We created a mammalian scanning electron microscope image dataset of 9,953 valid images of 33 mammal species. Four segmentation models-U-Net, SegNet, DeepLabV3+, and Segment Anything Model (SAM)-were evaluated for performance. SAM achieved the highest segmentation accuracy overall, although minor errors were still observed in the delineation of scales with clearly defined edges. SimCLR was pretrained on 2 datasets: one containing all 33 species, and a subset of 25 species with over 200 images per species. These models achieved Top-1 accuracies of 94.64% and 94.40%, exceeding ResNet-50, EfficientNet_b0, and ViT-B/16 trained from scratch, comparable to transfer learning (pretrained on ImageNet) results of ResNet-50 and EfficientNet_b0, and superior to that of ViT-B/16. Score-CAM visualizations revealed that the network's attention was focused on image regions that correspond to the morphological features traditionally used for species identification, demonstrating strong biological interpretability. Additionally, t-SNE visualizations confirmed the model's ability to effectively distinguish between different species. Cosine distance-based clustering of species-specific scale features further highlighted interspecies similarity patterns and commonly misclassified species pairs. The results demonstrate that deep learning models, particularly with the integration of SimCLR pretraining, are highly effective in classifying mammalian hair scales, providing a reliable method for species identification.
本研究的目的是利用深度学习技术,特别是SimCLR (Simple Framework for contrast learning of Visual representation)对未标记数据进行预训练,提高哺乳动物毛发尺度图像的分类精度,为物种识别提供可靠的技术支持。我们建立了一个包含33种哺乳动物的9953张有效图像的哺乳动物扫描电子显微镜图像数据集。四种分割模型- u - net, SegNet, DeepLabV3+和Segment Anything Model (SAM)-进行了性能评估。总体而言,SAM实现了最高的分割精度,尽管在边界清晰的尺度上仍然存在较小的误差。SimCLR在两个数据集上进行预训练:一个数据集包含所有33个物种,另一个数据集包含25个物种,每个物种超过200张图像。这些模型的Top-1准确率分别为94.64%和94.40%,超过了从头训练的ResNet-50、EfficientNet_b0和viti - b /16,与ResNet-50和EfficientNet_b0的迁移学习(在ImageNet上预训练)结果相当,优于viti - b /16。Score-CAM可视化显示,该网络的注意力集中在与传统上用于物种识别的形态特征相对应的图像区域,显示出很强的生物学可解释性。此外,t-SNE可视化证实了该模型有效区分不同物种的能力。基于余弦距离的种特异尺度特征聚类进一步突出了种间相似性模式和常见的错分类物种对。结果表明,深度学习模型,特别是与SimCLR预训练相结合的模型,在哺乳动物毛发鳞片分类中是非常有效的,为物种识别提供了一种可靠的方法。
Current ZoologyAgricultural and Biological Sciences-Animal Science and Zoology
CiteScore
3.20
自引率
9.10%
发文量
111
审稿时长
6 weeks
期刊介绍:
About the Journal
Current Zoology (formerly Acta Zoologica Sinica, founded in 1935) is an open access, bimonthly, peer-reviewed international journal of zoology. It publishes review articles and research papers in the fields of ecology, evolution and behaviour.
Current Zoology is sponsored by Institute of Zoology, Chinese Academy of Sciences, along with the China Zoological Society.