Next Article in Journal
Recent Developments on Salmonella and Listeria monocytogenes Detection Technologies: A Focus on Electrochemical Biosensing Technologies
Previous Article in Journal
Plant-Based Food: From Nutritional Value to Health Benefits: 2nd Edition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Cross-Temporal Egg Variety and Storage Period Classifications via Multi-Task Deep Learning with Near-Infrared Hyperspectral Imaging

1
School of Mathematics and Computer Science, Wuhan Polytechnic University, Wuhan 430048, China
2
Electronic Information School, Wuhan University, Wuhan 430072, China
*
Author to whom correspondence should be addressed.
Foods 2025, 14(23), 4140; https://doi.org/10.3390/foods14234140 (registering DOI)
Submission received: 22 October 2025 / Revised: 28 November 2025 / Accepted: 28 November 2025 / Published: 2 December 2025
(This article belongs to the Section Food Analytical Methods)

Abstract

Egg variety and storage duration are key determinants of nutritional value, market pricing, and food safety. The similar external appearance of different varieties increases the risk of mislabeling, while inevitable quality deterioration during storage further complicates reliable assessment. These factors underscore the need for non-destructive, cross-temporal detection. However, prolonged storage induces pronounced spectral drift that degrades conventional models, limiting their effectiveness in real-world quality monitoring. To address this issue, we propose the Multi-Task Cross-Temporal Squeeze-and-Excitation Network (MT-CTSE-Net), a deep learning framework that integrates Convolutional Neural Networks (CNN), Squeeze-and-Excitation (SE) channel attention, and Transformer encoders to jointly perform egg variety identification across storage durations and storage period classification. The model extracts local spectral details, enhances channel-wise feature relevance, and captures long-range dependencies, while inter-task feature sharing improves generalization under temporal variation. Evaluated on near-infrared (1000–2500 nm) spectra from three commercial egg varieties (Enshi selenium-enriched, Mulanhu multigrain, Zhengda lutein), MT-CTSE-Net achieved approximately 86% accuracy (F1-score: 86.1%) in cross-temporal variety classification and about 84.2–86.4% in storage-period prediction—surpassing single-task and benchmark multi-task models. These results demonstrate that MT-CTSE-Net effectively mitigates storage-induced spectral drift and provides a robust pathway for non-destructive quality assessment and temporal monitoring in agri-food supply chains.
Keywords: egg quality; near-infrared spectroscopy; spectral drift; multi-task learning; Transformer egg quality; near-infrared spectroscopy; spectral drift; multi-task learning; Transformer

Share and Cite

MDPI and ACS Style

Liu, C.; Xia, Z.; Li, H.; Fan, F.; Ma, Y.; Hu, H.; Zhang, C. Cross-Temporal Egg Variety and Storage Period Classifications via Multi-Task Deep Learning with Near-Infrared Hyperspectral Imaging. Foods 2025, 14, 4140. https://doi.org/10.3390/foods14234140

AMA Style

Liu C, Xia Z, Li H, Fan F, Ma Y, Hu H, Zhang C. Cross-Temporal Egg Variety and Storage Period Classifications via Multi-Task Deep Learning with Near-Infrared Hyperspectral Imaging. Foods. 2025; 14(23):4140. https://doi.org/10.3390/foods14234140

Chicago/Turabian Style

Liu, Chaoxian, Zhenyan Xia, Hao Li, Fan Fan, Yong Ma, Huanjun Hu, and Can Zhang. 2025. "Cross-Temporal Egg Variety and Storage Period Classifications via Multi-Task Deep Learning with Near-Infrared Hyperspectral Imaging" Foods 14, no. 23: 4140. https://doi.org/10.3390/foods14234140

APA Style

Liu, C., Xia, Z., Li, H., Fan, F., Ma, Y., Hu, H., & Zhang, C. (2025). Cross-Temporal Egg Variety and Storage Period Classifications via Multi-Task Deep Learning with Near-Infrared Hyperspectral Imaging. Foods, 14(23), 4140. https://doi.org/10.3390/foods14234140

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop