Formulation-Aware SW-NIR Spectroscopic Sensing of Bread Staling Using Stratified Chemometric Modeling and Wavelength Selection
Abstract
1. Introduction
2. Materials and Methods
2.1. Dataset, Experimental Design, and Data Partitioning
2.2. Spectral Preprocessing
2.3. Feature-Wavelength Selection Settings
2.4. Modeling Strategy
2.5. Evaluation Metrics
3. Results and Discussion
3.1. Exploratory Spectral Structure
3.2. Global vs. Stratified Modeling
3.3. Stability of Feature-Wavelength Selection
3.4. Representative Within-Type Model Comparison
3.5. Key Wavelength Distribution and Interpretation
3.6. Exploratory Spatial Analysis
3.7. Limitations
4. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Gray, J.; Bemiller, J. Bread Staling: Molecular Basis and Control. Compr. Rev. Food Sci. Food Saf. 2003, 2, 1–21. [Google Scholar] [CrossRef] [PubMed]
- Fadda, C.; Sanguinetti, A.M.; Del Caro, A.; Collar, C.; Piga, A. Bread Staling: Updating the View. Compr. Rev. Food Sci. Food Saf. 2014, 13, 473–492. [Google Scholar] [CrossRef] [PubMed]
- Taglieri, I.; Macaluso, M.; Bianchi, A.; Sanmartin, C.; Quartacci, M.F.; Zinnai, A.; Venturi, F. Overcoming bread quality decay concerns: Main issues for bread shelf life as a function of biological leavening agents and different extra ingredients used in formulation. A review. J. Sci. Food Agric. 2021, 101, 1732–1743. [Google Scholar] [CrossRef] [PubMed]
- Kulp, K.; Ponte, J.G. Staling of white pan bread: Fundamental causes. CRC Crit. Rev. Food Sci. Nutr. 1981, 15, 1–48. [Google Scholar] [CrossRef]
- Russell, P.L. A kinetic study of bread staling by differential scanning calorimetry and compressibility measurements. The effect of different grists. J. Cereal Sci. 1983, 1, 285–296. [Google Scholar] [CrossRef]
- Rogers, D.E.; Zeleznak, K.J.; Lai, C.S.; Hoseney, R.C. Effect of native lipids, shortening, and bread moisture on bread firming. Cereal Chem. 1988, 65, 398–401. [Google Scholar]
- Aguirre, J.F.; Osella, C.A.; Carrara, C.R.; Sánchez, H.D.; Buera, M.d.P. Effect of storage temperature on starch retrogradation of bread staling. Starch 2011, 63, 587–593. [Google Scholar] [CrossRef]
- van Rooyen, J.; Simsek, S.; Oyeyinka, S.A.; Manley, M. Wheat starch structure–function relationship in breadmaking: A review. Compr. Rev. Food Sci. Food Saf. 2023, 22, 2292–2309. [Google Scholar] [CrossRef] [PubMed]
- Amigo, J.M.; del Olmo Alvarez, A.; Engelsen, M.M.; Lundkvist, H.; Engelsen, S.B. Staling of white wheat bread crumb and effect of maltogenic α-amylases. Part 1: Spatial distribution and kinetic modeling of hardness and resilience. Food Chem. 2016, 208, 318–325. [Google Scholar] [CrossRef] [PubMed]
- Armero, E.; Collar, C. Crumb Firming Kinetics of Wheat Breads with Anti-staling Additives. J. Cereal Sci. 1998, 28, 165–174. [Google Scholar] [CrossRef]
- Engelsen, S.; Jensen, M.; Pedersen, H.; Nørgaard, L.; Munck, L. NMR-baking and Multivariate Prediction of Instrumental Texture Parameters in Bread. J. Cereal Sci. 2001, 33, 59–69. [Google Scholar] [CrossRef]
- Xie, F.; Dowell, F.E.; Sun, X.S. Comparison of Near-Infrared Reflectance Spectroscopy and Texture Analyzer for Measuring Wheat Bread Changes in Storage. Cereal Chem. 2003, 80, 25–29. [Google Scholar] [CrossRef]
- Xie, F.; Dowell, F.E.; Sun, X.S. Using Visible and Near-Infrared Reflectance Spectroscopy and Differential Scanning Calorimetry to Study Starch, Protein, and Temperature Effects on Bread Staling. Cereal Chem. 2004, 81, 249–254. [Google Scholar] [CrossRef]
- Sørensen, L. Application of reflectance near infrared spectroscopy for bread analyses. Food Chem. 2009, 113, 1318–1322. [Google Scholar] [CrossRef]
- Ringsted, T.; Siesler, H.W.; Engelsen, S.B. Monitoring the staling of wheat bread using 2D MIR-NIR correlation spectroscopy. J. Cereal Sci. 2017, 75, 92–99. [Google Scholar] [CrossRef]
- De Géa Neves, M.; Noda, I.; Siesler, H.W. Investigation of bread staling by handheld NIR spectroscopy in tandem with 2D-COS and MCR-ALS analysis. Microchem. J. 2023, 190, 108578. [Google Scholar] [CrossRef]
- Zhu, J.; Chen, Y.; Deng, J.; Jiang, H. Improve the accuracy of FT-NIR for determination of zearalenone content in wheat by using the characteristic wavelength optimization algorithm. Spectrochim. Acta Part Mol. Biomol. Spectrosc. 2024, 313, 124169. [Google Scholar] [CrossRef] [PubMed]
- Li, L.; Tian, W.; Zhao, Z.; Xiao, Y.; Zhang, Y.; Liu, J.; Govindan, V.; He, Z.; Ibba, M.I. T10SLRE: A novel ensemble learning approach for rapid and non-destructive prediction of bread loaf volume in wheat using NIR spectroscopy. Food Chem. 2025, 496, 146818. [Google Scholar] [CrossRef] [PubMed]
- Du, Z.; Tian, W.; Tilley, M.; Wang, D.; Zhang, G.; Li, Y. Quantitative assessment of wheat quality using near-infrared spectroscopy: A comprehensive review. Compr. Rev. Food Sci. Food Saf. 2022, 21, 2956–3009. [Google Scholar] [CrossRef] [PubMed]
- Fodor, M.; Matkovits, A.; Benes, E.L.; Jókai, Z. The Role of Near-Infrared Spectroscopy in Food Quality Assurance: A Review of the Past Two Decades. Foods 2024, 13, 3501. [Google Scholar] [CrossRef] [PubMed]
- Olakanmi, S.J.; Bharathi, V.S.K.; Jayas, D.S.; Paliwal, J. Innovations in nondestructive assessment of baked products: Current trends and future prospects. Compr. Rev. Food Sci. Food Saf. 2024, 23, e13385. [Google Scholar] [CrossRef] [PubMed]
- Li, Q.; Wang, Z.; Wang, M.; Zhao, J.; Tu, K.; Lan, W.; Liu, J.; Pan, L. Next-Generation Optical Imaging and Spectroscopy: AI and Chemometrics in Assessing Authenticity, Nutrition, and Hazard Factors in Cereals. Compr. Rev. Food Sci. Food Saf. 2025, 24, e70248. [Google Scholar] [CrossRef] [PubMed]
- Tomar, M.; Bhardwaj, R.; Singh, P.; Kaur, S.; Singh, S.P.; Dahuja, A.; Krishnan, V.; Kansal, R.; Yadav, V.K.; John, R.; et al. From grain to Gain: Bridging conventional methods with chemometric innovations in cereal quality analysis through near-infrared spectroscopy (NIRS). Food Control 2025, 178, 111482. [Google Scholar] [CrossRef]
- Feng, Y.; Zhang, X.; Liu, J.; Yuan, Z.; Gao, S.; Shi, J. Advancing food safety and quality assessment: A comprehensive review of non-destructive analytical technologies. Anal. Methods 2025, 17, 4697–4717. [Google Scholar] [CrossRef] [PubMed]
- Ban, Y.; Ren, Y.; Dong, W.; Sun, D.W.; Tiwari, B.K. Deep Neural Network Frameworks (DNNFs) for Enhanced Non-destructive Spectroscopic Quantification in Foods: From Hybrid Pipelines to End-to-End Modelling. Trends Food Sci. Technol. 2026, 175, 105834. [Google Scholar] [CrossRef]
- Freddi, S.; Bollani, M.; Sangaletti, L. Wine discrimination through an electronic nose based on SWCNTs functionalized with Zn phthalocyanine. Sens. Actuators Chem. 2026, 458, 139753. [Google Scholar] [CrossRef]
- Cozzolino, D.; Degner, S.; Eglinton, J. A Review on the Role of Vibrational Spectroscopy as An Analytical Method to Measure Starch Biochemical and Biophysical Properties in Cereals and Starchy Foods. Foods 2014, 3, 605–621. [Google Scholar] [CrossRef] [PubMed]
- Li, H.; Liang, Y.; Xu, Q.; Cao, D. Key wavelengths screening using competitive adaptive reweighted sampling method for multivariate calibration. Anal. Chim. Acta 2009, 648, 77–84. [Google Scholar] [CrossRef] [PubMed]
- Guyon, I.; Weston, J.; Barnhill, S.; Vapnik, V. Gene selection for cancer classification using support vector machines. Mach. Learn. 2002, 46, 389–422. [Google Scholar] [CrossRef]
- Li, H.; Wu, P.; Dai, J.; Zou, X. A Monte Carlo resampling based multiple feature-spaces ensemble (MFE) strategy for consistency-enhanced spectral variable selection. Anal. Chim. Acta 2023, 1279, 341782. [Google Scholar] [CrossRef] [PubMed]
- Amigo, J.M.; del Olmo, A.; Engelsen, M.M.; Lundkvist, H.; Engelsen, S.B. Staling of white wheat bread crumb and effect of maltogenic α-amylases. Part 2: Monitoring the staling process by using near infrared spectroscopy and chemometrics. Food Chem. 2019, 297, 124946. [Google Scholar] [CrossRef] [PubMed]
- Amigo, J.M.; del Olmo, A.; Engelsen, M.M.; Lundkvist, H.; Engelsen, S.B. Staling of white wheat bread crumb and effect of maltogenic α-amylases. Part 3: Spatial evolution of bread staling with time by near infrared hyperspectral imaging. Food Chem. 2021, 353, 129478. [Google Scholar] [CrossRef] [PubMed]
- Barnes, R.J.; Dhanoa, M.S.; Lister, S.J. Standard Normal Variate Transformation and De-Trending of Near-Infrared Diffuse Reflectance Spectra. Appl. Spectrosc. 1989, 43, 772–777. [Google Scholar] [CrossRef]
- Rinnan, Å.; van den Berg, F.; Engelsen, S.B. Review of the most common pre-processing techniques for near-infrared spectra. Trac Trends Anal. Chem. 2009, 28, 1201–1222. [Google Scholar] [CrossRef]
- Mei, C.; Lu, S.; Zhou, X.; Meng, F.; Jiang, H. Rapid and Accurate Quantification Detection of BHT in Edible Oils Using Raman Spectroscopy Combined with Chemometric Models. Foods 2026, 15, 730. [Google Scholar] [CrossRef] [PubMed]
- Wold, S.; Sjöström, M.; Eriksson, L. PLS-regression: A basic tool of chemometrics. Chemom. Intell. Lab. Syst. 2001, 58, 109–130. [Google Scholar] [CrossRef]
- Ezenarro, J.; Schorn-Garcia, D. How Are Chemometric Models Validated? A Systematic Review of Linear Regression Models for NIRS Data in Food Analysis. J. Chemom. 2025, 39, e70036. [Google Scholar] [CrossRef]
- Curti, E.; Bubici, S.; Carini, E.; Baroni, S.; Vittadini, E. Water molecular dynamics during bread staling by Nuclear Magnetic Resonance. LWT–Food Sci. Technol. 2011, 44, 854–859. [Google Scholar] [CrossRef]
- Curti, E.; Carini, E.; Cobo, M.; Bocher, T.; Vittadini, E. The use of two-dimensional NMR relaxometry in bread staling: A valuable tool? Food Chem. 2017, 237, 766–772. [Google Scholar] [CrossRef] [PubMed]
- Kim-Shin, M.S.; Mari, F.; Rao, P.A.; Stengle, T.R.; Chinachoti, P. Oxygen-17 nuclear magnetic resonance studies of water mobility during bread staling. J. Agric. Food Chem. 1991, 39, 1915–1920. [Google Scholar] [CrossRef]




| Bread Type | Subset | N | Loaves | Storage Day (Mean ± SD) |
|---|---|---|---|---|
| CR | Calibration | 81 | 9 | |
| CR | Prediction | 27 | 3 | |
| EZ1 | Calibration | 81 | 9 | |
| EZ1 | Prediction | 27 | 3 | |
| EZ2 | Calibration | 81 | 9 | |
| EZ2 | Prediction | 27 | 3 |
| Model | Scope | RMSEC | RMSEP | RPD | ||
|---|---|---|---|---|---|---|
| Global Full-PLS | All | 0.9196 | 1.94 | 0.8152 | 2.28 | 2.34 |
| Global Full-PLS | CR | 0.9196 | 1.94 | 0.8313 | 2.18 | 2.48 |
| Global Full-PLS | EZ1 | 0.9196 | 1.94 | 0.8240 | 2.23 | 2.43 |
| Global Full-PLS | EZ2 | 0.9196 | 1.94 | 0.7902 | 2.43 | 2.22 |
| Stratified Full-PLS | CR | 0.9716 | 1.15 | 0.8777 | 1.86 | 2.91 |
| Stratified Full-PLS | EZ1 | 0.9777 | 1.02 | 0.8376 | 2.14 | 2.53 |
| Stratified Full-PLS | EZ2 | 0.9455 | 1.59 | 0.8363 | 2.15 | 2.52 |
| Bread Type | Model | nVAR | RMSEC | RMSEP | RPD | ||
|---|---|---|---|---|---|---|---|
| CR | PLS | 142 | 0.9716 | 1.15 | 0.8777 | 1.86 | 2.91 |
| CR | CARS-PLS | 24 | 0.9798 | 0.97 | 0.8659 | 1.95 | 2.78 |
| CR | SVM-RFE-PLS | 33 | 0.9703 | 1.18 | 0.8769 | 1.86 | 2.90 |
| CR | MFE-LASSO-PLS | 19 | 0.9780 | 1.01 | 0.9085 | 1.71 | 3.35 |
| EZ1 | PLS | 142 | 0.9777 | 1.02 | 0.8376 | 2.14 | 2.53 |
| EZ1 | CARS-PLS | 24 | 0.9790 | 0.99 | 0.7799 | 2.49 | 2.17 |
| EZ1 | SVM-RFE-PLS | 25 | 0.9660 | 1.26 | 0.8867 | 1.79 | 3.03 |
| EZ1 | MFE-LASSO-PLS | 11 | 0.9798 | 0.97 | 0.9383 | 1.43 | 4.08 |
| EZ2 | PLS | 142 | 0.9455 | 1.59 | 0.8363 | 2.15 | 2.52 |
| EZ2 | CARS-PLS | 25 | 0.9583 | 1.39 | 0.8589 | 2.00 | 2.71 |
| EZ2 | SVM-RFE-PLS | 15 | 0.9152 | 1.99 | 0.6127 | 3.31 | 1.64 |
| EZ2 | MFE-LASSO-PLS | 9 | 0.9407 | 1.66 | 0.8751 | 2.07 | 2.87 |
| Position | nVAR | RMSEP | RPD | |
|---|---|---|---|---|
| Top | 12.0 | 0.9362 | 1.75 | 3.98 |
| Middle | 18.0 | 0.9904 | 0.68 | 10.27 |
| Bottom | 18.3 | 0.9320 | 1.81 | 3.85 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Lu, S.; Sheng, J.; Xu, Y.; Zhang, F.; Song, X. Formulation-Aware SW-NIR Spectroscopic Sensing of Bread Staling Using Stratified Chemometric Modeling and Wavelength Selection. Chemosensors 2026, 14, 151. https://doi.org/10.3390/chemosensors14070151
Lu S, Sheng J, Xu Y, Zhang F, Song X. Formulation-Aware SW-NIR Spectroscopic Sensing of Bread Staling Using Stratified Chemometric Modeling and Wavelength Selection. Chemosensors. 2026; 14(7):151. https://doi.org/10.3390/chemosensors14070151
Chicago/Turabian StyleLu, Shuai, Jiakang Sheng, Yibo Xu, Fan Zhang, and Xingyu Song. 2026. "Formulation-Aware SW-NIR Spectroscopic Sensing of Bread Staling Using Stratified Chemometric Modeling and Wavelength Selection" Chemosensors 14, no. 7: 151. https://doi.org/10.3390/chemosensors14070151
APA StyleLu, S., Sheng, J., Xu, Y., Zhang, F., & Song, X. (2026). Formulation-Aware SW-NIR Spectroscopic Sensing of Bread Staling Using Stratified Chemometric Modeling and Wavelength Selection. Chemosensors, 14(7), 151. https://doi.org/10.3390/chemosensors14070151

