Optimized CNN-LSTM Tuple Aggregation Framework with Reinforcement Learning for Real-Time Dairy Production Enhancement

International Journal of Electronics and Communication Engineering
© 2025 by SSRG - IJECE Journal
Volume 12 Issue 6
Year of Publication : 2025
Authors : V. Manochitra, A.Shaik Abdul Khadir
pdf
How to Cite?

V. Manochitra, A.Shaik Abdul Khadir, "Optimized CNN-LSTM Tuple Aggregation Framework with Reinforcement Learning for Real-Time Dairy Production Enhancement," SSRG International Journal of Electronics and Communication Engineering, vol. 12,  no. 6, pp. 238-246, 2025. Crossref, https://doi.org/10.14445/23488549/IJECE-V12I6P119

Abstract:

The present-day dairy industry is dealing with mounting pressure for product quality, cost-effectiveness, and the volatility of supply chain performance. Solving these problems requires intelligent systems to process spatial and temporal information related to real-time working dairy farms. To deal with both spatial and temporal diffusions, in this paper, we introduce a more efficient aggregated framework of splice point signal and propose an Optimized Deep Learning-powered Tuple Aggregation framework combining CNN and LSTM for complete spatiotemporal feature extraction, as well as an RL-based anomaly detection algorithm to detect anomalies in manufacturing processes. The frame can model data tuples of dairy machines, environmental sensors, and quality control checkpoints to predict milk quality, maximise machine allocation, and perform predictive maintenance. By implementing such an integrated system, productivity is improved, wastage is reduced, and the operation of the supply chain is optimized. The experimental results based on monitoring dairy production data in real-time have proven the effectiveness of this model in accuracy, response time, and efficiency as opposed to classical machine learning methods. This study paves the way for completely automated intelligent management of dairy plants for eco-friendly, high-level products.

Keywords:

Dairy production optimization, Tuple aggregation, CNN-LSTM, Reinforcement learning, Anomaly detection, Spatiotemporal analysis, Predictive maintenance, Supply chain management, Milk quality prediction, Industry 4.0.

References:

[1] S. Ali Naqvi et al., “Mastitis Detection with Recurrent Neural Networks in Farms using Automated Milking Systems,” Computers and Electronics in Agriculture, vol. 192, pp. 1-10, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[2] M.H. Ghaffari et al., “Deep Convolutional Neural Networks for the Detection of Diarrhea and Respiratory Disease in Preweaning Dairy Calves Using Data from Automated Milk Feeders,” Journal of Dairy Science, vol. 105, no. 12, pp. 9882-9895, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[3] S. Ali Naqvi et al., “Data Considerations for Developing Deep Learning Models for Dairy Applications: A Simulation Study on Mastitis Detection,” Computers and Electronics in Agriculture, vol. 196, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[4] Dariusz Piwczyński et al., “Forecasting the Milk Yield of Cows on Farms Equipped with Automatic Milking System with the Use of Decision Trees,” Animal Science Journal, vol. 91, no. 1, pp. 1-10, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Rodrigo da Rosa Righi et al., “Towards Combining Data Prediction and Internet of Things to Manage Milk Production on Dairy Cows,” Computers and Electronics in Agriculture, vol. 169, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[6] I.R. Porter, M. Wieland, and P.S. Basran, “Feasibility of the Use of Deep Learning Classification of Teat-end Condition in Holstein Cattle,” Journal of Dairy Science, vol. 104, no. 4, pp. 4529-4536, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Jessica Nye, Laura M. Zingaretti, and Miguel Pérez-Enciso, “Estimating Conformational Traits in Dairy Cattle with Deepaps: A Two-Step Deep Learning Automated Phenotyping and Segmentation Approach,” Frontiers in Genetics, vol. 11, pp. 1-9, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[8] Yanchao Wang et al., “Deep Learning-Based Automatic Dairy Cow Ocular Surface Temperature Detection from Thermal Images,” Computers and Electronics in Agriculture, vol. 202, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[9] Olli Koskela et al., “Deep Learning Image Recognition of Cow Behavior and An Open Data Set Acquired Near an Automatic Milking Robot,” Agricultural and Food Science, vol. 31, no. 2, pp. 89-103, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[10] Mohammad Alwadi et al., “Smart Dairy Farming for Predicting Milk Production Yield Based on Deep Machine Learning,” International Journal of Information Technology, vol. 16, pp. 4181-4190, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Jae Gu Lee et al., “Utilizing 3D Point Cloud Technology with Deep Learning for Automated Measurement and Analysis of Dairy Cows,” Sensors, vol. 24, no. 3, pp. 1-21, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[12] Luigi Cesarini et al., “Comparison of Deep Learning Models for Milk Production Forecasting at National Scale,” Computers and Electronics in Agriculture, vol. 221, pp. 1-21, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[13] Mengyuan Chu et al., “Fusion of Udder Temperature and Size Features for the Automatic Detection of Dairy Cow Mastitis Using Deep Learning,” Computers and Electronics in Agriculture, vol. 212, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[14] Junsheng Zhu, René Lacroix, and Kevin M. Wade, “Automated Extraction of Domain Knowledge in the Dairy Industry,” Computers and Electronics in Agriculture, vol. 214, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[15] Fotios K. Konstantinidis et al., “Automating Dairy Production Lines with the Yoghurt Cups Recognition and Detection Process in the Industry 4.0 Era,” Procedia Computer Science, vol. 217, pp. 918-927, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Ibrahim Arıkan et al., “Estrus Detection and Dairy Cow Identification with Cascade Deep Learning for Augmented Reality-Ready Livestock Farming,” Sensors, vol. 23, no. 24, pp. 1-19, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[17] Mengyuan Chu et al., “Deep Learning-Based Model to Classify Mastitis in Holstein Dairy Cows,” Biosystems Engineering, vol. 252, pp. 92-104, 2025.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Fuyang Tian et al., “An Efficient Multi-Task Convolutional Neural Network for Dairy Farm Object Detection and Segmentation,” Computers and Electronics in Agriculture, vol. 211, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Rongchuan Yu et al., “Research on Automatic Recognition of Dairy Cow Daily Behaviors Based on Deep Learning,” Animals, vol. 14, no. 3, pp. 1-19, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[20] Xudong Zhang et al., “Automatic Recognition of Dairy Cow Mastitis from Thermal Images by a Deep Learning Detector,” Computers and Electronics in Agriculture, vol. 178, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[21] Sigfredo Fuentes et al., “Artificial Intelligence Applied to a Robotic Dairy Farm to Model Milk Productivity and Quality Based on Cow Data and Daily Environmental Parameters,” Sensors, vol. 20, no. 10, pp. 1-11, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[22] Patrizia Tassinari et al., “A Computer Vision Approach Based on Deep Learning for the Detection of Dairy Cows in Free Stall Barn,” Computers and Electronics in Agriculture, vol. 182, pp. 1-38, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[23] Zhiheng Lu et al., “Automatic Teat Detection for Rotary Milking System Based on Deep Learning Algorithms,” Computers and Electronics in Agriculture, vol. 189, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[24] S.J. Denholm et al., “Predicting Bovine Tuberculosis Status of Dairy Cows from Mid-Infrared Spectral Data of Milk Using Deep Learning,” Journal of Dairy Science, vol. 103, no. 10, pp. 9355-9367, 2020.
[CrossRef] [Google Scholar] [Publisher Link]