Manuscript Abstract

DETECTING ADULTERANTS IN TEA USING MID-INFRARED SPECTROSCOPY: A COMPARATIVE STUDY OF DEEP LEARNING AND MACHINE LEARNING
Weiyu Liu, Yuduan Lin, Yalu Cai, Honghao Cai, Hui Ni

W. Liu¹, Y. Lin², Y. Cai³, H. Cai⁴*, H. Ni⁵

¹ 1. Department of Physics, School of Science, Jimei University, Xiamen, Fujian Province, China 3. School of Materials Science and Engineering, Guilin University of Technology, Guangxi Province, China,
² 1. Department of Physics, School of Science, Jimei University, Xiamen, Fujian Province, China 2.School of Electronic Science and Engineering, Xiamen University, Xiamen, Fujian Province, China,
³ 1. Department of Physics, School of Science, Jimei University, Xiamen, Fujian Province, China,
⁴ 1. Department of Physics, School of Science, Jimei University, Xiamen, Fujian Province, China,
⁵ 4.Xiamen Ocean Vocational College, Xiamen, Fujian Province, China,

Corresponding Author: hhcai@jmu.edu.cn
Page Number(s): 889-899
Published Online First: June 10, 2025
Publication Date: July 29, 2025
ABSTRACT

The detection of adulterants in tea using infrared spectroscopy has gained prominence. However, there has yet to be a systematic comparison of the performance of traditional machine learning methods versus deep learning in the context of modelling infrared data for tea quality. This study compares machine learning and deep learning for modeling spectral data. Machine learning methods like Random Forest, K-Nearest Neighbors (KNN), Support Vector Classification, and Gaussian Naive Bayes used the Successive Projections Algorithm (SPA) for feature extraction, while deep learning models automatically extracted features. SPA-KNN showed superior performance with 0.950 accuracy, 0.953 macro-precision, 0.950 macro-recall, and 0.950 macro-F1 score on the test set (n=80), processing in 1.33 seconds. Deep learning models such as ResNet achieved a lower accuracy of 0.688 and required a longer processing time of 335.60 seconds. This may be partly due to the limited generalization ability caused by the small sample size. Additionally, the complex structure of ResNet, such as its depth, may contribute to the longer processing time. This study offers insights for selecting appropriate methods in tea quality assessment. Machine learning methods, especially with spectral preprocessing and SPA-based feature extraction, remain effective, while deep learning may not excel in limited data scenarios due to its higher computational demands.

Keywords: Adulteration, Food quality, 1D CNN, Resnet, LSTM, Classification algorithm, Feature selection
Open Access: This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( https://creativecommons.org/licenses/by/4.0/).


Download Statistics
This Manuscript
Full Text
37
downloads
Citations
Scopus1
Scopus
1
Indicators
Metrics

Cite Score: 1.3

JCR Year: 2025

Indexing
Status

Web of Science (SCIE)

SCOPUS (Q3)

Journal Metrics
Current

Journal Impact Factor: 0.5

HEC Category: W

ISSN Details
Verified

Print ISSN: 1018-7081

Electronic ISSN: 2309-8694

Search the Journal

Use the fields below to search for articles by Title, Author, or Keywords.

All Downloads
Full Text
21,480
downloads
Supplementary
40
downloads