基于小波变换特征的奶牛活动异常检测
Detection of anomalies in cow activity using wavelet transform based features
AI总结:
本研究利用小波变换特征结合孤立森林算法,检测奶牛活动时间序列中的异常,以识别疾病或发情状态,并能早于人工标注发现异常,便于及时干预。
摘要:
在精准畜牧业中,检测偏离最优值或基线值的偏差(即时间序列中的异常)对于快速采取纠正措施至关重要。本文旨在检测奶牛活动24小时时间序列中的异常,以发现疾病或发情病例。偏差必须与噪声区分开来,而生物数据中的噪声可能非常高。同样重要的是及早检测异常,例如在农民肉眼发现之前。本文研究了使用小波变换对数据进行去噪的益处,并评估了考虑检测时机的异常检测算法的性能。我们基于时间序列均值的小波变换与单个时间序列实例的小波变换之间的比较,开发了特征。我们假设这些特征有助于使用基于特征的算法检测周期性时间序列中的异常。我们使用两个代表奶牛活动的数据集测试了这一假设,奶牛活动通常遵循日常模式,但可能因特定的生理或病理状况而偏离。我们将小波变换衍生的特征以及统计特征应用于孤立森林算法。我们测量了动物护理人员标注为异常的日期与算法预测为异常的日期之间的检测距离。结果表明,基于小波的特征是异常检测中贡献最大的特征之一。结果还表明,检测日期接近标注日期,且通常早于标注日期。总之,对奶牛活动数据的时间序列使用小波变换有助于检测与特定奶牛状态相关的异常。检测通常在护理人员标注日期之前的日子获得,这为早期采取纠正措施提供了可能性。
英文摘要:
In Precision Livestock Farming, detecting deviations from optimal or baseline values - i.e. anomalies in time series - is essential to allow undertaking corrective actions rapidly. Here we aim at detecting anomalies in 24h time series of cow activity, with a view to detect cases of disease or oestrus. Deviations must be distinguished from noise which can be very high in case of biological data. It is also important to detect the anomaly early, e.g. before a farmer would notice it visually. Here, we investigate the benefit of using wavelet transforms to denoise data and we assess the performance of an anomaly detection algorithm considering the timing of the detection. We developed features based on the comparisons between the wavelet transforms of the mean of the time series and the wavelet transforms of individual time series instances. We hypothesized that these features contribute to the detection of anomalies in periodic time series using a feature-based algorithm. We tested this hypothesis with two datasets representing cow activity, which typically follows a daily pattern but can deviate due to specific physiological or pathological conditions. We applied features derived from wavelet transform as well as statistical features in an Isolation Forest algorithm. We measured the distance of detection between the days annotated abnormal by animal caretakers days and the days predicted abnormal by the algorithm. The results show that wavelet-based features are among the features most contributing to anomaly detection. They also show that detections are close to the annotated days, and often precede it. In conclusion, using wavelet transforms on time series of cow activity data helps to detect anomalies related to specific cow states. The detection is often obtained on days that precede the day annotated by caretakers, which offer possibility to take corrective actions at an early stage.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。