Leakage-safe benchmarking of conventional chemometric and deep learning models for food NIR spectroscopy regression
Özet
Near-infrared (NIR) spectroscopy is widely used in food systems for rapid, non-destructive estimation of compositional and quality attributes. Although machine-learning and deep-learning models are increasingly reported for spectral regression, practical model selection is often hindered by heterogeneous validation setups and the risk of information leakage during preprocessing and tuning. In this study, we provide a leakage-safe benchmark across nine food-related regression tasks spanning different sample sizes and spectral dimensionalities. Conventional chemometric and regression baselines (partial least squares regression, ridge regression, and support vector regression) are compared with lightweight deep-learning baselines (a shallow artificial neural network and a one-dimensional convolutional neural network) under a unified leakage-safe evaluation framework combining nested cross-validation with acomplementary fixed held-out test-set assessment, fold-wise preprocessing, and repeated training for stochastic models. Performance is summarized primarily using prediction error (RMSE in nested cross-validation and RMSEP on the held-out test set), while the coefficient of determination is retained as a secondary descriptive measure, complemented by cross-validation and fixed held-out-test learning-curve analyses together with model-complexity analysis. Across both validation analyses, ridge regression achieved the largest number of numerical task-level wins, while partial least squares regression and support vector regression remained competitive across multiple tasks. Paired randomization tests following van der Voet further showed that some small numerical differences between models were not statistically distinguishable. Artificial neural network and one-dimensional convolutional neural network baselines did not provide a reliable generalization advantage and showed greater variability in some data-limited settings. From a food-measurement perspective, these findings indicate that well-validated conventional models remain a strong default for routine NIR calibration workflows and non-destructive quality assessment. Deep learning appears most justified when calibration settings provide larger datasets, stronger experimental control, or spectroscopy-specific inductive bias that can translate added model complexity into practical measurement gains. Overall, this study serves as a controlled benchmark and reference for model selection under realistic food-spectroscopy data regimes.
Anahtar Kelimeler
- Scopus
- 0
- WoS
- 0
- OpenAlex
- 1
Tam Kayıt
| Alan | Değer | Dil |
|---|---|---|
| dc.contributor.author | Akpolat, Hacer | |
| dc.contributor.author | Akpolat, Mehmet Zahid | |
| dc.date.accessioned | 2026-10-29T19:08:19.615209174Z | |
| dc.date.available | 2026-10-29T19:08:19.615209174Z | |
| dc.date.issued | 2026 | |
| dc.description.abstract | Near-infrared (NIR) spectroscopy is widely used in food systems for rapid, non-destructive estimation of compositional and quality attributes. Although machine-learning and deep-learning models are increasingly reported for spectral regression, practical model selection is often hindered by heterogeneous validation setups and the risk of information leakage during preprocessing and tuning. In this study, we provide a leakage-safe benchmark across nine food-related regression tasks spanning different sample sizes and spectral dimensionalities. Conventional chemometric and regression baselines (partial least squares regression, ridge regression, and support vector regression) are compared with lightweight deep-learning baselines (a shallow artificial neural network and a one-dimensional convolutional neural network) under a unified leakage-safe evaluation framework combining nested cross-validation with acomplementary fixed held-out test-set assessment, fold-wise preprocessing, and repeated training for stochastic models. Performance is summarized primarily using prediction error (RMSE in nested cross-validation and RMSEP on the held-out test set), while the coefficient of determination is retained as a secondary descriptive measure, complemented by cross-validation and fixed held-out-test learning-curve analyses together with model-complexity analysis. Across both validation analyses, ridge regression achieved the largest number of numerical task-level wins, while partial least squares regression and support vector regression remained competitive across multiple tasks. Paired randomization tests following van der Voet further showed that some small numerical differences between models were not statistically distinguishable. Artificial neural network and one-dimensional convolutional neural network baselines did not provide a reliable generalization advantage and showed greater variability in some data-limited settings. From a food-measurement perspective, these findings indicate that well-validated conventional models remain a strong default for routine NIR calibration workflows and non-destructive quality assessment. Deep learning appears most justified when calibration settings provide larger datasets, stronger experimental control, or spectroscopy-specific inductive bias that can translate added model complexity into practical measurement gains. Overall, this study serves as a controlled benchmark and reference for model selection under realistic food-spectroscopy data regimes. | |
| dc.identifier.articlenumber | 105881 | |
| dc.identifier.doi | 10.1016/j.chemolab.2026.105881 | |
| dc.identifier.eissn | 1873-3239 | |
| dc.identifier.issn | 0169-7439 | |
| dc.identifier.scopus | 2-s2.0-105048843610 | |
| dc.identifier.uri | https://rdlopen.rawdatalibrary.net/r/bayburt/11378 | |
| dc.identifier.volume | 279 | |
| dc.identifier.wos | WOS:001867799300001 | |
| dc.language.iso | en | |
| dc.publisher | Elsevier B.V. | |
| dc.relation.ispartof | Chemometrics and Intelligent Laboratory Systems | |
| dc.rights | info:eu-repo/semantics/closedAccess | |
| dc.subject | Calibration modeling | |
| dc.subject | Chemometrics | |
| dc.subject | Deep learning | |
| dc.subject | Food spectroscopy | |
| dc.subject | Machine learning | |
| dc.subject | Near-infrared spectroscopy | |
| dc.subject.classification | Automation & Control Systems | |
| dc.subject.classification | Chemistry, Analytical | |
| dc.subject.classification | Computer Science, Artificial Intelligence | |
| dc.subject.classification | Instruments & Instrumentation | |
| dc.subject.classification | Mathematics, Interdisciplinary Applications | |
| dc.subject.classification | Statistics & Probability | |
| dc.subject.classification | Chemistry | |
| dc.subject.classification | Computer Science | |
| dc.subject.classification | Mathematics | |
| dc.subject.other | Benchmarking | |
| dc.subject.other | Calibration | |
| dc.subject.other | Convolution | |
| dc.subject.other | Convolutional neural networks | |
| dc.subject.other | Information leakage | |
| dc.subject.other | Infrared devices | |
| dc.subject.other | Learning systems | |
| dc.subject.other | Least squares approximations | |
| dc.subject.other | Quality control | |
| dc.subject.other | Random processes | |
| dc.subject.other | Sampling | |
| dc.subject.other | Spectrum analysis | |
| dc.subject.other | Statistical tests | |
| dc.subject.other | Stochastic models | |
| dc.subject.other | Support vector regression | |
| dc.subject.other | Calibration model | |
| dc.subject.other | Chemometrices | |
| dc.subject.other | Deep learning | |
| dc.subject.other | Food spectroscopy | |
| dc.subject.other | Infrared: spectroscopy | |
| dc.subject.other | Learning models | |
| dc.subject.other | Machine-learning | |
| dc.subject.other | Near Infrared | |
| dc.subject.other | Near-infrared | |
| dc.subject.other | Non destructive | |
| dc.subject.other | article | |
| dc.subject.other | artificial neural network | |
| dc.subject.other | chemometrics | |
| dc.subject.other | controlled study | |
| dc.subject.other | convolutional neural network | |
| dc.subject.other | cross validation | |
| dc.subject.other | female | |
| dc.subject.other | human | |
| dc.subject.other | infrared radiation | |
| dc.subject.other | learning curve | |
| dc.subject.other | machine learning | |
| dc.subject.other | near infrared spectroscopy | |
| dc.subject.other | nested cross validation | |
| dc.subject.other | partial least squares regression | |
| dc.subject.other | prediction error | |
| dc.subject.other | ridge regression | |
| dc.subject.other | root mean squared error | |
| dc.subject.other | sample size | |
| dc.subject.other | spectroscopy | |
| dc.subject.other | stochastic model | |
| dc.subject.other | support vector machine | |
| dc.subject.other | workflow | |
| dc.title | Leakage-safe benchmarking of conventional chemometric and deep learning models for food NIR spectroscopy regression | |
| dc.type | Article | |
| rdl.citation.openalex | 1 | |
| rdl.citation.scopus | 0 | |
| rdl.citation.wos | 0 | |
| rdl.oa.status | closed | |
| rdl.scopus.quartile | Q2 | |
| rdl.sdg | SDG02 | |
| rdl.source.index | SCOPUS | |
| rdl.source.index | WOS | |
| rdl.wos.index | Science Citation Index Expanded (SCI-EXPANDED) |

