基于多任务学习的同步奶牛体况评分和个体识别方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

山东省重点研发计划项目(2022TZXD0018)


Multi-task Learning-based Method for Simultaneous Dairy Cow Body Condition Scoring and Individual Identification
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    动物个体精细化管理与饲喂是现代牧业的关键需求,而在实际饲养环境中,基于传统机器视觉的奶牛体况评分和个体识别方法研究中仍存在模型鲁棒性低、可靠性较差、泛化性弱以及相互之间不能及时关联的问题。为此,提出了一种多任务学习模型,基于奶牛背部生物视觉特征来同步实现并优化奶牛体况评分和个体识别准确率。通过深度相机获取奶牛背部彩色图和深度图。改进YOLO v8s模型实现对奶牛背部区域自动定位和检测:在YOLO v8s网络中引入GSConv模块,减少网络参数同时也降低网络结构复杂性;采用加权交并比边界损失(Weighted Intersection over Union,WIoU)为边界框损失,提高模型识别准确率。在奶牛背部区域检测基础上,进一步提取奶牛背部区域生物视觉特征,基于奶牛体况评分和个体识别任务之间的共性特征,构建基于硬参数共享的多任务学习模型,同步实现牛只个体身份识别和体况得分评估。试验结果表明,本文模型对体况评分和个体身份识别的准确率为93.9%和92.2%,较单一任务模型分别提高1.9、4.5个百分点;识别用时为5.84ms,较单一任务模型同时完成两个任务所需时间减少6.37ms,实时性明显提高。本文模型实现了体况得分和个体编号的高效精准同步输出,可为奶牛规模化智慧养殖的个体精准化管理提供理论依据与技术支撑。

    Abstract:

    Precision breeding in animal husbandry is a crucial requirement of modern husbandry. However, there are still some issues in the research of cow body condition scoring and individual identification methods based on traditional machine vision in the actual feeding environment. These issues included low robustness, poor reliability, weak generalization, and timely correlation between multi-tasks. To address these challenges, a multi-task learning model was proposed based on the biological visual features of the back of cows to implement and optimize the body condition scoring and individual identification model of cows. Firstly, a depth camera was used to obtain the back image of the cow. Secondly, improvements were made to the YOLO v8s model to achieve automatic positioning and detection of the back area of cows. The GSConv module was introduced into the YOLO v8s network to reduce network parameters and simplify its structure. Additionally, weighted intersection over union loss was utilized as bounding box loss to enhance recognition accuracy. Based on detecting the back region of cows, further extraction was conducted on their biological visual features from this region. Finally, a multi-task learning model based on hard parameter sharing was constructed to simultaneously realize individual identification and body condition score evaluation of cows, leveraging the common features between cow body condition scoring and individual recognition tasks. The experimental results demonstrated that the proposed multi-task learning model achieved an accuracy of 93.9% for body condition scoring and 92.2% for individual identification, which was 1.9 and 4.5 percentage points higher than that of the single task model, respectively. Furthermore, the recognition time was reduced to 5.84ms, which was 6.37ms less than the time required by the single task model to complete two tasks at once, resulting in significantly improved real-time performance. In conclusion, a multi-task learning model was presented based on the biological visual features of the back region of cows, enabling efficient and accurate output of body condition score and individual identification simultaneously. The research result can provide a theoretical basis and technical support for precise individual management in large-scale intelligent breeding of dairy cows.

    参考文献
    相似文献
    引证文献
引用本文

姜红花,李金鸿,法润萱,张桂国,毛文华,乔永亮.基于多任务学习的同步奶牛体况评分和个体识别方法[J].农业机械学报,2025,56(11):581-589. JIANG Honghua, LI Jinhong, FA Runxuan, ZHANG Guiguo, MAO Wenhua, QIAO Yongliang. Multi-task Learning-based Method for Simultaneous Dairy Cow Body Condition Scoring and Individual Identification[J]. Transactions of the Chinese Society for Agricultural Machinery,2025,56(11):581-589.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-07-08
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2025-11-10
  • 出版日期:
文章二维码