Influence of microclimatic conditions on dairy production in an Automatic Milking System: Trends and Time-Series Mixer predictions
Heat stress, exacerbated by climate change, poses a significant challenge to the dairy industry. Advances in Artificial Intelligence provide tools to project future conditions based on historical data, offering crucial resources to tackle heat stress impacts. This study evaluates and forecasts the impact of microclimatic conditions on dairy cow milk production, using data collected from an Automatic Milking Systems (AMS). Over a 6-year and 7-month period, we analyzed the temporal relationships among milk protein, fat, production, temperature, and Temperature-Humidity Index (THI). Cross-correlation analysis revealed that as THI increases, there is a corresponding decrease in protein and fat content, with a 5-day time lag for protein. We introduced the innovative use of Time-Series Mixer (TSMixer), a cutting-edge deep learning algorithm, to forecast the long-term evolution of milk production and quality at high temporal resolution. TSMixer effectively predicted daily protein, fat, milk production and milk temperature over two-month temporal horizon with high accuracy (R 2 values of 0.83, 0.81, and 0.80). It outperformed baseline models, capturing simple linear and periodic behaviors, demonstrating superior predictive abilities, especially for primiparous cows. TSMixer advances milk production forecasting by offering high-resolution daily predictions for both milk yield and quality, unlike typical deep learning models that focus on lower-resolution, long-term forecasts. Its use of lightweight Multi-Layer Perceptrons makes it suitable for real-time deployment in AMS pipelines, aiding farmers in forecasting individual cow performance. • Heat stress affects milk quality and production. • THI anti-correlates with milk protein and fat content. • TSMixer neural network forecasts the evolution of milk quality . • TSMixer outperforms baseline models for future predictions.
Authors
- Claudio Forte (ORCID: https://orcid.org/0000-0002-0060-3851)
- Caterina A. M. La Porta (ORCID: https://orcid.org/0000-0002-3010-8966)
- Stefano Zapperi (ORCID: https://orcid.org/0000-0001-5692-5465)
- Laura Ozella (ORCID: https://orcid.org/0000-0001-7371-3309)
- Marco Zanchi (ORCID: https://orcid.org/0000-0003-4847-9367)
Institutions
- University of Milan (IT)
- Fondazione IRCCS Ca' Granda Ospedale Maggiore Policlinico (IT)
- Institute of Condensed Matter Chemistry and Technologies for Energy (IT)
- Torino e-district (IT)
- University of Turin (IT)
Publication Details
- Journal
- Computers and Electronics in Agriculture
- Published
- 2024-12-12
- DOI
- https://doi.org/10.1016/j.compag.2024.109730
- Citations
- 3
- Primary Topic
- Effects of Environmental Stressors on Livestock
- Type
- article
- Field-Weighted Citation Impact
- 1.02