An enhanced convolutional neural network architecture for nondestructive detection of microbial contamination on eggshells through hyperspectral imaging
Pauline Ong , Shih-Yen Chiu , Yen-Chou Kuan , I-Lin Tsai , Yu-Jen Wang , Yung-Kun Chuang
{"title":"An enhanced convolutional neural network architecture for nondestructive detection of microbial contamination on eggshells through hyperspectral imaging","authors":"Pauline Ong , Shih-Yen Chiu , Yen-Chou Kuan , I-Lin Tsai , Yu-Jen Wang , Yung-Kun Chuang","doi":"10.1016/j.saa.2025.126943","DOIUrl":null,"url":null,"abstract":"<div><div>Eggs, a key dietary staple globally, are valued for their high nutritional content. However, the safety of eggshells is often compromised by microbial contamination. In this study, we developed a reliable, noninvasive method for detecting the aerobic plate count on eggshells through hyperspectral imaging (HSI) combined with a deep learning approach. Visible–near infrared HSI data (450–1100 nm) were collected for 108 egg samples. To address the high dimensionality of HSI data, three wavelength selection methods—competitive adaptive reweighted sampling, selectivity ratio, and variable importance in projection (VIP)—were used to extract the most informative spectral features. A modified convolutional neural network (CNN) enhanced with channel attention (CA) and depthwise separable convolution (DSC; termed CA-DSC-CNN) was developed to efficiently model spectral–spatial features while reducing computational complexity. CA-DSC-CNN with wavelengths selected using VIP outperformed its state-of-the-art counterparts, yielding a correlation coefficient of 0.8959 for the prediction set and a root mean square error of 0.2396. These values surpassed those of conventional chemometric models, including partial least squares regression, multiple linear regression, support vector regression and standard CNNs. This study demonstrated that HSI integrated with advanced deep learning techniques enabled the rapid, nondestructive detection of microbial contamination on eggshells, contributing to improved safety in egg processing and storage.</div></div>","PeriodicalId":433,"journal":{"name":"Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy","volume":"346 ","pages":"Article 126943"},"PeriodicalIF":4.6000,"publicationDate":"2025-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy","FirstCategoryId":"92","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1386142525012508","RegionNum":2,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"SPECTROSCOPY","Score":null,"Total":0}
引用次数: 0
Abstract
Eggs, a key dietary staple globally, are valued for their high nutritional content. However, the safety of eggshells is often compromised by microbial contamination. In this study, we developed a reliable, noninvasive method for detecting the aerobic plate count on eggshells through hyperspectral imaging (HSI) combined with a deep learning approach. Visible–near infrared HSI data (450–1100 nm) were collected for 108 egg samples. To address the high dimensionality of HSI data, three wavelength selection methods—competitive adaptive reweighted sampling, selectivity ratio, and variable importance in projection (VIP)—were used to extract the most informative spectral features. A modified convolutional neural network (CNN) enhanced with channel attention (CA) and depthwise separable convolution (DSC; termed CA-DSC-CNN) was developed to efficiently model spectral–spatial features while reducing computational complexity. CA-DSC-CNN with wavelengths selected using VIP outperformed its state-of-the-art counterparts, yielding a correlation coefficient of 0.8959 for the prediction set and a root mean square error of 0.2396. These values surpassed those of conventional chemometric models, including partial least squares regression, multiple linear regression, support vector regression and standard CNNs. This study demonstrated that HSI integrated with advanced deep learning techniques enabled the rapid, nondestructive detection of microbial contamination on eggshells, contributing to improved safety in egg processing and storage.
期刊介绍:
Spectrochimica Acta, Part A: Molecular and Biomolecular Spectroscopy (SAA) is an interdisciplinary journal which spans from basic to applied aspects of optical spectroscopy in chemistry, medicine, biology, and materials science.
The journal publishes original scientific papers that feature high-quality spectroscopic data and analysis. From the broad range of optical spectroscopies, the emphasis is on electronic, vibrational or rotational spectra of molecules, rather than on spectroscopy based on magnetic moments.
Criteria for publication in SAA are novelty, uniqueness, and outstanding quality. Routine applications of spectroscopic techniques and computational methods are not appropriate.
Topics of particular interest of Spectrochimica Acta Part A include, but are not limited to:
Spectroscopy and dynamics of bioanalytical, biomedical, environmental, and atmospheric sciences,
Novel experimental techniques or instrumentation for molecular spectroscopy,
Novel theoretical and computational methods,
Novel applications in photochemistry and photobiology,
Novel interpretational approaches as well as advances in data analysis based on electronic or vibrational spectroscopy.