Small molecule generation method and device based on cross-modal pre-training and electronic equipment
Through the cross-modal pre-training small molecule generation method, the contrastive learning model is used to align the protein pocket and the ligand small molecule representation space, reducing the modal gap and generating more reasonable drug small molecules, solving the problems of poor synthesizability and low binding affinity of generated drug molecules in the existing technology.
Patent Information
- Application Number
- CN202411684791.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-11-22
AI Technical Summary
Existing drug molecule generation methods are limited by the scarcity of training samples, resulting in poor synthesizability, irrational conformations, and low binding affinity to targets.
A small molecule generation method based on cross-modal pre-training is adopted. The protein pocket and the ligand small molecule are aligned in the representation space through a pre-trained contrastive learning model. The C3 method is used to reduce the modal gap. The single-modal drug-like small molecule data is used for unsupervised learning of cross-modal tasks to generate drug-like small molecules with reasonable geometric structures and high affinity.
The generated drug small molecules have more reasonable chemical structure and conformational distribution, improved synthesizability and binding affinity with the target, and freed from dependence on experimental data.
Smart Images

Figure CN119833020B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug design, and in particular to a small molecule generation method, device and electronic equipment based on cross-modal pre-training. Background Art
[0002] Since the tremendous success of target-based structure-based drugs, exemplified by HIV protease inhibitors, at the end of the last century, structure-based drug design (SBDD) has become a key strategy in drug development. SBDD aims to leverage the three-dimensional structure and physicochemical characteristics of the target pocket to design molecules that bind tightly to it. Broadly speaking, SBDD encompasses both virtual screening and de novo design approaches. Compared to virtual screening, de novo molecular design avoids time-consuming, blind searches across vast chemical spaces, significantly improving drug discovery efficiency and becoming a hot research topic in drug design.
[0003] At the same time, generative artificial intelligence models have demonstrated excellent performance in fields such as natural language, images, and videos; in the field of drug design, artificial intelligence molecular generation models can also play an important role.
[0004] At present, the mainstream molecular generation models are: (1) autoregressive small molecule generation model, but the autoregressive generation method has many limitations, such as exposure bias, error accumulation, inability to consider the entire three-dimensional structure when sampling, unnatural sampling order, poor scalability of the sampling scheme when generating large molecules, and inability to estimate the mass of the generated molecules; (2) non-autoregressive small molecule generation model based on diffusion model, but this model faces problems such as multimodality of molecular data and sensitivity to atomic coordinate noise. The molecules it generates are prone to illegal structures such as large rings that do not conform to chemical constraints and have poor synthesizability.
[0005] All of the aforementioned supervised learning models require labeled protein pocket-ligand small molecule data to learn the distribution of ligand small molecules for a given protein. In reality, experimentally measured paired protein pocket-ligand small molecule data is extremely limited. Compared to the vast cross-modal datasets used in image-text generation (e.g., the LAION-5B dataset, which contains 5.85 billion image-text pairs), the protein database PDBbind, commonly used in drug generation, contains only 22,920 protein-ligand small molecule pairs, and the crossdocked2020 dataset (synthetic data) contains only 100,000 molecule pairs, which is far from sufficient to support the model's accurate capture of the distribution of the chemical structure and conformation of drug molecules. This can result in the distribution of properties such as bond lengths, bond angles, and torsion angles in the drug molecules generated by the model still differing significantly from those of real drug molecules, resulting in "illegal" phenomena such as distorted geometry and structural fractures.
[0006] The Shape2Mol model uses a large amount of unlabeled small molecule data for pre-training, improving the "legitimacy" of generated molecules and providing a new approach to breaking away from reliance on labeled paired data. However, because it constructs a molecular generation model based on shape, it ignores important physical and chemical properties of protein pockets, such as hydrophilicity and partial charge. As a result, the generated molecules have poor ability to bind specifically to protein pockets.
[0007] In summary, although AI molecular generation models have great potential in improving the efficiency and effectiveness of early drug discovery, they are limited by the scarcity of training data and the lack of effective pre-training methods. The drug molecules they generate have problems such as poor synthesizability, unreasonable conformation, and low binding affinity to the target.
[0008] Therefore, how to solve the problem that existing drug molecule generation methods are limited by the scarcity of training samples, resulting in poor synthesizability, irrational conformation, and low binding affinity with the target, is an important issue that needs to be urgently addressed in the field of drug design. Summary of the Invention
[0009] The present invention provides a small molecule generation method, device and electronic device based on cross-modal pre-training, which is used to overcome the defects of existing drug molecule generation methods that are limited by the scarcity of training samples, resulting in poor synthesizability, irrational conformation and low binding affinity with the target. It can better learn the chemical structure and conformational information of small molecules in an unsupervised manner, generate drug small molecules with more reasonable geometric structures and substructure distributions that are closer to real drug molecules, and improve the synthesizability and affinity of the generated drug small molecules with the target.
[0010] On the one hand, the present invention provides a small molecule generation method based on cross-modal pre-training, comprising: obtaining a given protein pocket; obtaining a target representation vector of the protein pocket; generating a ligand small molecule corresponding to the protein pocket based on the target representation vector based on a pre-trained molecular generation model; wherein the molecular generation model is obtained by training and optimizing a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, the representation vector samples are obtained by encoding with a molecular encoder and reducing the modal gap, and are used to simulate the representation vectors of protein pocket samples corresponding to drug-like small molecule samples, and the molecular encoder is a pre-trained contrastive learning model.
[0011] Furthermore, obtaining the target representation vector of the protein pocket includes: encoding the protein pocket into a corresponding initial representation vector based on a pre-trained protein encoder; collapsing the initial representation vector to obtain the target representation vector; wherein the pre-trained protein encoder is a pre-trained contrastive learning model, and the contrastive learning model is trained and optimized based on a training sample set consisting of protein pocket samples and their corresponding ligand small molecule samples.
[0012] Furthermore, the initial representation vector is collapsed to obtain the target representation vector, including: determining the protein pocket as the first modal data and obtaining the average value of the first modal data; subtracting the average value of the first modal data from the initial representation vector to obtain the target representation vector.
[0013] Furthermore, the molecular generation model is trained and optimized, specifically including: encoding the drug-like small molecule samples into corresponding initial representation vector samples based on a pre-trained molecular encoder; performing collapse and destruction processing on the initial representation vector samples to obtain representation vector samples; during training, the representation vector samples and the atomic coordinates and atomic types of the drug-like small molecule samples are used as model inputs, the generated small molecules are used as model outputs, and the difference between the drug-like small molecule samples and the generated small molecules is used as training loss, and the molecular generation model is iteratively optimized.
[0014] Furthermore, the initial representation vector sample is collapsed and destroyed to obtain a representation vector sample, including: determining the drug-like small molecule as the second modal data, and obtaining the average value of the second modal data; subtracting the average value of the second modal data from the initial representation vector sample, and adding alignment noise to obtain the representation vector sample.
[0015] Furthermore, the alignment noise is estimated based on a training sample set consisting of protein pocket samples and their corresponding ligand small molecule samples.
[0016] In the second aspect, the present invention also provides a small molecule generation device based on cross-modal pre-training, including: a protein pocket acquisition module for acquiring a given protein pocket; a representation vector acquisition module for acquiring a target representation vector for the protein pocket; a ligand small molecule generation module for generating a ligand small molecule corresponding to the protein pocket based on the target representation vector based on a pre-trained molecular generation model; wherein the molecular generation model is obtained by training and optimizing a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, the representation vector samples are obtained by encoding with a molecular encoder and reducing the modal gap, and are used to simulate the representation vector of the protein pocket, and the molecular encoder is a pre-trained contrastive learning model.
[0017] In a third aspect, the present invention also provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for generating small molecules based on cross-modal pre-training as described above is implemented.
[0018] In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for generating small molecules based on cross-modal pre-training.
[0019] In a fifth aspect, the present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described methods for generating small molecules based on cross-modal pre-training.
[0020] The present invention provides a small molecule generation method based on cross-modal pre-training, which obtains a given protein pocket and a target representation vector of the protein pocket, and then generates a ligand small molecule corresponding to the protein pocket based on a pre-trained molecular generation model and the target representation vector; wherein the molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, and the representation vector samples are encoded by a molecular encoder to simulate the representation vector of the protein pocket sample corresponding to the drug-like small molecule sample, and the molecular encoder is a pre-trained contrast learning model. This method aligns the protein pocket with the ligand small molecule in the representation space through the pre-trained contrast learning model, and C 3 The method introduces the field of molecular generation to reduce the modal gap between the representation vectors of proteins and small molecules, thereby using single-modal drug-like small molecule data for unsupervised learning of cross-modal protein-small molecule pairing tasks. It can accurately capture the distribution of the chemical structure and conformation of drug molecules, get rid of the dependence on experimental data, and generate drug small molecules with more reasonable geometric structures and distributions closer to real drug molecule structures. It also improves the synthesizability and affinity of the generated drug small molecules with targets. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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 any creative work.
[0022] Figure 1 Schematic diagram of the process of generating small molecules based on cross-modal pre-training provided in an embodiment of the present invention.
[0023] Figure 2 Schematic diagram of the overall process of the small molecule generation method based on cross-modal pre-training provided by an embodiment of the present invention.
[0024] Figure 3 It is a schematic diagram of a ligand small molecule generated by the molecular generation model provided by an embodiment of the present invention during testing.
[0025] Figure 4 This is a diagram showing the difference in bond length distribution between the ligand small molecule generated by the molecular generation model provided in an embodiment of the present invention and the original molecule.
[0026] Figure 5 This is a diagram showing the difference in bond angle distribution between the ligand small molecule generated by the molecular generation model provided in an embodiment of the present invention and the original molecule.
[0027] Figure 6 This is a diagram showing the difference in torsion angle distribution between the ligand small molecule generated by the molecular generation model provided in an embodiment of the present invention and the original molecule.
[0028] Figure 7 Schematic diagram of the structure of a small molecule generation device based on cross-modal pre-training provided by an embodiment of the present invention.
[0029] Figure 8 It is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0031] It should be noted that the molecular generation model based on supervised learning in the existing technology only uses labeled protein pocket-ligand small molecule data. This type of molecular generation model is built on the experimental data space, and the quality of the molecules it generates is seriously dependent on the size of the training set, but the data set available for training is very limited.
[0032] In view of this, the present invention proposes a small molecule generation method based on cross-modal pre-training, specifically, Figure 1 A schematic flow chart of a small molecule generation method based on cross-modal pre-training provided in an embodiment of the present invention is shown.
[0033] like Figure 1As shown, the method includes steps S110-S130, and steps S110-S130 and related steps will be described in detail below.
[0034] S110, obtain a given protein pocket.
[0035] Protein pockets, also known as protein binding pockets, are cavities on or within proteins that are suitable for binding to ligands (such as small molecules, drugs, or other biomolecules). The shape, location, physicochemical properties, and function of protein pockets are primarily determined by the surrounding amino acid residues. The dynamic properties of protein pockets, such as flexibility and motion, are crucial for specific protein interactions. These properties allow protein pockets to open, close, or adapt, thereby regulating ligand binding and exerting specific protein functions.
[0036] It is easy to understand that the three-dimensional structure of a protein can be obtained from the protein database, and the structure file of the protein can be downloaded. Then, various software tools can be used to identify pockets in the protein structure, that is, to obtain protein pockets.
[0037] Based on obtaining the given protein pocket in step S110, step S120 is further performed.
[0038] S120, obtaining a target representation vector of the protein pocket.
[0039] It is easy to understand that features can be extracted from the structure of the protein pocket. These features include, but are not limited to, amino acid type, charge, hydrophobicity, geometry, pocket volume, and surface area. The extracted features are then mapped into a representation vector, where each feature becomes an element in the representation vector, and the dimension of the representation vector is equal to the number of extracted features.
[0040] In one specific embodiment, a representation vector for a protein pocket is obtained based on a pretrained encoder. Specifically, the protein pocket is used as input to the pretrained encoder to obtain an output representation vector. The pretrained encoder can be a pretrained contrastive learning model (DrugClip) or other network model capable of achieving the same functionality, without specific limitation.
[0041] It should be noted that after obtaining the preliminary representation vector of the protein pocket, considering the significant modal gap between the preliminary representation vector of the protein pocket and the representation vector of the ligand small molecule, a set preprocessing operation can be performed on the preliminary representation vector of the protein pocket, such as C 3 The “collapse” process in , the final target representation vector can better help the molecular generation model to generate high-quality ligand small molecules.
[0042] Based on the target representation vector of the protein pocket obtained in step S120, step S130 is further performed.
[0043] S130, based on a pre-trained molecular generation model, generates a ligand small molecule corresponding to the protein pocket according to the target representation vector; wherein, the molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, the representation vector samples are encoded by a molecular encoder and obtained by reducing the modal gap, and are used to simulate the representation vectors of protein pocket samples corresponding to drug-like small molecule samples, and the molecular encoder is a pre-trained contrastive learning model.
[0044] It's easy to understand that a pre-trained molecular generative model takes a target representation vector as input and outputs a ligand small molecule corresponding to a protein pocket. In particular, this molecular generative model accurately captures the chemical structure and conformational distribution of drug molecules. The distribution of substructures, such as bond lengths, bond angles, and torsion angles, generated by the model closely resembles that of real drug small molecules.
[0045] It's worth noting that the molecular generative model proposed in this example is based on cross-modal pre-training. Specifically, protein pockets and ligand small molecules can be viewed as data from two different modalities. Ideally, the representation vectors of these different modalities can be used interchangeably in an aligned representation space. Leveraging this aligned representation space allows cross-modal tasks to be learned from single-modal data.
[0046] Based on this inventive concept, this embodiment transforms the modeling in the data space of protein pocket-ligand small molecule into modeling in the aligned representation space, and uses the pre-trained contrastive learning model DrugClip to transform the protein pocket samples into Encoded as a representation vector , drug-like small molecule samples Encoded as a representation vector ,use simulation It can be used as training sample data for pre-training, thus getting rid of the dependence on scarce experimental data.
[0047] To elaborate, we first collect ligand small molecule samples and their corresponding protein pocket samples, which can be obtained from publicly available protein-ligand complex databases (e.g., PDBbind). We then use these collected ligand small molecule samples and their corresponding protein pocket samples to pre-train a molecular encoder (DrugClip), resulting in a trained encoder, or pre-trained contrastive learning model. Next, we use this trained encoder to encode a large number of collected drug-like small molecule samples to generate corresponding representation vector samples.
[0048] DrugClip is a comparative learning model for drug design and virtual screening, specifically focusing on extracting features from the structural information of protein pockets to better predict the binding ability of small molecules to proteins. DrugClip incorporates graph neural networks and convolutional neural networks to achieve efficient and accurate drug design tasks.
[0049] When training the molecular generation model, the representation vector samples corresponding to the drug-like small molecule samples are used to simulate the representation vectors of the protein pocket samples. The representation vector samples and the original structures of the drug-like small molecules are used as the training inputs of the molecular generation model, and the generated small molecules are output.
[0050] It should be noted that, due to the significant modal gap between the representation vectors of different modalities, there is a gap between the representation vectors of protein pocket samples and the representation vector samples corresponding to drug-like small molecule samples. When using the representation vector samples corresponding to drug-like small molecule samples to simulate the representation vectors of protein pocket samples, it is preferable to introduce C 3 The method is used to reduce the modal gap between the representation vectors of protein samples and the representation vectors of drug-like small molecules (representation vector samples), thereby using single-modal drug-like small molecule data for unsupervised learning of cross-modal protein-small molecule pairing tasks, getting rid of the dependence on experimental data, and taking into account the chemical structure rationality, synthesizability and affinity between the generated molecules and the target.
[0051] In this embodiment, a given protein pocket is obtained and a target representation vector of the protein pocket is obtained, and then based on a pre-trained molecular generation model, a ligand small molecule corresponding to the protein pocket is generated according to the target representation vector; wherein the molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, and the representation vector samples are encoded by a molecular encoder to simulate the representation vector of the protein pocket sample corresponding to the drug-like small molecule sample, and the molecular encoder is a pre-trained contrastive learning model. This method aligns the protein pocket with the ligand small molecule in the representation space through the pre-trained contrastive learning model, and C 3 The method introduces the field of molecular generation to reduce the modal gap between the representation vectors of proteins and small molecules, thereby using single-modal drug-like small molecule data for unsupervised learning of cross-modal protein-small molecule pairing tasks. It can accurately capture the distribution of the chemical structure and conformation of drug molecules, get rid of the dependence on experimental data, and generate drug small molecules with more reasonable geometric structures and distributions closer to real drug molecule structures. It also improves the synthesizability and affinity of the generated drug small molecules with targets.
[0052] On the basis of the above embodiment, the process of obtaining the target representation vector of the protein pocket will be described in detail below.
[0053] Obtaining a target representation vector of a protein pocket includes: encoding the protein pocket into a corresponding initial representation vector based on a pre-trained protein encoder; collapsing the initial representation vector to obtain a target representation vector; wherein the pre-trained protein encoder is a pre-trained contrastive learning model, which is obtained by training and optimizing the contrastive learning model based on a training sample set consisting of protein pocket samples and their corresponding ligand small molecule samples.
[0054] It is easy to understand that when training the molecular generation model, the protein pocket and the ligand small molecule are aligned in the representation space through the pre-trained contrastive learning model, and the representation vector samples corresponding to the drug-like small molecule samples in the representation space are used to simulate the vector representation of the protein pocket samples. This serves as one of the training inputs of the molecular generation model and outputs the predicted generated small molecule.
[0055] When applying the molecular generative model for actual reasoning, its input is the vector of the protein pocket in the representation space, that is, the target representation vector. Specifically, first, the protein pocket is encoded using a pre-trained protein encoder to obtain an initial representation vector. Then, as in the training process, in order to reduce the modal gap between the representation vector of the protein pocket and the representation vector of the ligand small molecule, the initial representation vector of the protein pocket needs to be C-encoded. 3 The target representation vector can be obtained by performing the collapse process in .
[0056] The so-called collapse process refers to reducing the modal gap by subtracting the average value from the representation vector of each mode to eliminate the modal gap described above. In this embodiment, the protein pocket is determined as the first modal data, and the average value of the first modal data is obtained, and then the initial representation vector is used to calculate the modal gap. Subtract the mean of the first mode data from , you can get the target representation vector .
[0057] Among them, the average value of the first modal data is pre-calculated and stored, and can be obtained by summing the representation vectors of a large number of collected protein pocket samples dimension by dimension and dividing by the total number of samples. It will not be described in detail here.
[0058] It should be noted that the protein encoder in this embodiment is a pre-trained contrastive learning model, which is obtained by training and optimization based on a training sample set consisting of protein pocket samples and their corresponding ligand small molecule samples. It is the same as the molecular encoder mentioned above and will be elaborated in detail in the following embodiments.
[0059] In this embodiment, a protein pocket is encoded into a corresponding initial representation vector based on a pre-trained protein encoder, and the initial representation vector is collapsed to obtain a target representation vector. Then, based on the pre-trained molecular generation model, a ligand small molecule corresponding to the protein pocket is generated according to the target representation vector. This method aligns the protein pocket and the ligand small molecule in the representation space through a pre-trained contrastive learning model, and introduces the C3 method into the field of molecular generation to reduce the modal gap between the protein representation vector and the small molecule representation vector. This method uses single-modal drug-like small molecule data to unsupervisedly learn cross-modal protein-small molecule pairing tasks, accurately capturing the distribution of the chemical structure and conformation of drug molecules, getting rid of dependence on experimental data, generating drug small molecules with more reasonable geometric structures and distributions closer to real drug molecule structures, and improving the synthesizability and affinity of the generated drug small molecules with targets.
[0060] On the basis of the above embodiments, the process of training and optimizing the molecular generation model will be described in detail below.
[0061] Training and optimizing the molecular generation model specifically includes: encoding drug-like small molecule samples into corresponding initial representation vector samples based on a pre-trained molecular encoder; collapsing and destroying the initial representation vector samples to obtain representation vector samples; during training, using the representation vector samples and the atomic coordinates and atomic types of the drug-like small molecule samples as model inputs, the generated small molecules as model outputs, and the difference between the drug-like small molecule samples and the generated small molecules as training loss, and iteratively optimizing the molecular generation model.
[0062] It is easy to understand that to train a molecular generation model, one first needs to construct a training sample set. Specifically, a large number of drug-like small molecule samples are collected and encoded using a pre-trained molecular encoder to obtain the corresponding initial representation vector samples.
[0063] Then, due to the large gap between the initial representation vector sample and the representation vector of the protein pocket sample to be simulated Therefore, it is necessary to introduce the "collapse" and "destruction" steps in the C3 method to improve the interchangeability between the representation vectors of protein pocket modal data and the representation vectors of small molecule modal data. The constant vector representing the modal gap between the representation vector of the protein pocket and the representation vector of the ligand small molecule is 、 The spanned surface is perpendicular, represents the alignment noise, which is a random vector approximately following a Gaussian distribution.
[0064] Specifically, the drug-like small molecule or ligand small molecule is determined as the second modal data, and the average value of the second modal data is obtained. Then, the average value of the second modal data is subtracted from the initial representation vector sample, and alignment noise is added to obtain the representation vector sample.
[0065] Among them, the alignment noise can be estimated on the training sample set PDBBind consisting of annotated protein pocket samples and their corresponding ligand small molecule samples.
[0066] In this way, a training sample set for the molecular generation model can be constructed, including drug-like small molecule samples and their corresponding representation vector samples.
[0067] Next, the constructed training sample set is used to train and optimize the molecular generation model. Specifically, the drug-like small molecule samples (atomic coordinates and atomic types of drug-like small molecules) and their corresponding representation vector samples (representation vectors used to simulate protein pocket samples) are used as model input, the predicted generated small molecules are used as model output, and the difference between the drug-like small molecule samples and the generated small molecules is used as the training loss. The molecular generation model is iteratively optimized to obtain a trained molecular generation model.
[0068] The trained molecular generative model can then be used in the actual inference process.
[0069] In this embodiment, a drug-like small molecule sample is encoded into a corresponding initial representation vector sample based on a pre-trained molecular encoder, and the initial representation vector sample is collapsed and destroyed to obtain a representation vector sample. During training, the representation vector sample and the atomic coordinates and atomic type of the drug-like small molecule sample are used as model input, the generated small molecule is used as model output, and the difference between the drug-like small molecule sample and the generated small molecule is used as training loss. The molecular generation model is iteratively optimized, and then based on the trained molecular generation model, the ligand small molecule corresponding to the protein pocket is generated according to the target representation vector. This method aligns protein pockets and ligand small molecules in the representation space through a pre-trained contrastive learning model, and introduces the C3 method into the field of molecule generation to reduce the modal gap between the representation vectors of proteins and small molecules. In this way, the cross-modal protein-small molecule pairing task can be unsupervisedly learned using single-modal drug-like small molecule data. It can accurately capture the distribution of the chemical structure and conformation of drug molecules, get rid of the dependence on experimental data, and generate drug small molecules with more reasonable geometric structures and distributions closer to real drug molecule structures, and improve the synthesizability and affinity of the generated drug small molecules with targets.
[0070] Additionally, in some embodiments, Figure 2 The overall process diagram of the small molecule generation method based on cross-modal pre-training provided by the embodiment of the present invention is shown. Figure 2 As shown, it includes the pre-training stage (solid line) and the sampling generation stage (dashed line).
[0071] In the pre-training stage, the pre-trained contrastive learning model DrugClip is used to encode drug-like small molecules (samples) into initial representation vector samples, and the C3 method is introduced to reduce the modal gap between the representation vector of the drug-like small molecule and the representation vector of the protein pocket to obtain the representation vector sample. Then, the representation vector sample and the atomic coordinates and atom type of the drug-like small molecule itself are used as training input, and the predicted ligand small molecule is used as training output. Iterative optimization is performed to obtain a trained molecular generation model.
[0072] In the sampling generation stage, for a given protein pocket, the contrastive learning model DrugClip is used to encode the protein pocket into an initial representation vector. The C3 method is then introduced to collapse the initial representation vector to obtain the target representation vector. Subsequently, the target representation vector is input into the trained molecular generation model to obtain the generated ligand small molecule.
[0073] It is worth mentioning that the small molecule generation method based on cross-modal pre-training provided in an embodiment of the present invention uses the pre-trained contrastive learning model DrugClip to align protein pockets and ligand small molecules in the representation space, and introduces the C3 method into the field of molecule generation, thereby reducing the modal gap between the representation vector of the protein and the representation vector of the small molecule, thereby using single-modal drug-like small molecule data for unsupervised learning of cross-modal protein-small molecule pairing tasks, getting rid of dependence on experimental data, and taking into account the chemical structure rationality, synthesizability and affinity between the generated ligand small molecules and the target.
[0074] In some other embodiments, the unlabeled drug-like small molecule sample set used to pre-train the molecular generation model comes from the free commercial database, the ZINC database. The ZINC database is a pre-prepared, high-quality 3D conformational database of small molecule compounds that can be directly used for virtual screening, such as molecular docking, and is an essential database for virtual screening.
[0075] In this example, 5M drug-like small molecules were randomly selected from the ZINC database as a training set, 1k drug-like small molecules as a validation set, and 100 drug-like small molecules as a test set. Compared to the crossdocked2020 dataset, which only contained 100k protein-small molecule pairs, this greatly expanded the training scale.
[0076] Specifically, the contrastive learning model DrugClip is used to encode drug-like small molecule samples to obtain their initial representation vector samples. The representation vector samples of drug-like small molecules are obtained through collapse (subtracting the mean) and destruction (adding Gaussian noise) operations. The representation vectors of the protein pocket samples are used as conditions to simulate the representation vectors of the drug-like small molecule samples. These are input into the molecular generation model together with the atomic coordinates and atomic types of the drug-like small molecule samples. The molecular generation model is trained to learn the correspondence between the representation vector samples and the atomic coordinates and atomic types of the drug-like small molecule samples in an unsupervised manner.
[0077] Figure 3 Also shown is a schematic diagram of the ligand small molecules generated by the molecular generation model provided in the embodiment of the present invention during testing. Figure 3 As shown in the figure, the generated ligand small molecules do not exhibit "illegal" phenomena such as structural distortion or breakage, and are relatively similar to the original molecules. This shows that the pre-trained molecular generation model has successfully learned the correspondence between the representation vectors in the aligned representation space and the atomic types and positions of the small molecules, and can generate "legal" small molecules based on the representation vectors of the original molecules.
[0078] 100 drug-like small molecules were randomly selected from the ZINC database as a test set. The bond length, bond angle, torsion angle and other properties of the original molecules and the ligand small molecules generated according to their representation vectors were tested respectively to verify whether the molecular generation model can better capture the distribution of the chemical structure and conformation of drug molecules.
[0079] Figure 4 The figure shows the difference in bond length distribution between the ligand small molecule (rep2mol) generated by the molecular generation model provided by the embodiment of the present invention and the original molecule (ref). Figure 5 The figure shows the difference in bond angle distribution between the ligand small molecule generated by the molecular generation model provided by the embodiment of the present invention and the original molecule. Figure 6 A diagram showing the difference in torsion angle distribution between the ligand small molecule generated by the molecular generation model provided in an embodiment of the present invention and the original molecule is shown.
[0080] Figure 4-Figure 6 Only the distribution of the four largest chemical bonds between the ligand small molecule and the original molecule is shown. Figure 4-Figure 6 It can be seen that the ligand small molecules generated by the molecular generation model provided in the embodiment of the present invention have a distribution of the number of substructures such as bond length, bond angle and torsion angle that are very close to real drug molecules, which shows that the molecular generation model captures the distribution of the chemical structure and conformation of the drug molecules.
[0081] Corresponding to the small molecule generation method based on cross-modal pre-training described in the above embodiments, an embodiment of the present invention further provides a small molecule generation device based on cross-modal pre-training.
[0082] Specifically, Figure 7 A schematic structural diagram of a small molecule generation device based on cross-modal pre-training provided by an embodiment of the present invention is shown.
[0083] like Figure 7 As shown, the device includes: a protein pocket acquisition module 710, used to obtain a given protein pocket; a representation vector acquisition module 720, used to obtain a target representation vector of the protein pocket; a ligand small molecule generation module 730, used to generate a ligand small molecule corresponding to the protein pocket according to the target representation vector based on a pre-trained molecular generation model; wherein the molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, the representation vector samples are encoded by a molecular encoder and the modal gap is reduced to obtain the representation vector for simulating the protein pocket, and the molecular encoder is a pre-trained contrast learning model.
[0084] In this embodiment, a protein pocket acquisition module 710 is used to acquire a given protein pocket; a representation vector acquisition module 720 is used to acquire a target representation vector of a protein pocket; a ligand small molecule generation module 730 is used to generate a ligand small molecule corresponding to the protein pocket based on the target representation vector based on a pre-trained molecular generation model; wherein the molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, and the representation vector samples are encoded by a molecular encoder and the modal gap is reduced to simulate the representation vector of the protein pocket, and the molecular encoder is a pre-trained contrastive learning model. The device aligns the protein pocket with the ligand small molecule in the representation space through the pre-trained contrastive learning model, and C 3 The method introduces the field of molecular generation to reduce the modal gap between the representation vectors of proteins and small molecules, thereby using single-modal drug-like small molecule data for unsupervised learning of cross-modal protein-small molecule pairing tasks. It can accurately capture the distribution of the chemical structure and conformation of drug molecules, get rid of the dependence on experimental data, and generate drug small molecules with more reasonable geometric structures and distributions closer to real drug molecule structures. It also improves the synthesizability and affinity of the generated drug small molecules with targets.
[0085] It should be noted that the small molecule generation device based on cross-modal pre-training provided in the embodiment of the present invention can correspond to the small molecule generation method based on cross-modal pre-training described in the above embodiments, and will not be repeated here.
[0086] Figure 8 An example of a physical structure diagram of an electronic device is shown below. Figure 8As shown, the electronic device may include: a processor 810, a communications interface 820, a memory 830, and a communications bus 840, wherein the processor 810, the communications interface 820, and the memory 830 communicate with each other via the communications bus 840. The processor 810 may call logic instructions in the memory 830 to execute a small molecule generation method based on cross-modal pre-training, the method comprising: obtaining a given protein pocket; obtaining a target representation vector for the protein pocket; and generating a ligand small molecule corresponding to the protein pocket based on the target representation vector using a pre-trained molecular generation model. The molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples. The representation vector samples are encoded by a molecular encoder and the modal gap is reduced to simulate the representation vectors of the drug-like small molecule samples corresponding to the protein pocket samples. The molecular encoder is a pre-trained contrastive learning model.
[0087] Furthermore, the logic instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0088] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the small molecule generation method based on cross-modal pre-training provided by the above methods, the method including: obtaining a given protein pocket; obtaining a target representation vector of the protein pocket; based on a pre-trained molecular generation model, generating a ligand small molecule corresponding to the protein pocket according to the target representation vector; wherein the molecular generation model is obtained by training and optimizing a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, the representation vector samples are obtained by encoding with a molecular encoder and reducing the modal gap, and are used to simulate the representation vector of the protein pocket sample corresponding to the drug-like small molecule sample, and the molecular encoder is a pre-trained comparative learning model.
[0089] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the small molecule generation method based on cross-modal pre-training provided by the above-mentioned methods, the method comprising: obtaining a given protein pocket; obtaining a target representation vector of the protein pocket; based on a pre-trained molecular generation model, generating a ligand small molecule corresponding to the protein pocket according to the target representation vector; wherein the molecular generation model is obtained by training and optimizing a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples, the representation vector samples are obtained by encoding with a molecular encoder and reducing the modal gap, and are used to simulate the representation vector of the protein pocket sample corresponding to the drug-like small molecule sample, and the molecular encoder is a pre-trained comparative learning model.
[0090] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0091] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0092] Finally, 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A small molecule generation method based on cross-modal pre-training, characterized in that: include: Get a given protein pocket; obtaining a target representation vector of the protein pocket; Based on the pre-trained molecular generation model, a ligand small molecule corresponding to the protein pocket is generated according to the target representation vector; The molecular generation model is trained and optimized based on a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples. The representation vector samples are encoded by a molecular encoder and obtained by reducing the modal gap. They are used to simulate the representation vectors of protein pocket samples corresponding to drug-like small molecule samples. The molecular encoder is a pre-trained contrastive learning model. Obtaining a target representation vector of the protein pocket includes: Based on a pre-trained protein encoder, encoding the protein pocket into a corresponding initial representation vector; performing collapse processing on the initial representation vector to obtain the target representation vector; The pre-trained protein encoder is a pre-trained contrastive learning model, which is obtained by training and optimizing a training sample set consisting of protein pocket samples and their corresponding ligand small molecule samples; Performing collapse processing on the initial representation vector to obtain the target representation vector includes: determining the protein pocket as first modal data, and obtaining an average value of the first modal data; Subtracting an average value of the first modality data from the initial representation vector to obtain a target representation vector; Training and optimizing the molecular generation model specifically includes: Based on the pre-trained molecular encoder, the drug-like small molecule samples are encoded into corresponding initial representation vector samples; performing collapse processing and destruction processing on the initial representation vector sample to obtain a representation vector sample; During training, the molecular generation model is iteratively optimized using the atomic coordinates and atomic types of the representation vector samples and drug-like small molecule samples as model inputs, the generated small molecules as model outputs, and the difference between the drug-like small molecule samples and the generated small molecules as training loss; Performing collapse processing and destruction processing on the initial representation vector sample to obtain a representation vector sample, including: Determining the drug-like small molecule as second modal data, and obtaining an average value of the second modal data; Subtracting the average value of the second modality data from the initial representation vector sample and adding alignment noise to obtain a representation vector sample; The alignment noise is estimated based on a training sample set consisting of protein pocket samples and their corresponding ligand small molecule samples.
2. A small molecule generation device based on cross-modal pre-training, applying the small molecule generation method based on cross-modal pre-training according to claim 1, characterized in that: include: Protein pocket acquisition module, used to obtain a given protein pocket; a representation vector acquisition module, configured to acquire a target representation vector of the protein pocket; A ligand small molecule generation module, configured to generate a ligand small molecule corresponding to the protein pocket according to the target representation vector based on a pre-trained molecule generation model; The molecular generation model is obtained by training and optimizing a training sample set consisting of drug-like small molecule samples and their corresponding representation vector samples. The representation vector samples are encoded by a molecular encoder and the modal gap is reduced to simulate the representation vector of the protein pocket. The molecular encoder is a pre-trained contrastive learning model.
3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the small molecule generation method based on cross-modal pre-training as claimed in claim 1 is implemented.
4. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating small molecules based on cross-modal pre-training as claimed in claim 1 is implemented.
5. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating small molecules based on cross-modal pre-training as claimed in claim 1 is implemented.
Citation Information
Patent Citations
Image understanding method, system and equipment based on plain text data training and medium
CN117972141A
Protein pocket-based multi-modal drug target affinity prediction method
CN118173163A