Optuna-optimized boosting models for predicting quality traits in multiple juice types using NIRS: Interpretability analysis via SHAP

Near-infrared spectroscopy (NIRS) is a potential rapid and reagent-free technique for assessing the quality of fruit juices. However, most existing models focus on single juice type and rely on linear algorithms such as partial least squares regression (PLSR), which are often inadequate for handling the nonlinear and heterogeneous characteristics of diverse juice matrices. To address this challenge, this study developed boosting models optimized by Optuna, including XGBoost, AdaBoost, and CatBoost, to predict four key quality traits, namely acidity, total phenolic compounds (TPC), total flavonoid content (TFC), and vitamin C across 4 types of fruit juice. The boosting models consistently outperformed PLSR, particularly for acidity, TPC, and vitamin C, achieving R p 2 values above 0.95 and RPD values exceeding 4.93. SHAP-based interpretability analysis further revealed that, in addition to typical NIRS absorption bands such as 1163 nm, 1169 nm, and 1193 nm located within the 1150 to 1210 nm region, non-classical regions including 1104 nm and several wavelengths between 1264 and 1322 nm also contributed positively to the model outputs. This demonstrates the capacity of boosting algorithms to capture informative spectral features from non-classical regions that are often overlooked by traditional linear models. Overall, this study demonstrates the value of combining automated hyperparameter optimization with interpretable machine learning, offering a robust and scalable framework for high-throughput, non-invasive quality control in the juice industry by NIRS. • NIR spectral data from different types of fruit juice were analyzed. • Non-linear boosting models were developed to predict quality traits of juice. • Optuna was used for efficient hyperparameter optimization of the boosting models. • SHAP analysis revealed the contribution of specific spectral bands to model output.

Authors

Institutions

Publication Details

Journal
Food Control
Published
2025-11-26
DOI
https://doi.org/10.1016/j.foodcont.2025.111878
Citations
2
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
1.50
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optuna-optimized boosting models for predicting quality traits in multiple juice types using NIRS: Interpretability analysis via SHAP

Juan Francisco García Martín, Rili Zha, Fangchen Ding, Miguel Ángel Rivero-Delgado
2 citations
Food Control
Spectroscopy and Chemometric Analyses
1.50
article

Optuna-optimized boosting models for predicting quality traits in multiple juice types using NIRS: Interpretability analysis via SHAP

Juan Francisco García Martín, Rili Zha, Fangchen Ding, Miguel Ángel Rivero-Delgado
article en
2 citations

Abstract

Near-infrared spectroscopy (NIRS) is a potential rapid and reagent-free technique for assessing the quality of fruit juices. However, most existing models focus on single juice type and rely on linear algorithms such as partial least squares regression (PLSR), which are often inadequate for handling the nonlinear and heterogeneous characteristics of diverse juice matrices. To address this challenge, this study developed boosting models optimized by Optuna, including XGBoost, AdaBoost, and CatBoost, to predict four key quality traits, namely acidity, total phenolic compounds (TPC), total flavonoid content (TFC), and vitamin C across 4 types of fruit juice. The boosting models consistently outperformed PLSR, particularly for acidity, TPC, and vitamin C, achieving R p 2 values above 0.95 and RPD values exceeding 4.93. SHAP-based interpretability analysis further revealed that, in addition to typical NIRS absorption bands such as 1163 nm, 1169 nm, and 1193 nm located within the 1150 to 1210 nm region, non-classical regions including 1104 nm and several wavelengths between 1264 and 1322 nm also contributed positively to the model outputs. This demonstrates the capacity of boosting algorithms to capture informative spectral features from non-classical regions that are often overlooked by traditional linear models. Overall, this study demonstrates the value of combining automated hyperparameter optimization with interpretable machine learning, offering a robust and scalable framework for high-throughput, non-invasive quality control in the juice industry by NIRS. • NIR spectral data from different types of fruit juice were analyzed. • Non-linear boosting models were developed to predict quality traits of juice. • Optuna was used for efficient hyperparameter optimization of the boosting models. • SHAP analysis revealed the contribution of specific spectral bands to model output.

Food ControlVol. 182
Universidad de Sevilla (ES)
Openalex Percentile: Top 16%
Spectroscopy and Chemometric Analyses
1.50
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.