Prediction of Total Soluble Solids in Apricot Using Adaptive Boosting Ensemble Model Combined with NIR and High-Frequency UVE-Selected Variables

Feng Gao, Yage Xing, Jialong Li, Lin Guo, Yiye Sun, Wen Shi, Leiming YuanMolecules 2025 · DOI

TL;DR

This paper presents a novel framework for non-destructively predicting apricot Total Soluble Solids (TSS) using Near-Infrared (NIR) spectroscopy. By combining Uninformative Variable Elimination (UVE) for feature selection with an Adaptive Boosting (AdaBoost) ensemble model, they achieved a highly accurate prediction model, outperforming traditional methods.

What Problem Does This Paper Address?

Determining the ripeness and quality of fruits like apricots is crucial for harvest timing, grading, and post-harvest management. Traditionally, this involves destructive methods (juicing the fruit), which are time-consuming, labor-intensive, and destroy the sample. While Near-Infrared (NIR) spectroscopy offers a rapid, non-destructive alternative, existing models often struggle with generalization and robustness. This paper aims to overcome these limitations by developing a more sophisticated approach that leverages advanced feature selection and ensemble learning to improve prediction accuracy and reliability for apricot TSS.

Methods

The study employs a multi-stage approach:

  • Spectral Acquisition: NIR spectra (1000-2500 nm) were collected from apricot samples.
  • Preprocessing:
    • Robust Principal Component Analysis (ROBPCA): Used to identify and remove spectral outliers that could negatively impact model performance.
  • Z-score Normalization: Applied to standardize spectral data and improve model stability.
  • Feature Selection (UVE): The Uninformative Variable Elimination (UVE) method was run 100 times. This iterative process helps identify characteristic wavelengths that are consistently informative for predicting TSS.
  • Frequency-Based Categorization: Selected wavelengths were categorized into three groups based on their selection frequency: high-frequency (≥90 times), medium-frequency (30-90 times), and low-frequency (≤30 times). This step is crucial for understanding the stability and importance of different spectral features.
  • Base Model Development: Partial Least Squares Regression (PLSR) models were built for each of the three frequency subsets of selected wavelengths.
  • Ensemble Learning (AdaBoost): The Adaptive Boosting (AdaBoost) algorithm was used to combine the predictions from the three base PLSR models. AdaBoost dynamically assigns weights to each base model, giving more importance to models that perform better on challenging samples, thereby enhancing overall prediction accuracy and robustness.

Datasets

The study utilized 195 apricot samples collected from multiple orchards in Aral City, Xinjiang, China. These samples were screened for damage and rot. The dataset was then divided into calibration (130 samples) and prediction (59 samples) sets using the Kennard-Stone (KS) method to ensure representativeness. No new benchmark datasets were introduced.

Key Insights and Ideas

  • High-Frequency Wavelengths are Key: The research strongly suggests that spectral variables selected with high frequency (≥90 times) by UVE are most strongly correlated with apricot TSS. This highlights the importance of stable, consistently identified spectral features.
  • Ensemble Power: Combining multiple, individually optimized models (even if they are "weak learners" like PLSR on specific wavelength subsets) through an ensemble method like AdaBoost can significantly improve predictive performance beyond any single model.
  • Iterative UVE for Robustness: Running UVE multiple times and analyzing the frequency of selected variables is a powerful strategy to overcome the inherent variability of single-run UVE and identify truly informative spectral regions.
  • Synergy of Feature Selection and Ensemble Learning: The combination of UVE for intelligent feature reduction and AdaBoost for model integration is more effective than either technique alone or simpler preprocessing methods.

Key Results

  • The optimized UVE-PLS-AdaBoost model achieved the best performance, with a prediction correlation coefficient ($R_p$) of 0.889, a Root Mean Square Error of Prediction (RMSEP) of 1.267, and a Mean Absolute Error (MAE) of 0.994.
  • The model built using high-frequency wavelengths (M1: Freq ≥90) outperformed models built on medium or low-frequency subsets, and also surpassed models using full spectra or all characteristic wavelengths.
  • The AdaBoost ensemble model demonstrated superior predictive accuracy and generalization capability compared to single-model approaches.

Limitations and Future Work

  • Generalizability to Other Varieties/Regions: While the study focused on apricots from Xinjiang, the authors suggest that the proposed framework can serve as a reference for quality evaluation of other fruits. However, further validation on different apricot varieties and geographical regions would be beneficial.
  • Exploration of Advanced Ensemble Methods: The authors propose exploring more advanced ensemble learning methods in future research to further optimize prediction accuracy and robustness.
  • Impact of Environmental Factors: While spectral preprocessing addresses some instrumental and environmental influences, further investigation into how specific environmental factors might impact spectral data and model performance could be valuable.

Summary updated

Abstract

Total soluble solids (TSSs) serve as a crucial maturity indicator and quality determinant in apricots, influencing harvest timing and postharvest management decisions. This study develops an advanced framework integrating adaptive boosting (Adaboost) ensemble learning with high-frequency spectral variables selected by uninformative variable elimination (UVE) for the rapid non-destructive detection of fruit quality. Near-infrared (NIR) spectra (1000~2500 nm) were acquired and then preprocessed through robust principal component analysis (ROBPCA) for outlier detection combined with z-score normalization for spectral pretreatment. Subsequent data processes included three steps: (1) 100 continuous runs of UVE identified characteristic wavelengths, which were classified into three levels-high-frequency (≥90 times), medium-frequency (30-90 times), and low-frequency (≤30 times) subsets; (2) the development of the base optimal partial least squares regression (PLSR) models for each wavelength subset; and (3) the execution of adaptive weight optimization through the Adaboost ensemble algorithm. The experimental findings revealed the following: (1) The model established based on high-frequency wavelengths outperformed both full-spectrum model and full-characteristic wavelength model. (2) The optimized UVE-PLS-Adaboost model achieved the peak performance (R = 0.889, RMSEP = 1.267, MAE = 0.994). This research shows that the UVE-Adaboost fusion method enhances model prediction accuracy and generalization ability through multi-dimensional feature optimization and model weight allocation. The proposed framework enables the rapid, non-destructive detection of apricot TSSs and provides a reference for the quality evaluation of other fruits in agricultural applications.
BibTeX
@inproceedings{gao2025prediction,
  author = {Feng Gao and Yage Xing and Jialong Li and Lin Guo and Yiye Sun and Wen Shi and Leiming Yuan},
  title = {{Prediction of Total Soluble Solids in Apricot Using Adaptive Boosting Ensemble Model Combined with NIR and High-Frequency UVE-Selected Variables}},
  booktitle = {Molecules},
  year = {2025},
  doi = {10.3390/molecules30071543},
}
Figure