CattleDiT: A Distillation-Driven Transformer for Cattle Identification

IF 5
Niraj Kumar;Sanjay Kumar Singh
{"title":"CattleDiT: A Distillation-Driven Transformer for Cattle Identification","authors":"Niraj Kumar;Sanjay Kumar Singh","doi":"10.1109/TBIOM.2025.3565516","DOIUrl":null,"url":null,"abstract":"Rising standards for biosecurity, disease prevention, and livestock tracing are driving the need for an efficient identification system within the livestock supply chain. Traditional methods for cattle identification are invasive and unreliable due to issues like fraud, theft, and duplication. While deep learning-based methods, particularly Vision Transformers (ViTs), have demonstrated superior accuracy compared to traditional Convolutional Neural Networks (CNNs), but they require significantly larger datasets for training and have high computational demands. To address the challenges of large data requirements and to achieve faster convergence with fewer parameters, this paper proposes a novel distillation-based transformer approach for cattle identification. In this paper, we extract the muzzle region from a publicly available front-face cattle image dataset containing 300 cattle-face data and perform a distillation process to ensure that the student transformer model effectively learns from the teacher model through a proposed Adaptive Stochastic Depth mechanism. The teacher model, based on a lightweight custom convolutional network, extracts key features, which are then used to train the student Vision Transformer model, named CattleDiT. This approach reduces the data requirements and computational complexity of the ViT while maintaining high accuracy. The proposed model outperforms conventional ViT models and other state-of-the-art methods, achieving 99.81% accuracy on the training set and 96.67% on the test set. Additionally, several Explainable AI methods are employed to enhance interpretability of the prediction results.","PeriodicalId":73307,"journal":{"name":"IEEE transactions on biometrics, behavior, and identity science","volume":"7 4","pages":"824-836"},"PeriodicalIF":5.0000,"publicationDate":"2025-04-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE transactions on biometrics, behavior, and identity science","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10979917/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Rising standards for biosecurity, disease prevention, and livestock tracing are driving the need for an efficient identification system within the livestock supply chain. Traditional methods for cattle identification are invasive and unreliable due to issues like fraud, theft, and duplication. While deep learning-based methods, particularly Vision Transformers (ViTs), have demonstrated superior accuracy compared to traditional Convolutional Neural Networks (CNNs), but they require significantly larger datasets for training and have high computational demands. To address the challenges of large data requirements and to achieve faster convergence with fewer parameters, this paper proposes a novel distillation-based transformer approach for cattle identification. In this paper, we extract the muzzle region from a publicly available front-face cattle image dataset containing 300 cattle-face data and perform a distillation process to ensure that the student transformer model effectively learns from the teacher model through a proposed Adaptive Stochastic Depth mechanism. The teacher model, based on a lightweight custom convolutional network, extracts key features, which are then used to train the student Vision Transformer model, named CattleDiT. This approach reduces the data requirements and computational complexity of the ViT while maintaining high accuracy. The proposed model outperforms conventional ViT models and other state-of-the-art methods, achieving 99.81% accuracy on the training set and 96.67% on the test set. Additionally, several Explainable AI methods are employed to enhance interpretability of the prediction results.
catledit:用于牛类识别的蒸馏驱动变压器
生物安全、疾病预防和牲畜追踪标准的提高推动了对牲畜供应链内有效识别系统的需求。由于欺诈、盗窃和重复等问题,传统的牛识别方法具有侵入性和不可靠性。虽然基于深度学习的方法,特别是视觉变压器(ViTs),与传统的卷积神经网络(cnn)相比,已经证明了更高的准确性,但它们需要更大的数据集进行训练,并且具有很高的计算需求。为了解决大数据需求的挑战,并以更少的参数实现更快的收敛,本文提出了一种新的基于蒸馏的变压器方法用于牛的识别。在本文中,我们从包含300个牛脸数据的公开正面牛图像数据集中提取口吻区域,并执行蒸馏过程,以确保学生变压器模型通过提出的自适应随机深度机制有效地从教师模型中学习。教师模型基于轻量级自定义卷积网络,提取关键特征,然后用于训练名为catledit的学生视觉变形模型。这种方法降低了ViT的数据需求和计算复杂度,同时保持了较高的精度。该模型优于传统的ViT模型和其他先进的方法,在训练集上达到99.81%的准确率,在测试集上达到96.67%的准确率。此外,还采用了几种可解释的人工智能方法来提高预测结果的可解释性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
10.90
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信