Research on a Lightweight Recognition Model for Daily Cattle Behavior Toward Real-Time Monitoring
Accurate monitoring of cattle behavioral time budgets is crucial for early disease detection and welfare assessment. Changes in durations of standing, lying, and eating are known to be early indicators of health issues such as lameness and metabolic disorders. To enable low-cost, non-invasive, and real-time monitoring, this study proposes a lightweight cattle behavior recognition method based on an improved YOLO11n architecture. The model enhances multi-scale feature integration through a generalized efficient layer aggregation network (GELAN), improves feature extraction via a multidimensional collaborative attention (MCA) mechanism, and achieves efficient cross-scale fusion using a bidirectional feature pyramid network (BiFPN). Depthwise separable convolution (DWConv) is incorporated to reduce computational load. Experimental results demonstrate high recognition accuracy, with [email protected] values of 91.2%, 91.0%, and 93.9% for standing, lying, and eating, respectively. The model was subsequently compressed using a Layer-adaptive Magnitude-based Pruning (LAMP) algorithm, resulting in a final model of only 1.06 × 10<sup>6</sup> parameters, a computational cost of 6.3 GFLOPS, and a weight size of 2.4 MB, while retaining 90.7% [email protected]. This highly efficient system is suitable for deployment on resource-constrained edge devices, providing a practical tool for continuous cattle monitoring. It offers a viable pathway for farmers to adopt precision livestock farming practices, facilitating early health intervention and promoting animal welfare.
Authors
- Feilong Kang (ORCID: https://orcid.org/0000-0003-4966-0504)
- Meian Li (ORCID: https://orcid.org/0000-0002-1581-1389)
- Jianping Yao (ORCID: https://orcid.org/0000-0002-6877-7057)
- Fan Liu (ORCID: https://orcid.org/0000-0001-8746-9845)
- Jia Li (ORCID: https://orcid.org/0000-0001-6912-0711)
- Yanqiu Liu (ORCID: https://orcid.org/0000-0002-4350-0692)
- Yongan Zhang (ORCID: https://orcid.org/0000-0002-2731-2384)
Institutions
- Inner Mongolia Agricultural University (CN)
Publication Details
- Journal
- Veterinary Sciences
- Published
- 2025-12-08
- DOI
- https://doi.org/10.3390/vetsci12121166
- Primary Topic
- Animal Behavior and Welfare Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00