Artificial Intelligence and Circadian Thresholds for Stress Detection in Dairy Cattle
Samuel Lascano Rivera, Luis Rivera, Hernán Benavides, Yasmany Fernández

TL;DR
This study uses AI and circadian rhythms to detect stress in dairy cows, enabling early intervention for better animal welfare.
Contribution
A novel LSTM model integrating circadian features for stress classification in dairy cattle with a one-hour prediction lead time.
Findings
The LSTM model achieved 82.3% accuracy and 0.847 AUC in stress classification.
Circadian features extracted via FFT and STFT improved stress detection compared to logistic regression.
A one-hour lead time was achieved for anticipating stress from management and environmental factors.
Abstract
This study investigates stress detection in dairy cattle by integrating circadian rhythm analysis and deep learning. Behavioral biomarkers, including feeding, resting, and rumination, were continuously monitored using Nedap CowControl sensors over a 12-month period to capture seasonal variability. Circadian features were extracted using the Fast Fourier Transform (FFT), and deviations from expected 24 h patterns were quantified using Euclidean distance. These features were used to train a Long Short-Term Memory (LSTM) neural network to classify stress into three levels: normal, mild, and high. Expert veterinary observations of anomalous behaviors and environmental records were used to validate stress labeling. We continuously monitored 10 lactating Holstein cows for 365 days, yielding 87,600 raw hours and 3650 cow-days (one day per cow as the analytical unit). The Short-Time Fourier…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEffects of Environmental Stressors on Livestock · Meat and Animal Product Quality · Animal Behavior and Welfare Studies
