|
|
|
|
|
|
Near-Infrared Spectroscopy Measurement of Contrastive Variational Autoencoder and Its Application in the Detection of Liquid Sample |
YUAN Zhuang1, DONG Da-ming2* |
1. Guangxi University, Nanning 530004, China
2. Research Center of Intelligent Equipment, Beijing Academy of Agriculture and Forestry Sciences, Beijing 100097, China
|
|
|
Abstract Near-infrared spectroscopy is one of the popular food detection methods. Analyzing such high-dimensional spectral data often requires using data dimensionality reduction algorithms to extract features. However, most algorithms can only analyze a single data set.Although the contrastive principal component analysis based on contrastive learning has been successfully applied to the near-infrared spectroscopy detection of pesticide residues on the surface of different fruits, this method can only linearly combine the original features, and the feature extraction effect has limitations and needs to be adjusted. Comparing parameters to control the influence of the background set requires more time and cost.cVAE (contrastive variational autoencoder) is an improved algorithm based on contrastive learning and variational autoencoder, which is used in image denoising and RNA sequence analysis. It still has the characteristics of analyzing multiple data sets, and at the same time, it can extract nonlinear hidden features because of the combination of the probability generation model of the neural network. The cVAE algorithm is applied to near-infrared spectroscopy analysis, and an accurate dimensionality reduction model of near-infrared spectroscopy data is established. In actual verification, the cVAE algorithm was used to detect melamine adulteration in pure milk purchased by different brands and batches. The results show that when analyzing whether melamine is adulterated in pure milk purchased by different brands and batches, the VAE algorithm can only distinguish between different brands and batches of pure milk, and the important information about whether or not melamine is adulterated is not available. When using the cVAE algorithm for data analysis, because the background data set is added to separate irrelevant variables, it is possible to classify samples with or without adulterated melamine clearly.This shows that cVAE has the advantages of cPCA (contrastive principle component analysis) in dimensionality reduction of near-infrared spectroscopy data and can extract nonlinear features without the need to adjust variable parameters.The dimensionality reduction model of the near-infrared spectroscopy can be established more conveniently.
|
Received: 2021-11-01
Accepted: 2022-03-07
|
|
Corresponding Authors:
DONG Da-ming
E-mail: damingdong@hotmail.com
|
|
[1] Huang Y, Sun X, Liao K, et al. Journal of Near Infrared Spectroscopy, 2020, 28(5): 334.
[2] Harohally N V, Thomas C. ACS Food Science & Technology, 2021, 1(4): 524.
[3] Mateen M, Wen J, Song S, et al. Symmetry, 2018, 11(1): 1.
[4] de la Fuente R L N, García-Muñoz S, Biegler L T. Journal of Chemometrics, 2010, 24(6): 301.
[5] Urtubia A, Roger J M. Journal of Chemometrics, 2011, 25(7): 382.
[6] Zhang S, Zhao C. Chemometrics and Intelligent Laboratory Systems, 2019, 185: 47.
[7] Zhao Z, Li Q, Huang B, et al. Chemometrics and Intelligent Laboratory Systems, 2015, 142: 18.
[8] Abid A, Zhang M J, Bagaria V K, et al. Nature Communications, 2018, 9(1): 1.
[9] CHEN Shu-yi, ZHAO Quan-ming, DONG Da-ming(陈淑一,赵全明,董大明). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2020, 40(3): 917.
[10] Kingma D P, Welling M. Foundations and Trends in Machine Learning, 2019, 12(4): 307.
[11] Zou J Y, Hsu D J, Parkes D C, et al. Advances in Neural Information Processing Systems, 2013, 26: 2238.
[12] An J, Cho S. Variational Autoencoder Based Anomaly Detection Using Reconstruction Probability. Special Lecture on IE, 2015, 2(1): 1.
[13] LIU Rong, MIAO Jing, YANG Ren-jie(刘 蓉,苗 静,杨仁杰). Physical Testing and Chemical Analysis (Part B: Chemical Analysis)(理化检验,化学分册),2013,49(4):386.
|
[1] |
GAO Feng1, 2, XING Ya-ge3, 4, LUO Hua-ping1, 2, ZHANG Yuan-hua3, 4, GUO Ling3, 4*. Nondestructive Identification of Apricot Varieties Based on Visible/Near Infrared Spectroscopy and Chemometrics Methods[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 44-51. |
[2] |
LIU Jia, ZHENG Ya-long, WANG Cheng-bo, YIN Zuo-wei*, PAN Shao-kui. Spectra Characterization of Diaspore-Sapphire From Hotan, Xinjiang[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 176-180. |
[3] |
BAO Hao1, 2,ZHANG Yan1, 2*. Research on Spectral Feature Band Selection Model Based on Improved Harris Hawk Optimization Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 148-157. |
[4] |
HE Qing-yuan1, 2, REN Yi1, 2, LIU Jing-hua1, 2, LIU Li1, 2, YANG Hao1, 2, LI Zheng-peng1, 2, ZHAN Qiu-wen1, 2*. Study on Rapid Determination of Qualities of Alfalfa Hay Based on NIRS[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3753-3757. |
[5] |
HU Cai-ping1, HE Cheng-yu2, KONG Li-wei3, ZHU You-you3*, WU Bin4, ZHOU Hao-xiang3, SUN Jun2. Identification of Tea Based on Near-Infrared Spectra and Fuzzy Linear Discriminant QR Analysis[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3802-3805. |
[6] |
LIU Xin-peng1, SUN Xiang-hong2, QIN Yu-hua1*, ZHANG Min1, GONG Hui-li3. Research on t-SNE Similarity Measurement Method Based on Wasserstein Divergence[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3806-3812. |
[7] |
BAI Xue-bing1, 2, SONG Chang-ze1, ZHANG Qian-wei1, DAI Bin-xiu1, JIN Guo-jie1, 2, LIU Wen-zheng1, TAO Yong-sheng1, 2*. Rapid and Nndestructive Dagnosis Mthod for Posphate Dficiency in “Cabernet Sauvignon” Gape Laves by Vis/NIR Sectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3719-3725. |
[8] |
WANG Qi-biao1, HE Yu-kai1, LUO Yu-shi1, WANG Shu-jun1, XIE Bo2, DENG Chao2*, LIU Yong3, TUO Xian-guo3. Study on Analysis Method of Distiller's Grains Acidity Based on
Convolutional Neural Network and Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3726-3731. |
[9] |
LUO Li, WANG Jing-yi, XU Zhao-jun, NA Bin*. Geographic Origin Discrimination of Wood Using NIR Spectroscopy
Combined With Machine Learning Techniques[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3372-3379. |
[10] |
ZHANG Shu-fang1, LEI Lei2, LEI Shun-xin2, TAN Xue-cai1, LIU Shao-gang1, YAN Jun1*. Traceability of Geographical Origin of Jasmine Based on Near
Infrared Diffuse Reflectance Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3389-3395. |
[11] |
YANG Qun1, 2, LING Qi-han1, WEI Yong1, NING Qiang1, 2, KONG Fa-ming1, ZHOU Yi-fan1, 2, ZHANG Hai-lin1, WANG Jie1, 2*. Non-Destructive Monitoring Model of Functional Nitrogen Content in
Citrus Leaves Based on Visible-Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3396-3403. |
[12] |
HUANG Meng-qiang1, KUANG Wen-jian2, 3*, LIU Xiang1, HE Liang4. Quantitative Analysis of Cotton/Polyester/Wool Blended Fiber Content by Near-Infrared Spectroscopy Based on 1D-CNN[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3565-3570. |
[13] |
HUANG Zhao-di1, CHEN Zai-liang2, WANG Chen3, TIAN Peng2, ZHANG Hai-liang2, XIE Chao-yong2*, LIU Xue-mei4*. Comparing Different Multivariate Calibration Methods Analyses for Measurement of Soil Properties Using Visible and Short Wave-Near
Infrared Spectroscopy Combined With Machine Learning Algorithms[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3535-3540. |
[14] |
KANG Ming-yue1, 3, WANG Cheng1, SUN Hong-yan3, LI Zuo-lin2, LUO Bin1*. Research on Internal Quality Detection Method of Cherry Tomatoes Based on Improved WOA-LSSVM[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3541-3550. |
[15] |
HUANG Hua1, LIU Ya2, KUERBANGULI·Dulikun1, ZENG Fan-lin1, MAYIRAN·Maimaiti1, AWAGULI·Maimaiti1, MAIDINUERHAN·Aizezi1, GUO Jun-xian3*. Ensemble Learning Model Incorporating Fractional Differential and
PIMP-RF Algorithm to Predict Soluble Solids Content of Apples
During Maturing Period[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3059-3066. |
|
|
|
|