Identification of Cadmium Contamination in Rice Using Near-Infrared Reflectance Spectroscopy and Machine Learning

Routine monitoring of cadmium (Cd) contamination in rice is essential for public health protection and agricultural trade security. Conventional chemical detection methods are environmentally unfriendly, labor-intensive, and slow. This study presents a rapid, accurate classification approach based on near-infrared reflectance spectroscopy (NIRS) for discriminating Cd-contaminated rice from uncontaminated rice. Five spectral preprocessing methods and three variable selection algorithms were systematically evaluated for their influence on model performance. Classification models were developed using partial least squares discriminant analysis (PLS-DA), K-nearest neighbors (KNN), and support vector machines (SVM). Second derivative (2D) preprocessing yielded the greatest performance gains, raising KNN and SVM test-set accuracy from 73% and 88% to 93% and 91%, respectively. Among the variable selection strategies, the successive projections algorithm (SPA) proved most effective. Under optimized conditions, PLS-DA achieved the best overall performance, attaining 92% accuracy, 89% specificity, and 95% sensitivity on the test set. These results demonstrate the strong potential of NIRS coupled with machine learning for rapid, large-scale Cd surveillance in rice, providing robust technical support for grain quality monitoring and low-cadmium variety breeding programs.

Authors

Institutions

Publication Details

Journal
Foods
Published
2026-08-26
DOI
https://doi.org/10.3390/foods15173000
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

Identification of Cadmium Contamination in Rice Using Near-Infrared Reflectance Spectroscopy and Machine Learning

Yang Liu, Weiping Wang, Xuexue Miao, Ying Miao et al.
Foods
Spectroscopy and Chemometric Analyses
article

Identification of Cadmium Contamination in Rice Using Near-Infrared Reflectance Spectroscopy and Machine Learning

Yang Liu, Weiping Wang, Xuexue Miao, Ying Miao, Ni Li
article en

Abstract

Routine monitoring of cadmium (Cd) contamination in rice is essential for public health protection and agricultural trade security. Conventional chemical detection methods are environmentally unfriendly, labor-intensive, and slow. This study presents a rapid, accurate classification approach based on near-infrared reflectance spectroscopy (NIRS) for discriminating Cd-contaminated rice from uncontaminated rice. Five spectral preprocessing methods and three variable selection algorithms were systematically evaluated for their influence on model performance. Classification models were developed using partial least squares discriminant analysis (PLS-DA), K-nearest neighbors (KNN), and support vector machines (SVM). Second derivative (2D) preprocessing yielded the greatest performance gains, raising KNN and SVM test-set accuracy from 73% and 88% to 93% and 91%, respectively. Among the variable selection strategies, the successive projections algorithm (SPA) proved most effective. Under optimized conditions, PLS-DA achieved the best overall performance, attaining 92% accuracy, 89% specificity, and 95% sensitivity on the test set. These results demonstrate the strong potential of NIRS coupled with machine learning for rapid, large-scale Cd surveillance in rice, providing robust technical support for grain quality monitoring and low-cadmium variety breeding programs.

FoodsVol. 15(17)
Beijing Institute of Technology (CN), Hunan University (CN), China National Hybrid Rice R&D Central Hunan Hybrid Rice Reserch Center (CN), State Key Laboratory of Hybrid Rice, Hunan Agricultural University (CN)
Hunan Provincial Science and Technology Department
Openalex Percentile: Top 15%
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.