畜牧与饲料科学 ›› 2026, Vol. 47 ›› Issue (1): 116-128.doi: 10.12160/j.issn.1672-5190.2026.01.015

• 智慧畜牧业 • 上一篇    

基于多尺度特征融合的马脸开集个体识别方法

刘兴1, 郭斌1, 刘伟1, 张奥1, 李海2, 邓海峰3   

  1. 1.新疆农业大学计算机与信息工程学院,新疆 乌鲁木齐 830052;
    2.昭苏县畜牧兽医发展中心,新疆 昭苏 835602;
    3.新疆昭苏马场,新疆 昭苏 835602
  • 收稿日期:2025-11-11 出版日期:2026-01-30 发布日期:2026-03-24
  • 通讯作者: 郭斌(1981—),男,高级实验师,博士,主要研究方向为计算机视觉。
  • 作者简介:刘兴(1995—),男,硕士研究生,主要研究方向为智慧畜牧与个体识别。
  • 基金资助:
    新疆维吾尔自治区自然科学基金资助项目(2022D01A203)

Open-Set Individual Horse Face Recognition Method Based on Multi-Scale Feature Fusion

LIU Xing1, GUO Bin1, LIU Wei1, ZHANG Ao1, LI Hai2, DENG Haifeng3   

  1. 1. College of Computer and Information Engineering, Xinjiang Agricultural University,Urumqi 830052,China;
    2. Zhaosu County Animal Husbandry and Veterinary Development Center, Zhaosu 835602,China;
    3. Xinjiang Zhaosu Horse Farm, Zhaosu 835602,China
  • Received:2025-11-11 Online:2026-01-30 Published:2026-03-24

摘要: [目的] 为解决传统马匹个体识别方法存在的侵入性强、效率低及芯片易受不同频率干扰等问题,探索一种基于多尺度特征融合的马脸开集个体识别方法。[方法] 选取MobileFaceNet作为主干网络,并引入增强双向特征金字塔(EnhancedBiFPN)模块实现多尺度特征融合,设计了轻量级马脸识别网络HorseFaceNet。采用自建伊犁马面部图像数据集,通过5次独立随机重采样的方式选取训练集部分分类进行训练,在包含全部类别的测试集上进行测试,并计算平均识别准确率。[结果] 为验证模型在开集场景下的鲁棒性与泛化能力,在不同已知类别比例的训练设置下,对所提出的HorseFaceNet模型进行了系统评估。实验结果表明,当训练集包含70%已知类别时,模型的平均准确率达到98.28%;当已知类别比例降低至50%时,平均准确率可达97.28%;在仅使用30%已知类别参与训练的情况下,模型仍可取得95.52%的平均准确率。该研究提出的HorseFaceNet模型在仅有1.72 M参数规模的前提下,相比原始MobileFaceNet模型减少了约0.39 M参数,降低约18.5%,同时在50%类别参与训练的开集识别场景下,识别准确率提升3.09个百分点。[结论] 上述结果充分表明,HorseFaceNet模型在已知类别样本受限的条件下仍具备良好的识别性能和较强的泛化能力,该模型兼顾了模型轻量化与识别性能的提升,在马场智能管理等实际应用中具备广泛推广价值。

关键词: MobileFaceNet, 双向特征金字塔网络, 开集识别, 智慧牧场, 马脸识别, 多尺度特征融合

Abstract: [Objective] To address the issues of high invasiveness, low efficiency, and susceptibility of chips to frequency interference in traditional individual horse identification methods, an open-set individual horse face recognition method based on multi-scale feature fusion was explored. [Methods] Selecting MobileFaceNet as the backbone network, a lightweight horse face recognition network, HorseFaceNet, was designed by incorporating an Enhanced Bidirectional Feature Pyramid Network (EnhancedBiFPN) module to achieve multi-scale feature fusion. Using a self-built Ili horse facial image dataset, training was conducted on the training set with partial classes selected via five independent random resamplings. Testing was performed on a test set containing all classes, followed by calculation of the mean recognition accuracy. [Results] To verify the robustness and generalization ability of the model in open-set scenarios, the proposed HorseFaceNet was systematically evaluated under training settings with different proportions of known classes. Experimental results demonstrated that the model achieved a mean accuracy of 98.28% when the training set included 70% of known classes. When the proportion of known classes decreased to 50%, the mean accuracy reached 97.28%. Even with only 30% of known classes used for training, the model maintained a mean accuracy of 95.52%. With a parameter size of only 1.72 M, the proposed HorseFaceNet reduced the number of parameters by approximately 0.39 M (about 18.5%) compared to the original MobileFaceNet, while improving the recognition accuracy by 3.09 percentage points in an open-set recognition scenario with 50% of classes participating in training. [Conclusion] These results fully indicate that the HorseFaceNet model possesses excellent recognition performance and strong generalization ability even under conditions of limited samples from known classes. The model balances model lightweight with improved recognition performance, making it of wide application value for intelligent horse farm management and other practical scenarios.

Key words: MobileFaceNet, Bidirectional Feature Pyramid Network (BiFPN), open-set recognition, smart ranch, horse face recognition, multi-scale feature fusion

中图分类号: