Non‐destructive quantification of egg yolk ratio using visible–near‐infrared hyperspectral imaging, machine learning and explainable AI
Journal of the Science of Food and Agriculture · 2025-10 · 105 (13) · 7250-7259
DOI: 10.1002/jsfa.14431 ↗At a glance
Evaluationsstudie in Journal of the Science of Food and Agriculture, published online on 2025-06-11. Written by Md Wadud Ahmed and 2 co-authors. Institution: The Grainger College of Engineering, College of Agricultural, Consumer and Environmental Sciences, Department of Agricultural and Biological Engineer…. Major MEDLINE topics: Egg Yolk, Hyperspectral Imaging. Cited 13 times so far (Crossref); 51 references. The full text is freely available (open access, CC BY-NC 4.0). Funded by: National Institute of Food and Agriculture.
Abstract (original language)
BACKGROUND Accurate, non‐destructive quantification of egg yolk ratio holds considerable significance for the food industry, nutritional assessment and egg grading. Conventional approaches are limited by destructive testing and insufficient throughput for commercial applications. This study investigates the potential of visible–near‐infrared (Vis‐NIR; 374–1015 nm) hyperspectral imaging (HSI) combined with machine learning (ML) and explainable artificial intelligence (AI) techniques for rapid and non‐destructive yolk ratio prediction. Multiple regression models, spectral preprocessing and feature selection techniques were comprehensively evaluated to develop robust and interpretable predictive solutions. RESULTS Regression models including partial least squares regression (PLSR), random forest, extreme gradient boosting and support vector regression were assessed for yolk ratio prediction. The PLSR model combined with Savitzky–Golay first‐derivative spectral preprocessing demonstrated superior and stable predictive performance, achieving coefficients of determination ( R 2 ) of 0.79, 0.73 and 0.68 in calibration, validation and independent test datasets, respectively. Additionally, a simplified PLSR model using a few important variables selected based on regression coefficients achieved robust predictive results. Shapley additive explanations analysis provided clear insights into the wavelength regions significantly contributing to model predictions, primarily linked to water, lipid and protein contents in eggs. CONCLUSION This research highlights the effectiveness of Vis‐NIR HSI integrated with ML and explainable AI as a rapid, reliable and non‐destructive approach for egg yolk ratio assessment. The developed method offers significant advantages for egg quality monitoring, providing practical, interpretable and scalable solutions beneficial for food industry applications. © 2025 The Author(s). Journal of the Science of Food and Agriculture published by John Wiley & Sons Ltd on behalf of Society of Chemical Industry.
Subjects
MeSH terms (MEDLINE)
Author keywords
Substances
Authors and institutions
- The Grainger College of Engineering, College of Agricultural, Consumer and Environmental Sciences, Department of Agricultural and Biological Engineering, University of Illinois Urbana-Champaign, Urbana, IL, USA.
- College of Agricultural, Consumer and Environmental Sciences, Department of Animal Sciences, University of Illinois Urbana-Champaign, Urbana, IL, USA.
ORCID profiles: Mohammed Kamruzzaman
Funding
- National Institute of Food and Agriculture
Cite
APA
Ahmed, M. W., Emmert, J. L., & Kamruzzaman, M. (2025). Non‐destructive quantification of egg yolk ratio using visible–near‐infrared hyperspectral imaging, machine learning and explainable AI. Journal of the Science of Food and Agriculture, 105(13), 7250-7259. https://doi.org/10.1002/jsfa.14431
Vancouver
Ahmed MW, Emmert JL, Kamruzzaman M. Non‐destructive quantification of egg yolk ratio using visible–near‐infrared hyperspectral imaging, machine learning and explainable AI. Journal of the Science of Food and Agriculture. 2025;105(13):7250-7259. doi:10.1002/jsfa.14431
BibTeX
@article{Ahmed2025,
author = {Ahmed, Md Wadud and Emmert, Jason Lee and Kamruzzaman, Mohammed},
title = {Non‐destructive quantification of egg yolk ratio using visible–near‐infrared hyperspectral imaging, machine learning and explainable AI},
journal = {Journal of the Science of Food and Agriculture},
year = {2025},
volume = {105},
number = {13},
pages = {7250--7259},
doi = {10.1002/jsfa.14431}
}
EUVIMED