{"title":"Deep learning for sustainable agriculture: automating rice and paddy ripeness classification for enhanced food security","authors":"Entesar Hamed I. Eliwa , Tarek Abd El-Hafeez","doi":"10.1016/j.eij.2025.100785","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate and timely classification of rice paddy ripeness is critical for optimizing harvest decisions, improving grain quality, and strengthening global food security. Traditional manual assessments remain subjective, labor-intensive, and poorly scalable, underscoring the need for automated solutions. This study presents a rigorous comparative evaluation of five fine-tuned deep learning architectures for real-time rice maturity assessment: YOLOv11 enhanced with an Attention-Guided Multi-Scale Feature Fusion (AGMS-FF) module, baseline YOLOv11, ResNet18, EfficientNet-B0, and MobileNetV3. Two publicly available datasets were utilized: one augmented to simulate diverse field conditions and another comprising raw, uncontrolled imagery to assess real-world generalizability. To ensure robustness and mitigate overfitting, we employed 5-fold cross-validation alongside a held-out test evaluation. Models were assessed across Accuracy, Precision, Recall, F1-score, ROC-AUC, and PR-AUC metrics. The AGMS-FF YOLOv11 achieved superior performance, with up to 99.6 % cross-validation accuracy (±0.21), ROC-AUC = 0.9877 and PR-AUC = 0.9526 on the augmented dataset, and 98.0 % test accuracy with perfect ROC-AUC and PR-AUC (1.000) on the raw dataset. Statistical validation confirmed the significance of these results through ANOVA (Dataset 1: F(4,20) = 158.4, p < 0.001; Dataset 2: F(4,20) = 92.7, p < 0.001) and McNemar’s paired tests (p < 0.05). These findings provide robust comparative benchmarks across lightweight and state-of-the-art models, reinforcing the viability of deep learning-based computer vision systems for sustainable rice farming and their potential for scalable field deployment.</div></div>","PeriodicalId":56010,"journal":{"name":"Egyptian Informatics Journal","volume":"32 ","pages":"Article 100785"},"PeriodicalIF":4.3000,"publicationDate":"2025-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Egyptian Informatics Journal","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1110866525001781","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate and timely classification of rice paddy ripeness is critical for optimizing harvest decisions, improving grain quality, and strengthening global food security. Traditional manual assessments remain subjective, labor-intensive, and poorly scalable, underscoring the need for automated solutions. This study presents a rigorous comparative evaluation of five fine-tuned deep learning architectures for real-time rice maturity assessment: YOLOv11 enhanced with an Attention-Guided Multi-Scale Feature Fusion (AGMS-FF) module, baseline YOLOv11, ResNet18, EfficientNet-B0, and MobileNetV3. Two publicly available datasets were utilized: one augmented to simulate diverse field conditions and another comprising raw, uncontrolled imagery to assess real-world generalizability. To ensure robustness and mitigate overfitting, we employed 5-fold cross-validation alongside a held-out test evaluation. Models were assessed across Accuracy, Precision, Recall, F1-score, ROC-AUC, and PR-AUC metrics. The AGMS-FF YOLOv11 achieved superior performance, with up to 99.6 % cross-validation accuracy (±0.21), ROC-AUC = 0.9877 and PR-AUC = 0.9526 on the augmented dataset, and 98.0 % test accuracy with perfect ROC-AUC and PR-AUC (1.000) on the raw dataset. Statistical validation confirmed the significance of these results through ANOVA (Dataset 1: F(4,20) = 158.4, p < 0.001; Dataset 2: F(4,20) = 92.7, p < 0.001) and McNemar’s paired tests (p < 0.05). These findings provide robust comparative benchmarks across lightweight and state-of-the-art models, reinforcing the viability of deep learning-based computer vision systems for sustainable rice farming and their potential for scalable field deployment.
期刊介绍:
The Egyptian Informatics Journal is published by the Faculty of Computers and Artificial Intelligence, Cairo University. This Journal provides a forum for the state-of-the-art research and development in the fields of computing, including computer sciences, information technologies, information systems, operations research and decision support. Innovative and not-previously-published work in subjects covered by the Journal is encouraged to be submitted, whether from academic, research or commercial sources.