Non-destructive detection of internal mold in Torreya grandis seeds using NIR spectroscopy and deep learning with integrated preprocessing and variable selection

Torreya grandis seeds are valued for their nutritional and culinary benefits, but internal mold can affect seed quality without being visible. This study explores the use of near-infrared spectroscopy for rapid, non-destructive detection of internal mold in these seeds. By analyzing spectral differences between healthy and moldy seeds, various preprocessing techniques were applied to optimize the data. Key wavelengths were selected using both individual and hybrid variable selection methods. Linear discriminant analysis (LDA), convolutional neural networks (CNN), and multilayer perceptron (MLP) models were developed for classification. Shapley additive explanations (SHAP) visualized the impact of key wavelengths, while t-distributed Stochastic Neighbor Embedding (t-SNE) was used for model visualization. The results show that CNN and MLP models outperform the traditional LDA model. The Savitzky-Golay (SG)-Baseline-Single Nucleotide Variant (SNV) preprocessing method is the most effective for CNN and MLP models. Competitive Adaptive Reweighted Sampling (CARS)-Iterative Channel Optimization (ICO) and Univariate Variable Elimination (UVE)-CARS-ICO were optimal for variable selection in CNN and MLP, respectively. The accuracy, sensitivity, and specificity of the CARS-ICO-CNN and UVE-CARS-ICO-MLP models were 97.22%, 96.15%, 97.83% and 97.22%, 92.31%, 100%, respectively. These findings highlight the potential of NIR spectroscopy and deep learning models for quality control in seed processing. ● Developed a method for discriminating internal mold in Torreya grandis seeds. ● Identified the optimal preprocessing method using a combined strategy. ● Achieved high accuracy with an optimized CNN discrimination model. ● Used a combined variable selection strategy to optimize the classification model. ● Applied SHAP and t-SNE to interpret model features and visualize class separation.

Authors

Institutions

Publication Details

Journal
Journal of Food Composition and Analysis
Published
2026-01-12
DOI
https://doi.org/10.1016/j.jfca.2026.108899
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Non-destructive detection of internal mold in Torreya grandis seeds using NIR spectroscopy and deep learning with integrated preprocessing and variable selection

Lili Song, Yuan Yuan Du, Jiajun Zan, Tong Sun et al.
Journal of Food Composition and Analysis
Spectroscopy and Chemometric Analyses
article

Non-destructive detection of internal mold in Torreya grandis seeds using NIR spectroscopy and deep learning with integrated preprocessing and variable selection

Lili Song, Yuan Yuan Du, Jiajun Zan, Tong Sun, Jiasheng Wu, Haihang Wang, Binyan Hou
article en

Abstract

Torreya grandis seeds are valued for their nutritional and culinary benefits, but internal mold can affect seed quality without being visible. This study explores the use of near-infrared spectroscopy for rapid, non-destructive detection of internal mold in these seeds. By analyzing spectral differences between healthy and moldy seeds, various preprocessing techniques were applied to optimize the data. Key wavelengths were selected using both individual and hybrid variable selection methods. Linear discriminant analysis (LDA), convolutional neural networks (CNN), and multilayer perceptron (MLP) models were developed for classification. Shapley additive explanations (SHAP) visualized the impact of key wavelengths, while t-distributed Stochastic Neighbor Embedding (t-SNE) was used for model visualization. The results show that CNN and MLP models outperform the traditional LDA model. The Savitzky-Golay (SG)-Baseline-Single Nucleotide Variant (SNV) preprocessing method is the most effective for CNN and MLP models. Competitive Adaptive Reweighted Sampling (CARS)-Iterative Channel Optimization (ICO) and Univariate Variable Elimination (UVE)-CARS-ICO were optimal for variable selection in CNN and MLP, respectively. The accuracy, sensitivity, and specificity of the CARS-ICO-CNN and UVE-CARS-ICO-MLP models were 97.22%, 96.15%, 97.83% and 97.22%, 92.31%, 100%, respectively. These findings highlight the potential of NIR spectroscopy and deep learning models for quality control in seed processing. ● Developed a method for discriminating internal mold in Torreya grandis seeds. ● Identified the optimal preprocessing method using a combined strategy. ● Achieved high accuracy with an optimized CNN discrimination model. ● Used a combined variable selection strategy to optimize the classification model. ● Applied SHAP and t-SNE to interpret model features and visualize class separation.

Journal of Food Composition and AnalysisVol. 150
Zhejiang A & F University (CN)
Reduced inequalities
Openalex Percentile: Top 90%
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.