Skip to Content
FoodsFoods
  • Article
  • Open Access

4 September 2026

15 Pages

Establishment of a Near-Infrared Spectroscopy-Based Screening Framework for Key Quality Indicators of Cassava Varieties

,
,
,
,
,
,
,
and
1
Biotechnology Research Institute, Shanghai Academy of Agricultural Sciences, Shanghai 201106, China
2
School of Life Science, Shanxi University, Taiyuan 030006, China
3
Tropical Crops Genetic Resources Institute, Chinese Academy of Tropical Agricultural Sciences, Haikou 571101, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Food Analytical Methods

Abstract

Cassava is the sixth most important food crop globally, valued for its high starch accumulation in tuberous roots, which supports diverse applications in food processing and industrial production. Quality evaluation is vital for its utilization, yet rapid and efficient assessment methods remain underexplored. In this study, 67 cassava varieties were collected to assess their nutritional quality. Near-infrared spectroscopy (NIRS) in the wavenumber range of 11,000–4000 cm−1 was applied to predict key quality traits of cassava flour from different varieties. Combined with partial least squares (PLS), principal component analysis (PCA), and internal cross-validation, a preliminary NIRS-based screening framework for cassava flour quality indicators was established. The protein and moisture models achieved an excellent quantitative prediction performance ( R c v 2 > 0.82, RPD > 4.0), qualifying them as reliable tools for routine analysis. In contrast, the models for starch, amylose, and amylopectin showed substantial overfitting with low cross-validation accuracies ( R c v 2 = 0.19–0.38), restricting their use to only preliminary screening. The fat model performed poorly ( R c v 2 = 0.16, RPD = 1.08), rendering it unsuitable for any quantitative or screening application. This study provides an exploratory screening framework for rapid multi-index evaluation of cassava flour quality. However, the marked variability in predictive performance across constituents highlights the critical need for external validation to improve model robustness.

1. Introduction

Cassava (Manihot esculenta Crantz) is an important root crop in tropical and subtropical regions, and it serves as a staple food for over one billion people worldwide [1]. Cassava originated in South American countries and gradually spread to Asia and Africa after the 16th century [2]. According to the Food and Agriculture Organization (FAO) of the United Nations, the global cassava production exceeded 300 million tons in 2022, which demonstrates the increasing global demand for cassava. Therefore, cassava is crucial for ensuring food security, not only because of its high adaptability to drought and low-fertility soils, but more importantly because it has made important contributions to alleviating poverty and hunger. It is also one of the most important staple foods in the global tropics (especially in Africa) [3]. Cassava roots typically contain 80–90% starch, and due to their unique thickening properties and high starch content, they are widely used in both the food and non-food industries [4]. The chemical composition of cassava starch is typically closely related to its cultivar, while the traditional reliance on stem segment vegetative propagation is prone to causing germplasm degradation, which in turn affects starch quality [5]. However, the functional characteristics and quality of cassava are crucial for breeding and market application development. Currently, there are hundreds of cassava varieties on the market, but the quality varies widely, and there is no unified evaluation standard. Traditional cassava quality detection mainly includes the detection of food safety (e.g., cyanide content) and commodity quality (e.g., starch content, variety authenticity) [6]. Hence, a rapid method capable of concurrently assessing multiple components is urgently required.
Near-infrared spectroscopy (NIRS) is a rapid, efficient, convenient, and non-destructive analytical technique. Compared to traditional chemical methods, it has gained significant attention in food quality analysis due to its distinct advantages, such as no complex sample preparation, no chemical reagents, no pollution, environmental friendliness, and ease of operation [7,8]. The modern application of NIRS can be traced back to the late 1950s, when Norris used this technology for rapid detection of crop quality [9]. As an indirect analytical technique, NIRS does not directly measure the substance itself, but analyzes the response of the substance to electromagnetic radiation in the 12,500–4000 cm−1 (i.e., 800–2500 nm) band, according to the position, shape and intensity of the formed spectrum. The characteristics are used to infer its composition and content [10,11]. In recent years, Khamsopha et al. have employed near-infrared hyperspectral imaging to quantitatively predict the adulteration of cassava starch [12]. Studies have shown that NIRS could not only measure basic components, but also predict the functional properties of cassava granules (water absorption capacity, swelling power, bulk density, and dispersibility), which are used to assess the food quality of cassava granule products [13]. However, NIRS detection models for assessing the quality of different cassava varieties remain relatively scarce at present. Most focus on predicting single or limited components, resulting in limitations during practical application. The robustness and transferability of these models are often limited, because the accuracy of their prediction models is highly dependent on the representativeness, diversity and quantity of the samples used to construct the models, while the calibration samples rarely cover a wide range of varieties, origin and growth conditions. Therefore, there is currently a lack of a comprehensive and reliable evaluation system that could simultaneously predict multiple key quality traits in diversified cassava germplasm resources, which is crucial for variety breeding and product development.
It is hypothesized that NIRS, combined with basic quality data from diverse cassava varieties, enables the construction of a rapid screening model that accurately predicts key quality indicators. To test this hypothesis, 67 cassava samples were collected and analyzed for basic nutritional components and color traits. Based on the collected spectral information, a quantitative prediction model for key quality indicators was established using PLS. In addition, the relationship between these qualities of cassava flour was further determined by correlation analysis and principal component analysis (PCA). This study provides technical references for the rapid evaluation of cassava quality and indicates the improvement direction for subsequent model optimization.

2. Materials and Methods

2.1. Sample Collection and Preparation

A total of 67 cassava varieties (Table S1) were collected from the cassava planting resource nursery of Danzhou Agricultural Base, Institute of Tropical Crop Genetic Resources, Chinese Academy of Tropical Agricultural Sciences. For each variety, three plants were randomly selected from the same field test area, and all tubers from each plant were harvested. All varieties were planted under uniform field conditions with consistent soil type, irrigation and agronomic management, and harvested after a 12-month growth cycle. The harvested cassava tubers were peeled, cut into small pieces, and dried at 50 °C. The dried pieces were ground through a 60-mesh sieve, and the obtained powder was sealed in plastic bags and stored at 4 °C. The analytical grade copper sulfate, potassium sulfate, glacial acetic acid and calcium chloride trihydrates were obtained from Hengxing Chemical Reagent Manufacturing Co., Ltd. (Tianjin, China). The analytical grade hydrochloric acid, sulfuric acid and hydrogen peroxide were obtained from Chinese Medicine Chemical Reagent Co., Ltd. (Shanghai, China).

2.2. Measurement of Color Characteristics

All cassava flour color measurements were performed using the CR-400/410 colorimeter (Konica Minolta, Inc., Osaka, Japan). All our tests were conducted in triplicate. Before the test, the instrument was calibrated using a white standard plate (L* = 92.34, a* = 0.13, b* = 3.41). The overall color difference (ΔE*) was determined using Equation (1).
∆ E = ∆ L * 2 + ∆ a * 2 + ∆ b * 2
where L* is the lightness (0 for black and 100 for white), a* is redness (+) to greenness (−), and b* is yellowness (+) to blueness (−).

2.3. Nutritional Quality Testing

The primary nutritional components are moisture, protein, fat, and starch-related content. Moisture content was determined according to GB5009.3-2016. The protein content was detected according to the Kjeldahl method in GB5009.5-2016. The principle was to completely convert organic nitrogen into inorganic ammonium salt by strong acid and catalyst, and then determine the amount of ammonium salt, to calculate the total nitrogen content in the sample. The fat content is detected according to the soxhlet extraction method in GB5009.6-2016 [8]. The principle is to use the solvent reflux and siphon action to continuously and automatically extract the soluble components in the solid material for multiple cycles, thereby achieving efficient and thorough separation and enrichment. The total starch content and amylopectin content were determined using the total starch kit and amylose/amylopectin kit (Megazyme International Ireland Ltd., Wicklow, Ireland; total starch assay kit catalog number: K-TSTA-100A; amylose/amylopectin assay kit catalog number: K-AMYL). The difference between total starch and amylopectin is the content of amylose. For all tests each sample was measured three times independently, and the arithmetic mean value was taken as the result.

2.4. NIRS Acquisition

Before the experiment begins, preheat the instrument for 30 min while maintaining a constant experimental environment at 25 °C and 60% relative humidity [14]. All cassava flour samples were spectroscopically analyzed using an Antaris II FT-NIR spectrometer (Thermo Electron Co., Waltham, MA, USA) with a light-blocking sample cover in an opaque environment. Additionally, we collected empty rotary quartz sample cups as background samples. The NIRS of cassava flour was performed 32 times in the wavenumber range of 11,000–4000 cm−1, with a resolution of 8 cm−1. Each cassava flour sample was scanned three times, and the three repeated measured spectra were averaged to obtain a representative spectrum of each sample, which was then used for subsequent model calibration. In this study, TQ Analyst 9.0 software was used to analyze near-infrared spectroscopy (NIRS) spectra and model construction.

2.5. Establishment of NIRS Model

2.5.1. Removal of Outliers

Before spectral preprocessing, a combination of Mahalanobis distance and chi-square test was used to remove all outliers in the original spectrum to ensure the standardization of model establishment. Any sample with a Mahalanobis distance exceeding 11.07 was considered a spectral outlier and removed. The number of spectral outliers removed was 3. The elimination of these three samples was completed before any spectral preprocessing and model establishment. Mahalanobis distance outlier detection was only used for spectrally abnormal samples, not nutrient extreme values. At the same time, prior to initiating data analysis, we standardized all obtained indicator concentrations.

2.5.2. Spectra Pretreatment

During the spectral data acquisition process, cassava flour is susceptible to influences from the surrounding environment, equipment stability, its own particle size, uniformity, and other interfering factors [15]. Therefore, to minimize various interfering information and ensure the accuracy and stability of the model analysis, we employ multiple techniques to preprocess the NIRS diffuse reflectance spectral data. These techniques mainly include multiplicative signal correction (MSC) and standard normal variate (SNV). Meanwhile, to avoid spectral shift or drift, we employ first-order and second-order derivatives for processing, aiming to eliminate the offset baseline and background interference. In addition, the Savitzky–Golay filter (SGF) and Norris derivative filter (NDF) demonstrate denoising and smoothing effects on spectral data to improve the spectral signal-to-noise ratio [16]. In this study, the above methods were used for comprehensive pretreatment. Through systematic combination screening procedures, the best spectral pretreatment method was selected to determine the most effective method. For each combination, the PLS model was constructed and evaluated using 10-fold cross-validation RPD (residual predictive deviation) as the ranking criterion.

2.5.3. Choice of Modeling Method

PLS, as the most used calibration method, was employed in this study. PLS is widely used in spectral analysis, as it can compress useful information within spectral bands into a low number of optimal latent variables (LVs), effectively addressing regression problems where the number of variables significantly exceeds the sample size [17,18]. In addition, the LVs of each PLS model are based on the cross-validation root mean square error (RMSECV) as the main selection criterion. Table 1 lists the final number of latent variables selected for each component, ranging from 6 to 10, with most models using 8–10 latent variables. Although these values are small relative to the sample size (n = 67), we acknowledge that there is still a certain risk of overfitting when using up to 10 LVs, especially in the case of weak chemical signals or ones masked by dominant matrix components (such as fat and starch-related components). Compared to the traditional multiple linear regression model, the PLS regression model is more effective at distinguishing system information from noise. PLS has been widely used for predicting potato varieties, corn varieties, and cereal varieties [19,20].
Table 1. The content of basic nutrients in cassava flour using the chemical method.

2.5.4. Validation of the Model

In the process of establishing the NIRS model, it is usually necessary to verify the model to confirm the fitting degree of the model. At the same time, relevant data are needed to further verify the accuracy of the model. To evaluate the predictive performance and robustness of the model, this study employs K-fold cross-validation. Specifically, 67 samples were grouped according to their variety attribution to ensure that all replicates of the same variety were divided into the same fold during the cross-validation process. Subsequently, K = 10-fold cross-validation was performed. Each subset was successively treated as the validation set, while the remaining K-1 subsets served as the training set for model training and prediction. This process is repeated K times to ensure that each sample is predicted once. We used the calibration coefficient of determination ( R c 2 ), calibration root mean square error (RMSEC), cross-validation coefficient of determination ( R c v 2 ), cross-validation root mean square error (RMSECV), and residual prediction deviation (RPD) values to evaluate the predictive ability of the NIRS model. The higher the RPD value, the higher the accuracy and predictive ability of the model. Generally speaking, RPD > 2.5 indicates good predictive ability, 2.0–2.5 approximates quantitative screening, and <2.0 is not recommended for prediction [21].

2.6. Statistical Analysis

The data were expressed as the mean ± standard deviation (Mean ± S.D.) and analysis was performed by one-way ANOVA using IBM SPSS statistical software version 22.0. Statistical graphs and principal component analysis (PCA) were performed using Origin 2024 (Origin Lab Inc., Northampton, MA, USA). p < 0.05 was significant.

3. Results

3.1. Color Characteristics

Color is an important visual characteristic that may influence consumer choices and plays a significant role in assessing food quality [22]. We measured the L*, a*, and b* values of all samples, with the results shown in Figure 1A. The L* value represents brightness and is an important parameter for evaluating color. The higher the L* value, the brighter the color of the sample. a* ranges from red (+) to green (−), and b* ranges from yellow (+) to blue (−) [8]. Cassava roots are predominantly white, whereas yellow varieties are less common but possess higher nutritional value and greater consumer preference. In our study, GS9 showed the highest b* value. The significant difference in b* value mainly reflected the difference in carotenoid (especially β-carotene) content among different varieties, which was a fast and effective indirect index for evaluating the nutritional quality of cassava [23]. Notably, recent metabolomic studies have also revealed that anthocyanins, catechin derivatives, and phenolic acids accumulate at higher levels in yellow-rooted cassava compared with white-rooted ones [24]. Additionally, this indicator is consistent with our visual observations.
Figure 1. Descriptive statistical analysis results of color parameters (A) and major components (B,C) of cassava flour from 67 varieties. (A) L*, a*, b*, and ΔE values; (B) protein, fat, and moisture contents; (C) starch, amylose, and amylopectin contents.

3.2. Nutrient Content

3.2.1. Protein and Fat

In our study, the protein content of 67 cassava varieties ranged from 1.17% to 3.22% (Figure 1B and Table 1), which is consistent with the findings reported by Borku et al. [25]. The fat content was found to range from 0.13% to 1.30%. These low levels of protein and fat indicate that the dry matter of cassava tuber flour is predominantly composed of carbohydrates, supporting the role of cassava as a staple food that serves as a major energy source for humans.

3.2.2. Starch

Starch is the primary component of cassava tuber dry matter. As shown in Table 1, the highest total starch content of cassava varieties was 90.26%, and the lowest was 50.57%. This variation is due to genetic differences among varieties, consistent with previous reports [26]. Starch is conventionally classified into amylose and amylopectin, and their relative proportions are known to influence functional properties such as gelatinization, retrogradation, and textural characteristics [27]. In our study, amylose content ranged from 16.67% to 25.67%, while amylopectin content ranged from 56.04% to 65.66% (Table 1). Among the varieties analyzed, SC9 exhibited the highest total starch (90.26%) and the highest amylose content (25.67%), whereas GR12 showed the highest amylopectin content (65.66%). Based on general starch chemistry principles, these compositional differences suggest that the tested varieties may differ in their processing suitability. High-amylose starches are generally associated with a higher retrogradation tendency and firmer gel textures, whereas high-amylopectin starches tend to produce softer and more viscous products. However, because the present study focused on compositional analysis rather than direct measurement of functional attributes—such as pasting behavior, swelling power, gel strength, or digestibility—these inferred differences remain hypothetical and require experimental validation. Future work should test the processing performance of these varieties to confirm their suitability for specific uses.

3.3. Establishment of NIRS Model

3.3.1. Spectral Characteristics

Figure 2 shows the NIRS of all cassava flour samples in the range from 11,000 cm−1 to 4000 cm−1. The diffuse reflectance spectra of all samples were essentially similar. Cassava consists primarily of carbohydrates, and several major characteristic peaks were also observed in the spectrum. The absorption peaks in the near-infrared region are primarily caused by the stretching vibrations of C–H, O–H, N–H, C=O, and several other chemical bonds [28]. As shown in Figure 2, strong absorption bands were observed at approximately 5000 cm−1 and in the 11,000–8000 cm−1 region. In contrast, in the wavenumber range of 9000 cm−1 to 5000 cm−1, the absorbance values generally remained between 0.4 and 0.6, with no significant absorption peaks. These spectral differences may be attributed to the complex composition of cassava, in which different components correspond to different functional groups, and the same group may exhibit varying absorption features depending on its chemical environment. It is worth noting that previous reports have pointed out that the absorption peak near 10,000 cm−1 is related to starch content, which is likely to be caused by C–H and C–H2 stretching vibrations [29]. Furthermore, the characteristic peak near 6760 cm−1 corresponds to the first overtone of N-H stretching vibration, which may indicate the presence of protein-related absorption [28]. The absorption peaks at 5300 cm−1 to 5000 cm−1 are related to the first overtone of C–H stretching and H–O–H deformation [30]. The absorption peak near 4800 cm−1 is related to the third overtone of O–H bending or C–O stretching in carbohydrates [28,31]. The 4400–4300 cm−1 region exhibits a dense distribution of C–H bond stretching peaks, which are commonly observed in various organic compounds such as lipids, carbohydrates, and proteins [32,33]. It is worth noting that the prediction performance of the PLS model does not require a single absorption band to be uniquely assigned to the target component; instead, the model exploits the entire spectral region and captures the indirect correlation. Therefore, although we have explained the near-infrared spectral bands, these spectral bands have the characteristics of band overlap and indirect correlation. If accurate analysis of specific components is required, the results may not be accurate enough.
Figure 2. Raw three-dimensional NIRS of the cassava flour samples (n = 67; different cassava flour varieties correspond to different spectral data).

3.3.2. Sample Removal of Outlier Results

This study involved 67 cassava flour samples from different varieties, whose inherent compositional variability introduced significant spectral differences in NIRS analysis. To reduce measurement errors and improve predictive accuracy, we identified and removed spectral outliers using Mahalanobis distance combined with chi-square testing (95%). Mahalanobis distance is a multivariate measure of the distance between the sample and the mean value of the spectral matrix. The removal of outliers corrects the deviation of the extreme spectrum, and stabilizes the model without exaggerating the correlation. In this study, the critical Mahalanobis distance threshold was calculated to be 11.07 (Figure 3); any samples exceeding this value were considered outliers and excluded from further analysis. It should be emphasized that the outlier removal was based solely on spectral Mahalanobis distances and was independent of chemical reference values. Accordingly, three samples, SC9, 007 and 021, were excluded. After eliminating outliers, the final calibration set contained 64 samples, which were used to develop prediction models for basic nutritional components. Importantly, the remaining 64 samples still covered almost the entire compositional range of the original 67 samples, indicating that the removal of spectral outliers did not compromise the chemical diversity of the calibration set.
Figure 3. Distribution of Mahalanobis distances of cassava protein (A), fat (B), moisture (C), starch (D), amylose (E), and amylopectin (F).

3.3.3. Determination of the Optimal Spectral Preprocessing Method

During near-infrared spectral analysis, a single processing method often fails to effectively and accurately predict the model. Therefore, spectral preprocessing is typically performed by selecting several individual or combined methods to enhance the signal-to-noise ratio, eliminate interfering information, and ultimately establish stable and reliable models [34]. We use correlation coefficients, standard errors, and residual prediction deviation values to determine the optimal spectral processing method. As shown in Table 2, the protein prediction model exhibited the best performance, with the optimal pretreatment method being MSC+1st der+SGF ( R c 2 = 0.99, R c v 2 = 0.87, RPD = 10.26). The optimal pretreatment method for moisture and amylose was MSC+2nd der+SGF, while that for fat and amylopectin was SNV+2nd der+SGF. For starch, the optimal pretreatment method was SNV+1st der+NDF. The predictive model for amylose content was relatively low ( R c 2 = 0.79, R c v 2 = 0.34, RPD = 2.21), which may be attributed to its genetic diversity [35]. Furthermore, Figure 4 shows a regression analysis plot comparing NIRS predictions with chemical analysis results, providing a clearer visual representation of the fit curve obtained using the optimal spectral pre-processing.
Table 2. PLS model calibration and cross-validation results for nutritional content in cassava flour. MSC, multiplicative signal correction; SNV, standard normal variate; 1st Der, first derivative; 2nd Der, second derivative; SGF, Savitzky–Golay filter; NDF, Norris derivative filter; LVs, best latent variables; R c 2 , coefficient of determination for calibration; RMSEC, root mean square error of calibration; R c v 2 , cross-validation coefficient of determination; RMSECV, cross-validation root mean square error; RPD, residual predictive deviation.
Figure 4. Regression analysis plots between NIRS-predicted and chemically analyzed values for calibration and cross-validation sets. Regression analysis plots for protein (A); regression analysis plots for fat (B); regression analysis plots for moisture (C); regression analysis plots for starch (D); regression analysis plots for amylose (E); regression analysis plots for amylopectin (F).

3.3.4. Model Construction and Validation

After removing outliers, the NIRS data were processed using the optimal preprocessing method, and the models were validated via cross-validation. Model performance was assessed by RMSEC, R c 2 , RMSECV and R c v 2 . Table 2 summarizes the calibration and cross-validation performance of the six NIRS models. Protein and moisture achieved excellent calibration ( R c 2 > 0.95) and acceptable cross-validation ( R c v 2 > 0.83), while starch, amylose, amylopectin, and fat showed good calibration fit ( R c 2 = 0.79–0.93) but poor cross-validation ( R c v 2 = 0.16–0.36), indicating overfitting. The predictive performance varied considerably across different constituents, which may be attributed to differences in the compositional profiles among cassava varieties. These variations could influence the absorption and scattering of NIRS and thus affect model accuracy. This finding is consistent with the results reported by Zhu et al., who utilized NIRS to predict nutritional indicators in different pea varieties [18]. Notably, unlike previous failed attempts using fresh cassava tubers due to poor light penetration use of dried whole flour enabled more accurate model development.
The excellent prediction performance of moisture and protein can be largely attributed to their favorable concentration ranges and unique spectral characteristics. The moisture content in cassava flour ranged from 5.84% to 8.65%, with an average of about 7.0%. Although its absolute range is relatively narrow, the O–H stretching frequency doubling of water produces a strong and characteristic absorption band near 6900–5200 cm−1, which is well separated from the absorption peaks of most carbohydrates. Although the protein content is low (1.17–3.22%), its N–H stretching frequency doubling falls in a spectral region that is relatively unaffected by the overlapping signal of starch and water intensity (about 6760 cm−1 and 4900–4500 cm−1 regions). In addition, the total protein content in cassava flour is mainly determined by the proportion of non-starch components, and its intra-matrix variability may be less than starch structural parameters. In contrast, the fat content is extremely low (0.13–1.30%), and its C–H stretching frequency doubling is severely masked by the dominant starch matrix that accounts for 50–90% of the sample composition.
Total starch is the main spectral contributor in cassava flour, but its concentration range (50.57–90.26%) is extremely wide. Due to the scattering effect and the saturation of frequency doubling absorption, the relationship between total starch and NIRS is nonlinear at high concentrations. In addition, the content of amylose and amylopectin is controlled by multiple genes. In addition to the total content, there is considerable structural diversity (such as chain length distribution and branch chain length). These factors may affect their spectral characteristics, but they are not reflected in the reference chemical values. This structural variation introduces additional noise into the calibration, which further reduces the model performance. The models for total starch, amylose, and amylopectin exhibited a similar fitting performance, which is consistent with their intrinsic chemical relationship as interrelated components of cassava starch. Notably, a considerable gap was observed between calibration and cross-validation performances for fat (Rc2 = 0.93 vs. R c v 2 = 0.16), amylopectin ( R c 2 = 0.82 vs. R c v 2 = 0.19), and starch ( R c 2 = 0.84 vs. R c v 2 = 0.36), indicating a risk of overfitting. This difference may be due to the limited sample size (n = 67) and the high dimensionality of NIRS data, which makes the PLS model more inclined to capture noise rather than real chemical signals. The relatively low fat concentration (0.13–1.30%) and the special spectral characteristics of amylose and amylopectin were partially masked by the main starch matrix. The structure and genetic complexity of starch components are controlled by multiple genes and exhibit considerable variety diversity. These findings underscore the importance of critically evaluating calibration and cross-validation statistics, rather than relying solely on calibration performance.
Based on the above statistics, the six models fall into three distinct categories regarding their practical utility. Protein and moisture are the only two models with acceptable cross-validation performance and RPD values above 4.0, supporting their use in preliminary quantitative analysis. Starch, amylose, and amylopectin exhibit moderate calibration performance but poor cross-validation generalization, indicating that the apparent calibration fit is largely driven by overfitting to the specific calibration set; these models are only suitable for preliminary screening. The fat model, despite a high Rc2 (0.93), has a negligible R c v 2 (0.16) and an RPD of 1.08, which unequivocally indicates severe overfitting; this model should not be used for prediction in any form.

3.4. Multivariate Analysis of Quality Indicators and Varietal Differentiation

3.4.1. Correlation Analysis

To determine the relationship between the nutritional indicators, we used Pearson’s correlation analysis to process the data (Figure 5). We found a positive correlation between amylose, amylopectin, and total starch content. This result is consistent with the general understanding that total starch consists of amylose and amylopectin. Regarding basic nutritional indicators, protein and fat exhibit a positive correlation with amylose, while showing a negative correlation with all other components. In terms of chromaticity index, a* and b* exhibit a significant negative correlation, with b* typically indicating the richness of components abundant in cassava. Our results showed that the b* value was only positively correlated with starch and amylopectin content.
Figure 5. The correlation analysis based on the color characteristics and nutritional quality of cassava flour samples.

3.4.2. Principal Component Analysis (PCA)

To more accurately assess the relationships among the indicators, we conducted further analysis using PCA. The loading plot illustrates the correlations between principal components and variables, where loadings closer to 1 or −1 indicate a greater contribution to the principal component [36]. As shown in Figure 6A, most cassava samples clustered together, with only a few exhibiting significant deviations (004 and 007). We found that 004 has relatively high protein content and relatively low amylose content; 007 has high protein content but low total starch content. Both samples exhibited distinct characteristics and significant variability, resulting in their separation from the remaining samples. As shown in Figure 6A,B, PC1 accounted for 25.50% of the total variance and was predominantly loaded by the color-related parameters L*, a*, b* and ΔE. The loading pattern indicates that b* (yellowness) contributed substantially to PC1, which is consistent with the known visual distinction between white- and yellow-fleshed cassava varieties. However, this observation reflects a statistical association rather than a biological definition of PC1 as a color dimension. PC2 explains 23.54% of the variance, with its loadings concentrated primarily on total starch and amylopectin. Varieties with higher total starch content (such as SC9) tend to have higher PC2 scores. This loading pattern suggests a correlation between PC2 and starch accumulation; however, this should be understood as a data-driven correlation rather than a direct measure of “starch quality” or “accumulation capacity” per se. Additionally, a score plot is commonly used to compare differences among samples and their distribution in the principal component analysis. In our data, the closer the different cassava varieties are located, the higher their similarity. As shown in Figure 6C, the cumulative contribution of the top five principal components in cassava reaches 84.35%, with all eigenvalues exceeding 1. The first five PCs cumulatively explained 84.35% of the total variance, with eigenvalues exceeding 1. PC1 was dominated by color parameters (L*, a*, b* and ΔE; eigenvalue = 2.55), and PC2 was dominated by total starch and amylopectin (eigenvalue = 2.35).
Figure 6. Principal component analysis based on unique nutrient composition of cassava flour samples score plot (A); loading plot (B); and scree plot (C).

3.4.3. Limitations and Future Perspectives

While this study verified the feasibility of NIRS technology for simultaneous detection of multiple indicators of cassava flour, there are also some methodological limitations. Firstly, it should be noted that the selection of spectral pretreatment methods and the optimal number of latent variables was performed using the full dataset prior to cross-validation, rather than being nested within each cross-validation fold. Consequently, the reported cross-validation performance may be somewhat optimistic due to selection bias, and the model performance should be interpreted with this limitation in mind. Secondly, the model has good calibration for protein (RPD = 10.26) and moisture (RPD = 4.36) (which can be used for routine preliminary quantitative analysis), but the prediction accuracy of fat, amylose and amylopectin is low (RPD is 2.49, 2.21 and 2.36, respectively), and the fat model has serious overfitting (RPD = 1.08, R c v 2 = 0.16), making it only suitable as a preliminary screening tool and not recommended for predictive applications. Third, although the difference in composition suggested the potential use of varieties such as SC9 and GR12 in different processing, this study did not directly determine gelatinization characteristics, digestibility or sensory attributes, and the relevant assumptions need to be verified by functional, nutritional and sensory tests. In addition, the model was established based on dry powder. Due to limited light penetration, the applicability to intact fresh tubers was limited, and the samples were only from a single geographical environment and growing season. The robustness of different environments and years has not been verified. Correlation analysis and principal component analysis are only for exploratory use and cannot support decision-making.
To improve the robustness and generalizability of the current models, several strategies could be pursued in future work: (i) expanding the sample set to include a wider range of varieties, origins, and growing seasons to increase the chemical diversity of the calibration set; (ii) exploring advanced chemometric algorithms or deep learning approaches that may be better able to handle nonlinear relationships; and (iii) collecting independent sample sets covering a wider range of varieties, geographical sources, and harvest years for rigorous external validation.

4. Conclusions

In this study, 67 cassava germplasm accessions were investigated to evaluate the potential of NIRS combined with PLS for simultaneous multi-indicator quality assessment of cassava flour, and a preliminary screening framework for cassava flour quality traits based on NIRS was established using internal cross-validation. The study demonstrates the potential of NIRS for rapid screening of selected quality parameters in the investigated cassava population, with a particularly promising performance for protein and moisture. The models for fat, starch, amylose and amylopectin require further optimization and independent validation before they can be recommended for routine quantitative applications. The study also confirmed that appropriate spectral preprocessing methods can effectively mitigate non-target interference caused by instrumental noise, thereby improving the robustness of the model. It must be emphasized that the present framework remains exploratory; its deployment in practical breeding selection, raw material grading or process control requires external validation with a broader range of varieties and environmental conditions. Overall, despite the many limitations in modeling accuracy and scope of application, this work has generated fundamental technical parameters for high-throughput quality evaluation of cassava germplasm and offers a reference for the future establishment of standardized and generalizable near-infrared rapid detection systems.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/foods15173139/s1, Table S1. Information of 67 Cassava samples. Table S2. Effects of different spectral pretreatment on the PLS model of cassava protein. Table S3. Effects of different spectral pretreatment on the PLS model of cassava fat. Table S4. Effects of different spectral pretreatment on the PLS model of cassava moisture. Table S5. Effects of different spectral pretreatment on the PLS model of cassava starch. Table S6. Effects of different spectral pretreatment on the PLS model of cassava amylose. Table S7. Effects of different spectral pretreatment on the PLS model of cassava amylopectin.

Author Contributions

H.G.: Writing—original draft, Writing—review and editing, W.W.: Writing—original draft, Methodology and Conceptualization, C.L.: Writing—review and editing, S.G.: Writing—original draft, Formal analysis and Data curation. W.O.: Resources, Writing—review and editing. F.G.: Resources, Writing—review and editing and Conceptualization. K.L.: Methodology. L.Z.: Supervision, Writing—review and editing. G.R.: Writing—review and editing, Funding acquisition, Conceptualization. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the SAAS Program for Food Nutrition and Health Research Center (2026(01)).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article/Supplementary Materials. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Xu, X.D.; Zhao, R.P.; Xiao, L.; Lu, L.Y.; Gao, M.; Luo, Y.H.; Zhou, Z.W.; Ye, S.Y.; Qian, Y.Q.; Fan, B.L.; et al. Telomere-to-telomere assembly of cassava genome reveals the evolution of cassava and divergence of allelic expression. Hortic. Res. 2023, 10, uhad200. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Otun, S.; Escrich, A.; Achilonu, I.; Rauwane, M.; Alexis, J.; Lerma-Escalera, J.A.; Morones-Ramírez, J.R.; Rios-Solis, L. The future of cassava in the era of biotechnology in Southern Africa. Crit. Rev. Biotechnol. 2023, 43, 594–612. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Xiao, L.; Cheng, D.; Ou, W.J.; Chen, X.; Rabbi, I.Y.; Wang, W.Q.; Li, K.M.; Yan, H.B. Advancements and strategies of genetic improvement in cassava (Manihot esculenta Crantz): From conventional to genomic approaches. Hortic. Res. 2025, 12, uhae341. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Ding, Z.H.; Fu, L.L.; Chen, G.L.; Yan, Y.; Tie, W.W.; Meng, X.W.; Yang, J.H.; Qiu, X.J.; Zhang, J.M.; Hu, W. Coordinated transcriptional regulation of carbohydrate-related pathways contributes to the difference of starch accumulation between starchy cassava and sugary cassava. Carbohydr. Polym. 2025, 354, 123314. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Wang, Z.Y.; Mhaske, P.; Farahnaky, A.; Kasapis, S.; Majzoobi, M. Cassava starch: Chemical modification and its impact on functional properties and digestibility, a review. Food Hydrocoll. 2022, 129, 107542. [Google Scholar] [CrossRef] [Scilit]
  6. Guimaraes, P.H.R.; Sousa, M.B.E.; Campos, M.D.; Morales, C.F.G.; De Oliveira, E.J. Near-Infrared Spectroscopy Prediction of Dry Matter and Starch Content in Cassava Using Optimized Calibration Models. J. Food Sci. 2025, 90, e70704. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. He, H.J.; Xing, L.Z.; Lv, M.C.; Qiao, H.; Wang, Y.L.; Bi, J.C.; Ou, X.Q.; Niu, S.Y. Machine learning-assisted micro NIR for rapidly monitoring the variations of enzymatic activity and carbohydrates during saccharification of stored sweet potatoes. Lwt-Food Sci. Technol. 2025, 232, 118409. [Google Scholar] [CrossRef] [Scilit]
  8. Bai, Y.; Zhang, Z.; Qiao, J.W.; Liu, X.L.; Guo, S.Y.; Wang, G.P.; Zhang, T.; Zhang, G.H.; Ren, G.X.; Zhang, L.Z. Establishment of near-infrared rapid prediction model and comprehensive evaluation model for foxtail millet quality. J. Food Compos. Anal. 2024, 136, 106769. [Google Scholar] [CrossRef] [Scilit]
  9. Hruschka, W.R.; Norris, K.H. Least-Squares Curve Fitting of near Infrared Spectra Predicts Protein and Moisture Content of Ground Wheat. Appl. Spectrosc. 1982, 36, 261–265. [Google Scholar] [CrossRef] [Scilit]
  10. Zhu, Y.T.; Zhou, J.K.; Guo, S.Y.; Zhang, Z.; Wang, W.T.; Zhao, C.F.; Wang, J.X.; Zhou, H.T.; Ren, G.X. Selection of oat varieties with unique nutritional qualities based on near-infrared spectroscopy and HS-SPME-GC-MS. J. Cereal Sci. 2025, 124, 104217. [Google Scholar] [CrossRef] [Scilit]
  11. Yang, D.F.; Hu, J. Fast identification of maize varieties with small samples using near-infrared spectral feature selection and improved stacked sparse autoencoder deep learning. Expert Syst. Appl. 2025, 288, 128265. [Google Scholar] [CrossRef] [Scilit]
  12. Khamsopha, D.; Woranitta, S.; Teerachaichayut, S. Utilizing near infrared hyperspectral imaging for quantitatively predicting adulteration in tapioca starch. Food Control 2021, 123, 107781. [Google Scholar] [CrossRef] [Scilit]
  13. Adesokan, M.; Alamu, E.O.; Fawole, S.; Maziya-Dixon, B. Prediction of functional characteristics of gari (cassava flakes) using near-infrared reflectance spectrometry. Front. Chem. 2023, 11, 1156718. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Zhang, J.B.; Wang, B.; Zhang, Y.F.; Wu, Y.; Li, M.X.; Gao, T.; Lu, T.L.; Bian, Z.H.; Su, L.L. E-eye and FT-NIR combined with multivariate algorithms to rapidly evaluate the dynamic changes in the quality of during steaming process. Food Chem. 2024, 439, 138148. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Zhou, H.C.; Guan, H.O.; Ma, X.D.; Wei, B.X.; Zhang, Y.F.; Lu, Y.X. A method of maize seed variety identification based on near-infrared spectroscopy combined with improved DenseNet model. Microchem. J. 2024, 206, 111542. [Google Scholar] [CrossRef] [Scilit]
  16. Xie, C.J.; Qiao, M.M.; Yang, L.; Zhang, D.X.; Cui, T.; He, X.T.; Du, Z.H.; Xiao, T.P.; Li, H.S. Establishment of a general prediction model for protein content in various varieties and colors of peas using visible-near-infrared spectroscopy. J. Food Compos. Anal. 2024, 127, 105965. [Google Scholar] [CrossRef] [Scilit]
  17. Duma, Z.S.; Susiluoto, J.; Lamminpää, O.; Sihvonen, T.; Reinikainen, S.P.; Haario, H. KF-PLS: Optimizing Kernel Partial Least-Squares (K-PLS) with Kernel Flows. Chemom. Intell. Lab. 2024, 254, 105238. [Google Scholar] [CrossRef] [Scilit]
  18. Zhu, J.W.; Zhu, X.C.; Yan, B.Y.; Ren, F.Y.; Chen, B.Y.; Han, Z.W.; Yao, X.M.; He, S.; Liu, H.Z. Evaluation and categorization of various pea cultivars utilizing near-infrared spectroscopy in conjunction with multivariate statistical techniques. Food Chem. 2025, 474, 143268. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Shan, P.; Bi, Y.M.; Li, Z.G.; Wang, Q.Y.; He, Z.H.; Zhao, Y.H.; Peng, S.L. Unsupervised model adaptation for multivariate calibration by domain adaptation-regularization based kernel partial least square. Spectrochim. Acta A 2023, 292, 122418. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Ortiz, R.; Reslow, F.; Montesinos-López, A.; Huicho, J.; Pérez-Rodríguez, P.; Montesinos-López, O.A.; Crossa, J. Partial least squares enhance multi-trait genomic prediction of potato cultivars in new environments. Sci. Rep. 2023, 13, 9947. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Bec, K.B.; Grabska, J.; Huck, C.W. Principles and Applications of Miniaturized Near-Infrared (NIR) Spectrometers. Chem.-Eur. J. 2021, 27, 1514–1532. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Chen, L.; Tan, H.X.; Feng, R.Z.; Ma, L.; Zhang, Y.H.; Yi, H.T.; Yin, L.G.; Liu, W.W.; Hu, L.Q.; Zhu, W.Y. Effect of modified starches on the quality of skins of glutinous rice dumplings. Int. J. Biol. Macromol. 2023, 253, 127139. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. de Carvalho, R.R.B.; Cortes, D.F.M.; Sousa, M.B.E.; de Oliveira, L.A.; de Oliveira, E.J. Image-based phenotyping of cassava roots for diversity studies and carotenoids prediction. PLoS ONE 2022, 17, e0263326. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Fu, L.L.; Ding, Z.H.; Tie, W.W.; Yang, J.H.; Yan, Y.; Hu, W. Integrated Metabolomic and Transcriptomic Analyses Reveal Novel Insights of Anthocyanin Biosynthesis on Color Formation in Cassava Tuberous Roots. Front. Nutr. 2022, 9, 842693. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Borku, A.W. Cassava (Manihot esculenta Crantz): Its nutritional composition insights for future research and development in Ethiopia. Discov. Sustain. 2025, 6, 404. [Google Scholar] [CrossRef] [Scilit]
  26. Tappiban, P.; Smith, D.R.; Triwitayakorn, K.; Bao, J.S. Recent understanding of starch biosynthesis in cassava for quality improvement: A review. Trends Food Sci. Tech. 2019, 83, 167–180. [Google Scholar] [CrossRef] [Scilit]
  27. Vamadevan, V.; Bertoft, E. Impact of different structural types of amylopectin on retrogradation. Food Hydrocoll. 2018, 80, 88–96. [Google Scholar] [CrossRef] [Scilit]
  28. Hang, J.Y.; Shi, D.; Neufeld, J.; Bett, K. Prediction of protein and amino acid contents in whole and ground lentils using near-infrared reflectance spectroscopy. J. Am. Oil Chem. Soc. 2022, 99, 30. [Google Scholar]
  29. Mbanjo, E.G.N.; Hershberger, J.; Peteti, P.; Agbona, A.; Ikpan, A.; Ogunpaimo, K.; Kayondo, S.I.; Abioye, R.S.; Nafiu, K.; Alamu, E.O.; et al. Predicting starch content in cassava fresh roots using near-infrared spectroscopy. Front. Plant Sci. 2022, 13, 990250. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Saha, U.; Endale, D.; Tillman, P.G.; Johnson, W.C.; Gaskin, J.; Sonon, L.; Schomberg, H.; Yang, Y. Analysis of various quality attributes of sunflower and soybean plants by near infrared reflectance spectroscopy: Development and validation calibration models. Am. J. Anal. Chem. 2017, 8, 462–492. [Google Scholar] [CrossRef]
  31. Tian, W.F.; Chen, G.J.; Zhang, G.R.; Wang, D.H.; Tilley, M.; Li, Y.H. Rapid determination of total phenolic content of whole wheat flour using near-infrared spectroscopy and chemometrics. Food Chem. 2021, 344, 128633. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Xia, H.L.; Chen, W.; Hu, D.; Miao, A.Q.; Qiao, X.Y.; Qiu, G.J.; Liang, J.H.; Guo, W.Q.; Ma, C.Y. Rapid discrimination of quality grade of black tea based on near-infrared spectroscopy (NIRS), electronic nose (E-nose) and data fusion. Food Chem. 2024, 440, 138242. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Bec, K.B.; Grabska, J.; Huck, C.W. Interpretability in near-infrared (NIR) spectroscopy: Current pathways to the long-standing challenge. Trac-Trend Anal. Chem. 2025, 189, 118254. [Google Scholar] [CrossRef] [Scilit]
  34. Guimaraes, P.H.R.; Morales, C.F.G.; Cerqueira, T.S.; Campos, M.D.; de Oliveira, E.J. From root to result: Portable NIRS-based non-destructive prediction of cassava quality traits. PLoS ONE 2025, 20, e0337761. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. de Alencar Figueiredo, L.F.; Davrieux, F.; Fliedel, G.; Rami, J.F.; Chantereau, J.; Deu, M.; Courtois, B.; Mestres, C. Development of NIRS Equations for Food Grain Quality Traits through Exploitation of a Core Collection of Cultivated Sorghum. J. Agric. Food Chem. 2006, 54, 8501–8509. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. Qi, X.G.; Zhu, L.; Wang, C.Q.; Zhang, H.; Wang, L.; Qian, H.F. Development of standard fingerprints of naked oats using chromatography combined with principal component analysis and cluster analysis. J. Cereal Sci. 2017, 74, 224–230. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.