Method, device, equipment and storage medium for generating mRNA capping analogs

Generative artificial intelligence models are used to generate and verify the structural information of mRNA capped analogs, which solves the problem of difficulty in designing new mRNA cap analogs in the existing technology and improves the stability and translation efficiency of mRNA.

CN118506881BActive Publication Date: 2024-10-08BEIJING YUEKANGKECHUANG PHARM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410946642.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-08
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

It is difficult to quickly design reasonable and effective new mRNA cap analogs with existing technology, which affects the stability and translation efficiency of mRNA.

Method used

Using a generative artificial intelligence model, such as the GPT model, by inputting the starting word feature information, multiple word feature information is generated and verified to form the structural information of the target mRNA capped analogue, and determine its relationship with the existing structural information. differences to identify newly generated mRNA capping analogs.

Benefits of technology

It significantly improves the probability and efficiency of generating reasonable and effective new mRNA capping analogs, and enhances the stability and translation efficiency of mRNA.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118506881B_ABST
    Figure CN118506881B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of mRNA drug design, and discloses a method, device, equipment and storage medium for generating mRNA capping analogs, the method comprising: inputting the word unit feature information corresponding to the starting word unit into a pre-trained generative artificial intelligence model to generate multiple first word unit feature information; decoding the newly generated multiple first word unit feature information into corresponding words, and performing word unit splicing to obtain the structural information of the target mRNA capping analog; if the structural information of the target mRNA capping analog is reasonable and effective, and is different from the structural information of the existing mRNA capping analog, then determining that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog. The present invention can greatly improve the probability and efficiency of generating reasonable and effective new mRNA capping analogs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mRNA drug design, and in particular to a method, device, equipment and storage medium for generating mRNA capping analogs. Background Art

[0002] There is a cap structure at the 5' end of eukaryotic mRNA (i.e., messenger RNA), which is closely related to mRNA translation and mRNA stability. In the design of mRNA vaccines and drugs, the 5' cap structure can enhance the stability of mRNA vaccines and drugs. Therefore, in order to increase the stability of mRNA and improve the efficiency of mRNA translation, it is necessary to design new mRNA cap analogs. However, it is difficult to quickly design a reasonable and effective new mRNA cap analog in the related technology. Summary of the invention

[0003] In view of this, the present invention provides a method, device, equipment and storage medium for generating mRNA capping analogs to solve the problem that it is difficult to quickly design reasonable and effective new mRNA capping analogs.

[0004] In a first aspect, the present invention provides a method for generating mRNA capping analogs, the method comprising:

[0005] Inputting word-unit feature information corresponding to the starting word-unit into a pre-trained generative artificial intelligence model to generate a plurality of first word-unit feature information; the generative artificial intelligence model generates a plurality of first word-unit feature information in multiple times, each generation being based on the word-unit feature information corresponding to the starting word-unit and the first word-unit feature information generated previously;

[0006] Decoding the newly generated plurality of first word-unit feature information into corresponding word-units, and performing word-unit splicing to obtain structural information of the target mRNA capping analog;

[0007] Verifying the structural information of the target mRNA capping analog, and determining whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog;

[0008] If the structural information of the target mRNA capping analog is verified and is different from the structural information of the existing mRNA capping analog, it is determined that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog.

[0009] In an optional implementation, before inputting the word-unit feature information corresponding to the starting word-unit into a pre-trained generative artificial intelligence model to generate a plurality of first word-unit feature information, the method further includes:

[0010] Obtaining setting information of generation parameters of the generative artificial intelligence model, wherein the setting information includes at least one of the following:

[0011] The longest word length is used to control the total length of the newly generated plurality of first word feature information;

[0012] A temperature parameter, used to control the randomness of generating the first word-unit feature information;

[0013] The top-k parameter is used for randomly selecting a word-unit feature information from the top k candidate word-unit feature information with the largest probability as the generated first word-unit feature information each time the generative artificial intelligence model generates the first word-unit feature information.

[0014] In an optional embodiment, the generative artificial intelligence model includes a first sublayer and a second sublayer, the first sublayer includes a normalization layer, a masked multi-head attention layer and a first residual connection layer in sequence, and the second sublayer includes a normalization layer, a feedforward fully connected layer and a second residual connection layer in sequence.

[0015] In an optional embodiment, the generative artificial intelligence model is trained by the following method:

[0016] Acquire a training sample, wherein the training sample is obtained by adding the word-unit feature information corresponding to the starting word-unit in front of the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs, and the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs is obtained by performing word-unit segmentation and encoding on the structural information of the mRNA capping analogs;

[0017] Inputting the training sample into the initially established generative artificial intelligence model to be trained to obtain a plurality of second word-unit feature information, wherein the generative artificial intelligence model to be trained generates a plurality of second word-unit feature information in multiple times, and the word-unit feature information based on which the second word-unit feature information is generated for the Nth time is the same as the first N word-unit features in the training sample;

[0018] Calculating a loss function value for word-unit feature information corresponding to a plurality of the second word-unit features and the structural information of the existing mRNA capping analogs in the training sample;

[0019] Adjust the parameters of the generative artificial intelligence model to be trained according to the loss function value.

[0020] In an optional embodiment, before inputting the training sample into the initially established generative artificial intelligence model to be trained, the method further includes:

[0021] The last word feature information of the word feature information corresponding to the structural information of the existing mRNA capping analog in the training sample is removed.

[0022] In an optional implementation manner, the correspondence between the word-unit and the word-unit feature information is obtained by the following method:

[0023] Obtaining a preset data set, wherein the data in the preset data set is structural information of existing mRNA capping analogs;

[0024] Performing initial word segmentation on the structural information of the existing mRNA capping analogs in the preset data set;

[0025] Convert the initial word units obtained by segmentation into corresponding initial word unit feature information;

[0026] Acquire initial word-unit feature information pairs according to positional proximity;

[0027] Counting the number of occurrences of each of the initial word-unit feature information pairs;

[0028] Based on the number of occurrences, the initial word-unit feature information pairs are merged to obtain new initial word-unit feature information;

[0029] After the stop condition of merging is reached, the merging of the initial word-unit feature information pairs is stopped, and the correspondence between the word-unit and the word-unit feature information is constructed according to the initial word-unit feature information obtained after merging and the corresponding word-unit, and the correspondence between the word-unit and the word-unit feature information is also constructed for the initial word-unit feature information that has not been merged.

[0030] In an optional embodiment, the preset data set is the union of the training sample set, the validation set and the test set of the generative artificial intelligence model.

[0031] In a second aspect, the present invention provides a device for generating mRNA capping analogs, the device comprising:

[0032] A generation module, used for inputting word-unit feature information corresponding to the starting word-unit into a pre-trained generative artificial intelligence model to generate a plurality of first word-unit feature information; the generative artificial intelligence model generates a plurality of first word-unit feature information in multiple times, and each generation is based on the word-unit feature information corresponding to the starting word-unit and the first word-unit feature information generated previously;

[0033] A decoding and splicing module, used for decoding the newly generated plurality of first word-unit feature information into corresponding word-units, and performing word-unit splicing to obtain the structural information of the target mRNA capping analog;

[0034] A verification and judgment module, used to verify the structural information of the target mRNA capping analog, and determine whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog;

[0035] The determination module is used to determine that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog if the structural information of the target mRNA capping analog is verified and is different from the structural information of the existing mRNA capping analog.

[0036] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the mRNA capping analog generation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0037] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for generating mRNA capping analogs according to the first aspect or any corresponding embodiment thereof.

[0038] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the method for generating mRNA capping analogs according to the first aspect or any corresponding embodiment thereof.

[0039] The mRNA capping analog generation method, device, equipment and storage medium provided by the present invention utilize a generative artificial intelligence model, such as a GPT model, to generate mRNA capping analogs, which can greatly improve the probability and efficiency of generating reasonable and effective new mRNA capping analogs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 is a schematic diagram of a process for generating mRNA capping analogs according to an embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of a process for generating another mRNA capping analog according to an embodiment of the present invention;

[0043] Figure 3 is a schematic diagram of the structure of a generative artificial intelligence model according to an embodiment of the present invention;

[0044] Figure 4 is a schematic diagram of merging initial word-unit feature information pairs according to an embodiment of the present invention;

[0045] Figure 5 It is a schematic diagram of a word unit obtained after word unit segmentation and merging of initial word unit feature information of a set of structural information of mRNA capping analogs according to an embodiment of the present invention;

[0046] Figure 6 is a schematic diagram of the structural formula of an mRNA capping analog generated according to an embodiment of the present invention;

[0047] Figure 7 is a schematic diagram of word unit encoding and decoding according to an embodiment of the present invention;

[0048] Figure 8 is a schematic diagram showing input information of a generative artificial intelligence model according to an embodiment of the present invention;

[0049] Fig. 9 is a schematic diagram comparing the perplexity of a GPT model and an RNN model according to an embodiment of the present invention;

[0050] Fig.10 is a structural block diagram of a device for generating mRNA capping analogs according to an embodiment of the present invention;

[0051] Fig.11 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0053] According to an embodiment of the present invention, an embodiment of a method for generating mRNA capping analogs is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of executable computer instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0054] In this embodiment, a method for generating mRNA capping analogs is provided, which can be used in various computer devices. Figure 1 is a flow chart of a method for generating mRNA capping analogs according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:

[0055] Step S101, input the word-gram feature information corresponding to the starting word-gram into a pre-trained generative artificial intelligence model to generate multiple first word-gram feature information; the generative artificial intelligence model generates multiple first word-gram feature information in multiple times, and each generation is based on the word-gram feature information corresponding to the starting word-gram and the first word-gram feature information generated previously.

[0056] The start word is a special start word representing the structure information of the mRNA capping analog (in SMILES encoding form), for example, <start>The word-gram feature information corresponding to the word-gram may be a number, different word-grams correspond to different numbers, and the word-gram feature information corresponding to the starting word-gram may be, for example, the number 1.

[0057] A generative AI model, such as the GPT (Generative Pre-trained Transformer) model, uses the decoder part of the Transformer, a neural network architecture based on the self-attention mechanism. The Transformer captures dependencies in the input sequence through a multi-layer self-attention mechanism, so that it can handle long-distance language dependencies. The GPT model removes the encoder part of the Transformer and only retains the decoder, so it is particularly suitable for generation tasks.

[0058] Step S102 , decoding the newly generated plurality of first word-unit feature information into corresponding word-units, and performing word-unit splicing to obtain the structural information of the target mRNA capping analog.

[0059] Here, each word-unit feature information generated by the generative artificial intelligence model corresponds to a word-unit of structural information. Therefore, after decoding the word-unit feature information generated by the generative artificial intelligence model into corresponding words, the corresponding words can be spliced ​​in the order of generation to obtain the structural information of a possible mRNA capping analog.

[0060] Step S103 , verifying the structural information of the target mRNA capping analog, and determining whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog.

[0061] The purpose of verifying the structural information of the target mRNA capping analog is to determine whether it is effective and reasonable. Specifically, the Python software package rdkit can be used to verify whether the generated structural information is effective.

[0062] Step S104: If the structural information of the target mRNA capping analog passes verification and is different from the structural information of the existing mRNA capping analog, it is determined that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog, that is, a structurally novel mRNA capping analog is generated. Then, the structural information of the new mRNA capping analog is saved.

[0063] In addition, the above steps S101 to S104 can be repeatedly performed, and new structural information of mRNA capping analogs may be obtained each time (which is also different from the structural information of new mRNA capping analogs previously generated using the generative artificial intelligence model).

[0064] The mRNA capping analog generation method provided in this embodiment uses a generative artificial intelligence model, such as a GPT model, to generate mRNA capping analogs, which can greatly improve the probability and efficiency of generating reasonable and effective new mRNA capping analogs.

[0065] In this embodiment, a method for generating mRNA capping analogs is provided, which can be used in various computer devices. Figure 2 is a flow chart of a method for generating mRNA capping analogs according to an embodiment of the present invention, such as Figure 2 As shown, the process includes the following steps:

[0066] Step S201, obtaining the setting information of the generation parameters of the generative artificial intelligence model, the setting information includes at least one of the following: the longest word length, which is used to control the total length of the newly generated multiple first word feature information, that is, to control the total length of the word obtained by decoding the newly generated word feature information, and the ultimate goal is to control the length of the generated mRNA capping analog; the temperature parameter, which is used to control the random degree of the generation of the first word feature information; the top-k parameter, which is used for the generative artificial intelligence model to randomly select a word feature information from the top k largest probability candidate word feature information as the generated first word feature information each time it generates the first word feature information, so as to avoid continuously generating the same word feature information. The candidate word feature information can be all word feature information involved in the correspondence between the word and word feature information established below. The probability of the candidate word feature information can be determined based on the word feature information corresponding to the starting word and the first word feature information generated previously, and can be predicted using a neural network model.

[0067] Among them, a lower temperature parameter means less randomness and lower creativity. The generated word feature information (i.e., the first word feature information) will be repeated, and the diversity of mRNA capping analogs will be poor. Conversely, a higher temperature parameter means more randomness, which will generate more creative outputs and the diversity of mRNA capping analogs will be better.

[0068] In addition, the setting information may also include a generation quantity, which refers to the quantity of structural information of mRNA capping analogs generated by the generative artificial intelligence model, and is used to control the number of repetitions of the following steps S202-S205.

[0069] Step S202, input the word-gram feature information corresponding to the starting word-gram into a pre-trained generative artificial intelligence model to generate multiple first word-gram feature information; the generative artificial intelligence model generates multiple first word-gram feature information in multiple times, and each generation is based on the word-gram feature information corresponding to the starting word-gram and the first word-gram feature information generated previously.

[0070] In some specific implementations, the generative AI model is a generative AI model built from scratch, see Figure 3 , the generative AI model includes a first sublayer and a second sublayer. The first sublayer includes a normalization layer, a masked multi-head attention layer, and a first residual connection layer in sequence, and the second sublayer includes a normalization layer, a feedforward fully connected layer, and a second residual connection layer in sequence. The normalization layer in the first sublayer is before the multi-head attention layer, and the normalization layer in the second sublayer is also before the feedforward fully connected layer, which is different from the architecture of the GPT-1 model. Transformer decoder in the generative AI model ( Figure 3 The part in the dashed box in the figure can be stacked multiple times, for example, the number of stacking times can be set to 6. Among them, the Masked Multi-Head Attention Layer is an important component of the Transformer model, especially its decoder part, which is used to ensure that in each step of generating the first word-unit feature information, the generative artificial intelligence model can only see the output before the current position, thereby preventing information leakage. Specifically, the Masked Multi-Head Attention Layer can shield future information through a mask matrix so that the generative artificial intelligence model can only see the output before the current position. The multi-head attention mechanism captures different aspects of the model's input information by calculating multiple attention "heads" in parallel, thereby improving the flexibility and performance of the model.

[0071] Step S203 , decoding the newly generated plurality of first word-unit feature information into corresponding word-units, and performing word-unit splicing to obtain the structural information of the target mRNA capping analog.

[0072] In an embodiment of the present invention, decoding the newly generated multiple first word-unit feature information into corresponding word-units needs to be performed based on the correspondence between word-units and word-unit feature information. The first word-unit feature information is the word-unit feature information, and is called the first word-unit feature information only to distinguish it from the word-unit feature information generated during model training (i.e., the second word-unit feature information).

[0073] In some optional specific implementations, the correspondence between word units and word unit feature information is obtained by the following method:

[0074] Step 1: Obtain a preset data set, where the data in the preset data set is the structural information of existing mRNA capping analogs.

[0075] Furthermore, the structural information of existing mRNA capping analogs in the preset data set may be structural information of highly expressed mRNA capping analogs screened out according to expression data.

[0076] The above preset data set can be used as the union of the training sample set, validation set and test set of the generative artificial intelligence model. In other words, the structural information of the mRNA capping analogs in the preset data set can be used to form the training sample set, validation set and test set. The data in the preset data set may only include the structural information of the mRNA capping analogs, and may not include the special start word.

[0077] Step 2: Perform initial word segmentation on the structural information of existing mRNA capping analogs in the preset data set.

[0078] Step 3: Convert the initial word units obtained by segmentation into corresponding initial word unit feature information. The word unit feature information (including the initial word unit feature information) here can be a number. The initial word unit feature information can be obtained by numbering in the order of appearance of the initial word units.

[0079] Step 4: Obtain initial word-unit feature information pairs according to the positional proximity relationship. Specifically, two adjacent initial word-unit feature information can form an initial word-unit feature information pair. For example, if some of the initial word-unit feature information is 18, 24, 24, and 12, then there are the following three initial word-unit feature information pairs: 18 and 24, 24 and 24, and 24 and 12. An initial word-unit feature information pair can be composed of two identical initial word-unit feature information.

[0080] Step 5: Count the number of occurrences (i.e., frequency) of each initial word-unit feature information pair. Specifically, after the structural information of all existing mRNA capping analogs in the preset data set is segmented into initial words, the initial words obtained by segmentation are converted into corresponding initial word-unit feature information, and initial word-unit feature information pairs are obtained, the initial word-unit feature information pairs corresponding to the entire preset data set are obtained, and then the number of occurrences of each initial word-unit feature information pair in the initial word-unit feature information pairs corresponding to the entire preset data set is counted.

[0081] Step 6: Based on the number of occurrences, the initial word-unit feature information pairs are merged to obtain new initial word-unit feature information. The new initial word-unit feature information is different from the previous initial word-unit feature information.

[0082] If the word-unit feature information is a number, then a starting number of the initial word-unit feature information obtained by merging can be determined, and each subsequent merging adds 1 to the starting number as the new initial word-unit feature information.

[0083] Step 7: After the stop condition of the merging is reached, stop merging the initial word-unit feature information pairs, and construct the correspondence between word-units and word-unit feature information according to the initial word-unit feature information obtained after the merging and the corresponding word-units. Also construct the correspondence between word-units and word-unit feature information for the initial word-unit feature information that has not been merged.

[0084] For example, each time the initial word-unit feature information pair with the largest number of occurrences is merged until the preset number of merging is reached, that is, the merging of the initial word-unit feature information pairs is stopped. The preset number of times here is the stop condition for merging.

[0085] like Figure 4 As shown, the initial word-unit feature information pair consisting of initial word-unit feature information 18 and initial word-unit feature information 18 has the largest number of occurrences and is merged into new initial word-unit feature information 230, wherein initial word-unit feature information 18 is decoded as SMILES character "(O)=O)", and initial word-unit feature information 230 is decoded as SMILES character "(O)=O)(O)=O)". Then, the initial word-unit feature information pairs with the largest number of occurrences are counted, such as the initial word-unit feature information pair consisting of initial word-unit feature information 14 and initial word-unit feature information 10 has the largest number of occurrences and is merged into new initial word-unit feature information 231, wherein initial word-unit feature information 14 is decoded as SMILES character "=O)", initial word-unit feature information 10 is decoded as SMILES character "=C", and initial word-unit feature information 231 is decoded as SMILES character "=O)=C". Each time a new initial word-unit feature information is obtained by merging, 1 is added until the preset number is reached.

[0086] In addition, after each merger, the initial word-unit feature information pairs can be obtained again according to the positional proximity relationship. The re-obtained initial word-unit feature information pairs do not include the initial word-unit feature information pairs that have been merged. The initial word-unit feature information pairs that have been merged will be used as initial word-unit feature information and will form new initial word-unit feature information pairs with the previous initial word-unit feature information and initial word-unit feature information. After the initial word-unit feature information pairs are re-obtained, the number of occurrences of each initial word-unit feature information pair needs to be re-counted, and finally merged according to the number of occurrences.

[0087] That is to say, each time the initial word-unit feature information pair whose occurrence times are re-counted, the new initial word-unit feature information generated in the previous step may be included. Figure 4 In the last line, the initial word-unit feature information pair consisting of initial word-unit feature information 239 and initial word-unit feature information 42 has the largest number of occurrences and is merged into new initial word-unit feature information 240. The initial word-unit feature information 239 is the initial word-unit feature information newly generated in the previous step, and 239 comes from the concatenation and merging of initial word-unit feature information 19 and 33. The initial word-unit feature information 239 is decoded as the SMILES character "C(N=C(", and the initial word-unit feature information 42 is decoded as the SMILES character "N)N", and the newly merged initial word-unit feature information 240 is decoded as the SMILES character "C(N=C(N". The initial word-unit feature information 239 is decoded as the SMILES character "C(N=C(", which comes from the merger of the SMILES characters "C(N" (initial word-unit feature information 19) and "=C(" (initial word-unit feature information 33).

[0088] Under the condition of the highest number of merges (i.e. the preset number of merges), the last saved word (word-unit feature information) contains not only the last merged word (word-unit feature information), but may also contain completely unmerged words (word-unit feature information). Figure 5 As shown in the figure, all the words after the merging process, in addition to the words obtained after the merging (such as the SMILES characters "NC1=NC=NC2=C1N=CN2"), also include single words that have never been merged (such as the SMILES character "O"). At the set maximum number of merging times, words corresponding to high-frequency word feature information appear in the merged word feature information (such as the SMILES character "OC"). However, after the mRNA capping analog structure information is merged through the word feature information, there will still be single word feature information (corresponding to the word), so the last saved list of all words not only contains all the merged words, but may also contain words that have not been merged, thereby ensuring that the entire mRNA capping analog structure information can be encoded as word feature information.

[0089] In addition, after the merging of the initial word-unit feature information pairs is stopped, a word-unit dictionary may be constructed based on the word-units corresponding to the word-unit feature information obtained after the merging, for encoding and decoding the word-units.

[0090] The embodiment of the present invention learns the word segmentation rules in the structural information of mRNA capping analogs by performing word segmentation on the structural information of mRNA capping analogs, converting the initial word-unit feature information, obtaining initial word-unit feature information pairs, counting the number of occurrences of each initial word-unit feature information pair, merging the initial word-unit feature information pairs based on the number of occurrences, and obtaining new initial word-unit feature information.

[0091] In other specific embodiments, after the structural information of existing mRNA capping analogs in a preset data set is segmented into initial terms, initial term pairs can be directly obtained based on the initial terms, and then the number of occurrences of the initial term pairs can be counted, and then merged based on the number of occurrences. After the merging is completed, the initial terms are numbered to obtain the correspondence between the terms and the term feature information.

[0092] Step S204 , verifying the structural information of the target mRNA capping analog, and determining whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog.

[0093] Step S205 , if the structural information of the target mRNA capping analog passes verification and is different from the structural information of the existing mRNA capping analog, it is determined that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog.

[0094] For example, in the embodiment of the present invention, based on the trained optimal generative artificial intelligence model, the longest word length is set to 72, and the number 1 (decoded as a special starting word) is input. <start>), the temperature parameter was set to 1.0, and the number of generation was set to 10000. Finally, 218 structurally novel and effective SMILES representations of mRNA capping analogs were generated. Figure 6 The structural information of one of the mRNA capping analogs is shown in the figure, and the structural formula represented by SMILES is: "OP(OP(OP(O)(OC[C@@H](O[C@H]1[N+]2=CN(C)C(C(N3)=O)=C2N=C3N)[C@@H](OC)[C@H]1O)=O)(O)=O)OC[C@@H]4[C@@H](OP([O-])(OC[C@@H]5[C@@H](O)[C@@H](O)[C@@H](N6C(N=C(N)NC7=O)=C7N=C6)O5)=O)[C@@H](OC)[C@H](N8C(N=CN=C9N)=C9N=C8)O4".

[0095] In some other optional specific implementations, the generative artificial intelligence model is trained by the following method:

[0096] Step S2001, obtaining a training sample. The training sample is obtained by adding the word-unit feature information corresponding to the starting word-unit in front of the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs. The word-unit feature information corresponding to the structural information of the existing mRNA capping analogs is obtained by word-unit segmentation and encoding of the structural information of the mRNA capping analogs.

[0097] The training samples can be obtained based on the data in the above-mentioned preset data set, that is, it is necessary to add the word-unit feature information corresponding to the starting word-unit in front of the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs. Of course, the training samples may not be obtained based on the data in the above-mentioned preset data set. In addition, the test set data and the validation set data of the generative artificial intelligence model to be trained can be obtained from the preset data set. For example, the data in the preset data set can be divided into three groups, which are used as the data of the training sample set, the data of the test set, and the data of the validation set.

[0098] When obtaining the structural information of existing mRNA capping analogs, the word units can be segmented and encoded into corresponding word unit feature information according to the correspondence between the word units and the word unit feature information. Of course, the order of the word unit feature information is consistent with the order of the word units corresponding to it in the structural information of the mRNA capping analogs.

[0099] like Figure 7 As shown, after the mRNA capping analog structure information is segmented according to the word units in the above correspondence (a word unit dictionary can be constructed), the mRNA capping analog structure information represented by SMILES is segmented into word units of different lengths. Different word units are converted into corresponding word unit feature information to realize the word unit encoding link.

[0100] Step S2002, input the training sample into the initially established generative artificial intelligence model to be trained to obtain multiple second word-gram feature information. The generative artificial intelligence model to be trained generates multiple second word-gram feature information in multiple times, and the word-gram feature information based on which the second word-gram feature information is generated for the Nth time is the same as the first N word-gram features in the training sample.

[0101] Specifically, the number of times the generative artificial intelligence model to be trained is generated is greater than or equal to the number of word-unit feature information of the training sample (excluding the word-unit feature information corresponding to the starting word-unit). The word-unit feature information based on which the second word-unit feature information is generated for the Nth time should be the word-unit feature information corresponding to the starting word-unit and the second word-unit feature information generated for the previous N-1 times. However, if the second word-unit feature information generated for the previous N-1 times is different from the first 2 to N word-unit feature information in the training sample, then it is necessary to use the word-unit feature information in the training sample to replace the generated second word-unit feature information as the basis for generating the second word-unit feature information for the Nth time.

[0102] In addition, the input of the generative artificial intelligence model to be trained includes not only the word-mer feature information corresponding to the structural information of the mRNA capping analogs, but also the word-mer position feature information corresponding to the word-mer feature information, and the word-mer position feature information is set as a learnable parameter.

[0103] In some specific implementations, before inputting the training sample into the initially established generative artificial intelligence model to be trained, the method further includes:

[0104] The last word feature information of the word feature information corresponding to the structural information of the existing mRNA capping analog in the training samples is removed.

[0105] In an embodiment of the present invention, when the generative artificial intelligence model to be trained generates the second word-unit feature information, the last word-unit feature information of the word-unit feature information corresponding to the structural information of the existing mRNA capping analog is not needed, so it can be removed.

[0106] Step S2003 , calculating a loss function value for the word-unit feature information corresponding to the plurality of second word-unit features and the structural information of the existing mRNA capping analogs in the training sample.

[0107] In an embodiment of the present invention, word feature information corresponding to the structural information of existing mRNA capping analogs in the training samples is used as a training label for the generative artificial intelligence model to be trained.

[0108] like Figure 8 As shown, input_ids represents the input information of the generative artificial intelligence model to be trained, and the number 1 is decoded as the first special starting word. <start>, indicating the beginning. The number 0 is decoded as a special word inserted at the end <pad>, indicates padding. When the input word feature information does not reach the longest word feature information length (also the longest word length), the remaining length is padded with the number 0. When calculating the loss, the number 0 is ignored and its prediction loss is not calculated. The remaining numbers in input_ids except 0 and 1 represent the word feature information encoded after the word segmentation of the structural information of the mRNA capping analog. attention_mask indicates whether to calculate the attention score. The number 1 indicates yes and the number 0 indicates no. The position corresponding to the number 0 is the position of the special word <' pad'> padding, and its attention score is not calculated.

[0109] Figure 8 In the output_ids, the label of the generative artificial intelligence model to be trained is based on the first digit in the input_ids, that is, the number 1 (decoded as a special starting word <start>) to predict the next output. The true label at this time is the first digit of output_ids, that is, 34 (decoded as the SMILES character "P("). Next, the next output is predicted based on the second digit 34 in input_ids. The true label at this time is the second digit of output_ids, that is, 99. Similarly, each time the generative artificial intelligence model to be trained is generated, it can only obtain the word feature information label before the word feature information label corresponding to the word feature information it is about to generate.

[0110] Step S2004, adjust the parameters of the generative artificial intelligence model to be trained according to the loss function value. Specifically, the gradient of each parameter can be updated and the parameters of the generative artificial intelligence model can be updated by back-propagation to calculate the loss function value, and the optimal generative artificial intelligence model can be obtained by continuous iterative training. Specifically, the update of the parameters of the generative artificial intelligence model is achieved by gradient descent or its variant algorithm. In each iteration, according to the gradient of the loss function to the current parameter, the parameter is updated in the opposite direction of the gradient in the hope of achieving the minimum value of the loss function. The detailed process of model parameter update can be found in the relevant technology, which will not be repeated here.

[0111] The generative artificial intelligence model used in the embodiment of the present invention improves the probability and efficiency of generating reasonable and effective new mRNA capping analogs by learning the generation rules of the structural information of mRNA capping analogs through training.

[0112] The same training samples are input into the RNN (recurrent neural network) model for training, and the difference in perplexity is compared with the generative artificial intelligence model. The closer the perplexity is to 1, the better, indicating that the model has lower uncertainty in predicting the word. Fig. 9 As shown, the perplexity value of the decoder of the generative artificial intelligence model (GPT model) of the embodiment of the present invention is 3.0875, while the perplexity value of the mainstream artificial intelligence model RNN is as high as 21.1355. The perplexity value of the generative artificial intelligence model of the present invention is reduced by 18.0480 compared with the RNN model. Therefore, the generative artificial intelligence model of the present invention is superior to the mainstream artificial intelligence RNN model, and greatly improves the quality of mRNA capping analog generation.

[0113] In this embodiment, a device for generating mRNA capping analogs is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0114] This embodiment provides a device for generating mRNA capping analogs, such as Fig.10 As shown, including:

[0115] A generation module 1001 is used to input the word-unit feature information corresponding to the starting word-unit into a pre-trained generative artificial intelligence model to generate a plurality of first word-unit feature information; the generative artificial intelligence model generates a plurality of first word-unit feature information in multiple times, and each generation is based on the word-unit feature information corresponding to the starting word-unit and the first word-unit feature information generated previously;

[0116] A decoding and splicing module 1002 is used to decode the newly generated plurality of first word-unit feature information into corresponding word-units, and perform word-unit splicing to obtain the structural information of the target mRNA capping analog;

[0117] A verification and judgment module 1003 is used to verify the structural information of the target mRNA capping analog and determine whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog;

[0118] The determination module 1004 is used to determine that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog if the structural information of the target mRNA capping analog is verified and is different from the structural information of the existing mRNA capping analog.

[0119] In some optional embodiments, the mRNA capping analog generation device further comprises:

[0120] A setting information acquisition module is used to obtain setting information of generation parameters of the generative artificial intelligence model, wherein the setting information includes at least one of the following:

[0121] The longest word length is used to control the total length of the newly generated plurality of first word feature information;

[0122] A temperature parameter, used to control the randomness of generating the first word-unit feature information;

[0123] The top-k parameter is used for randomly selecting a word-unit feature information from the top k candidate word-unit feature information with the largest probability as the generated first word-unit feature information each time the generative artificial intelligence model generates the first word-unit feature information.

[0124] In some optional embodiments, the generative artificial intelligence model includes a first sublayer and a second sublayer, the first sublayer includes a normalization layer, a masked multi-head attention layer and a first residual connection layer in sequence, and the second sublayer includes a normalization layer, a feed-forward fully connected layer and a second residual connection layer in sequence.

[0125] In some optional embodiments, the mRNA capping analog generation device further comprises:

[0126] A sample acquisition module, used to acquire training samples, wherein the training samples are obtained by adding the word-unit feature information corresponding to the starting word-unit in front of the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs, and the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs is obtained by performing word-unit segmentation and encoding on the structural information of the mRNA capping analogs;

[0127] A prediction module, used for inputting the training sample into an initially established generative artificial intelligence model to be trained to obtain a plurality of second word-unit feature information, wherein the generative artificial intelligence model to be trained generates a plurality of second word-unit feature information in multiple times, and the word-unit feature information based on which the second word-unit feature information is generated for the Nth time is the same as the first N word-unit features in the training sample;

[0128] A loss calculation module, used to calculate a loss function value for word feature information corresponding to a plurality of the second word features and the structural information of the existing mRNA capping analogs in the training sample;

[0129] A parameter adjustment module is used to adjust the parameters of the generative artificial intelligence model to be trained according to the loss function value.

[0130] In some optional embodiments, the mRNA capping analog generation device further comprises:

[0131] The removal module is used to remove the last word-unit feature information of the word-unit feature information corresponding to the structural information of the existing mRNA capping analog in the training sample.

[0132] In some optional embodiments, the mRNA capping analog generation device further comprises:

[0133] A preset data set acquisition module, used to acquire a preset data set, wherein the data in the preset data set is the structural information of existing mRNA capping analogs;

[0134] A segmentation module, used for performing initial word segmentation on the structural information of the existing mRNA capping analogs in the preset data set;

[0135] A conversion module, used for converting the initial word units obtained by segmentation into corresponding initial word unit feature information;

[0136] An initial word unit feature information pair acquisition module is used to acquire initial word unit feature information pairs according to position adjacent relationships;

[0137] A statistical module, used for counting the number of occurrences of each of the initial word-unit feature information pairs;

[0138] A merging module, used for merging the initial word-unit feature information pairs based on the number of occurrences to obtain new initial word-unit feature information;

[0139] The corresponding relationship determination module is used to stop merging the initial word-unit feature information pairs after the merging stop condition is reached, and to construct the corresponding relationship between the word-unit and the word-unit feature information according to the initial word-unit feature information obtained after merging and the corresponding word-unit, and also to construct the corresponding relationship between the word-unit and the word-unit feature information for the initial word-unit feature information that has not been merged.

[0140] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0141] The mRNA capping analog generation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0142] The embodiment of the present invention also provides a computer device having the above Fig.10 The mRNA capping analog generation apparatus is shown.

[0143] See also Fig.11 , Fig.11 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.11 As shown, the computer device includes: one or more processors 100, a memory 200, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.11 A processor 100 is taken as an example.

[0144] The processor 100 may be a central processing unit, a network processor or a combination thereof. The processor 100 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.

[0145] The memory 200 stores instructions executable by at least one processor 100, so that at least one processor 100 executes the method shown in the above embodiment.

[0146] The memory 200 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 200 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 200 may optionally include a memory remotely arranged relative to the processor 100, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0147] The memory 200 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 200 may also include a combination of the above types of memory.

[0148] The computer device also includes an input device 300 and an output device 400. The processor 100, the memory 200, the input device 300 and the output device 400 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.

[0149] The input device 300 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 400 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0150] The computer device also includes a communication interface, which is used for the computer device to communicate with other devices or a communication network.

[0151] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0152] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0153] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.< / start> < / pad> < / start> < / start> < / start>

Claims

1. A method for generating mRNA capping analogs, characterized in that: The method comprises: Inputting word-unit feature information corresponding to the starting word-unit into a pre-trained generative artificial intelligence model to generate a plurality of first word-unit feature information; the generative artificial intelligence model generates a plurality of first word-unit feature information in multiple times, each generation being based on the word-unit feature information corresponding to the starting word-unit and the first word-unit feature information generated previously; Decoding the newly generated plurality of first word-unit feature information into corresponding word-units, and performing word-unit splicing to obtain structural information of the target mRNA capping analog; Verifying the structural information of the target mRNA capping analog, and determining whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog; If the structural information of the target mRNA capping analog passes verification and is different from the structural information of the existing mRNA capping analog, it is determined that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog; The corresponding relationship between the word unit and the word unit feature information is obtained by the following method: Obtaining a preset data set, wherein the data in the preset data set is structural information of existing mRNA capping analogs; Performing initial word segmentation on the structural information of the existing mRNA capping analogs in the preset data set; Convert the initial word units obtained by segmentation into corresponding initial word unit feature information; Acquire initial word-unit feature information pairs according to positional proximity; Counting the number of occurrences of each of the initial word-unit feature information pairs; Based on the number of occurrences, the initial word-unit feature information pairs are merged to obtain new initial word-unit feature information; After the stop condition of merging is reached, the merging of the initial word-unit feature information pairs is stopped, and the correspondence between the word-unit and the word-unit feature information is constructed according to the initial word-unit feature information obtained after merging and the corresponding word-unit, and the correspondence between the word-unit and the word-unit feature information is also constructed for the initial word-unit feature information that has not been merged.

2. The method according to claim 1, characterized in that: Before inputting the word unit feature information corresponding to the starting word unit into the pre-trained generative artificial intelligence model to generate a plurality of first word unit feature information, the method further includes: Obtaining setting information of generation parameters of the generative artificial intelligence model, wherein the setting information includes at least one of the following: The longest word length is used to control the total length of the newly generated plurality of first word feature information; A temperature parameter, used to control the randomness of generating the first word-unit feature information; The top-k parameter is used for randomly selecting a word-unit feature information from the top k candidate word-unit feature information with the largest probability as the generated first word-unit feature information each time the generative artificial intelligence model generates the first word-unit feature information.

3. The method according to claim 1, characterized in that The generative artificial intelligence model includes a first sublayer and a second sublayer, the first sublayer includes a normalization layer, a masked multi-head attention layer and a first residual connection layer in sequence, and the second sublayer includes a normalization layer, a feedforward fully connected layer and a second residual connection layer in sequence.

4. The method according to claim 1, characterized in that: The generative artificial intelligence model is trained by the following method: Acquire a training sample, wherein the training sample is obtained by adding the word-unit feature information corresponding to the starting word-unit in front of the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs, and the word-unit feature information corresponding to the structural information of the existing mRNA capping analogs is obtained by performing word-unit segmentation and encoding on the structural information of the mRNA capping analogs; Inputting the training sample into the initially established generative artificial intelligence model to be trained to obtain a plurality of second word-unit feature information, wherein the generative artificial intelligence model to be trained generates a plurality of second word-unit feature information in multiple times, and the word-unit feature information based on which the second word-unit feature information is generated for the Nth time is the same as the first N word-unit features in the training sample; Calculating a loss function value for word-unit feature information corresponding to a plurality of the second word-unit features and the structural information of the existing mRNA capping analogs in the training sample; Adjust the parameters of the generative artificial intelligence model to be trained according to the loss function value.

5. The method according to claim 4, characterized in that Before inputting the training sample into the initially established generative artificial intelligence model to be trained, the method further includes: The last word feature information of the word feature information corresponding to the structural information of the existing mRNA capping analog in the training sample is removed.

6. The method according to claim 1, characterized in that The preset data set is the union of the training sample set, validation set and test set of the generative artificial intelligence model.

7. An mRNA capping analog generation device, characterized in that: The device comprises: A generation module, used for inputting word-unit feature information corresponding to the starting word-unit into a pre-trained generative artificial intelligence model to generate a plurality of first word-unit feature information; the generative artificial intelligence model generates a plurality of first word-unit feature information in multiple times, and each generation is based on the word-unit feature information corresponding to the starting word-unit and the first word-unit feature information generated previously; A decoding and splicing module, used for decoding the newly generated plurality of first word-unit feature information into corresponding word-units, and performing word-unit splicing to obtain the structural information of the target mRNA capping analog; A verification and judgment module, used to verify the structural information of the target mRNA capping analog, and determine whether the structural information of the target mRNA capping analog is the same as the structural information of the existing mRNA capping analog; A determination module, configured to determine that the structural information of the target mRNA capping analog is the structural information of the newly generated mRNA capping analog if the structural information of the target mRNA capping analog is verified and is different from the structural information of the existing mRNA capping analog; The mRNA capping analog generation device also includes: A preset data set acquisition module, used to acquire a preset data set, wherein the data in the preset data set is the structural information of existing mRNA capping analogs; A segmentation module, used for performing initial word segmentation on the structural information of the existing mRNA capping analogs in the preset data set; A conversion module, used for converting the initial word units obtained by segmentation into corresponding initial word unit feature information; An initial word unit feature information pair acquisition module is used to acquire initial word unit feature information pairs according to position adjacent relationships; A statistical module, used for counting the number of occurrences of each of the initial word-unit feature information pairs; A merging module, used for merging the initial word-unit feature information pairs based on the number of occurrences to obtain new initial word-unit feature information; The corresponding relationship determination module is used to stop merging the initial word-unit feature information pairs after the merging stop condition is reached, and to construct the corresponding relationship between the word-unit and the word-unit feature information according to the initial word-unit feature information obtained after merging and the corresponding word-unit, and also to construct the corresponding relationship between the word-unit and the word-unit feature information for the initial word-unit feature information that has not been merged.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for generating mRNA capping analogs according to any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for generating mRNA capping analogs according to any one of claims 1 to 6.