Research on the Identification of Composite Spices Based on Terahertz Spectroscopy and Machine Learning Algorithms

The similar appearance and composition of pungent spices frequently give rise to adulteration, which not only causes market confusion but also results in inconsistent product quality. This study employed terahertz time-domain spectra and absorption spectra coupled with three machine learning algorithms-Random Forest (RF), Support Vector Machine (SVM), and Deep Neural Network (DNN)-for the classification and identification of five spices (garlic, green pepper, Zanthoxylum bungeanum, Toona sinensis, and Qin pepper) as well as their binary mixtures. For single-component spices, all three models achieved classification accuracies exceeding 95% for both time-domain and absorption spectra. Among these models, the SVM model exhibited the best performance, with accuracies of 96.82% for time-domain spectra and 98.75% for absorption spectra. When classifying binary mixtures, models based on time-domain spectra significantly outperformed those based on absorption spectra. Notably, the DNN model demonstrated superior capability in this context, achieving an accuracy of 94.97% for the green pepper-Zanthoxylum bungeanum mixture. To further improve classification accuracy, an innovative multimodal classification model integrating time-domain and absorption spectra was developed. This multimodal model achieved an outstanding accuracy of 98.85%. Collectively, these results confirmed the effectiveness of terahertz spectroscopy combined with machine learning for spice identification, thereby providing robust technical support for nondestructive testing and quality monitoring in the global spice industry.

Authors

Institutions

Publication Details

Journal
Journal of Food Protection
Published
2025-11-17
DOI
https://doi.org/10.1016/j.jfp.2025.100668
Citations
1
Primary Topic
Terahertz technology and applications
Type
article
Field-Weighted Citation Impact
0.73
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on the Identification of Composite Spices Based on Terahertz Spectroscopy and Machine Learning Algorithms

Zhaogai Wang, Pengfei Jiang, Bin Ma, Yi Ding et al.
1 citations
Journal of Food Protection
Terahertz technology and applications
0.73
article

Research on the Identification of Composite Spices Based on Terahertz Spectroscopy and Machine Learning Algorithms

Zhaogai Wang, Pengfei Jiang, Bin Ma, Yi Ding, Ling Feng
article en
1 citations

Abstract

The similar appearance and composition of pungent spices frequently give rise to adulteration, which not only causes market confusion but also results in inconsistent product quality. This study employed terahertz time-domain spectra and absorption spectra coupled with three machine learning algorithms-Random Forest (RF), Support Vector Machine (SVM), and Deep Neural Network (DNN)-for the classification and identification of five spices (garlic, green pepper, Zanthoxylum bungeanum, Toona sinensis, and Qin pepper) as well as their binary mixtures. For single-component spices, all three models achieved classification accuracies exceeding 95% for both time-domain and absorption spectra. Among these models, the SVM model exhibited the best performance, with accuracies of 96.82% for time-domain spectra and 98.75% for absorption spectra. When classifying binary mixtures, models based on time-domain spectra significantly outperformed those based on absorption spectra. Notably, the DNN model demonstrated superior capability in this context, achieving an accuracy of 94.97% for the green pepper-Zanthoxylum bungeanum mixture. To further improve classification accuracy, an innovative multimodal classification model integrating time-domain and absorption spectra was developed. This multimodal model achieved an outstanding accuracy of 98.85%. Collectively, these results confirmed the effectiveness of terahertz spectroscopy combined with machine learning for spice identification, thereby providing robust technical support for nondestructive testing and quality monitoring in the global spice industry.

Journal of Food ProtectionVol. 88(12)
North China University of Water Resources and Electric Power (CN)
Openalex Percentile: Top 21%
Terahertz technology and applications
0.73
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.