Biochemical substance terahertz spectrum data identification method based on VGG-16 neural network

By converting one-dimensional terahertz spectral data into two-dimensional images and using VGG-16 neural network, combining generative adversarial networks and image processing technology, the problems of low recognition accuracy and poor robustness in the existing technology are solved, and high efficiency is achieved The recognition of biochemical substances has reached a recognition accuracy of 99.1%.

CN118887465APending Publication Date: 2024-11-01PEKING UNIV

Patent Information

Application Number
CN202410933369.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the identification of terahertz spectral data of biochemical substances, the prediction accuracy is low, the signal-to-noise sensitivity is poor, the robustness is poor, and the generalization performance is poor. It is difficult for traditional machine learning algorithms to effectively identify a variety of biochemical substances.

Method used

The one-dimensional biochemical terahertz spectral data is converted into two-dimensional images, and the VGG-16 neural network is used to combine generative adversarial networks and image processing technology to perform data preprocessing and enhancement to build an efficient identification model.

Benefits of technology

The identification accuracy of more than 99.1% was achieved, which improved the robustness and generalization ability of the model, and enhanced the identification and analysis ability of biochemical substance spectral data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887465A_ABST
    Figure CN118887465A_ABST
Patent Text Reader

Abstract

The invention discloses a biochemical substance terahertz spectrum data identification method based on a VGG-16 neural network. The method comprises the following steps: acquiring biochemical substance THz spectrum original data; preprocessing the THz spectral data of the biochemical substances; expanding the THz spectrum database by using a generative adversarial network (GAN) algorithm; converting the one-dimensional THz spectral data of the biochemical substances into a two-dimensional image; constructing a VGG-16 neural network model, and optimizing model structure parameters; and inputting the biochemical substance THz spectrum data which does not participate in training into the optimal VGG-16 neural network model to obtain an identification result. The method utilizes the VGG-16 neural network to extract the terahertz spectrum data characteristics of the biochemical substances, improves the processing efficiency of a large amount of terahertz spectrum data, and has higher robustness and recognition accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of terahertz spectrum recognition of biochemical substances, and in particular to a method for identifying terahertz spectrum data of biochemical substances based on a VGG-16 neural network. Background Art

[0002] Biosafety and human health are the key issues of today's society. The rapid and accurate detection of biochemical substances is a necessary means for biosafety prevention and human health monitoring. As an effective electromagnetic probe, terahertz (THz) waves can be used to detect a variety of biochemical substances. Biochemical detection based on THz waves is a relatively new spectroscopic sensing technology with the characteristics of non-contact, non-destructive, fast response, and good recognition. It has attracted great attention and extensive research at home and abroad. Since the vibration and rotation energy level transitions of many biochemical substances are in the THz band, this makes THz technology have the potential to identify biochemical substances and analyze the composition of biochemical substances.

[0003] In the research of THz spectral data recognition, Zhu Rongsheng et al. used support vector machine (SVM) and its improved algorithm to realize the recognition of THz spectral data of three substances: maltotriose, maltohexaose and maltoheptaose; Yu Haoyue et al. used a recognition method based on bidirectional long short-term memory network (BLSTM-RNN) to automatically extract THz spectral features, and realized the recognition of compounds such as anthraquinone, carbazole, mannose, riboflavin, and calcium pantothenate. However, the traditional machine learning algorithms such as SVM, LSTM, and KNN operate on one-dimensional THz spectral data, which have many shortcomings such as low prediction accuracy, high sensitivity to the signal-to-noise ratio of THz spectra, poor robustness, and poor generalization performance.

[0004] In recent years, relying on the rapid development of computer vision, convolutional neural networks (CNN) have been widely used in image classification, image recognition, speech recognition and other fields, and have a strong advantage in feature extraction. Therefore, converting one-dimensional biochemical THz spectrum data into two-dimensional images can make use of image processing technology in computer vision, making THz spectrum data easier to be processed by neural networks. CNN can directly extract high-level features from two-dimensional images of spectral data, so that it can distinguish biochemical substances with extremely similar molecular structure spectral resonance peaks, thereby greatly improving the accuracy and analysis ability of spectral recognition. Summary of the invention

[0005] In order to overcome the shortcomings of the prior art, the present invention proposes a biochemical substance terahertz spectrum data recognition method based on VGG-16 neural network, which uses a time series to two-dimensional image algorithm to convert the obtained biochemical substance one-dimensional THz spectrum data into a two-dimensional image, and then uses the VGG-16 neural network to realize the recognition of multiple biochemical substance THz spectrum data. Compared with directly using the original one-dimensional spectrum data, converting it into a two-dimensional image can make the data easier to be processed by the neural network, and can further use the data enhancement technology in image processing to improve the model performance, so as to better extract features and achieve better recognition effect.

[0006] The present invention proposes a method for identifying terahertz spectrum data of biochemical substances based on a VGG-16 neural network, which is characterized by comprising the following steps:

[0007] Step S1: Acquisition of raw data of THz spectrum of biochemical substances;

[0008] Step S2: preprocessing the THz spectrum data of biochemical substances to obtain the standardized THz spectrum data required by the VGG-16 neural network;

[0009] Step S3: Expanding the THz spectrum database using a generative adversarial network (GAN) algorithm;

[0010] Step S4: converting the one-dimensional THz spectrum data of biochemical substances into a two-dimensional image to form a database; the specific steps include:

[0011] Step S41, scaling the biochemical substance THz spectrum data range to [-1, 1];

[0012]

[0013] Step S42, convert the scaled sequence data into a polar coordinate system, that is, the numerical value is regarded as the cosine value of the angle, and the timestamp is regarded as the radius, and the formula is as follows:

[0014]

[0015] Among them, t i ∈N represents the point x i timestamp, N is the number of all time points contained in the time series data, and each time point data contains two pieces of information: one is the normalized value of the data point The other is its temporal position t i . Polar axis r i The temporal relationship is preserved; the polar angle φ i The numerical relationship is preserved;

[0016] Step S43, using the sum angle relationship and the difference angle relationship, obtain the corresponding GASF diagram and GADF diagram:

[0017]

[0018]

[0019] Step S44, converting the one-dimensional THz spectrum data obtained in step S3 into a two-dimensional image using the Gram Angle Sum Field (GADF)-sine value method of angle difference;

[0020] Step S5: construct a VGG-16 neural network model and optimize the model structure parameters;

[0021] Step S6: Input the THz spectrum data of biochemical substances in the test set into the optimal VGG-16 neural network model to obtain the recognition result.

[0022] Further, the step S1 comprises: using Gaussian 16W software, through a large number of simulations, obtaining one-dimensional THz spectrum simulation data of eight amino acids, including phenylalanine, methionine, lysine, leucine, threonine, valine, isoleucine and histidine, and five sugars, including aspartame, fructose, glucose, lactose monohydrate and sucrose;

[0023] Alternatively, using the THz-TDS system, one-dimensional THz spectrum test data of eight amino acids, including phenylalanine, methionine, lysine, leucine, threonine, valine, isoleucine, and histidine, and five sugars, including aspartame, fructose, glucose, lactose monohydrate, and sucrose, were obtained through a large number of tests.

[0024] Furthermore, the step S2 comprises:

[0025] Step S21, using the spline interpolation method, the frequency points of the THz spectrum data of biochemical substances in the 0-3THz spectrum range obtained by simulation and measurement are controlled to 500;

[0026] Step S22, adding different means μ and variances σ to the obtained one-dimensional THz spectrum data of biochemical substances 2 Gaussian noise is added to improve the robustness and generalization ability of the model.

[0027] Step S23, taking into account the influence of water vapor on the measured THz spectrum data, the THz absorption spectra of water vapor with different relative humidity are superimposed on the THz spectrum data containing Gaussian noise obtained in step S22.

[0028] Furthermore, the step S3 comprises:

[0029] Step S31, constructing an AL-WGAN-GP network: constructing a generator consisting of two layers of convolutional networks, one layer of recurrent neural network, and one fully connected layer in series; constructing a discriminator consisting of two layers of convolutional networks, one layer of attention mechanism, and one fully connected layer in series;

[0030] Step S32, training the WGAN network with the THz spectrum data obtained in step S23, and calculating the loss value LOSS of the discriminator and the generator;

[0031] Step S33: When the loss values ​​LOSS of the generator and the discriminator no longer decrease, the two reach a Nash equilibrium, and the generated simulation data is added to the database for re-iteration, and so on to form a chain reaction.

[0032] Furthermore, the step S5 comprises:

[0033] Step S51, constructing a VGG-16 neural network model, which includes 13 convolutional layers, 3 fully connected layers and a Softmax output layer, and the middle pooling layer uses the maximum pooling function, and the activation unit in the hidden layer uses the ReLU function as the activation function;

[0034] Step S52, dividing the biochemical substance THz spectrum two-dimensional image database into a training set and a test set;

[0035] Step S53, input the training set into the VGG-16 neural network model, calculate the loss function error, and use the back propagation algorithm to iteratively optimize and adjust the network weights and bias.

[0036] The beneficial effects of the present invention are as follows: the present invention converts the one-dimensional THz spectrum data of biochemical substances into a two-dimensional image, thereby using the image processing technology in computer vision to complete the recognition task of the spectrum data. Compared with directly using the original one-dimensional spectrum data, converting the one-dimensional data into a two-dimensional image can make the data easier to be processed by the neural network, and can further use the data enhancement technology in image processing to improve the model performance, so as to better extract features and achieve better recognition effects. At the same time, the image-based input method can also use existing image processing algorithms and tools for pre-processing and post-processing, making the processing of spectrum data more efficient and accurate. Finally, the solution proposed by the present invention achieved a recognition accuracy rate of more than 99.1% on the test set. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of the method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network of the present invention;

[0038] Figure 2 It is a schematic diagram of the structure of the VGG-16 neural network model constructed in a specific embodiment of the present invention;

[0039] Figure 3 Schematic diagram of the detection results of the VGG-16 neural network model constructed according to a specific embodiment of the present invention, wherein (a) the loss on the test set; (b) the prediction accuracy;

[0040] Figure 4 It is the confusion matrix corresponding to the recognition results of the THz spectrum data of 8 kinds of amino acids and 5 kinds of sugars by the VGG-16 neural network model constructed by the present invention;

[0041] Figure 5 The present invention is a VGG-16 neural network model constructed to identify THz spectral data of a single biochemical substance, including (a) THz spectral data of phenylalanine; (b) THz spectral data of aspartame; (c) prediction results of phenylalanine; (d) prediction results of aspartame. DETAILED DESCRIPTION

[0042] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. Figure 1 FIG. 1 is a flow chart of a method for identifying THz spectrum data of biochemical substances based on a VGG-16 neural network according to the present invention, which specifically includes the following steps:

[0043] Step S1: Acquisition of raw data of THz spectrum of biochemical substances.

[0044] Step S11, using Gaussian 16W software, through simulation, obtain one-dimensional THz spectrum simulation data of eight amino acids, namely phenylalanine, methionine, lysine, leucine, threonine, valine, isoleucine and histidine, and five sugars, namely aspartame, fructose, glucose, lactose monohydrate and sucrose, wherein the spectrum range is 0-3 THz, with a total of 500 frequency points;

[0045] Step S12, using a terahertz time domain spectroscopy system (THz-TDS), one-dimensional THz spectrum test data of eight amino acids, including phenylalanine, methionine, lysine, leucine, threonine, valine, isoleucine, and histidine, and five sugars, including aspartame, fructose, glucose, lactose monohydrate, and sucrose, are obtained through testing, and 20 THz spectrum data are obtained for each biochemical substance, and the spectrum range is 0-3 THz, with a total of 100 frequency points;

[0046] Step S2: Preprocessing of biochemical substance THz spectrum data.

[0047] Step S21, supplementing the measured THz spectrum data frequency points of biochemical substances in the 0-3THz spectrum range to 500 by spline interpolation method.

[0048] Step S22, adding mean μ∈[0,1] and variance σ to the obtained one-dimensional THz spectrum data of biochemical substances 2 ∈[0,1] Gaussian noise is added to make the number of THz spectra of each biochemical substance reach 100 to improve the robustness and generalization ability of the model.

[0049] Step S23, considering the influence of water vapor on the measured THz spectrum data, the THz spectrum data containing Gaussian noise obtained in step S22 are superimposed with the water vapor absorption spectrum at a relative humidity of 5%.

[0050] Step S3: Expand the THz spectral database using the generative adversarial network (GAN) algorithm.

[0051] Step S31, constructing a GAN network, which consists of a generator and a discriminator.

[0052] Step S32, train the GAN network and calculate the loss value LOSS of the discriminator and the generator.

[0053] Step S33: When the loss value LOSS of the generator and the discriminator no longer decreases, the two reach Nash equilibrium, and the generated simulation data is added to the database for re-iteration, and so on to form a chain reaction. Finally, the THz spectrum data of each biochemical substance is expanded to 600.

[0054] Step S4: using a one-dimensional data to two-dimensional image algorithm to convert the one-dimensional THz spectrum data of the biochemical substance into a two-dimensional image.

[0055] Step S41, scaling the biochemical substance THz spectrum data range to [-1, 1].

[0056]

[0057] Step S42, convert the scaled sequence data into a polar coordinate system, that is, the numerical value is regarded as the cosine value of the angle, and the timestamp is regarded as the radius, and the formula is as follows:

[0058]

[0059] Among them, t i ∈N represents the point x i timestamp, N is the number of all time points contained in the time series data. Each time series data point contains two pieces of information: one is the normalized value of the data point The other is its temporal position t i . Polar axis r i The temporal relationship is preserved; the polar angle φ i The numerical relationship is preserved.

[0060] Step S43, using the sum angle relationship and the difference angle relationship, obtain the corresponding GASF diagram and GADF diagram:

[0061]

[0062]

[0063] Step S44, using the Gram Angle Sum Field (GADF)-sine value method of angle difference, the one-dimensional THz spectrum data obtained in step S3 is converted into a two-dimensional image with a pixel value of 224×224×3.

[0064] Step S5: Construct a VGG-16 neural network model, such as Figure 2 As shown, the model structure parameters are optimized.

[0065] Step S51, constructing a VGG-16 neural network model, which includes 13 convolutional layers, 3 fully connected layers and a Softmax output layer, and the middle pooling layer uses the maximum pooling function, and the activation unit in the hidden layer uses the ReLU function as the activation function;

[0066] Step S52, dividing the biochemical substance THz spectrum two-dimensional image database into a training set and a test set;

[0067] Step S53, input the training set into the VGG-16 neural network model, and observe the loss value LOSS and prediction accuracy of the model on the training set by continuously adjusting the model's learning rate, number of training rounds and other parameters;

[0068] In step S51, the convolution kernel sizes of the 13 convolutional layers are all 3×3, the step length is 1, and padding=1.

[0069] The VGG-16 neural network input is a 224×224×3 image. The number of convolution kernels in the first and second layers is 18. The output feature map size obtained after the first convolution layer is 224×224×18, denoted as Out1; the output feature map size obtained after Out1 passes through the second convolution layer is 224×224×18, denoted as Out2; the output feature map size obtained after Out2 passes through the first maximum pooling layer is 112×112×18, denoted as M1.

[0070] The number of convolution kernels in the third and fourth layers is 36. The feature map M1 output after the first maximum pooling layer has an output feature map size of 112×112×36 after the third convolution layer, which is recorded as Out3; the output feature map size of Out3 after the fourth convolution layer is 112×112×36, which is recorded as Out4; the output feature map size of Out4 after the second maximum pooling layer is 56×56×36, which is recorded as M2.

[0071] The number of convolution kernels in the fifth, sixth and seventh layers is 72. The feature map M2 output after the second maximum pooling layer has an output feature map size of 56×56×72 after the fifth convolution layer, which is recorded as Out5; the output feature map size of Out5 after the sixth convolution layer is 56×56×72, which is recorded as Out6; the output feature map size of Out6 after the seventh convolution layer is 56×56×72, which is recorded as Out7; the output feature map size of Out7 after the third maximum pooling layer is 28×28×72, which is recorded as M3.

[0072] The number of convolution kernels in the eighth, ninth and tenth layers is 72. The feature map M3 output after the third maximum pooling layer has an output feature map size of 28×28×72 after the eighth convolution layer, which is recorded as Out8; the output feature map size obtained after Out8 passes through the ninth convolution layer is 28×28×72, which is recorded as Out9; the output feature map size obtained after Out9 passes through the tenth convolution layer is 28×28×72, which is recorded as Out10; the output feature map size obtained after Out10 passes through the fourth maximum pooling layer is 14×14×72, which is recorded as M4.

[0073] The number of convolution kernels in the eleventh, twelfth and thirteenth layers is 72. The feature map M4 output after the fourth maximum pooling layer has an output feature map size of 7×7×72 after the eleventh convolution layer, which is recorded as Out11; the output feature map size of Out11 after the twelfth convolution layer is 7×7×72, which is recorded as Out12; the output feature map size of Out12 after the thirteenth convolution layer is 7×7×72, which is recorded as Out13; the output feature map size of Out13 after the fifth maximum pooling layer is 7×7×72, which is recorded as M5.

[0074] The output feature map size of M5 after being expanded by the flatten function is 3528×1, and is input into the first fully connected layer, whose nodes are set to 1024. Therefore, the output feature map size after the first fully connected layer is 1024×1, denoted as FC_1; FC_1 is input into the second fully connected layer, whose nodes are set to 512. The output feature map size after the second fully connected layer is 512×1, denoted as FC_2; FC_2 is input into the third fully connected layer, whose nodes are set to 13. After passing through the third fully connected layer and the softmax function, the classification prediction probability of the THz spectrum data of each biochemical substance is output.

[0075] In step S52, the two-dimensional graphical biochemical substance THz spectrum database contains 8 amino acids such as phenylalanine, methionine, lysine, leucine, threonine, valine, isoleucine, and histidine, and 5 sugars such as aspartame, fructose, glucose, lactose monohydrate, and sucrose, wherein each biochemical substance contains 600 THz spectrum data, a total of 7800. It is divided into 80% training set and 20% test set, that is, 6240 training sets and 1560 test sets.

[0076] In step S53, the learning rate of the VGG-16 neural network model is finally determined to be 0.0003, the batch size is 20, and the iteration is 100. By calculating the loss function error, the back propagation algorithm is used to continuously iterate and optimize the network weights and bias. The loss and prediction accuracy of the obtained model on the test set are shown in Figure 3 The THz spectrum recognition accuracy of biochemical substances obtained based on the final test data set in the present invention is 99.1%.

[0077] Step S6: Input the THz spectrum data of biochemical substances in the test set into the optimal VGG-16 neural network model to obtain the recognition result. Figure 4 It is the confusion matrix corresponding to the recognition results of 8 amino acids and 5 sugars by the VGG-16 neural network model. Figure 5 Taking phenylalanine and aspartame as examples, the prediction results are obtained by inputting their THz spectrum data.

[0078] The present invention is described in detail above in conjunction with the embodiments. The above embodiments are a preferred technical solution of the present invention, but the present invention is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the field without departing from the purpose of the present invention. The contents not described in detail in the present invention can adopt the existing technology.

Claims

1. A method for identifying terahertz spectral data of biochemical substances based on VGG-16 neural network, characterized in that: The following steps are involved: Step S1: Acquisition of raw data of THz spectrum of biochemical substances; Step S2: preprocessing the THz spectrum data of biochemical substances to obtain the standardized THz spectrum data required by the VGG-16 neural network; Step S3: Expand the THz spectrum database using the generative adversarial network (GAN) algorithm; Step S4: converting the one-dimensional THz spectrum data of biochemical substances into a two-dimensional image to form a database; the specific steps include: Step S41, scaling the biochemical substance THz spectrum data range to [-1, 1]; Step S42, convert the scaled sequence data into a polar coordinate system, that is, the numerical value is regarded as the cosine value of the angle, and the timestamp is regarded as the radius, and the formula is as follows: Among them, t i ∈N represents the point x i timestamp, N is the number of all time points contained in the time series data, and each time series data point contains two pieces of information: one is the normalized value of the data point The other is its temporal position t i ; Polar axis r i The temporal relationship is preserved; the polar angle φ i The numerical relationship is preserved; Step S43, using the sum angle relationship and the difference angle relationship, obtain the corresponding GASF diagram and GADF diagram: Step S44, converting the one-dimensional THz spectrum data obtained in step S3 into a two-dimensional image using the Gram angle and field GADF-angle difference sine method; Step S5: construct a VGG-16 neural network model and optimize the model structure parameters; Step S6: Input the THz spectrum data of biochemical substances in the test set into the optimal VGG-16 neural network model to obtain the recognition result.

2. The method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network according to claim 1, characterized in that: The step S1 comprises: using Gaussian 16W software or using a THz-TDS system to obtain one-dimensional THz spectrum simulation data or one-dimensional THz spectrum test data of phenylalanine, methionine, lysine, leucine, threonine, valine, isoleucine, histidine, aspartame, fructose, glucose, lactose monohydrate and sucrose.

3. The method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network according to claim 2, characterized in that: The step S2 comprises: Step S21, using the spline interpolation method, the frequency points of the THz spectrum data of biochemical substances in the 0-3THz spectrum range obtained by simulation and measurement are controlled to 500; Step S22, adding different means μ and variances σ to the obtained one-dimensional THz spectrum data of biochemical substances 2 Gaussian noise; Step S23, superimposing the THz absorption spectra of water vapor with different relative humidity on the THz spectrum data containing Gaussian noise obtained in step S22.

4. The method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network as claimed in claim 3, characterized in that: The step S3 comprises: Step S31, constructing an AL-WGAN-GP network: constructing a generator consisting of two layers of convolutional networks, one layer of recurrent neural network, and one fully connected layer in series; constructing a discriminator consisting of two layers of convolutional networks, one layer of attention mechanism, and one fully connected layer in series; Step S32, training the WGAN network with the THz spectrum data obtained in step S23, and calculating the loss value LOSS of the discriminator and the generator; Step S33: When the loss values ​​LOSS of the generator and the discriminator no longer decrease, the two reach a Nash equilibrium, and the generated simulation data is added to the database for re-iteration, and so on to form a chain reaction.

5. The method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network according to claim 1, characterized in that: The step S5 comprises: Step S51, constructing a VGG-16 neural network model, which includes 13 convolutional layers, 3 fully connected layers and a Softmax output layer, and the middle pooling layer uses the maximum pooling function, and the activation unit in the hidden layer uses the ReLU function as the activation function; Step S52, dividing the biochemical substance THz spectrum two-dimensional image database into a training set and a test set; Step S53, input the training set into the VGG-16 neural network model, calculate the loss function error, and use the back propagation algorithm to iteratively optimize and adjust the network weights and bias.

6. The method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network according to claim 5, characterized in that: In step S51, the convolution kernel size of the 13 convolution layers is 3×3, the step size is 1, and padding=1. The VGG-16 neural network input is an image of 224×224×3. The number of convolution kernels in the first and second layers is 18. The output feature map size obtained after the first convolution layer is 224×224×18, denoted as Out1; the output feature map size obtained after Out1 passes through the second convolution layer is 224×224×18, denoted as Out2; the output feature map size obtained after Out2 passes through the first maximum pooling layer is 112×112×18, denoted as M1, and the output feature map size obtained after the third convolution layer is 112×112×36, denoted as Out3; the output feature map size obtained by Out3 after the fourth convolution layer is 112×112×36, recorded as Out4; the output feature map size obtained by Out4 after the second maximum pooling layer is 56×56×36, recorded as M2, and the output feature map size obtained by M2 after the fifth convolution layer is 56×56×72, recorded as Out5; the output feature map size obtained by Out5 after the sixth convolution layer is 56×56×72, recorded as Out6; the output feature map size obtained by Out6 after the seventh convolution layer is 56×56×72, recorded as Out7; the output feature map size obtained by Out7 after the third maximum pooling layer is 28×28×7 2, denoted as M3, the output feature map size obtained by M3 after the eighth convolution layer is 28×28×72, denoted as Out8; the output feature map size obtained by Out8 after the ninth convolution layer is 28×28×72, denoted as Out9; the output feature map size obtained by Out9 after the tenth convolution layer is 28×28×72, denoted as Out10; the output feature map size obtained by Out10 after the fourth maximum pooling layer is 14×14×72, denoted as M4, the output feature map size obtained by M4 after the eleventh convolution layer is 7×7×72, denoted as Out11; the output feature map size obtained by Out11 after the twelfth convolution layer is 7×7×72, Recorded as Out12; the output feature map size obtained by Out12 after passing through the thirteenth convolutional layer is 7×7×72, recorded as Out13; the output feature map size obtained by Out13 after passing through the fifth maximum pooling layer is 7×7×72, recorded as M5, and the output feature map size obtained by M5 after being expanded by the flatten function is 3528×1, which is input into the first fully connected layer, and its nodes are set to 1024, so the output feature map size obtained after passing through the first fully connected layer is 1024×1, recorded as FC_1; FC_1 is input into the second fully connected layer, and its nodes are set to 512. The output feature map size obtained after passing through the second fully connected layer is 512×1, recorded as FC_2;FC_2 is input into the third fully connected layer, and its nodes are set to 13. After passing through the third fully connected layer and the softmax function, the classification prediction probability of each biochemical substance THz spectrum data is output. ; 7. The method for identifying terahertz spectrum data of biochemical substances based on VGG-16 neural network according to claim 5, characterized in that: In step S52, the training set is 80% and the test set is 20%.

Citation Information

Patent Citations

  • Continuous terahertz wave forbidden article image classification method based on convolutional neural network

    CN116310575A

  • Terahertz spectrum data expansion method based on AL-WGAN-GP

    CN116741284A

  • Quantitative spectral data analysis and processing method based on deep learning

    US20220051074A1

Cited By

  • Ophthalmic disease prediction model training method based on artificial intelligence

    CN119478588A

  • Intelligent biochemical substance identification method based on cooperation of terahertz time-domain spectroscopy system and FPGA

    CN119560042A

  • Brain glioma EGFR amplification state prediction method based on terahertz time-domain spectroscopy

    CN120015312A

  • Angelicae sinensis radix adulteration quantitative detection method based on terahertz spectroscopy and data fusion

    WO2026107957A1