EventsThe 5th International Electronic Conference on Applied Sciences
Published
This submission belongs to the session S3. Computing and Artificial Intelligence of the event The 5th International Electronic Conference on Applied Sciences
Published date
02 Dec, 2024
Academic Editor
author-avatarEugenio Vocaturo
Citation
Shoffan Saifullah, Comparative Analysis of LSTM and GRU Models for Chicken Egg Fertility Classification using Deep Learning, in Proceedings of The 5th International Electronic Conference on Applied Sciences, 4 December–6 December 2024, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

Comparative Analysis of LSTM and GRU Models for Chicken Egg Fertility Classification using Deep Learning

image
1. Faculty of Computer Science, AGH University of Krakow, Krakow, Poland, Indonesia
2. Department of Informatics, Universitas Pembangunan Nasional Veteran Yogyakarta, Yogyakarta, Indonesia
Abstract

This study explores the application of advanced Recurrent Neural Network (RNN) architectures—specifically Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU)—for classifying chicken egg fertility based on embryonic development detected in egg images. Traditional methods, such as candling, are labor-intensive and often inaccurate, making them unsuitable for large-scale poultry operations. By leveraging the capabilities of LSTM and GRU models, this research aims to automate and enhance the accuracy of egg fertility classification, thereby contributing to agricultural automation. A dataset comprising 240 high-resolution egg images was employed, resized to 255x255 pixels for optimal processing efficiency. LSTM and GRU models were trained to discern fertile from infertile eggs by analyzing the sequential data represented by the pixel rows in these images. The LSTM model demonstrated superior performance, achieving a validation accuracy of 89.58% with a loss of 1.1691, outperforming the GRU model, which recorded a lower accuracy of 66.67% and a significantly higher loss of 12.6634. The LSTM’s complex gating mechanisms were more effective in capturing long-range dependencies within the data, leading to more reliable predictions. The findings suggest that LSTM models are better suited for precision-critical applications in poultry farming, where accurate fertility classification is paramount. In contrast, GRU models, while more computationally efficient, may struggle with generalization under constrained data conditions. This study underscores the potential of advanced RNNs in enhancing the efficiency and accuracy of automated farming systems, paving the way for future research to further optimize these models for real-world agricultural applications.

Keywords
Recurrent Neural Networks (RNN)
Egg Fertility Classification
Long Short-Term Memory (LSTM)
Gated Recurrent Unit (GRU)
Agricultural Automation
Poster
ASEC2024-Poster Shoffan Saifullah.pdf
Optimizing Network Traffic Classification Through a Novel BAT-ANN Model: An Empirical investigation in Improved Accuracy and Scalability in Network Security
Exploration of Key components in wireless sensor networks utilizing Artificial Intelligence and virtualized security