Protein function prediction method and system driven by artificial intelligence

By combining graph sampling technology, natural language model, bidirectional LSTM and attention mechanism, the problem of over-fitting and data processing difficulties in protein function prediction in the existing technology is solved, and fast and accurate prediction of protein function is achieved, improving prediction efficiency. Accuracy and reliability provide efficient tools for protein research.

CN118538296APending Publication Date: 2024-08-23NANJING AGRICULTURAL UNIVERSITY

Patent Information

Application Number
CN202410701806.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing artificial intelligence-driven protein function prediction methods have problems such as overfitting and difficulty in capturing the association between gene ontology and proteins. They are difficult to process large-scale data, and experimental methods are time-consuming and difficult to meet the needs of large-scale protein function prediction.

Method used

An artificial intelligence method that combines graph sampling technology, natural language model, bidirectional LSTM and attention mechanism is used to perform feature extraction and ontology feature search on protein amino acid sequences. By building a protein function prediction architecture, it integrates multi-source information and deep feature extraction.

Benefits of technology

It achieves fast and accurate prediction of protein function, solves the problems of over-fitting and large-scale data processing difficulties, significantly improves the accuracy and reliability of prediction, provides an efficient tool for protein research, and promotes the development of drug design and disease treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538296A
    Figure CN118538296A
Patent Text Reader

Abstract

The invention discloses an artificial intelligence-driven protein function prediction method and system, and relates to the technical field of artificial intelligence, and the method comprises the steps: carrying out the feature extraction of a sequence of protein amino acid, and searching the ontology features of protein based on a graph sampling technology; and fusing the extracted protein amino acid sequence and the searched protein ontology characteristics, judging the relation among the terms of the protein, and constructing a protein function prediction architecture. The correlation between the gene ontology and the protein is effectively captured, through multi-source information fusion and deep feature extraction, the precision and reliability of protein function prediction are remarkably improved, an efficient tool is provided for protein research, development of the fields of drug design, disease treatment and the like is promoted, the defects in the prior art are overcome, and the method is suitable for popularization and application. And important support is provided for bioinformatics research.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an artificial intelligence-driven protein function prediction method and system. Background Art

[0002] In recent years, with the development of hardware such as GPU and TPU, artificial intelligence technology has made significant progress. The accumulation of genomic and proteomic data has provided opportunities for the application of AI in protein research. Transfer learning and multi-source information fusion strategies, such as ProtTrans, UniRep, DeepGOPlus and ATGO, have improved the accuracy of protein function prediction. Composite artificial intelligence technology combines deep learning and traditional machine learning field knowledge to significantly improve prediction quality and reliability, which is helpful in fields such as drug design and disease treatment.

[0003] Protein function prediction mainly relies on experimental determination methods and traditional machine learning models. Experimental determination methods, such as protein enzyme activity determination and binding experiments, are not only time-consuming but also have high requirements for the experimental environment. In addition, less than 1% of protein sequences in the UniProt database have been functionally annotated experimentally, indicating that experimental methods are difficult to meet the needs of large-scale protein function prediction. Traditional multi-classification models, such as decision trees, random forests, and support vector machines, although they have solved the protein function annotation problem to a certain extent, these models are prone to overfitting and difficult to process large-scale data. Deep learning methods have advantages in processing large-scale high-throughput data, but existing deep learning methods still have some limitations in capturing the association between gene ontology and proteins. Therefore, developing a computational method that can quickly and accurately predict protein function has become an important demand for solving the defects of the prior art. The present invention adopts natural language models, bidirectional LSTM and graph sampling technology to construct a protein function prediction architecture, which significantly improves the efficiency and accuracy of prediction and effectively overcomes the shortcomings of the prior art. Summary of the invention

[0004] In view of the problems existing in the existing artificial intelligence-driven protein function prediction methods and systems, the present invention is proposed.

[0005] Therefore, the purpose of the present invention is to provide an artificial intelligence-driven protein function prediction method and system. In view of the defects of the prior art in protein function prediction, such as overfitting and difficulty in capturing the association between gene ontology and protein, the present invention solves the problem by using an artificial intelligence method combining graph sampling technology, natural language model, bidirectional LSTM and attention mechanism.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, an embodiment of the present invention provides an artificial intelligence-driven protein function prediction method, which includes extracting features from a protein amino acid sequence and searching for protein ontology features based on a graph sampling technique;

[0008] The extracted protein amino acid sequence and the searched protein ontology features are fused to determine the connection between protein terms and construct a protein function prediction framework.

[0009] As a preferred solution of the artificial intelligence-driven protein function prediction method of the present invention, wherein: the feature extraction of the protein amino acid sequence includes vectorizing the sequence using a natural language model and a position encoding model, transmitting the vectorized sequence using a bidirectional LSTM sequence information transmission method, and extracting the abstract features of the transmitted sequence through an attention mechanism;

[0010] The vectorization of the sequence includes vectorization of redundant residues of protein amino acids using a natural language model, wherein the natural language model includes training natural language by introducing redundant residues of protein amino acids, combining the trained language and establishing a natural language model;

[0011] The training of natural language includes taking the central element i in the protein amino acid as the input of the model, marking the context label of the central element, and embedding the input central element i through the embedding matrix E∈R 25×r Convert and obtain the redundant residue vector w of each amino acid i .

[0012] As a preferred embodiment of the artificial intelligence-driven protein function prediction method of the present invention, the position coding model includes calculating the position coding of the i-th amino acid in the protein amino acid sequence according to the coding provided by each amino acid position in the protein amino acid sequence. The specific calculation formula is:

[0013]

[0014] Among them, P i t represents the position code of amino acids, k represents the parameter range reference value in the sequence, i represents each amino acid component, ift represents the conditional execution program, b k represents the acidity and alkalinity of amino acids, and the specific calculation formula of the acidity and alkalinity of amino acids is:

[0015]

[0016] Among them, k represents the parameter range reference value in the sequence, that is, d represents the network unit, b kIndicates the acidity or alkalinity of amino acids.

[0017] As a preferred embodiment of the artificial intelligence-driven protein function prediction method of the present invention, the sequence information transmission method of the bidirectional LSTM includes constructing a d-unit bidirectional LSTM network, the bidirectional LSTM network includes a forward LSTM network and a backward LSTM network, the forward LSTM network includes processing the input sequence of protein amino acids in chronological order, the backward LSTM network includes processing the input sequence of protein amino acids in reverse chronological order, and the input sequence of protein amino acids processed in chronological order includes calculating the input gate, the forget gate and the output gate based on the feature vector of the amino acid at the current position and the hidden state of the amino acid at the previous position;

[0018] The specific calculation formula of the input gate is:

[0019] i t =σ(W xt x t +W ht h t-1 +W ci c t-1 +b i )

[0020] Among them, i t represents the input gate, W xt represents the first-level weight of the input gate, W ht represents the upstream weight of the input gate, W ci represents the downstream weight of the input gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, b i represents the bias term of the input gate, σ represents the degree of opening of the input gate, c t-1 Represents the input of the current time step;

[0021] The specific calculation formula of the forget gate is:

[0022] f t =σ(W xf x t +W hf h t-1 +W cf c t-1 +b f )

[0023] Among them, f t represents the forget gate, σ represents the opening degree of the forget gate, W xf Represents the first-level weight of the forget gate, W hf represents the upstream weight of the forget gate, Wcf represents the downstream weight of the forget gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, c t-1 represents the input of the current time step, b f Represents the bias term of the forget gate;

[0024] The specific calculation formula of the output gate is:

[0025] o t =σ(W xo x t +W ho h t-1 +W co c t-1 +b o )

[0026] Among them, t represents the output gate, σ represents the degree of opening of the output gate, W xo Represents the first-level weight of the output gate, W ho Represents the first-level weight of the output gate, W ho represents the upstream weight of the output gate, W co represents the downstream weight of the output gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, c t-1 represents the input of the current time step, b o Represents the bias term of the output gate.

[0027] As a preferred solution of the artificial intelligence-driven protein function prediction method of the present invention, the abstract features after extracting the transmission sequence include projecting the processed protein amino acid input sequence into different attention mechanisms, performing linear calculations on the input sequence of each protein amino acid, and generating corresponding query matrices, keyword matrices and value matrices. The specific calculation formula is as follows:

[0028] The specific calculation formula of the query matrix is:

[0029] Q i =a i W Q

[0030] Among them, Q i represents the query matrix, W Q represents the trainable parameter matrix in the subspace corresponding to the query matrix, a i The feature vector representing the i-th protein amino acid;

[0031] The specific calculation formula of the keyword matrix is:

[0032] K i =a i W K

[0033] Among them, K i represents the keyword matrix, a i represents the feature vector of the i-th protein amino acid, W K Represents the trainable parameter matrix in the subspace corresponding to the keyword matrix;

[0034] The specific calculation formula of the value matrix is:

[0035] V i =a i W V

[0036] Among them, V i represents the value matrix, a i represents the feature vector of the i-th protein amino acid, W V The representation value matrix corresponds to the trainable parameter matrix in the subspace;

[0037] The attention scores between the amino acids in different positions are calculated based on the matrix generated by each protein amino acid. The attention scores are normalized by the softmax function to calculate the attention weights. A feedforward neural network is introduced to multiply the attention weights with the value matrix to obtain the output features of the amino acids in the i-th position.

[0038] The specific calculation formula for normalizing the attention score is:

[0039]

[0040] Among them, score(Q i , K j ) represents the normalized result of attention scores between protein amino acids at different positions. represents the similarity between the protein amino acid at the jth position and the protein amino acid at the ith position, Q i represents the query matrix, d represents the network unit, Represents a standardized network unit;

[0041] The specific calculation formula for normalizing the attention score is:

[0042] g i,j =softmax(score(Q i ,K j ))

[0043] Among them, g i,j represents the normalized attention score, Q i represents the query matrix, K i represents the keyword matrix, V i represents the value matrix, softmax() represents the function, and score() represents the sub-function;

[0044] The specific calculation formula of the protein amino acid output feature at the ith position is:

[0045]

[0046] Among them, z i represents the output feature matrix, g i,j represents the normalized attention score, L represents the number of items, V i Represents a matrix of values.

[0047] As a preferred embodiment of the artificial intelligence-driven protein function prediction method of the present invention, wherein: the searching of protein ontology features includes constructing a protein term network graph, the constructing of the protein term network graph includes calculating the co-occurrence relationship between terms and adjacent nodes in a sequence according to a natural language model, the co-occurrence relationship includes optimizing the terms of the protein target node based on the calculation results, and defining the search depth K based on the mapping relationship of the optimized terms in the network graph;

[0048] When K = 1, the term of the protein target node only searches directly connected neighbor nodes;

[0049] When K = 2, the protein target node not only searches for local neighbors but also continues to search for the direct adjacent node information of the neighbor nodes;

[0050] When the search depth K range is expanded, the sampling fraction of the term is calculated for random selection. The specific calculation formula is:

[0051] in, represents a random number between 0 and 1. Represents the term vg i The weight in the network, the specific calculation formula of the weight is:

[0052]

[0053] Among them, IC represents the information content of each term, d(vg i ) represents the term vg i The degree in the network graph, Represents the term vg i The weights in the network.

[0054] As a preferred solution of the artificial intelligence-driven protein function prediction method of the present invention, the fusion includes performing feature aggregation on the protein ontology features according to the protein term network diagram, calculating the first-order neighbor aggregation and the second-order neighbor aggregation by iterating the local neighborhood information of the protein term network diagram, and the specific calculation steps are:

[0055] The specific formula for calculating the first-order neighbor aggregation is:

[0056]

[0057] in, Represents the term vg i The feature representation when the search depth is 1, N(vg i ) represents the term vg i Neighbor nodes on the subgraph, r u and represents the aggregation of adjacent neighbor nodes with a search depth of 1 for random walk, and u represents the neighbor node;

[0058] The specific formula for the second-order neighbor aggregation is:

[0059]

[0060] in, Represents the term vg i The feature representation when the search depth is 2, N(vg i ) represents the term vg i Neighbor nodes on the subgraph, u represents the neighbor node, r u and Represents the aggregation of adjacent neighbor nodes with a search depth of 2 for random walks;

[0061] The determining the connection between the protein terms includes using a softmax function to convert the calculated first-order neighbor aggregation and second-order neighbor aggregation into a probability vector Y with a length of N;

[0062] If the i-th component of vector Y is y i (1≤i≤N), the probability that the protein is annotated as the i-th GO term, that is, the protein function prediction framework is constructed based on the annotated probability results.

[0063] In a second aspect, an embodiment of the present invention provides an artificial intelligence-driven protein function prediction system, which includes: an extraction module, which performs feature extraction on a sequence of protein amino acids and searches for ontological features of the protein based on a graph sampling technique;

[0064] The prediction module fuses the extracted protein amino acid sequence with the searched protein ontology features, determines the connection between protein terms, and constructs a protein function prediction framework.

[0065] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, any step of the above-mentioned artificial intelligence-driven protein function prediction method is implemented.

[0066] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned artificial intelligence-driven protein function prediction method is implemented.

[0067] The beneficial effects of the present invention are as follows: the present invention realizes rapid and accurate prediction of protein function by combining graph sampling technology, natural language model, bidirectional LSTM and attention mechanism. Compared with traditional methods, the present invention not only solves the problems of overfitting and difficulty in large-scale data processing, but also can effectively capture the relationship between gene ontology and protein. Through multi-source information fusion and deep feature extraction, the present invention significantly improves the accuracy and reliability of protein function prediction, provides an efficient tool for protein research, helps to promote the development of fields such as drug design and disease treatment, makes up for the shortcomings of existing technologies, and provides important support for bioinformatics research. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0069] Figure 1 A flowchart of an artificial intelligence-driven protein function prediction method and system provided for one embodiment of the present invention.

[0070] Figure 2 A protein sequence flow chart of an artificial intelligence-driven protein function prediction method and system provided in accordance with an embodiment of the present invention.

[0071] Figure 3 A protein feature extraction architecture diagram of a multi-head attention mechanism of an artificial intelligence-driven protein function prediction method and system provided in one embodiment of the present invention.

[0072] Figure 4A term feature extraction architecture diagram of an artificial intelligence-driven protein function prediction method and system provided in accordance with an embodiment of the present invention.

[0073] Figure 5 A schematic diagram of a protein function prediction multi-classification module of an artificial intelligence-driven protein function prediction method and system provided in one embodiment of the present invention.

[0074] Figure 6 A schematic diagram of a natural language model of an artificial intelligence-driven protein function prediction method and system provided for one embodiment of the present invention.

[0075] Figure 7 A schematic diagram of a positional encoding model of an artificial intelligence-driven protein function prediction method and system provided for one embodiment of the present invention.

[0076] Figure 8 A directed acyclic diagram of the prediction of protein P molecules of an artificial intelligence-driven protein function prediction method and system provided in one embodiment of the present invention.

[0077] Fig. 9 A directed acyclic diagram of the prediction of protein Q molecules of an artificial intelligence-driven protein function prediction method and system provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0078] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0079] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0080] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0081] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0082] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0083] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0084] Example 1

[0085] Reference Figures 1 to 9 , which is the first embodiment of the present invention, and which provides an artificial intelligence-driven protein function prediction method, comprising:

[0086] S1: Extract features from the protein amino acid sequence and search for protein ontology features based on graph sampling technology.

[0087] Among them, feature extraction of protein amino acid sequences includes vectorizing the sequences using natural language models and position encoding models, transmitting the vectorized sequences using a bidirectional LSTM sequence information transmission method, and extracting abstract features after the transmitted sequences through an attention mechanism;

[0088] The vectorization of the sequence includes vectorization of redundant residues of protein amino acids using a natural language model, wherein the natural language model includes training natural language by introducing redundant residues of protein amino acids, combining the trained language and establishing a natural language model;

[0089] Training on natural language includes taking the central element i in the protein amino acid as the input of the model, marking the context label of the central element, and embedding the input central element i through the embedding matrix E∈R 25×rConvert and obtain the redundant residue vector w of each amino acid i .

[0090] Furthermore, feature extraction was performed on 1000 protein amino acid sequences, each of which had an average length of 300 amino acids. The natural language model was used to vectorize these sequences, where the redundant residues of each amino acid were converted into a 256-dimensional vector through an embedding matrix. Assuming that the number of redundant residues introduced was 50, these redundant residues were combined with the sequence context through the trained natural language model to generate a new sequence representation. The feature extraction data is shown in Table 1 below:

[0091] Table 1 Feature extraction data table

[0092] Data Item Numeric Number of protein sequences 1000 Average sequence length 300 The number of redundant amino acid residues 50 Redundant residue vector dimension 256

[0093] The table summarizes the data of feature extraction of 1000 protein amino acid sequences, including the number of protein sequences, average sequence length, number of redundant amino acid residues, and redundant residue vector dimension.

[0094] A bidirectional LSTM is used to transmit the vectorized sequence. Two LSTMs with 3 layers are used, each layer contains 128 hidden units. Each sequence is processed forward and backward simultaneously. The abstract features of the transmitted sequence are extracted through the attention mechanism and projected into a 64-dimensional query matrix, keyword matrix, and value matrix.

[0095] Based on graph sampling technology, these features are searched for ontology and a protein term network graph is constructed. In the network graph, the search depth K=2 is set, the co-occurrence relationship of the nodes is calculated, and the random walk method is used to optimize the terms. After the aggregation operation of the graph neural network, the protein function prediction results with an accuracy of up to 85% are obtained. The specific numerical values ​​demonstrate the effectiveness and accuracy of the present invention in processing large-scale protein sequence data.

[0096] S1.1: The position coding model includes calculating the position coding of the i-th amino acid in the protein amino acid sequence according to the coding provided by each amino acid position in the protein amino acid sequence. The specific calculation formula is:

[0097]

[0098] Among them, P i t represents the position code of the amino acid, k represents the parameter range reference value in the sequence, i represents each amino acid component, if t represents the conditional execution program, b k It represents the acidity and alkalinity of amino acids. The specific calculation formula of the acidity and alkalinity of amino acids is:

[0099]

[0100] Among them, k represents the parameter range reference value in the sequence, that is, d represents the network unit, b k Indicates the acidity or alkalinity of amino acids.

[0101] Furthermore, the above position encoding model improves the feature representation ability of protein sequences by providing unique position information and acid-base coding for each amino acid. In this model, the position coding of each amino acid is combined with its specific position and chemical properties in the sequence, so that the model can not only capture the sequential information of the sequence, but also reflect the chemical properties of the amino acid. This encoding method makes the sequence features richer and more detailed. In this way, the position encoding model effectively solves the problem of the singleness of sequence representation, allowing the model to more accurately capture the complex internal relationships of the sequence, thereby improving the accuracy and reliability of protein function prediction.

[0102] S1.2: The sequence information transmission method of the bidirectional LSTM includes constructing a d-unit bidirectional LSTM network, the bidirectional LSTM network includes a forward LSTM network and a backward LSTM network, the forward LSTM network includes processing the input sequence of protein amino acids in chronological order, the backward LSTM network includes processing the input sequence of protein amino acids in reverse chronological order, and processing the input sequence of protein amino acids in chronological order includes calculating the input gate, the forget gate and the output gate based on the feature vector of the amino acid at the current position and the hidden state of the amino acid at the previous position;

[0103] The specific calculation formula of the input gate is:

[0104] i t =σ(W xt x t +W ht h t-1 +W ci c t-1 +b i )

[0105] Among them, i t represents the input gate, W xt represents the first-level weight of the input gate, W ht represents the upstream weight of the input gate, W ci represents the downstream weight of the input gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, b i represents the bias term of the input gate, σ represents the degree of opening of the input gate, c t-1 Represents the input of the current time step;

[0106] The specific calculation formula of the forget gate is:

[0107] f t =σ(W xf x t +W hf h t-1 +W cf c t-1 +b f )

[0108] Among them, f t represents the forget gate, σ represents the opening degree of the forget gate, W xf Represents the first-level weight of the forget gate, W hf represents the upstream weight of the forget gate, W cf represents the downstream weight of the forget gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, c t-1 represents the input of the current time step, b f Represents the bias term of the forget gate;

[0109] The specific calculation formula of the output gate is:

[0110] o t =σ(W xo x t +W ho h t-1 +W co c t-1 +b o )

[0111] Among them, t represents the output gate, σ represents the degree of opening of the output gate, W xo Represents the first-level weight of the output gate, W ho Represents the first-level weight of the output gate, W ho represents the upstream weight of the output gate, W co represents the downstream weight of the output gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, c t-1 represents the input of the current time step, b o Represents the bias term of the output gate.

[0112] Furthermore, the sequence information transmission method of bidirectional LSTM realizes forward and backward processing of protein amino acid sequences by constructing 128 bidirectional LSTM units. Specifically, the forward LSTM processes the 1st to 300th amino acids in chronological order, and the backward LSTM processes the 300th to 1st amino acids in reverse chronological order. In the forward processing process, the bidirectional LSTM calculates the input gate, forget gate and output gate based on the feature vector of the amino acid at the current position and the hidden state of the previous position. For example, at the 100th amino acid position, the calculation is performed through the corresponding weights and bias items to ensure that information flows and updates selectively in the sequence. The gating mechanism improves the network's ability to process long sequence data. The bidirectional LSTM integrates the results of forward and backward processing, and by capturing the contextual information in the sequence, it improves the accuracy of feature extraction and the comprehensiveness of sequence representation. It plays a key role in the entire technical solution. By carefully processing protein sequence data, the accuracy and reliability of subsequent function prediction are significantly improved.

[0113] S1.3: Extracting the abstract features after the transmission sequence includes projecting the processed protein amino acid input sequence into different attention mechanisms, performing linear calculations on the input sequence of each protein amino acid, and generating the corresponding query matrix, keyword matrix, and value matrix. The specific calculation formula is as follows:

[0114] The specific calculation formula of the query matrix is:

[0115] Q i =a i W Q

[0116] Among them, Q i represents the query matrix, W Q represents the trainable parameter matrix in the subspace corresponding to the query matrix, a i The feature vector representing the i-th protein amino acid;

[0117] The specific calculation formula of the keyword matrix is:

[0118] K i =a i W K

[0119] Among them, K i represents the keyword matrix, a i represents the feature vector of the i-th protein amino acid, W K Represents the trainable parameter matrix in the subspace corresponding to the keyword matrix;

[0120] The specific calculation formula of the value matrix is:

[0121] V i =ai W V

[0122] Among them, V i represents the value matrix, a i represents the feature vector of the i-th protein amino acid, W V The representation value matrix corresponds to the trainable parameter matrix in the subspace;

[0123] The attention scores between the amino acids in different positions are calculated based on the matrix generated by each protein amino acid. The attention scores are normalized by the softmax function to calculate the attention weights. A feedforward neural network is introduced to multiply the attention weights with the value matrix to obtain the output features of the amino acids in the i-th position.

[0124] The specific calculation formula for the normalization of the attention score is:

[0125]

[0126] Among them, score(Q i , K j ) represents the normalized result of attention scores between protein amino acids at different positions. represents the similarity between the protein amino acid at the jth position and the protein amino acid at the ith position, Q i represents the query matrix, d represents the network unit, Represents a standardized network unit;

[0127] The specific calculation formula for normalizing the attention score is:

[0128] g i,j =softmax(score(Q i ,K j ))

[0129] Among them, g i,j represents the normalized attention score, Q i represents the query matrix, K i represents the keyword matrix, V i represents the value matrix, softmax() represents the function, and score() represents the sub-function;

[0130] The specific calculation formula for the protein amino acid output feature at the ith position is:

[0131]

[0132] Among them, z i represents the output feature matrix, g i,j represents the normalized attention score, L represents the number of items, Vi Represents a matrix of values.

[0133] S1.4: Searching for protein ontology features includes constructing a protein term network graph, which includes calculating the co-occurrence relationship between terms and adjacent nodes in the sequence according to a natural language model, and the co-occurrence relationship includes optimizing the terms of the protein target node based on the calculation results, and defining the search depth K based on the mapping relationship of the optimized terms in the network graph;

[0134] When K = 1, the term of the protein target node only searches directly connected neighbor nodes;

[0135] When K = 2, the protein target node not only searches for local neighbors but also continues to search for the direct adjacent node information of the neighbor nodes;

[0136] When the search depth K range is expanded, the sampling fraction of the term is calculated for random selection. The specific calculation formula is:

[0137] in, represents a random number between 0 and 1. Represents the term vg i The weight in the network, the specific calculation formula of the weight is:

[0138]

[0139] Among them, IC represents the information content of each term, d(vg i ) represents the term vg i The degree in the network graph, Represents the term vg i The weights in the network.

[0140] Furthermore, in this technical solution, the selection of numerical values ​​has certain uniqueness and rationality. First, the selection of K value plays a key role in the depth of network search. When K=1, only directly connected neighbor nodes are searched. In this way, term information directly related to the target node can be quickly obtained, which is suitable for situations where local features are of interest.

[0141] When K = 2, not only the local neighbors are searched, but also the information of the direct neighboring nodes of the neighboring nodes is searched outward, so as to obtain more extensive relevant term information. It is suitable for scenarios that are interested in overall features. When calculating the sampling score of the term, random number R is introduced for random selection, which makes the search process more random, increases the diversity of the algorithm, and helps to explore the ontological characteristics of proteins more comprehensively during the search process. The weight of the term is calculated based on the amount of information and degree of each term in the network graph. This calculation method takes into account the importance and connectivity of the term, making the search results more accurate and reliable. Therefore, the selection of the numerical value takes into account both the search efficiency and the accuracy of the search results, and has a certain uniqueness and rationality.

[0142] S2: The extracted protein amino acid sequence and the searched protein ontology features are integrated to determine the connection between the protein terms and construct a protein function prediction framework.

[0143] The fusion includes feature aggregation of protein ontology features according to the protein term network graph, and the calculation of first-order neighbor aggregation and second-order neighbor aggregation by iterating the local neighborhood information of the protein term network graph. The specific calculation steps are as follows:

[0144] The specific formula for calculating the first-order neighbor aggregation is:

[0145]

[0146] in, Represents the term vg i The feature representation when the search depth is 1, N(vg i ) means vg i Neighbor nodes on the subgraph, r u and represents the aggregation of adjacent neighbor nodes with a search depth of 1 for random walk, and u represents the neighbor node;

[0147] The specific formula for second-order neighbor aggregation is:

[0148]

[0149] in, Represents the term vg i The feature representation when the search depth is 2, N(vg i ) represents the term vg i Neighbor nodes on the subgraph, u represents the neighbor node, r u and Represents the aggregation of adjacent neighbor nodes with a search depth of 2 for random walks;

[0150] Determining the connection between protein terms includes using a softmax function to convert the calculated first-order neighbor aggregation and second-order neighbor aggregation into a probability vector Y of length N;

[0151] If the i-th component of vector Y is y i (1≤i≤N), the probability that the protein is annotated as the i-th GO term, that is, the protein function prediction framework is constructed based on the annotated probability results.

[0152] In the feature aggregation process, the local neighborhood information of the protein term network graph is first iterated to calculate the feature aggregation of the first-order neighbors and the second-order neighbors. Specifically, the first-order neighbor aggregation is to aggregate the features of the neighbor nodes on the subgraph, taking into account the feature representation of the neighbor nodes when the search depth is 1 and the aggregation of the neighbor nodes of the random walk, while the second-order neighbor aggregation further considers the feature representation when the search depth is 2, and aggregates the neighbor node features on the subgraph and the neighbor nodes of the random walk. When determining the connection between the terms of the protein, the softmax function is used to convert the results of the first-order neighbor aggregation and the second-order neighbor aggregation into a probability vector of length, where the th component of the vector represents the probability that the protein is labeled as the th GO term. Based on the labeled probability results, the architecture of protein function prediction can be constructed. The fusion process realizes the effective aggregation of protein features by utilizing the local neighborhood information of the protein term network graph, and uses the softmax function to determine the features, providing a basis for protein function prediction.

[0153] In a preferred embodiment, an artificial intelligence-driven protein function prediction method and system includes an extraction module that extracts features from a protein amino acid sequence and searches for protein ontology features based on a graph sampling technique;

[0154] The prediction module fuses the extracted protein amino acid sequence with the searched protein ontology features, determines the connection between protein terms, and constructs a protein function prediction framework.

[0155] The above-mentioned unit modules may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to the above-mentioned modules.

[0156] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0157] In summary, the present invention realizes the rapid and accurate prediction of protein function by combining graph sampling technology, natural language model, bidirectional LSTM and attention mechanism. Compared with traditional methods, the present invention not only solves the problems of overfitting and difficulty in large-scale data processing, but also can effectively capture the relationship between gene ontology and protein. Through multi-source information fusion and deep feature extraction, the present invention significantly improves the accuracy and reliability of protein function prediction, provides an efficient tool for protein research, helps to promote the development of fields such as drug design and disease treatment, makes up for the shortcomings of existing technologies, and provides important support for bioinformatics research.

[0158] Example 2

[0159] Reference Figures 1 to 9 , which is the second embodiment of the present invention, and this embodiment provides an artificial intelligence-driven protein function prediction method. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.

[0160] During the experiment, a large amount of protein sequence data was collected and a protein term network graph was constructed. Then, according to the proposed technical solution, the ontological features of the protein were extracted and searched. For feature extraction, the natural language model and position encoding model were used to vectorize the protein amino acid sequence. The specific parameters were set to a parameter range reference value of 100, an amino acid component of 20, and an acid-base parameter of 0.5. In terms of feature search, the feature aggregation of the first-order neighbors and the second-order neighbors was calculated based on the protein term network graph. For the first-order neighbor aggregation, the search depth K=1 was set, considering the feature representation of the neighbor nodes when the search depth was 1 and the aggregation of the adjacent neighbor nodes of random walks; and for the second-order neighbor aggregation, the search depth K=2 was set, further considering the feature representation when the search depth was 2.

[0161] After feature aggregation, the softmax function is used to convert the results of first-order neighbor aggregation and second-order neighbor aggregation into probability vectors of proteins being labeled as different GO terms. A protein function prediction architecture is constructed based on the labeled probability results, and the performance of the architecture in the protein function prediction task is evaluated. Through experimental results, it is found that the technical solution shows excellent performance in protein function prediction, which verifies its effectiveness and feasibility in feature extraction and protein function prediction. The model accuracy data of the search depth is shown in Table 2 below:

[0162] Table 2 Model accuracy data table of search depth

[0163]

[0164] The table shows the accuracy of the model at different search depths. The results show that as the search depth increases from 1 to 2, the accuracy of the model is significantly improved. Especially on the test data set, when the search depth is 2, the accuracy of the model reaches 90%, which is significantly higher than the accuracy when the search depth is 1. Therefore, choosing a search depth of 2 can significantly improve the prediction performance of the model. The comparison with the existing technology is shown in Table 3 below:

[0165] Table 3 Comparison with existing technology

[0166]

[0167] Through graph sampling technology, we can quickly search for protein ontology features and improve computational efficiency. In addition, we can make full use of the information in the protein sequence for feature extraction, improve data utilization, and thus enhance the reliability of prediction. In contrast, existing technical solutions usually use a single feature or shallow models with limited accuracy, making it difficult to capture the complex interactions and associations between proteins, with low computational efficiency and low prediction reliability.

[0168] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. An artificial intelligence-driven protein function prediction method, characterized in that: include, Extract features from the amino acid sequence of the protein and search for protein ontology features based on graph sampling technology; The extracted protein amino acid sequence and the searched protein ontology features are fused to determine the connection between protein terms and construct a protein function prediction framework.

2. The artificial intelligence-driven protein function prediction method according to claim 1, characterized in that: The feature extraction of the protein amino acid sequence includes vectorizing the sequence using a natural language model and a position encoding model, transmitting the vectorized sequence using a bidirectional LSTM sequence information transmission method, and extracting abstract features after the transmission sequence through an attention mechanism; The vectorization of the sequence includes vectorizing the redundant residues of the amino acids of the protein using a natural language model, wherein the natural language model includes training the natural language by introducing the redundant residues of the amino acids of the protein, combining the trained language and establishing the natural language model; The training of natural language includes taking the central element i in the protein amino acid as the input of the model, marking the context label of the central element, and embedding the input central element i through the embedding matrix E∈R 25×r Convert and obtain the redundant residue vector w of each amino acid i .

3. The artificial intelligence driven protein function prediction method according to claim 2, characterized in that: The position coding model includes calculating the position coding of the ith amino acid in the protein amino acid sequence according to the coding provided by each amino acid position in the protein amino acid sequence. The specific calculation formula is: Among them, P i t represents the position code of the amino acid, k represents the parameter range reference value in the sequence, i represents each amino acid component, if t represents the conditional execution program, b k represents the acidity and alkalinity of amino acids, and the specific calculation formula of the acidity and alkalinity of amino acids is: Among them, k represents the parameter range reference value in the sequence, that is, d represents the network unit, b k Indicates the acidity or alkalinity of amino acids.

4. The artificial intelligence driven protein function prediction method according to claim 3, characterized in that: The sequence information transmission method of the bidirectional LSTM includes constructing d unit bidirectional LSTM networks, the bidirectional LSTM networks include a forward LSTM network and a backward LSTM network, the forward LSTM network includes processing the input sequence of protein amino acids in chronological order, the backward LSTM network includes processing the input sequence of protein amino acids in reverse chronological order, and the input sequence of protein amino acids processed in chronological order includes calculating an input gate, a forget gate, and an output gate based on a feature vector of an amino acid at a current position and a hidden state of an amino acid at a previous position; The specific calculation formula of the input gate is: i t =σ(W xt x t +W ht h t-1 +W ci c t-1 +b i ) Among them, i t represents the input gate, W xt represents the first-level weight of the input gate, W ht represents the upstream weight of the input gate, W ci represents the downstream weight of the input gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, b i represents the bias term of the input gate, σ represents the degree of opening of the input gate, c t-1 Represents the input of the current time step; The specific calculation formula of the forget gate is: f t =σ(W xf x t +W hf h t-1 +W cf c t-1 +b f ) Among them, f t represents the forget gate, σ represents the opening degree of the forget gate, W xf Represents the first-level weight of the forget gate, W hf represents the upstream weight of the forget gate, W cf represents the downstream weight of the forget gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, c t-1 represents the input of the current time step, b f Represents the bias term of the forget gate; The specific calculation formula of the output gate is: o t =σ(W xo x t +W ho h t-1 +W co c t-1 +b o ) Among them, t represents the output gate, σ represents the degree of opening of the output gate, W xo Represents the first-level weight of the output gate, W ho Represents the first-level weight of the output gate, W ho represents the upstream weight of the output gate, W co represents the downstream weight of the output gate, x t Indicates that the hidden state of the previous time step is mapped to the output space of the input gate, h t-1 represents the hidden state of the previous time step, c t-1 represents the input of the current time step, b o Represents the bias term of the output gate.

5. The artificial intelligence driven protein function prediction method according to claim 4, characterized in that: The abstract features after extracting the transmission sequence include projecting the processed protein amino acid input sequence into different attention mechanisms, performing linear calculations on the input sequence of each protein amino acid, and generating corresponding query matrices, keyword matrices, and value matrices. The specific calculation formula is as follows: The specific calculation formula of the query matrix is: Q i =a i W Q Among them, Q i represents the query matrix, W Q represents the trainable parameter matrix in the subspace corresponding to the query matrix, a i The feature vector representing the i-th protein amino acid; The specific calculation formula of the keyword matrix is: K i =a i W K Among them, K i represents the keyword matrix, a i represents the feature vector of the i-th protein amino acid, W K Represents the trainable parameter matrix in the subspace corresponding to the keyword matrix; The specific calculation formula of the value matrix is: V i =a i W V Among them, V i represents the value matrix, a i represents the feature vector of the i-th protein amino acid, W V The representation value matrix corresponds to the trainable parameter matrix in the subspace; The attention scores between the amino acids in different positions are calculated based on the matrix generated by each protein amino acid. The attention scores are normalized by the softmax function to calculate the attention weights. A feedforward neural network is introduced to multiply the attention weights with the value matrix to obtain the output features of the amino acids in the i-th position. The specific calculation formula for normalizing the attention score is: Among them, score(Q i , K j ) represents the normalized results of attention scores between protein amino acids at different positions. represents the similarity between the protein amino acid at the jth position and the protein amino acid at the ith position, Q i represents the query matrix, d represents the network unit, Represents a standardized network unit; The specific calculation formula for normalizing the attention score is: g i,j =softmax(score(Q i ,K j ) Among them, g i,j represents the normalized attention score, Q i represents the query matrix, K i represents the keyword matrix, V i represents the value matrix, softmax() represents the function, and score() represents the sub-function; The specific calculation formula of the protein amino acid output feature at the ith position is: Among them, z i represents the output feature matrix, g i,j represents the normalized attention score, L represents the number of items, V i Represents a matrix of values.

6. The artificial intelligence driven protein function prediction method according to claim 5, characterized in that: The searching of protein ontology features includes constructing a protein term network graph, wherein the constructing of the protein term network graph includes calculating the co-occurrence relationship between terms and adjacent nodes in a sequence according to a natural language model, wherein the co-occurrence relationship includes optimizing the terms of the protein target node based on the calculation results, and defining the search depth K based on the mapping relationship of the optimized terms in the network graph; When K = 1, the term of the protein target node only searches directly connected neighbor nodes; When K = 2, the protein target node not only searches for local neighbors but also continues to search for the direct adjacent node information of the neighbor nodes; When the search depth K range is expanded, the sampling fraction of the term is calculated for random selection. The specific calculation formula is: in, represents a random number between 0 and 1. Represents the term vg i The weight in the network, the specific calculation formula of the weight is: Among them, IC represents the information content of each term, d(vg i ) represents each term vg i The degree in the network graph, Represents the term vg i The weights in the network.

7. The artificial intelligence driven protein function prediction method according to claim 6, characterized in that: The fusion includes performing feature aggregation on the protein ontology features according to the protein term network graph, and calculating the first-order neighbor aggregation and the second-order neighbor aggregation by iterating the local neighborhood information of the protein term network graph. The specific calculation steps are: The specific formula for calculating the first-order neighbor aggregation is: in, Represents the term vg i The feature representation when the search depth is 1, N(vg i ) represents the term vg i Neighbor nodes on the subgraph, r u and represents the aggregation of adjacent neighbor nodes with a search depth of 1 for random walk, and u represents the neighbor node; The specific formula for the second-order neighbor aggregation is: in, Represents the term vg i The feature representation when the search depth is 2, N(vg i ) represents the term vg i Neighbor nodes on the subgraph, u represents the neighbor node, r u and Represents the aggregation of adjacent neighbor nodes with a search depth of 2 for random walks; The determining the connection between the protein terms includes using a softmax function to convert the calculated first-order neighbor aggregation and second-order neighbor aggregation into a probability vector Y with a length of N; If the i-th component of vector Y is y i (1≤i≤N), the probability that the protein is annotated as the i-th GO term, that is, the protein function prediction framework is constructed based on the annotated probability results.

8. An artificial intelligence driven protein function prediction system, based on the artificial intelligence driven protein function prediction method according to any one of claims 1 to 7, characterized in that: include, The extraction module extracts features from the amino acid sequence of the protein and searches for the ontological features of the protein based on graph sampling technology; The prediction module fuses the extracted protein amino acid sequence with the searched protein ontology features, determines the connection between protein terms, and constructs a protein function prediction framework.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the artificial intelligence-driven protein function prediction method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the artificial intelligence-driven protein function prediction method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Deep-learning-based protein function prediction method fusing multiple features

    CN110070909A

  • Drug-target interaction prediction model method based on deep embedding learning of molecular graph and sequence

    CN113327644A

  • Protein-protein interaction prediction model driven by artificial intelligence

    CN116721693A

  • Protein function prediction model generation method and device

    CN116884473A

  • Protein SNO site prediction method of deep learning network fusing features

    CN117976035A

Cited By

  • Protein interaction prediction method and system, computer equipment and storage medium

    CN119132419A

  • A protein interaction prediction method, system, computer device and storage medium

    CN119132419B