journal article·2026-06-08Open access

Near-Infrared Spectroscopy Combined with PLSR, Ridge Regression, and Extremely Randomized Trees for Predicting Quality Indicators in Chinese Japonica Rice

Jiaqi Zhan, Xiaoting Xing, Dong Zhang, Xiaoliang Duan

Applied Sciences· Volume 16· Issue 12

Abstract

Given the diversity and richness of China’s grain varieties, traditional physicochemical quality testing methods for rice, while providing accurate results, suffer from drawbacks such as time-consuming procedures, high costs, substantial reagent consumption, cumbersome sample preparation, and reliance on destructive or semi-destructive techniques. This study aims to employ near-infrared spectroscopy technology to establish rapid and non-destructive predictive models for key quality indicators of japonica rice. The research analyzed 133 samples from 71 widely cultivated japonica rice varieties across five major production regions in China, utilizing spectral data within a wavelength range of 660–1080 nm. Predictive models for moisture, protein, amylose, and fatty acid values were constructed using three algorithms—partial least squares regression (PLSR), ridge regression (RR), and extremely randomized trees (ERT)—linear regression and the extreme randomization tree (ERT)—their optimal parameters were determined using a 10-fold cross-validation optimization method. Eighty percent of the total dataset served as the training set, while the remaining 20% formed the test set, yielding a final test set comprising 26 samples. Performance comparisons revealed that the PLSR and RR models demonstrated superior predictive performance: the coefficient of determination (Rp2) exceeded 0.9 for all four indicators, with the R2 value for fatty acid prediction reaching as high as 0.99; the root mean square error (RMSEP) of the PLSR and RR models ranged between 0.0534% and 0.3360%, confirming their high predictive accuracy. Although all ERT models (except the protein model) achieved Rp2 values exceeding 0.9, their overall performance was slightly inferior to the first two methods. The protein ERT model demonstrated relatively low performance, with an Rp2 value of 0.6984 on the test set, which may be attributed to the limited sample size and weak protein spectral response signals. Although the samples covered five major production regions and 71 japonica rice varieties, their distribution was uneven (multiple varieties were represented by only one or a few samples). This study provides an efficient rapid quality assessment method for japonica rice; however, the generalization ability of the models requires further validation in future studies employing larger and more balanced sample sizes.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Spectroscopy and Chemometric Analyses · Soil Geostatistics and Mapping · Spectroscopy Techniques in Biomedical and Chemical Research

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Food and Health (Modern Grain Industry College), Zhejiang A&F University, Hangzhou 311300, China

Academy of National Food and Strategic Reserves Administration, Beijing 100037, China

Funding

Academy of National Food and Strategic Reserves Administration of the People’s Republic of China

References (33)

Show source-provided references
1. The Impact of Rice Quality on Food Safety
2. Study on Storage Quality and Shelf Life of Rice with Different Moisture Contents
3. Rice Grain and Starch Properties: Effects of Nitrogen Fertilizer Application10.1016/j.carbpol.2011.04.039 ↗
4. Effects of rice grain protein QTL, TGP12, on grain composition, yield components, and eating quality with different nitrogen applications
5. Fu, Q. (2012). Study on Volatile Components of Wheat Flour During Storage. [Master’s Thesis, Nanjing University of Finance and Economics].
6. Correlation between physicochemical properties and cooking texture of rice
7. Quality assessment of royal jelly based on physicochemical properties and flavor profiles using HS-SPME-GC/MS combined with electronic nose and electronic tongue analyses10.1016/j.foodchem.2022.134392 ↗
8. Research progress on rice freshness detection technology
9. Research on quantitative protein analysis in foods based on mass spectrometry
10. Application of low-field nuclear magnetic resonance technology in rice moisture determination
11. Physical and physicochemical classification of parboiled rice using VNIR-SWIR spectroscopy and machine learning10.1016/j.rsci.2025.08.007 ↗
12. Research on near-infrared detection models for rice protein, fat, total sugar, and moisture
13. Huang, L.S., Liu, D., Qin, T.J., Lin, X.W., Zhou, Z.H., Huang, J.L., and Cong, Y.L. (2019). Rapid determination of rice nutritional components using a near-infrared quantitative model. Mod. Food Sci. Technol., 35.
14. Non-destructive detection of proteins in rice using near-infrared spectroscopy
15. Determination of moisture in rice by near-infrared spectroscopy combined with different partial least squares methods
16. Simultaneous determination of apparent amylose, amylose and amylopectin content and classification of waxy rice using near-infrared spectroscopy (NIRS)10.1016/j.foodchem.2022.132944 ↗
17. Rapid detection of fatty acid value of early indica rice in Guangxi by near-infrared spectroscopy
18. SPA combined with swarm intelligence optimization algorithms for wavelength variable selection to rapidly discriminate the adulteration of apple juice10.1007/s12161-016-0772-3 ↗
19. (2006). National Technical Committee of Grain and Oil Standardization. Determination of Moisture in Grains and Oilseeds by Two-Stage Drying Method (Standard No. GB/T 20264-2006).
20. (2008). Academy of State Administration of Grain. Cereals and Pulses—Determination of Nitrogen Content and Calculation of Crude Protein Content—Kjeldahl method (Standard No. GB/T 5511-2008).
21. (2006). National Center for Standards and Quality of State Administration of Grain, Henan University of Technology. Rules for Evaluation of Storage Quality of Paddy (Standard No. GB/T 20569-2006).
22. (2008). National Technical Committee of Grain and Oil Standardization. Rice—Determination of Amylose Content (Standard No. GB/T 15683-2008).
23. Gad, M., Saleh, A., Hussein, H., Elsayed, S., and Farouk, M. (2023). Water quality evaluation and prediction using irrigation indices, artificial neural networks, and partial least square regression models for the Nile River, Egypt. Water, 15.10.3390/w15122244 ↗
24. Geographical discrimination of fresh instant rice according to non-destructive analysis of flavor profiles10.1002/cche.10621 ↗
25. Ridge regression10.1002/wics.14 ↗
26. Extremely randomized trees10.1007/s10994-006-6226-1 ↗
27. Incremental extreme random forest classifier supporting online learning10.3724/SP.J.1001.2011.03827 ↗
28. Optimization of rice amylose determination by NIR-spectroscopy using PLS chemometrics algorithms10.1016/j.foodchem.2017.09.058 ↗
29. Dynamic monitoring of fatty acid value in rice storage based on a portable near-infrared spectroscopy system10.1016/j.saa.2020.118620 ↗
30. Selection and efficiency analysis of characteristic spectral regions for near-infrared spectroscopy-based prediction of rice moisture content
31. Comparison of partial least squares regression, least squares support vector machines, and Gaussian process regression for a near infrared calibration10.1177/0967033516678515 ↗
32. Examination of dimension reduction performances of PLSR and PCR techniques in data with multicollinearity10.1007/s40995-018-0565-1 ↗
33. Wang, W., Wang, C., Zhao, B., Shi, J., Xu, C., and Liu, J. (2026). Rapid Determination of Soybean Protein Content by Near-Infrared Spectroscopy Coupled with Multi-Learner Ensemble Wavelength Selection. Foods, 15.10.3390/foods15101755 ↗