An AI peptide structure identification method based on Transformer model and its application
Through the AI peptide structure identification method based on the Transformer model, combined with species correlation and GPU parallel computing, the shortcomings in specificity and accuracy of peptide identification methods in the existing technology are solved, and more efficient and accurate peptide structure identification is achieved.
Patent Information
- Application Number
- CN202410727768.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing peptide structure identification methods have shortcomings in specificity and accuracy, especially in free peptide signaling factors and food-derived protein enzymatic hydrolysates, the lack of species correlation and abundance information leads to insufficient reliability of identification results.
The AI peptide structure identification method based on the Transformer model is adopted. By constructing a peptide mass spectrum information data set and training with the AI model of the Transformer architecture, it gets rid of the dependence on the sequence library, combines species correlation for identification, and uses GPU for parallel computing.
Achieve more accurate polypeptide structure identification, taking into account factors such as peptide precursor ion mass, charge number, amino acid residue sequence, etc., improving the reliability and efficiency of identification results, especially in the case of missing protein sequence libraries. Strong identification and prediction ability.
Smart Images

Figure CN118298927B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mass spectrometry identification and analysis, and in particular to an AI polypeptide structure identification method based on a Transformer model and an application thereof. Background Art
[0002] Bioactive peptides can not only act as signal factors and play an important role in regulating human life activities, but also be used as exogenous supplements or drugs for human nutrition or dietary supplements and disease treatment. They are easy to absorb, highly active, and non-toxic, and have attracted extensive attention from domestic and foreign researchers. Peptide structure identification is one of the core links in the discovery of bioactive peptides. It has played an important role in the exploration of life activity signal factors, the design of drug peptide molecules, disease diagnosis and treatment, and the development of functional foods. It has become a hot topic in biomedicine and food science related research. However, how to construct efficient and accurate peptide structure identification methods and tools is a difficulty in related research.
[0003] At present, the main methods for peptide structure identification include sequence library search and de novo sequencing, which have played an important role in the identification of specific peptides and protein structures. However, for peptide signal factors or metabolic markers that exist freely in living organisms, as well as free active peptides in various food-borne protein hydrolysis or fermentation products, most of them are not specific and the raw protein sequences are mostly unknown, making it difficult to apply the sequence library search method. At the same time, the existing de novo sequencing method for peptide structure identification only considers the mass-to-charge ratio of secondary mass spectrometry ions, while ignoring the abundance information, resulting in insufficient reliability of the identification results, and the identification results completely lack species correlation, facing severe challenges in spectral identification in the absence of ion clusters. At present, the development of an efficient, accurate method that does not rely on sequence libraries but can use species correlation to identify peptide structures is of great significance for promoting the rapid discovery of bioactive peptides. Summary of the invention
[0004] In order to solve the above technical problems, the primary purpose of the present invention is to provide an AI polypeptide structure identification method based on the Transformer model. This method establishes a polypeptide mass spectrometry information data set, combines the Transformer architecture to build and train an AI artificial intelligence polypeptide identification model, which not only gets rid of the dependence of the polypeptide identification process on the protein sequence library, but also can associate the species source through the selection of the training data set, thereby ensuring the accuracy of polypeptide structure identification. In addition, the method described in the invention is mainly based on GPU graphics cards for calculation, and has obvious efficiency advantages for parallel processing of high-throughput omics data, and plays an important role in the identification and analysis of polypeptide omics in the fields of biomedicine and food.
[0005] Another object of the present invention is to provide application of the above method in peptide group identification and analysis.
[0006] A method for identifying polypeptide structures using AI based on a Transformer model, the method comprising the following steps:
[0007] Step 1: Collect peptide mass spectrometry information data, pre-process the peptide mass spectrometry information data to obtain correlation matching results, and construct a standard data set based on the correlation matching results;
[0008] Step 2: Establish a first model, which is an AI polypeptide structure identification basic model based on the Transformer architecture, including an embedding layer, an encoder, a decoder, and an output layer. The standard data set described in step 1 is input into the first model for learning to obtain a trained model, i.e., a second model;
[0009] Step 3: Input the mass spectrum data to be measured into the second model to obtain the prediction results.
[0010] Preferably, the polypeptide mass spectrum information data is collected in step 1 by using a mass spectrometer to collect data on a sample containing the polypeptide or by using existing polypeptide mass spectrum data available on the Internet.
[0011] Preferably, the preprocessing of the polypeptide mass spectrum information data in step 1 includes identification analysis of the mass spectrum data, and correlation matching of the identified polypeptide sequence with the secondary spectrum to obtain a correlation matching result.
[0012] Preferably, the standard data set is constructed in step 1 by extracting the mass-to-charge ratio and ion abundance of the ions in the secondary mass spectrum of the polypeptide in the identified polypeptide sequence according to the correlation matching results, forming a polypeptide standardization information unit, and thereby obtaining all relevant polypeptide identification result information to form a standard data set.
[0013] Preferably, the identification method includes one or more of sequence library search, de novo sequencing or enumeration identification.
[0014] Preferably, the embedding layer comprises a spectrum embedding and an amino acid word embedding module; the spectrum embedding module comprises an MS / MS information encoding layer, a fully connected layer and a position encoding layer; the amino acid word embedding module comprises a peptide information encoding layer, a fully connected layer and a position encoding layer;
[0015] The encoder includes a multi-head self-attention layer, a residual connection, and a fully connected layer;
[0016] The decoder mainly includes a multi-head self-attention layer, a masked multi-head self-attention layer, a cross self-attention layer, a residual connection, and a fully connected layer;
[0017] The output layer includes a Softmax layer and a fully connected layer.
[0018] Preferably, the working steps of the basic model for AI polypeptide structure identification are:
[0019] The implicit expression S1 of the mass spectrum is obtained by adding the mass-to-charge ratio and the relative intensity containing the relative position information, and the implicit expression S2 of the mass spectrum is obtained by adding the precursor mass and the charge state containing the relative position relationship; a discrete sequence S containing the mass spectrum information is obtained;
[0020] The discrete sequence S is input into the encoder, and multi-head self-attention calculation, feedforward neural network, and residual connection operations are performed to obtain a vector α containing spectral peak information;
[0021] Calculate the relative position information of each amino acid residue in the polypeptide sequence and obtain a discrete sequence P containing the relative position information of the amino acid residues through the word embedding layer;
[0022] The discrete sequence P is input into the decoder layer for masked self-attention calculation, and cross-attention calculation, feedforward neural network, residual connection and normalization operation are performed with the vector α to obtain the next prediction sequence;
[0023] The prediction sequence is input into a fully connected layer, a linear transformation operation is performed, and the prediction result is output.
[0024] Preferably, in step 2, the standard data set is input into the first model for learning, and the hyperparameters of the basic model set for training include the number of encoder layers, the number of decoder layers, the number of multi-head attention heads, the dimension of the embedding layer, the activation function dropout rate, Batch_size, optimizer and the number of training rounds, and the learning rate adopts dynamic learning rate adjustment to adapt to the fluctuation of samples.
[0025] Preferably, the training process uses the following hyperparameter settings: number of encoder layers: 0-50, number of decoder layers: 0-50, number of multi-head attention heads: 0-50, dimension of all embedding layers: 0-2048, activation function: Relu, dropout rate: 0-1, Batch_size: 0-2048; the network uses the Adam optimizer and is trained for 0-100 rounds.
[0026] The method is used for peptide group identification and analysis in the fields of biomedicine and food.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] 1. The AI polypeptide structure identification method of the present invention comprehensively considers the influence of multiple factors on the identification results, such as the mass number and charge number of the polypeptide precursor ion, the mass-to-charge ratio and relative intensity of the secondary ion, and the order of arrangement of the amino acid residues. The comprehensive consideration of the influencing factors is more comprehensive, and the identification results are more accurate compared with the traditional method of polypeptide identification that only relies on the mass-to-charge ratio information.
[0029] 2. The AI polypeptide structure identification method described in the present invention uses an attention mechanism. A masked attention mechanism can be used in the decoder to prevent the decoder from obtaining subsequent amino acid residue information in advance, and the model can interact with the implicit expression information of the spectral peak data and the implicit expression information of the amino acid sequence, thereby satisfying autoregression and realizing parallel computing. Compared with the prior art, the method has higher reliability and operating efficiency.
[0030] 3. The AI polypeptide structure identification method of the present invention can independently train mass spectrometry data sets from different species based on user selectivity, so that the trained model has the ability to identify species-related polypeptide structures, and can have stronger identification and prediction capabilities in polypeptide structure identification under missing protein sequence libraries.
[0031] In summary, the present invention proposes an AI polypeptide structure identification method based on the Transformer model and its application, which is proposed under the premise of fully considering the problems currently faced by polypeptide structure identification. This method can effectively predict polypeptide sequences through mass spectrometry data, and has the outstanding characteristics of being efficient, accurate and independent of sequence libraries, while at the same time being able to use species correlation to perform polypeptide spectrum interpretation. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a flow chart of the polypeptide structure identification method of the Transformer model of the present invention;
[0033] Figure 2 is a schematic diagram of a polypeptide structure identification method of the Transformer model of the present invention;
[0034] Figure 3 It is a schematic diagram of model input data preprocessing;
[0035] Figure 4 is a schematic diagram of cross self-attention;
[0036] Figure 5 This is the prediction result diagram of Example 1; DETAILED DESCRIPTION
[0037] The technical solution of the present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0038] See also Figure 1 , an AI polypeptide structure identification method based on a Transformer model, the method comprising the following steps:
[0039] Step 1: Collect peptide mass spectrometry information data, pre-process the peptide mass spectrometry information data to obtain correlation matching results, and construct a standard data set based on the correlation matching results;
[0040] Step 2: Establish a first model, which is an AI polypeptide structure identification basic model based on the Transformer architecture, including an embedding layer, an encoder, a decoder, and an output layer. The standard data set described in step 1 is input into the first model for learning to obtain a trained model, i.e., a second model;
[0041] Step 3: Input the mass spectrum data to be measured into the second model to obtain the prediction results.
[0042] See also Figure 2 , an AI peptide structure identification method based on a Transformer model, comprising the following steps:
[0043] Step 1: Collection and preprocessing of peptide mass spectrometry information data to obtain a standard data set;
[0044] Step 2: Design an AI peptide structure identification basic model based on the Transformer architecture, and input the data set described in step 1 into the model for learning to obtain a trained model;
[0045] Step 3, input the mass spectrum data to be measured into the trained model described in step 2 to obtain the prediction result.
[0046] The specific steps of step 1 are:
[0047] 1.1 Collection of peptide mass spectrometry information data: Use mass spectrometry instruments to collect extensive data on various samples containing peptides or use existing peptide mass spectrometry data available on the Internet;
[0048] 1.2 Dataset preprocessing: Identify and analyze the mass spectrometry data, associate and match the identified peptide sequences with the secondary spectra to obtain matching results;
[0049] 1.3 Construction of standard data set: According to the correlation matching results described in 1.2, the mass-to-charge ratio of the i-th ion in the secondary mass spectrum of the peptide in the identification result is extracted (denoted as m i / z i ) and ion abundance (I i ), which constitutes the peptide standardization information unit, denoted as (N represents the number of peptide secondary ions), and all relevant peptide identification result information is obtained in this way to form a standard data set.
[0050] Preferably, the mass range of the polypeptide precursor ion is 50 to 5000 Da, the mass tolerance is 0.001-0.05 Da or 1-50 ppm, the mass tolerance of the secondary fragment ion is 0.005-0.05 Da, and the identification method includes one or more of sequence library search, de novo sequencing or enumeration identification.
[0051] The specific steps of step 2 are:
[0052] 2.1 Design a basic peptide structure model based on the Transformer architecture, including an embedding layer, an encoder, a decoder, and an output layer, where:
[0053] The embedding layer is used for implicit expression of mass spectrum information and peptide sequences, and mainly includes spectrum embedding and amino acid word embedding modules; the spectrum embedding module includes MS / MS information encoding layer, full connection layer and position encoding layer; the amino acid word embedding module includes peptide information encoding layer, full connection layer and position encoding layer;
[0054] Encoder: used for mass spectrum peak information including mass-to-charge ratio, relative intensity, precursor mass, charge state and other data input, mainly including multi-head self-attention layer, residual connection, and full connection layer;
[0055] Decoder: used to input peptide sequence information and calculate the relative position information of each amino acid residue in the peptide sequence. It mainly includes multi-head self-attention layer, masked multi-head self-attention layer, cross self-attention layer, residual connection, and full connection layer;
[0056] Output layer: used to output the peptide sequence predicted by the model, including Softmax layer and fully connected layer;
[0057] 2.2 The working steps of the basic model described in step 2.1 are as follows:
[0058] Step 2.2.1, as Figure 3 As shown, the mass-to-charge ratio information and the precursor mass information in the mass spectrum information are added with relative position information in the spectrum peak, and then a discrete sequence containing the relative position of the spectrum peak is obtained through an embedding layer; the relative intensity and the charge state are passed through the embedding layer; then the mass-to-charge ratio containing the relative position information and the relative intensity are added to obtain the implicit expression S1 of the mass spectrum, and the precursor mass and the charge state containing the relative position information are added to obtain the implicit expression S2 of the mass spectrum; S1 and S2 are spliced at the first dimension level to obtain a discrete sequence S containing the mass spectrum information;
[0059] Step 2.2.2, input the discrete sequence S obtained in step 2.2.1 into the encoder, perform multi-head self-attention calculation, feedforward neural network, and residual connection operations to obtain a vector containing spectral peak information, which contains the relationship between all elements of the input sequence and the abstraction of information between spectral peaks;
[0060] Step 2.2.3, calculate the relative position information of each amino acid residue in the polypeptide sequence and obtain a discrete sequence P containing the relative position information of the amino acid residues through the word embedding layer;
[0061] Step 2.2.4, input the discrete sequence P obtained in step 2.2.3 into the decoder layer for masked self-attention calculation, and perform cross-attention calculation, feedforward neural network, residual connection and normalization operation with the spectral peak information abstract vector obtained in step 2.2.2 to obtain the next prediction;
[0062] Step 2.2.5: Input the prediction sequence obtained in step 2.2.4 into a fully connected layer, perform a linear transformation operation, and output the prediction result.
[0063] Wherein, the step 2.2.1 is specifically implemented as follows:
[0064] (1) Data input: The obtained peak The mass-to-charge ratio , relative strength , precursor mass, and charge state through the intercalation layer, respectively;
[0065] (2) Fully connected layer: Two fully connected networks and ReLu activation function are used to convert the mass-to-charge ratio , relative strength , precursor mass, and charge state are mapped to The specific method is as follows:
[0066]
[0067] in is the learnable weight matrix, , are the precursor mass and charge state, respectively. In order to prevent the gradient from vanishing due to the superposition of network layers, residual connection and layer normalization are used to solve the problem. The specific calculation formula is as follows:
[0068]
[0069] (3) Position encoding: Use a sinusoidal function to inject relative and absolute position information of the peak sequence, where this operation is only performed on mass-to-charge ratio and precursor mass:
[0070]
[0071]
[0072] (4) Calculate the implicit expression S1, S2, S of the mass spectrum. The specific method is:
[0073]
[0074] in Indicates concatenation on the first dimension of the matrix, represents the charge state after the embedding layer, It represents the relative strength after the embedding layer, and its normalization calculation method is as follows:
[0075]
[0076] Finally, the sequence data input to the model is:
[0077] (1)
[0078] (2)
[0079] In formula (2), , , ,
[0080] In step 2.2.2, the attention mechanism imitates the attention characteristics of humans, allowing the network to process a large amount of input information in parallel, while selecting more critical information as the input of the next layer of the network and ignoring unimportant information. The calculation of attention is divided into two steps: first, all the attention distribution of the input sequence S is calculated, and then the weighted average of the input sequence is calculated. The so-called multi-head is actually a process of performing multiple groups of self-attention on the input sequence; then the self-attention results of each group are spliced and subjected to a linear transformation to obtain the final output. The specific calculation method is:
[0081]
[0082] in, is the projection matrix for linear transformation, is the model embedding dimension, is the dimension of each row vector after the linear transformation of the matrix, S represents the implicit expression of the spectrum peak information, To achieve the dimension transformation matrix, its dimension is , N is the number of semantic spaces, i.e., the number of heads, and Concat represents the concatenation of vectors;
[0083] In step 2.2.2, the output of the multi-head self-attention mechanism is sent to the feedforward neural network layer to capture the complex nonlinear relationship in the spectrum peak information. The calculation formula of the feedforward neural network is as follows:
[0084]
[0085] in , is the weight matrix, , is the bias matrix; in order to prevent gradient disappearance and overfitting, residual connection and layer normalization are used;
[0086] In step 2.2.2, the number of encoder layers N (which can be any constant) is set to obtain the encoder output;
[0087] In step 2.2.3, the amino acid sequence input is represented as follows, and the relative position information of amino acids is calculated as follows:
[0088]
[0089] in , The input data for position encoding is peptide sequence information. is the amino acid residue position information, Input the embedding layer to obtain a discrete sequence P containing the relative position information of amino acid residues;
[0090] In step 2.2.4, the decoder layer masked self-attention calculation method refers to step 2.2.2, except that the input vector at this time is a vector after position masking, so that the current amino acid input can only accept the peptide information before and after this moment, and will not be affected by future input; its calculation method is as follows:
[0091]
[0092]
[0093] At this time is the output of step 2.2.2 after passing through the feedforward neural network layer, , is the output from the encoder, is the decoder’s input layer output sequence, Its length, Indicates that the attention matrix is masked using an upper triangular matrix.
[0094] In step 2.2.4, Figure 4 As shown, the cross attention comes from part of the output of the encoder and the output of the first attention module from the current decoder, so that each decoding module can use all the information in the encoder. The calculation method is as follows:
[0095]
[0096] The final output of the encoder layer is obtained through the above formula, where N is the number of encoder layers (can be any constant), which is a hyperparameter. As the current prediction result, add it to the input tail of the decoder to get a new sequence, which is used as the output of the next prediction. Then autoregressively get the prediction sequence of the specified length. .
[0097] 2.3 Use the standard dataset described in step 1 to train the basic model described in 2.1
[0098] The hyperparameters of the basic model include the number of encoder layers, the number of decoder layers, the number of multi-head attention heads, the dimension of the embedding layer, the activation function dropout rate, Batch_size, the optimizer, and the number of training rounds. The learning rate uses a dynamic learning rate to adapt to the fluctuation of the sample. The specific calculation method is as follows:
[0099]
[0100] Among them, steps represents the number of training steps, warm_steps represents the number of warm-up steps, and total_steps represents the total number of training steps.
[0101] The loss function of the model uses cross entropy as the loss calculation function; the calculation method is as follows:
[0102]
[0103] Where N-1 is the number of samples, i.e. the maximum length of the peptide sequence in each batch, and M-1 is the number of categories, i.e. the size of the amino acid vocabulary. is the model output vector, Amino Acid Amino Acids probability.
[0104] Preferably, the training process uses the following hyperparameter settings: number of encoder layers: 0-50, number of decoder layers: 0-50, number of multi-head attention heads: 0-50, dimension of all embedding layers: 0-2048, activation function: Relu, dropout rate: 0-1, Batch_size: 0-2048; the network uses Adam optimizer and is trained for 0-100 rounds.
[0105] The mass spectrometry data to be measured in step 3 may be data collected by any mass spectrometry instrument.
[0106] The application effect of the present invention is described in detail below in conjunction with specific data.
[0107] The data set used in the embodiment is the peptide data of Homo sapiens (human). The precursor mass is defined as 350 to 5 kDa, the precursor mass tolerance is 10-50ppm, the fragment mass tolerance is 0.02-0.05Da, and the false discovery rate (FDR) is 0.01. The Mascot database (version 2.4.0) is used to search the database to obtain preliminary peptide data.
[0108] Some important model parameters are set as follows: decoder input sequence embedding dimension: 512, encoder layer number: 6, decoder layer number: 6, multi-head attention head number: 8, dimension of all embedding layers: 512, activation function: Relu, dropout rate: 0.5, Batch_size: 32; the network uses Adam optimizer, trained for 100 rounds, and the learning rate uses dynamic learning rate adjustment to adapt to sample fluctuations. The specific calculation method is as follows:
[0109]
[0110] in, represents the number of training steps, Indicates the number of preheating steps. Indicates the total number of training steps. In the embodiment, the weights of each layer of the network will be updated through the loss function, and the optimal network structure will be obtained eventually, thereby realizing the prediction of the polypeptide structure. The prediction result is as follows: Figure 5 As shown, any open source software can be used to annotate the spectra.
[0111] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. The implementation mode of the present invention is not limited by the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A method for identifying polypeptide structures using AI based on a Transformer model, characterized in that: The method comprises the following steps: Step 1: Collect peptide mass spectrometry information data, pre-process the peptide mass spectrometry information data to obtain correlation matching results, and construct a standard data set based on the correlation matching results; Step 2: Establish a first model. The first model is an AI polypeptide structure identification basic model based on the Transformer architecture, including an embedding layer, an encoder, a decoder, and an output layer. The working steps of the AI polypeptide structure identification basic model are as follows: The implicit expression S1 of the mass spectrum is obtained by adding the mass-to-charge ratio containing relative position information and the relative intensity, and the implicit expression S2 of the mass spectrum is obtained by adding the precursor mass and charge state containing relative position relationship; a discrete sequence S containing mass spectrum information is obtained; The discrete sequence S is input into the encoder, and multi-head self-attention calculation, feedforward neural network, and residual connection operations are performed to obtain a vector α containing spectral peak information; Calculate the relative position information of each amino acid residue in the polypeptide sequence and obtain a discrete sequence P containing the relative position information of the amino acid residues through the word embedding layer; The discrete sequence P is input into the decoder layer for masked self-attention calculation, and cross-attention calculation, feedforward neural network, residual connection and normalization operation are performed with the vector α to obtain the next prediction sequence; Input the predicted sequence into a fully connected layer, perform a linear transformation operation, and output the prediction result; input the standard data set described in step 1 into the first model for training to obtain the trained model, namely the second model; Step 3: Input the mass spectrum data to be measured into the second model to obtain the prediction results.
2. The AI polypeptide structure identification method based on the Transformer model according to claim 1, characterized in that: In step 1, the polypeptide mass spectrum information data is collected by using a mass spectrometer to collect data on a sample containing the polypeptide or by using existing polypeptide mass spectrum data available on the Internet.
3. The AI polypeptide structure identification method based on the Transformer model according to claim 1, characterized in that: The pre-processing of the polypeptide mass spectrum information data in step 1 includes identifying and analyzing the mass spectrum data, and correlating and matching the identified polypeptide sequence with the secondary spectrum to obtain a correlation matching result.
4. The method for identifying the structure of an AI polypeptide based on a Transformer model according to claim 3, wherein: The standard data set constructed in step 1 is constructed by extracting the mass-to-charge ratio and ion abundance of the ions in the secondary mass spectrum of the polypeptide in the identified polypeptide sequence according to the correlation matching results, forming a polypeptide standardization information unit, and thereby obtaining all relevant polypeptide identification result information to form a standard data set.
5. The method for identifying the structure of an AI polypeptide based on a Transformer model according to claim 4, wherein: Identification methods include one or more of sequence library search, de novo sequencing or enumeration identification.
6. The method for identifying polypeptide structure based on AI of Transformer model according to claim 1, characterized in that: The embedding layer includes a spectrum embedding and an amino acid word embedding module; the spectrum embedding module includes an MS / MS information encoding layer, a fully connected layer, and a position encoding layer; the amino acid word embedding module includes a peptide information encoding layer, a fully connected layer, and a position encoding layer; The encoder includes a multi-head self-attention layer, a residual connection, and a fully connected layer; The decoder includes a multi-head self-attention layer, a masked multi-head self-attention layer, a cross self-attention layer, a residual connection, and a fully connected layer; The output layer includes a Softmax layer and a fully connected layer.
7. The method for identifying polypeptide structures using AI based on the Transformer model according to claim 1, wherein: In step 2, the standard data set is input into the first model for training. The hyperparameters of the basic model set for training include the number of encoder layers, the number of decoder layers, the number of multi-head attention heads, the dimension of the embedding layer, the activation function dropout rate, Batch_size, the optimizer, and the number of training rounds. The learning rate adopts dynamic learning rate adjustment to adapt to the fluctuation of the sample.
8. The method for identifying the structure of an AI polypeptide based on a Transformer model according to claim 7, wherein: The training process uses the following hyperparameter settings: number of encoder layers: 0-50, number of decoder layers: 0-50, number of multi-head attention heads: 0-50, dimension of all embedding layers: 0-2048, activation function: ReLU, dropout rate: 0-1, batch_size: 0-2048; the network uses the Adam optimizer and is trained for 0-100 rounds.
9. The method according to any one of claims 1 to 8, characterized in that The method is used for peptide group identification and analysis in the fields of biomedicine and food.
