Training noise sensitivity analysis of default and tuned classifiers for NIR spectroscopic detection of pinto bean adulteration

Abstract The detection of fraudulent pinto bean adulteration, typically driven by the introduction of low-grade specimens with the Hard-to-Cook (HTC) defect into premium batches, is a persistent challenge in the legume industry. Near-infrared (NIR) spectroscopy combined with machine learning offers a non-destructive route for cooking-quality grading, yet industrial deployment remains constrained by sensor noise, environmental variability, and the CPU-only compute budget of in-line grading hardware. In this setting, the question of which classifier to deploy is further conditioned by whether an offline hyperparameter search can be afforded or not. To address this gap, four CPU-deployable classifiers (PLS-DA, Bagging, CatBoost, and a compact Multi-Layer Perceptron) are benchmarked under two complementary configurations (out-of-the-box and GridSearchCV-tuned) against four physically motivated training-noise families (additive Gaussian, multiplicative scatter, baseline drift, and Heteroscedastic Gaussian), across six intensity levels and 100 Monte Carlo train-test splits, with all results evaluated on clean test data. The analysis yields a regime-dependent ranking: the tuned PLS-DA is the least sensitive classifier when an offline search is feasible, whereas the out-of-the-box MLP is preferable under tight deployment budgets. Under Heteroscedastic Gaussian noise the degradation pattern is broadly aligned with that of additive Gaussian noise at the same mean per-feature intensity, with the tuned PLS-DA retaining its lead but exhibiting a markedly larger Accuracy dispersion as the wavelength-dependent variance interacts with the latent decomposition. The SHAP interpretability analysis further reveals that the additional latent capacity introduced by tuning is specifically redirected towards the 1400–1500 nm band, the first O-H overtone associated with water, which is the spectral region most directly coupled to the hydration kinetics that define the HTC defect. These findings translate into explicit, deployment-oriented guidance for classifier selection in CPU-based spectroscopic grading of pinto beans.

Authors

Institutions

Publication Details

Journal
Discover Food
Published
2026-07-30
DOI
https://doi.org/10.1007/s44187-026-01178-3
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Training noise sensitivity analysis of default and tuned classifiers for NIR spectroscopic detection of pinto bean adulteration

Juan Ignacio Arribas, Dorrin Sotoudeh, Nadia Saadati, Mohammadreza Ahmaditeshnizi et al.
Discover Food
Spectroscopy and Chemometric Analyses
article

Training noise sensitivity analysis of default and tuned classifiers for NIR spectroscopic detection of pinto bean adulteration

Juan Ignacio Arribas, Dorrin Sotoudeh, Nadia Saadati, Mohammadreza Ahmaditeshnizi, Ginés García-Mateos, Sajad Sabzi, Ruben Fernandez-Beltran, Raziyeh Pourdarbani
article en

Abstract

Abstract The detection of fraudulent pinto bean adulteration, typically driven by the introduction of low-grade specimens with the Hard-to-Cook (HTC) defect into premium batches, is a persistent challenge in the legume industry. Near-infrared (NIR) spectroscopy combined with machine learning offers a non-destructive route for cooking-quality grading, yet industrial deployment remains constrained by sensor noise, environmental variability, and the CPU-only compute budget of in-line grading hardware. In this setting, the question of which classifier to deploy is further conditioned by whether an offline hyperparameter search can be afforded or not. To address this gap, four CPU-deployable classifiers (PLS-DA, Bagging, CatBoost, and a compact Multi-Layer Perceptron) are benchmarked under two complementary configurations (out-of-the-box and GridSearchCV-tuned) against four physically motivated training-noise families (additive Gaussian, multiplicative scatter, baseline drift, and Heteroscedastic Gaussian), across six intensity levels and 100 Monte Carlo train-test splits, with all results evaluated on clean test data. The analysis yields a regime-dependent ranking: the tuned PLS-DA is the least sensitive classifier when an offline search is feasible, whereas the out-of-the-box MLP is preferable under tight deployment budgets. Under Heteroscedastic Gaussian noise the degradation pattern is broadly aligned with that of additive Gaussian noise at the same mean per-feature intensity, with the tuned PLS-DA retaining its lead but exhibiting a markedly larger Accuracy dispersion as the wavelength-dependent variance interacts with the latent decomposition. The SHAP interpretability analysis further reveals that the additional latent capacity introduced by tuning is specifically redirected towards the 1400–1500 nm band, the first O-H overtone associated with water, which is the spectral region most directly coupled to the hydration kinetics that define the HTC defect. These findings translate into explicit, deployment-oriented guidance for classifier selection in CPU-based spectroscopic grading of pinto beans.

Discover Food
Universidad de Valladolid (ES), Universidad de Salamanca (ES), Aerospace Research Institute (IR), Gorgan University of Agricultural Sciences and Natural Resources (IR), University of Mohaghegh Ardabili (IR), Universidad de Murcia (ES)
Ministerio de Ciencia e Innovación, Junta de Castilla y León
Industry, innovation and infrastructure
Openalex Percentile: Top 13%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.