Professional Documents
Culture Documents
Vibrational Spectroscopy
journal homepage: www.elsevier.com/locate/vibspec
A R T I C L E I N F O A B S T R A C T
Keywords: Objective: Food quality and safety has become the focus of attention for people from all walks of life. As antibiotic
Hyperspectral residues in food will cause serious harm to human health, it is necessary to realize the rapid and non-destructive
Infant milk powder detection of antibiotic residues in food. The problem of antibiotic residues is among the most urgent problems to
Antibiotic
be tackled in the quality problems of milk powder, so it is very important to conduct accurate qualitative
RF
LS-SVM
identification and quantitative detection of antibiotics in milk powder.
Method: Based on hyperspectral technology and combined with chemometrics, this research took the three
common residual antibiotics (doxycycline, chlortetracycline and oxytetracycline) in milk powder as the research
objects to monitor the quality of milk powder. Firstly, Samples were prepared by grinding, drying, weighing,
mixing and performing successively according to the designed concentration gradient. Then, the spectral of pure
sample (infant milk powder and pure antibiotic) and samples containing three types of antibiotic residues were
acquired characteristics and compared. Thirdly, to establish a qualitative discriminant model for different
antibiotic residues in infant milk powder, the Partial Least Squares Discriminant Analysis (PLS-DA) and Random
Forest (RF) models were established to identify antibiotic residues in milk powder. Fourthly, to establish a
quantitative discriminant model for antibiotic residues in infant milk powder, to simplify the models and reduce
the computational complexity, three methods, namely, Successive projection Algorithm (SPA), Uninformative
Variable Elimination (UVE), and Competitive Adaptive Reweighted Sampling (CARS) were used to select the
wavelengths for the optimal method. Then the Least Squares Support Vector Machine (LS-SVM) model was
established to conduct quantitative detection of residual antibiotics.
Result: In the qualitative analysis, PLS-DA model can roughly identify three antibiotics, with an accuracy rate of
96.2 %. RF model has better effect, with an identification accuracy reaching 100 %. In the establishment of
quantitative detection model, after the spectrum wavelengths of three types of milk powder samples was selected
by CARS algorithm, the CARS-LS-SVM model which was established by using only 7% of the data showed good
effect. Among them, the prediction set correlation coefficient Rp and Root Mean Square Error of Prediction Set
(RMSEP) of milk powder samples containing aureomycin, doxycycline and oxytetracycin residues were 0.9990
and 0.08 %, 0.9996 and 0.05 %, 0.9997 and 0.04 %, respectively. The LOD(Limit of Detection) of aureomycin,
doxycycline, and oxytetracycline were 2.44 × 10− 3, 1.51 × 10− 3, 1.2 × 10-3, respectively.
Conclusion: The identification of infant milk powder can be well realized by using hyperspectral technology
combined with RF algorithm. The LS-SVM models were established by hyperspectral technology combined with
CARS algorithm can then be used to set up better quantitative determination models of antibiotic residues in
infant milk powder. This research can provide a theoretical basis for the detection of antibiotics in other types of
food and can guarantee food safety to a certain extent.
* Corresponding author at: School of Mechatronics & Vehicle Engineering, East China Jiaotong University, 330013, PR China.
E-mail addresses: hujun_ecjtu@163.com (J. Hu), jxliuyd@163.com (Y. Liu).
1
Received: Oct 5, 2020.
https://doi.org/10.1016/j.vibspec.2021.103244
Received 26 November 2020; Received in revised form 15 February 2021; Accepted 10 March 2021
Available online 13 March 2021
0924-2031/© 2021 Published by Elsevier B.V.
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
2
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
Table 1
The true value distribution of calibration set and prediction set of infant milk powder with different antibiotic concentrations.
Type of Milk Powder Classification of Sample Set Amount Minimum Value (%) Maximum Value (%) Average Value (%) STDEV
Note: Type A milk powder is the prepared sample of infant milk powder containing aureomycin residues; Type B milk powder is the prepared sample of baby milk
powder containing doxycycline residues; Type C milk powder is the prepared sample of infant milk powder containing oxytetracycline residues.
Fig. 1. Hyperspectral Imaging System: (a) Schematic Diagram; (b) structural Diagram.
follows: Firstly, the CCD camera lens were covered to collect an all-black ducting spectral matrix decomposition [18–20]. The discriminant
image; then the lens cover was moved to collect the white frame image analysis process is as follows: (1) the classified variables of the cali
of the white reference plate, which then was used to correct the original bration set are established; (2) PLS analysis of classified variables and
image of the sample. The calibration Formula (1) is shown below. spectral data is conducted to establish a PLS model between classified
variables and spectral data; (3) the PLS model of the classified variables
I λ − Hλ
Rλ = (1) and spectral characteristics is established according to the calibration
Bλ − H λ
set, then the value of the classified variables of the verification set are
In the formula, Rλ represents calibrated data; Hλ represents all-black calculated. The calculation method is shown in Formula (2).
data; Bλ represents all-white data; and Iλ represents original data. After
∑
n
all spectral images had been corrected, subsequent analysis and pro Y= βi λi + bi (2)
cessing were carried out. i=1
3
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
2.3.3. LS-SVM algorithm model, and the closer the values of RMSEC and RMSEP are, the better
LS-SVM is a learning method based on kernel function. It is opti the robustness of the model. Fig. 2 shows the flow chart of establishing
mized on the basis of support vector machine to reduce the amount of the detection model of antibiotic residues in infant milk powder.
computation so as to reduce the calculation time, thus improving the
efficiency of model establishment [23–25]. LS-SVM has good mathe 3. Experimental results and analysis
matical properties and can solve practical problems such as small sam
ple, local minimum point, nonlinear and high dimension. Its main kernel 3.1. Hyperspectral response characteristics of pure infant milk powder
functions include linear kernel function (Link_kernel) and radial basis and aureomycin samples
kernel function (RBF_kernel). The algorithm of RBF_kernel adopted in
this paper is shown in Formula (3). 3.1.1. Hyperspectral contrast analysis of different antibiotic samples
⃦ ⃦2 / Hyperspectrum has abundant data and message. In this experiment,
K(xi , xj ) = exp(− ⃦xi − xj ⃦ 2σ2 ) (3) the frequency range of hyperspectral is 957.49~2567.67 nm, with a
total of 288 band points. Fig. 3 shows the spectral comparison of the
In the formula, xi represents the sample point; xj represents the
three pure antibiotics, it can be seen that the reflectance of the three
center point of the kernel function; σ2 represents the kernel parameter. antibiotics as a whole had a similar trend. As the wavelength increased,
Eq. (4) was calculated according to the slope of the fitting curve the reflectance gradually decreased, but there were certain differences
between true value and predictive value established by hyperspectral in different wavelengths. Oxytetracycline has the highest reflectivity
data and the variance of prediction error. The calculation result shows among the three antibiotics at 957.79~1400 nm, 1700~1900 nm and
that the limit of detection (LOD) had a confidence interval of 99.86 % 2050nm~2567.67 nm.
[26]. In Eq. (4),σ refers to the standard error of predictive concentration;
m refers to the slope of the fitting curve, and RMSEP is equal to the value 3.1.2. Hyperspectral analysis of infant milk powder containing antibiotic
of σ in the model. residues
3σ Figs. 4–6 show the spectral comparison of different contents of the
LOD = (4) three antibiotics in milk powder, among which the spectral reflection
m
intensities of the three pure antibiotics were all higher than that of the
milk powder. With the increase of spectral wavelength, the spectral
2.4. Model evaluation criteria
refraction intensities of the infant milk powder containing antibiotic
residues all presented a downward trend. Fig. 4 shows the samples of
The parameters of the evaluation model mainly include correlation
mixed milk powder containing aureomycin residues, and the spectral
coefficient (rc and rp) of calibration set and prediction set and RMSE
peaks were relatively obvious at 1154.54 nm, 1261.51 nm, 1368.48 nm,
(RMSEC and RMSEP) between those two sets. The higher the correlation
1706.28 nm, 1908.96 nm, 2004.67 nm and 2252.39 nm. Fig. 5 shows the
coefficient of the model, the closer its value is to 1, the better the pre
spectral peaks of the mixed milk powder containing doxycycline resi
dictive effect; the smaller the RMSEP, the higher the accuracy of the
dues at 1154.54 nm, 1261.51 nm, 1368.48 nm, 1706.28 nm, 1908.96
nm, 2004.67 nm and 2252.39 nm. Fig. 6 shows the spectral peaks of the
mixed milk powder containing oxytetracycline residues at 1154.54 nm,
1261.51 nm, 1368.48 nm, 1706.28 nm, 1908.96 nm, 2004.67 nm and
2252.39 nm. And with the increase of antibiotic concentration, the in
tensity of absorption peak increased gradually. The reason for the
emergence of this peak might be that the concentration of antibiotics
mixed in infant milk powder increased, making the hyperspectral
reflection of samples more intense.
4
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
Fig. 4. Hyperspectral comparison diagram of samples with different concen Fig. 7. The regression coefficient curve chart of the PLS-DA discriminant model
trations of aureomycin in infant milk powder. for antibiotic types in milk powder.
5
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
Table 2
Classification results of RF discriminant model.
Samples Calibration set Prediction Set True Correct rate
Fig. 12. The results of the mixed samples of milk powder variables selection
Fig. 10. The variation diagram of variable contribution rate. by UVE.
6
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
uses the UVE algorithm to select 37 variables from the original spectrum
of 288 variables. The spectrum of Class C milk powder uses the UVE
algorithm in the original spectrum. 28 variables were selected out of 288
variables. The algorithm eliminated the redundant information of the
original spectrum and optimized the model.
Table 3
Performance comparison of LS-SVM models based on variable selection methods in different wavelengths.
Type Treatment Method No. of variable γ σ2 rp RMSEP
4
Full spectrum 288 5.7209 × 10 573.5550 0.9990 0.0008
SPA 26 7.2264 × 105 6.0030 × 103 0.9983 0.0010
Type A
UVE 95 2.8098 × 103 129.1420 0.9989 0.0008
CARS 23 9.7373×103 66.0053 0.9990 0.0008
Full spectrum 288 1.2456 × 103 6.452 × 103 0.9995 0.0006
SPA 37 1.1468×107 472.1220 0.9992 0.0006
Type B
UVE 113 3622.2995 295.9600 0.9976 0.0013
CARS 23 2.7910×105 655.5651 0.9996 0.0005
Full spectrum 288 1.0462 × 105 5362.3224 0.9995 0.0005
SPA 28 5.0517 × 105 288.0593 0.9996 0.0005
Type C
UVE 113 2.0917 × 105 1807.8376 0.9996 0.0005
CARS 23 2.5144×105 519.8977 0.9997 0.0004
7
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
Acknowledgement
8
J. Hu et al. Vibrational Spectroscopy 114 (2021) 103244
[22] H. Yuan, G. Yang, C. Li, et al., Retrieving Soybean Leaf Area Index from Unmanned reflectance Fourier transform infrared spectroscopy and multivariate methods PLS-
Aerial Vehicle Hyperspectral Remote Sensing: Analysis of RF, ANN, and SVM DA and PCA, Spectrochim. Acta A. Mol. Biomol. Spectrosc. 208 (2019) 222–228.
Regression Models, Remote Sens. (Basel) 9 (4) (2017). [28] Aili Wang, Ying Wang, Yushi Chen, Hyperspectral image classification based on
[23] Wei Wang, Min Huang, Qibing Zhu, et al., Optical property inversion of biological convolutional neural network and random forest, Remote. Sens. Lett. 10 (11)
materials using Fourier series expansion and LS-SVM for hyperspectral imaging, (2019) 1086–1094.
Inverse Probl. Sci. Eng. 26 (7) (2018) 1019–1036. [29] X. Yuan, B. Dai, D. Zhang, et al., Hyperspectral imaging and SPA-LDA Quantitative
[24] Jin Xiaming, Sun Jun, Mao Hanping, et al., Discrimination of rice varieties using Analysis for Detection of Colon Cancer Tissue, J. Appl. Spectrosc. 85 (2) (2018)
LS-SVM classification algorithms and hyperspectral data, Adv. J. Food Sci. Technol. 307–312.
7 (9) (2015) 691–696.
[25] Yunhong Liu, Qingqing Wang, Gao Xiuwei, et al., Total phenolic content prediction
Jun Hu, male, born in 1992 in Xiaogan, Hubei Province,doctor; research direction: THz
in Flos Lonicerae using hyperspectral imaging combined with wavelengths
spectroscopy applications in agricultural product quality and safety testing.
selection methods, J. Food Process Eng. 42 (6) (2019).
[26] B. Liu, P. Zhou, X. Liu, et al., Detection of pesticides in fruits by surface-enhanced
raman spectroscopy coupled with gold nanostructures, Food Bioproc. Tech. 6 (3) Yande Liu, female, born in 1967 in Ji’an, Jiangxi Province, doctor, professor; research
(2013) 710–718. direction: spectroscopic diagnostic technology in agricultural product quality and safety.
[27] Agata Walkowiak, Lukasz Ledzinski, Mariusz Zapadka, et al., Detection of
adulterants in dietary supplements with Ginkgo biloba extract by attenuated total