Assessing deep learning model robustness for banana ripeness classification under varying illumination conditions

The classification of banana ripeness is critical for the external assessment of fruit quality in automated inspection systems. This study investigates the robustness of deep learning models under varying illumination conditions, utilizing a dataset of real banana images captured in multiple lighting scenarios. Models were trained and evaluated with gamma-based illumination augmentation generated through the Low-light Image Enhancement model to simulate realistic variability. Although training on pristine images yields high baseline accuracy, the models exhibit pronounced performance drops under altered illumination, highlighting significant overfitting issues. Augmentation substantially improves robustness, but the degree of improvement is architecture-dependent and does not fully mitigate vulnerabilities under extreme lighting conditions. Furthermore, the trade-offs between model complexity, inference efficiency, and generalization capacity are critically analyzed, revealing constraints for real-time and resource-limited applications. In particular, baseline accuracies reached an average of 92.5 % under ideal lighting (I0), with ViT scoring 93.13 % and InceptionV3 trailing at 89.84 %. Under moderate gamma augmentation ( Γ = 0.4 ), performance dropped by up to 11.8 percentage points (InceptionV3: from 89.84 % to 77.63 %). Training with augmented data restored accuracy by 8.3 pp on average, with InceptionV3 recovering to 91.88 % and ViT maintaining 92.90 %. Inference times ranged from 2.08 ms (ViT) to 3.89 ms (InceptionV3), demonstrating feasibility for real-time deployment. These findings emphasize the importance of incorporating environmental variability into evaluation protocols to ensure a reliable deployment of automated grading systems in practical scenarios. • Synthetic augmentation of lighting variations using the LIME model was introduced to the dataset for banana ripeness classification, aiming to evaluate and improve the model's robustness and stability under different lighting conditions. • Deep learning models show significant performance drops when lighting variations are introduced into the dataset. • The dataset, including gamma correction augmentations, improves the robustness of the deep learning models. • A detailed comparison of deep learning models is conducted, considering the number of parameters, inference time, and efficiency, providing clear criteria for selecting the most suitable model for real-world applications.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-08-26
DOI
https://doi.org/10.1016/j.atech.2025.101333
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Assessing deep learning model robustness for banana ripeness classification under varying illumination conditions

Sergio A. Velastín, Luis Chuquimarca, Boris X. Vintimilla
Smart Agricultural Technology
Spectroscopy and Chemometric Analyses
article

Assessing deep learning model robustness for banana ripeness classification under varying illumination conditions

Sergio A. Velastín, Luis Chuquimarca, Boris X. Vintimilla
article en

Abstract

The classification of banana ripeness is critical for the external assessment of fruit quality in automated inspection systems. This study investigates the robustness of deep learning models under varying illumination conditions, utilizing a dataset of real banana images captured in multiple lighting scenarios. Models were trained and evaluated with gamma-based illumination augmentation generated through the Low-light Image Enhancement model to simulate realistic variability. Although training on pristine images yields high baseline accuracy, the models exhibit pronounced performance drops under altered illumination, highlighting significant overfitting issues. Augmentation substantially improves robustness, but the degree of improvement is architecture-dependent and does not fully mitigate vulnerabilities under extreme lighting conditions. Furthermore, the trade-offs between model complexity, inference efficiency, and generalization capacity are critically analyzed, revealing constraints for real-time and resource-limited applications. In particular, baseline accuracies reached an average of 92.5 % under ideal lighting (I0), with ViT scoring 93.13 % and InceptionV3 trailing at 89.84 %. Under moderate gamma augmentation ( Γ = 0.4 ), performance dropped by up to 11.8 percentage points (InceptionV3: from 89.84 % to 77.63 %). Training with augmented data restored accuracy by 8.3 pp on average, with InceptionV3 recovering to 91.88 % and ViT maintaining 92.90 %. Inference times ranged from 2.08 ms (ViT) to 3.89 ms (InceptionV3), demonstrating feasibility for real-time deployment. These findings emphasize the importance of incorporating environmental variability into evaluation protocols to ensure a reliable deployment of automated grading systems in practical scenarios. • Synthetic augmentation of lighting variations using the LIME model was introduced to the dataset for banana ripeness classification, aiming to evaluate and improve the model's robustness and stability under different lighting conditions. • Deep learning models show significant performance drops when lighting variations are introduced into the dataset. • The dataset, including gamma correction augmentations, improves the robustness of the deep learning models. • A detailed comparison of deep learning models is conducted, considering the number of parameters, inference time, and efficiency, providing clear criteria for selecting the most suitable model for real-world applications.

Smart Agricultural TechnologyVol. 12
Queen Mary University of London (GB), Escuela Superior Politecnica del Litoral (EC), Universidad Estatal Península de Santa Elena (EC), Universidad Carlos III de Madrid (ES)
Zero hunger
Openalex Percentile: Top 75%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.