Non-destructive identification of closely related japonica rice seeds using hyperspectral imaging combined with HHO-optimized XGBoost.
Chunxu Jiang, Shixue Gu, Gang Liu, Yang Liu, Rongjie Huang, Shaozhong Song
School of Computer Science, Baicheng Normal University, Baicheng, China. · Haiming Primary School, Baicheng, China.
Key points
From the paper's conclusion- Per-class F1-score results demonstrated that the established method could obviously decrease misclassification among nine japonica rice varieties.
Abstract
Genetically closely-related japonica rice seed varieties are difficult to distinguish using conventional identification techniques. These traditional methods generally require time-consuming operations, complex experimental workflows, and seed destruction for sample testing. Hyperspectral imaging offers a feasible non-destructive way to screen crop germplasm resources. Nevertheless, raw hyperspectral signals are easily disturbed by instrument noise and external environmental interference; the dataset also suffers high dimensionality and redundant spectral features, which hinders model performance. Standard XGBoost models rely on manual hyperparameter adjustment, which frequently falls into local optimal solutions. Besides, poor model interpretability makes it hard to reduce classification errors between genetically similar rice materials. To address these practical problems, this work constructed an improved XGBoost framework combined with multi-step spectral preprocessing and Harris Hawks Optimization (HHO). SHAP analysis was further introduced to reveal classification rules of critical spectral bands and realize accurate, non-destructive identification of rice seeds. Five pixel statistical calculation strategies were compared, and mean spectral curves were chosen as model input data. Savitzky-Golay smoothing and Min-Max normalization were implemented to suppress spectral noise. The Successive Projections Algorithm (SPA) was then adopted to pick out 22 sensitive bands with low multicollinearity. This step preserved effective discriminative information while lowering feature dimensions. SHAP values were applied to quantify feature contributions from both global importance and single-sample perspectives, alleviating the black-box limitation of machine-learning classifiers. Nine different swarm intelligence algorithms were tested for automatic hyperparameter searching of XGBoost. The final HHO-XGBoost approach achieved 94.72% overall accuracy and a Kappa coefficient of 0.9389. Per-class F1-score results demonstrated that the established method could obviously decrease misclassification among nine japonica rice varieties. This technical workflow integrates spectral preprocessing, feature screening, interpretive analysis and intelligent parameter optimization. It can serve as a practical reference for non-destructive identification of crop germplasm with close genetic relationships.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Identification of Unsound Soybean Seeds Based on Hyperspectral Imaging and a Dual-Channel Residual-Squeeze-and-Excitation Network With Gramian Angular Field Fusion.Journal of food science · 2026
- Identification of maize seed varieties based on hyperspectral imaging combined with deep learningFood Physics · 2025
- Classification Model of Ziziphi spinosae semen and Ziziphi mauritianae semen Using Hyperspectral ImagingHorticultural Science and Technology · 2026
- Vigor Detection of Soybean Seeds Using Hyperspectral Imaging and Machine LearningAgriculture · 2026
- Hyperspectral Grading of Rice Blast Severity (0–5) Using Regional Spectral-Angle Features and Heterogeneous Stacking (XGBSVMRF-SA)Agriculture · 2026
- Non-destructive hyperspectral imaging and machine learning for detection of pea seed-borne mosaic virus in faba bean seeds.Plant methods · 2026