用可解释的机器学习监测奶牛健康,提升养殖效率。
An Explainable AI based approach for Monitoring Animal Health
- 通过加速度传感器与物联网采集奶牛行为数据,结合滑动窗口提取特征。
- k近邻分类器在测试集上达到0.99的AUC,性能稳定可靠。
- 采用SHAP解释模型,让养殖户能理解并信任预测结果。
由于难以追踪农场中所有动物,监测奶牛健康和优化产量是奶农面临的关键挑战。本文展示基于可解释机器学习(ML)的数据驱动养殖方法,用于分析奶牛的活动与行为。通过3轴加速度传感器持续采集数据,并结合蓝牙物联网设备与4G网络实现无缝传输、实时分析与推理。重点对时间序列数据进行预处理,包括统计特征提取、信号处理及滑动窗口生成滞后特征。在不同窗口长度下评估多种超参数优化的ML模型,其中k近邻分类器表现最佳:训练集平均AUC为0.98,标准差0.0026;测试集AUC达0.99。为确保透明性,采用SHAP等可解释性框架解析特征重要性,便于从业者理解和应用。对关键特征的详细对比与稳定性分析,支持构建可解释且实用的机器学习模型,助力可持续畜牧管理。
原文摘要 · Abstract (English)
Monitoring cattle health and optimizing yield are key challenges faced by dairy farmers due to difficulties in tracking all animals on the farm. This work aims to showcase modern data-driven farming practices based on explainable machine learning(ML) methods that explain the activity and behaviour of dairy cattle (cows). Continuous data collection of 3-axis accelerometer sensors and usage of robust ML methodologies and algorithms, provide farmers and researchers with actionable information on cattle activity, allowing farmers to make informed decisions and incorporate sustainable practices. This study utilizes Bluetooth-based Internet of Things (IoT) devices and 4G networks for seamless data transmission, immediate analysis, inference generation, and explains the models performance with explainability frameworks. Special emphasis is put on the pre-processing of the accelerometers time series data, including the extraction of statistical characteristics, signal processing techniques, and lag-based features using the sliding window technique. Various hyperparameter-optimized ML models are evaluated across varying window lengths for activity classification. The k-nearest neighbour Classifier achieved the best performance, with AUC of mean 0.98 and standard deviation of 0.0026 on the training set and 0.99 on testing set). In order to ensure transparency, Explainable AI based frameworks such as SHAP is used to interpret feature importance that can be understood and used by practitioners. A detailed comparison of the important features, along with the stability analysis of selected features, supports development of explainable and practical ML models for sustainable livestock management.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。