A Lightweight Pig Face Recognition Method Based on Automatic Detection and Knowledge Distillation

被引:3
|
作者
Ma, Ruihan [1 ]
Ali, Hassan [1 ]
Chung, Seyeon [2 ]
Kim, Sang Cheol [2 ]
Kim, Hyongsuk [2 ]
机构
[1] Jeonbuk Natl Univ, Div Elect & Informat Engn, Jeonju 54896, South Korea
[2] Jeonbuk Natl Univ, Core Res Inst Intelligent Robots, Jeonju 54896, South Korea
来源
APPLIED SCIENCES-BASEL | 2024年 / 14卷 / 01期
关键词
smart pig farm; deep learning; lightweight network; pig face detection and recognition; MS-SSIM; offline knowledge distillation; GROWING-FINISHING PIGS; IDENTIFICATION; VISITS;
D O I
10.3390/app14010259
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Identifying individual pigs is crucial for efficient breeding, health management, and disease control in modern farming. Traditional animal face identification methods are labor-intensive and prone to inaccuracies, while existing CNN-based pig face recognition models often struggle with high computational demands, large sizes, and reliance on extensive labeled data, which limit their practical application. This paper addresses these challenges by proposing a novel, decoupled approach to pig face recognition that separates detection from identification. This strategy employs a detection model as a pre-processing step, significantly reducing the need for extensive re-annotation for new datasets. Additionally, the paper introduces a method that integrates offline knowledge distillation with a lightweight pig face recognition model, aiming to build an efficient and embedding-friendly system. To achieve these objectives, the study constructs a small-scale, high-quality pig face detection dataset consisting of 1500 annotated images from a selection of 20 pigs. An independent detection model, trained on this dataset, then autonomously generates a large-scale pig face recognition dataset with 56 pig classes. In the face recognition stage, a robust teacher model guides the student model through a distillation process informed by a knowledge distillation loss, enabling the student model to learn relational features from the teacher. Experimental results confirm the high accuracy of the pig face detection model on the small-scale detection dataset and the ability to generate a large-scale dataset for pig face recognition on unlabeled data. The recognition experiments further verify that the distilled lightweight model outperforms its non-distilled counterparts and approaches the performance of the teacher model. This scalable, cost-effective solution shows significant promise for broader computer vision applications beyond agriculture.
引用
收藏
页数:19
相关论文
共 50 条
  • [1] Research on a lightweight electronic component detection method based on knowledge distillation
    Xia, Zilin
    Gu, Jinan
    Wang, Wenbo
    Huang, Zedong
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (12) : 20971 - 20994
  • [2] Margin Based Knowledge Distillation for Mobile Face Recognition
    Nekhaev, Dmitry
    Milyaev, Sergey
    Laptev, Ivan
    TWELFTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2019), 2020, 11433
  • [3] A Lightweight Malware Detection Model Based on Knowledge Distillation
    Miao, Chunyu
    Kou, Liang
    Zhang, Jilin
    Dong, Guozhong
    MATHEMATICS, 2024, 12 (24)
  • [4] Learning Lightweight Face Detector with Knowledge Distillation
    Jin, Haibo
    Zhang, Shifeng
    Zhu, Xiangyu
    Tang, Yinhang
    Lei, Zhen
    Li, Stan Z.
    2019 INTERNATIONAL CONFERENCE ON BIOMETRICS (ICB), 2019,
  • [5] Enhanced Knowledge Distillation for Face Recognition
    Ni, Hao
    Shen, Jie
    Yuan, Chong
    2019 IEEE INTL CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, BIG DATA & CLOUD COMPUTING, SUSTAINABLE COMPUTING & COMMUNICATIONS, SOCIAL COMPUTING & NETWORKING (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2019), 2019, : 1441 - 1444
  • [6] Rethinking Feature-based Knowledge Distillation for Face Recognition
    Li, Jingzhi
    Guo, Zidong
    Li, Hui
    Han, Seungju
    Baek, Ji-won
    Yang, Min
    Yang, Ran
    Suh, Sungjoo
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 20156 - 20165
  • [7] An Efficient and Lightweight Approach for Intrusion Detection based on Knowledge Distillation
    Zhao, Ruijie
    Chen, Yu
    Wang, Yijun
    Shi, Yong
    Xue, Zhi
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2021), 2021,
  • [8] Yarn state detection based on lightweight network and knowledge distillation
    Ren G.
    Tu J.
    Li Y.
    Qiu Z.
    Shi W.
    Fangzhi Xuebao/Journal of Textile Research, 2023, 44 (09): : 205 - 212
  • [9] Lightweight Tunnel Defect Detection Algorithm Based on Knowledge Distillation
    Zhu, Anfu
    Wang, Bin
    Xie, Jiaxiao
    Ma, Congxiao
    ELECTRONICS, 2023, 12 (15)
  • [10] A Lightweight Android Malware Detection Framework Based on Knowledge Distillation
    Zhi, Yongbo
    Xi, Ning
    Liu, Yuanqing
    Hui, Honglei
    NETWORK AND SYSTEM SECURITY, NSS 2021, 2021, 13041 : 116 - 130