Equilibrium distribution prediction for molecular systems

WO2024187466A1PCT designated stage expired Publication Date: 2024-09-19MICROSOFT TECHNOLOGY LICENSING LLC +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
PCT/CN2023/081965
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-16
Publication Date
2024-09-19

Smart Images

  • Figure CN2023081965_19092024_PF_FP_ABST
    Figure CN2023081965_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A computing system for predicting an equilibrium distribution for a molecular system includes a processor that executes instructions using portions of associated memory to implement an equilibrium distribution prediction model. In an inference phase, the processor is configured to receive input data representing a molecular system, create a graph representation of the molecular system, including position information for each atom in the molecular system, and input the graph representation of the molecular system to a graph neural network. The processor is further configured to receive a plurality of predicted conformations of the molecular system as output from the graph neural network, input each predicted conformation of the plurality of predicted conformations to a diffusion model, predict an equilibrium distribution of conformations for the molecular system, and output the equilibrium distribution.
Need to check novelty before this filing date? Find Prior Art

Description

EQUILIBRIUM DISTRIBUTION PREDICTION FOR MOLECULAR SYSTEMSBACKGROUND

[0001] In the field of computational chemistry, computer-based techniques have been developed to predict molecular properties through computer simulations. These molecular properties can have a wide-ranging impact on the appearance and function of a molecule or material, and thus are of keen interest in a wide variety of fields. For example, in the field of drug design, changes in molecular properties can affect the efficacy of a drug. In the field of drug discovery, molecular properties can affect the potential for a material found in nature to be used for therapeutic purposes. In the field of quantum chemistry, quantum-mechanical calculation of electronic contributions to physical and chemical properties of molecules and materials is a fundamental area of inquiry. As discussed below, opportunities remain for improvements in computational methods for predicting molecular properties, which would have useful applications well beyond the field of computational chemistry.

[0002] SUMMARY

[0003] To address the issues discussed herein, computing systems and methods for predicting an equilibrium distribution for a molecular system are provided. In one aspect, the computing system includes a processor that executes instructions using portions of associated memory to implement an equilibrium distribution prediction model. In an inference phase, the processor is configured to receive input data representing a molecular system and create a graph representation of the molecular system, including position information for each atom in the molecular system. The processor is further configured to input the graph representation of the molecular  system to a graph neural network and receive a plurality of predicted conformations of the molecular system as output from the graph neural network. The processor is further configured to input each predicted conformation of the plurality of predicted conformations to a diffusion model, predict an equilibrium distribution of conformations for the molecular system, and output the equilibrium distribution.

[0004] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.BRIEF DESCRIPTION OF THE DRAWINGS

[0005] FIG. 1 shows a schematic view of a computing system for predicting an equilibrium distribution for a molecular system, according to one embodiment of the present disclosure.

[0006] FIGS. 2A and 2B show a training phase for an equilibrium distribution prediction model of the computing system of FIG. 1.

[0007] FIG. 3 shows an example free energy landscape for an equilibrium distribution predicted by the computing system of FIG. 1.

[0008] FIG. 4 shows an inference phase for a trained equilibrium distribution prediction model of the computing system of FIG. 1.

[0009] FIG. 5 shows a flowchart of a method for predicting an equilibrium distribution for a molecular system, according to an example implementation of the present disclosure.

[0010] FIG. 6 shows an example computing environment according to which the embodiments of the present disclosure may be implemented.DETAILED DESCRIPTION

[0011] With the rise of deep learning models, the prediction of molecular properties of molecular systems is developing rapidly, which has led to significant milestones, such as an accurate protein structure prediction from an amino acid sequence. Yet, comparing a conformation of a molecular system at its lowest energy to the distribution of possible configurations of the molecular system, i.e., the energy landscape in the conformational space of the molecular system, is more relevant to its macroscopic properties. As such, the development of computational tools for predicting microscopic states of molecules in an equilibrium ensemble would provide a significant advancement in understanding the properties and functions of molecular systems, as well as enable the evaluation of macroscopic properties using statistical mechanics methods.

[0012] However, the development of efficient sampling methods to predict equilibrium distributions of molecular systems is computationally challenging. With the rapid advancements in deep learning techniques, data-driven methods have been successfully used to predict molecular structures that correspond to the lowest energy of the molecular system, and have made breakthroughs in this area. For example, artificial intelligence (AI) structural prediction models have increased the accuracy of the protein structure prediction at atomic levels, leading to successful applications in structure biology. The development of fast computational docking methods based on deep neural networks for ligand binding structure prediction has enabled rapid virtual screening and drug engineering. Deep learning models have been designed to predict  the relaxed structure of adsorbates on the surface of catalysts. While each of these developments has shown that a deep learning approach provides promising solutions to understanding microscopic structure and states, an accurate prediction of the lowest energy structure of a molecular system only reveals a small portion of the information needed for understanding the molecular system in equilibrium. In reality, molecules can take different structures with probability governed by the energy function when the system reaches equilibrium. This equilibrium distribution is critical for studying statistical mechanical properties. For example, the properties and functionalities of biomolecules can be inferred from a variety of structures with varying energies. Additionally, computing the free energy, which is associated to many important macroscopic properties, requires that the equilibrium distribution be determined.

[0013] A computational approach to efficiently predicting the equilibrium distribution of conformation states of a molecular system directly from basic descriptors (e.g., amino acid sequence of a protein) would greatly enhance the understanding of the functions and properties of the molecular system. However, for such a model to be practically useful, it would need to support independent sampling, which allows efficient exploration in the energy barrier-separated microstates, such as in conformational spaces with rugged energy landscapes, and it would need to accurately predict density states for efficient computation of free energy for the states of interest. Independent sampling overcomes the inherent difficulties in the sequential sampling approaches, such as Markov-chain Monte Carlo (MCMC) or molecular dynamics (MD) , which have relatively low sampling efficiency due to distributions that are not independent and identical, as well as due to sample correlation. Predicting the equilibrium distribution over all conformations is much more technically challenging than predicting a single conformation that corresponds to the most stable, e.g., lowest  energy, state, especially when the distribution is highly complicated, due to anisotropy and multiple local optima.

[0014] Design Principles

[0015] In view of the issues discussed above, a computing system utilizing an equilibrium distribution prediction model is provided. The computing system has applicability to predicting the equilibrium distributions of molecular systems, as well as to predicting distributions for other types of systems that can be represented as graphs. The following discussion provides an overview of the theoretical underpinnings and design principles upon which the equilibrium distribution prediction model has been conceived. This discussion is followed by a detailed description of specific example embodiments of an equilibrium distribution prediction model.

[0016] Framework

[0017] Deep neural networks have been demonstrated to predict accurate molecular structures from a descriptor  of a molecular system. The equilibrium distribution prediction model described herein predicts the equilibrium distribution on the state space. To achieve this, the equilibrium distribution prediction model is based on a diffusion model: when gradually downscaling and injecting noise to a system, the equilibrium distribution eventually becomes a standard Gaussian distribution, making it easier to predict and thus enabling efficient sampling. A forward diffusion process is implemented to reach the Gaussian distribution, and a subsequent reverse diffusion process is then employed to gradually recover the original equilibrium distribution.

[0018] Previous approaches to predicting an equilibrium distribution from a simple distribution, such as simulated annealing using Monte Carlo methods and simulated annealing using Langevin dynamics, have the drawbacks of being computationally complex, slow, and costly to implement. As described herein, these  challenges in predicting the equilibrium distribution of a molecular system can be reduced by formulating it into a stochastic process based on the forward and reverse diffusion processes.

[0019] The forward and reverse diffusion processes can be viewed as a pair of reciprocal stochastic processes that simulate the transformation between the equilibrium distribution and a system-independent simple distribution psimple. The equilibrium distribution of a molecular system descriptor  is taken as the initial distribution and a stochastic process is constructed for a molecular system descriptor that gradually transforms through a time period τ towards psimple in a forward process. A corresponding reverse process then transforms psimple to the equilibrium distribution This defines the generation process of the equilibrium distribution prediction model.

[0020] For practical simulation, deep neural networks are trained from the forward process to predict the reverse process from the given system descriptor Compared to directly predicting the desired distribution from system descriptor the reciprocal forward and reverse diffusion approach described herein significantly reduces the difficulty of this problem. As psimple is chosen such that its samples can be drawn independently and it has a closed-form density function, the equilibrium distribution prediction model enables independently sampling the equilibrium distribution by simulating the reverse process from psimple samples, and also provides a density function for the distribution by tracking the simulation. Specifically,  was chosen as the standard Gaussian distribution. The forward process is constructed as the Langevin dynamics targeting psimple (Ornstein-Uhlenbeck process) with time dilation scheme βt increasing in t, written as the stochastic differential equation (SDE) in Equation (1) :

[0021] where Bt is the standard Brownian motion (i.e., Wiener process) . The forward process leads to a psimple that is more concentrated than a heated distribution of a heating-annealing simulation, for example; hence, it is easier to draw high-density samples. As such, the diffusion-based generative model described herein enables efficient training and sampling, with highly accurate results.

[0022] Following stochastic process theory, the reverse process is also a stochastic process that follows a reverse-time Markov chain of steps, written as the following SDE in Equation (2) :

[0023] where is the reversed time,  is the forward-process distribution at the corresponding time, and is the Brownian motion in reversed time. To recover from psimple by simulating this reverse process, deep neural networks are employed to construct a score model which is trained to predict the true score function of each instantaneous distribution qt from molecular system descriptor

[0024] As the model is defined on the conformation space, a graph neural network trained to predict conformations of a molecular system is implemented as the neural network architecture backbone of the equilibrium distribution prediction model, and enables modeling molecular structures and generalizing across systems. With the  model, drawing an equilibrium-state sample R0 for an unseen molecular system descriptor can be done by simulating the reverse process Eq. (2) on N+1 steps that discretizes [0, τ] uniformly with step size h: =τ / N, as shown below in Equation (3) :

[0025] where the index i corresponds to time t = ih, and βi∶=hβt=ih. To see this, direct Euler-Maruyama discretization of Eq. (2) gives with o (h) discretization error. For an accurate discretization, h is small, so is each βi. This results in the approximation and  This gives Eq. (3) , which does not increase the o (h) discretization error. As RN samples can be drawn independently, the equilibrium distribution prediction model can generate statistically independent and identically distributed (IID) samples from the equilibrium distribution. This is more efficient than traditional simulation or sampling methods.

[0026] Fine-Tuning the Equilibrium Distribution Prediction Model with Data

[0027] The score model can be trained from data by score matching for each t by minimizing To make a tractable loss function, the intermediate marginal distribution is first reformed using the marginal transition kernel,  Then the score function can be decomposed as:

[0028] i.e., Fisher's identity. The score-matching loss becomes:

[0029] where the second term in the last expression is a constant of θ . Optimizing the score-matching loss is equivalent to minimizing the first term in the last expression. This term, shown below as Supporting Equation (S1) ,

[0030] is known as the denoising score matching loss.

[0031] Optimizing the denoising score matching loss Eq. (S1) is tractable once the conditional distribution q (Ri∣R0) is known, which is fortunately available in closed form for the forward process Eq. (1) . Under continuous-time, previous literature gives the result:  where and For a discretized expression, recall that the time interval [0, τ] is uniformly divided into N+1 points with step size h=τ / N, step i corresponds to time t=ih, and βi: =hβt=ih. This leads to to give Correspondingly,  The required conditional distribution is then:

[0032] The loss Eq. (S1) for time step i then becomes Using the reparameterization of the Gaussian distribution q (Ri∣R0) as Ri=αiR0+σi∈i where the loss is further reformed as:  To balance the scale of the loss for different i∈ {1, …, N} , in reference to literature, the loss Eq. (S1) for step i is normalized by the scale of This finally leads to the data-based training loss:  It will be appreciated that in this loss, the term for each i can be estimated and backpropagated directly in constant cost with respect to i, independent of calculations before or after its step index i. This enables another efficient step-by-step supervision pattern.

[0033] Physics-Informed Diffusion Pre-training

[0034] The equilibrium distribution prediction model can be trained by conformation data samples over a range of molecular systems. However, collecting enough experimental data and / or simulating data to well-characterize the equilibrium distribution for various systems can be prohibitively expensive. To address the data scarcity problem, a pre-training algorithm, referred to herein as Physics-Informed Diffusion Pre-training (PIDP) , is implemented, which effectively optimizes the equilibrium distribution prediction model in the absence of data. The supervision comes  from the energy function  of each molecular system descriptor  which is already well-defined in the equilibrium distribution. It will be appreciated that the true score function from the forward process Eq. (1) obeys a partial differential equation, known as the Fokker-Planck equation. Thus, the score model is pre-trained by minimizing the following loss function that enforces Equation (4) to hold:

[0035] where λ1 weighs the initial condition, and is a set of state points to evaluate the loss for step o. Ideally,  are taken as points on a grid spanning the state space. This results in implementations of the model in which the dimension of the state space is very high (e.g., thousands for proteins) , which requires an unacceptably large number of grid points that grows exponentially to keep a constant discretization error. However, the space of interest is a low-dimensional subspace, consisting of states with relatively low energy. As such, the model can be effectively trained on these states as R0 samples (for Ri, sample it from q (Ri∣R0) ) , which are much easier to obtain as opposed to data samples that follow the equilibrium distribution as a whole. Additionally, stochastic estimators are also leveraged to reduce the complexity in calculating derivatives of high-order and for vector-valued functions. It will be appreciated that for each step i, the corresponding model receives a training loss independent of other steps and can be directly backpropagated. This step- by-step supervision pattern better leverages the design of the equilibrium distribution prediction model and enables efficient pre-training.

[0036] Calculating Free Energy

[0037] In addition to generating IID samples, the equilibrium distribution prediction model can also evaluate the density function of the distribution it defines, as set forth in Equation (6) :

[0038] where D is the dimension of the state space, and is the solution to the ordinary differential equation (ODE) shown in Equation (7) :

[0039] with initial condition R0, which can be solved using ODE solvers. This provides another side of the distribution, and enables more calculations pertinent to the distribution. For example, the free energy of molecular system descriptor can be estimated using:

[0040] where the expectation can be estimated by independent samples easily drawn using the equilibrium distribution prediction model. When is unknown, calculating the free-energy difference is still possible by replacing by  where is a density estimator (e.g., kernel density estimator) using data samples that can be regarded to follow the Boltzmann distribution, since the partition function cancels out. Compared to conventional free-energy computation methods, the equilibrium distribution prediction model does not rely on a harmonic approximation to the energy function near a metastable state, and the IID sample  generation enables faster sample coverage over the relevant state space than MD does. Moreover, since the equilibrium distribution prediction model also provides density function, it enables the model to correct the bias of the predicted distribution:  where is a set of samples generated by and It will be appreciated that after normalizing the weight over the set of samples, a normalized density function of  is not needed.

[0041] To evaluate the density of the equilibrium distribution prediction model, note that the model defines the distribution by a sequence of distribution transformations from psimple through the reverse diffusion process. In the continuous-time limit, the instantaneous distribution transformation under a general diffusion process dRt=ft (Rt) dt+gtdBt is given by the Fokker-Planck equation (FPE) , as shown below in logarithm form by Supplemental Equation (S2) :

[0042] where pt (Rt) is the density function of the distribution continuously evolving under the process, and represents the Laplacian of a (scalar-valued) function f. The model-defined reverse process is Eq. (2) with approximated by the score model Written in forward time t, it is Supplemental Equation (S3) :

[0043] where is the reverse of the Brownian motion. Hence, its FPE is shown below as Supplemental Equation (S4) :

[0044] where is the density function of the model-defined reverse process at timestep t, and is the model-defined equilibrium distribution. When the model is well-learned,  approximates and approximates hence can be approximated also using This turns Eq. (S4) into supplemental equation (S5) :

[0045] Compared with FPE Eq. (S2) , this indicates can also be seen as lead by the equivalent “deterministic diffusion process" defined by the ODE in Eq. (7) . Let Rt be a solution to Eq. (7) , which is a (deterministic) curve in the state space. Then the total derivative with respect to time t (a.k.a material / particle derivative) is:

[0046] Compared with Eq. (S5) , this gives:

[0047] By integrating with respect to t, this gives:

[0048] which coincides with Eq. (6)

[0049] The goal of the score model at each step is to match the corresponding score function from the forward process Eq. (1) . From FPE Eq. (S2) , the score function satisfies the differential equation:

[0050] Taking the gradient of the above equation gives:

[0051] which becomes an equation of the score function To approximate the score model also needs to satisfy this equation. To enforce it, physics-informed neural networks are followed, and the squared norm of the equality residual for each t is minimized:

[0052] Noting and that the loss for the noise-predicting model for time step t becomes:

[0053] To combine the loss terms at different time steps, the term at t is weighed in the same way as for the data-based loss, i.e. by the inverse scale of  By time discretization and evaluating the loss on a set of samples, this gives the first term in Eq. (4) .

[0054] Alternatively, for a weighting scheme with a different t, the weight for time-step t is inversely proportional to:

[0055] The FPE does not have or need a boundary condition as long as each  is normalized. For the initial condition, the score of the target equilibrium distribution is exactly given by the gradient of the energy function of the system, which enables the energy function to supervise the model. To implement this initial condition,  is minimized, and this loss is not imposed on discretized step i = 0, but on i = 1. This leads to the second term in Eq. (4) .

[0056] Inverse Design with the Equilibrium Distribution Prediction Model

[0057] Another benefit of the equilibrium distribution prediction model is that it enables direct prediction of the distribution conditioned on a given microscopic  property c, without needing to generate data for the conditioned distribution and train the model again. This is required for the increasingly demanded inverse design tasks, where the states satisfying a certain property is desired, e.g., fundamental gap, and conductivity. From the data-generating process of Eq. (2) , all that needs to be adapted is the score function, from to Using Bayes' rule, the latter can be reformulated as where the first term can be approximated by the learned (i.e., unconditioned) score model. As such, only a model is additionally needed, which is a property predictor  / classifier that is much easier to train than a generative model.

[0058] Interpolation between states

[0059] The equilibrium distribution prediction model can also reveal a reaction path between two given states, which can be used to discover reaction coordinates or collective variables, and find intermediate metastable states in the transition. This is done by noting the distribution transformation process Eq. (1) behind the equilibrium distribution prediction model is equivalent to the process in Eq. (7) (if well approximates ) , which is deterministic and invertible and hence establishes a correspondence between the real space and the latent space. The two given states can be mapped to the latent space, the path in the latent space can be approximated by linear interpolation, and the path back to the real space can be mapped. Since the distribution in the latent space is Gaussian, which has a convex contour, the linearly interpolated path goes through high-probability  / low-energy regions, thereby providing an accurate prediction of the real reaction path.

[0060] Example Embodiments

[0061] In accordance with principles discussed above, a specific example embodiment of an equilibrium distribution prediction model according to the present disclosure will now be described, with reference to FIGS. 1-6.

[0062] Referring initially to FIG. 1, the computing system 10 includes at least one computing device. The computing system 10 is illustrated as having a first computing device 14 including a processor 18 and memory 22, and a second computing device 16 including a processor 20 and memory 24. The illustrated implementation is exemplary in nature, and other configurations are possible. In the description below, the first computing device will be described as a server 14 and the second computing device will be described as a client computing device 16, and respective functions carried out at each device will be described. It will be appreciated that in other configurations, the computing system 12 may include a single computing device that carries out the salient functions of both the server 14 and client computing device 16, and that the first computing device could be a computing device other than server. In other alternative configurations, functions described as being carried out at the server 14 may alternatively be carried out at the client computing device 16 and vice versa.

[0063] Continuing with FIG. 1, the processor 18 is configured to execute instructions using portions of associated memory 22 to implement an equilibrium distribution prediction model 26 hosted at the server 14. At a high level, the equilibrium distribution prediction model 26 processes data 28 representing a molecular system to predict an equilibrium distribution of conformations of the molecular system based on the score function, i.e., gradient of the logarithm of the density function, of each intermediate distribution over a range of predetermined time steps on the diffusion process. As described in detail below with respect to FIG. 2A, the data 28 representing the molecular system is a descriptor that includes at least one of an amino acid  sequence of the molecular system, a two-dimensional structure of the molecular system, and / or a chemical formula of the molecular system. Additionally or alternatively, the descriptor may be a three-dimensional structure of the molecular system, a protein name, a simplified molecular-input line-entry system (SMILES) , or the like. The data 28 may be stored at a molecular system database 30, such as UniProt, Swiss-Prot, Protein Research Foundation (PRF) , and the like. Upon receiving user input via a user interface 32 at the client computing device 16, the data 28 may be sent to a graph representation generator 34 included in the equilibrium distribution prediction model 26.

[0064] The graph representation generator 34 is configured to receive the input data 28. Based on the data 24 representing the molecular system, the graph representation generator 34 generates a graph representation 36 of the molecular system, including position information for each atom in the molecular system. As described below with reference to FIG. 2A, a pre-processing algorithm may be implemented to generate the graph representation. The graph representation 36 is then input to a graph neural network 38. The graph neural network 38 is configured to generate a plurality of predicted conformations 40 of the molecular system. The predicted conformations 40 may be stored at a predicted conformation database 42 as predicted conformation data 44.

[0065] Each of the predicted conformations 40 output from the graph neural network 38 is input to a diffusion model 46. As described in detail above and below, with respect to FIGS. 2A, 2B, and 3, an equilibrium distribution 48 is predicted for the molecular system. Data 50 representing the predicted equilibrium distribution 48 may be stored at an equilibrium distribution database 52.

[0066] The equilibrium distribution 48 is output, and may be viewed in a user interface 54 of a display 56 of the client computing device 16, for example. In the embodiment described herein, it will be appreciated that the server 14 is in communication with the client computing device 16 via a network 58.

[0067] Turning to FIGS. 2A and 2B, a training phase for the equilibrium distribution prediction model 26 is shown. As discussed above and shown in FIG. 2A, the graph representation 36 of the molecular system is generated based on the descriptor  of the molecular system via a pre-processing algorithm 60. The graph representation 36 includes a plurality of normal nodes connected by edges, as indicated by the key in FIG. 2A. Each normal node represents an atom in the molecular system. The graph representation 36 further includes one virtual node fully connected by virtual edges to all normal nodes of the graph representation 36. It will be appreciated that the difference between the virtual node and normal nodes is that the normal nodes represent atoms whereas the virtual node is provided for computation purposes only, and does not represent any physical component of the molecular system.

[0068] Based on the graph representation 36, the processor 12 of the computing system 10 is configured to provide, e.g., by computationally generating or reading from a stored location in memory, a training data set 62 for the graph neural network 38, including a plurality of training data pairs. Each of the training data pairs includes a graph representation 36 of the molecular system and an energy parameter value 64 that represents an energy change in the molecular system following an energy transformation, which may be due to molecular relaxation of the molecular system, for example.

[0069] As described above, the graph neural network 38 is configured to generate a plurality of predicted conformations 40 of the molecular system, each of  which are output from the graph neural network 38 and input to the diffusion model 46, which is illustrated in FIG. 2B. The diffusion model 46 is a score-based generative diffusion model that is configured to introduce random noise at predetermined time steps based on a Gaussian distribution in a forward process, and to reduce the noise in a reverse process. As discussed in detail in the “Framework” section, the forward process is constructed as the Langevin dynamics targeting psimple (Ornstein-Uhlenbeck process) , defined as Markov chain of steps, such as Eq. (1) , for example. The reverse process is also a stochastic process that follows a reverse-time Markov chain of steps. Eq. (2) is an example of the reverse process. The diffusion model additionally implements a score model, an example of which is defined by Eq. (3) , to predict the true score function of a plurality of instances of distribution from the molecular system descriptor  The score model may be trained by Eq. (4) , for example, to minimize a loss function, as described above with reference to the “Physics-Informed Diffusion Pre-training” section.

[0070] While the equilibrium distribution prediction model can be trained by conformation data samples over a range of molecular systems, collecting enough experimental data and / or simulation data to well-characterize the equilibrium distribution for various systems can be prohibitively expensive. As such, PIDP is implemented to optimize the equilibrium distribution prediction model in the absence of data. As described above, the diffusion model is supervised during training by an energy function for each molecular system descriptor according to the Boltzmann distribution, as well as by molecular dynamics simulation data.

[0071] The diffusion model 46 is configured to vary the noise applied to the predicted conformations across a series of time steps, indicated in FIG. 2B as T1, T2, and T3 instances of the model, to thereby generate the equilibrium distribution. This  noise is increased throughout the simulation over the time steps. It will be appreciated that with increased noise between time steps there will be greater potential change in the conformation predicted by the model during the reverse diffusion process. Advancing through a series of time steps drives the conformation of the molecular system to follow a simple distribution, e.g., the standard Gaussian distribution, so that IID samples can be drawn and its density function evaluated in the reverse diffusion process to produce the equilibrium distribution 48. The shaded regions in the equilibrium distribution 48 represent different levels of free energy associated with respective conformations of the molecular system, with the lowest levels of free energy having the darkest shading to represent areas of stability. The two areas of stability illustrated in FIG. 2B may represent two different stable states of the molecular system, such as conformations of binding / non-binding states of an enzyme, or open / closed states of a membrane channel, for example.

[0072] FIG. 3 shows an example free energy landscape for the equilibrium distribution 48. As discussed above, the shaded regions of the equilibrium distribution 48 indicated free energy associated with different conformations of the molecular system. The darkest regions indicate areas with the lowest free energy, which correspond to meta-stable conformations of the molecular system, as illustrated in FIG. 3 by conformations C1 and C3. Conformation C2 is a semi-stable transient conformation of the molecular system as it transitions between the meta-stable states of conformations C1 and C3.

[0073] An inference phase for the equilibrium distribution prediction model 26 is shown in FIG. 4. As described in detail above with reference to FIGS. 1, 2A, and 2B, the equilibrium distribution prediction model 26 receives a molecular system descriptor  creates a graph representation 36 of the molecular system based on the molecular  system descriptor via a pre-processing algorithm 60, and inputs the graph representation 36 into the diffusion model 46.

[0074] The equilibrium distribution prediction model 26 additionally includes an independent and identically distributed (IID) sampler 66 that performs conformational sampling of the equilibrium distribution 48 to generate statistically independent samples. One prior approach to such statistical sampling uses a simulated annealing algorithm, which is an adaptation of the Metropolis-Hastings algorithm, to search the solution space and arrive at the target, complicated conformation distribution. The simulated annealing algorithm can be used to make multiple predictions from multiple initial states for a molecular system, and arrive at a distribution of predicted conformations for a . Temperature is a parameter in the simulated annealing algorithm that governs how far the algorithm is allowed to explore in a direction away from the objective (min or max) in any given timestep. Typically, the temperature is lowered throughout the simulation to allow a solution to converge. While useful, this prior class of simulated annealing algorithms is computationally complex, slow, and costly to implement. This is due to the simulation of distribution change being approximate (if employing Markov chain Monte Carlo sampling) or experiencing particle degeneracy (if employing importance sampling) . In contrast to such simulated annealing approaches, to avoid such computational complexity the present disclosure utilizes a diffusion model that takes a conformation for a molecular system from a Gaussian distribution into the complicated target distribution, via an explicit diffusion process that can be more accurately simulated.

[0075] The equilibrium distribution prediction model 26 further includes a density module 68 configured to determine a density function for the equilibrium distribution 48 based on computational statistics. The diffusion process formulation  enables estimation of the density function of the target distribution by solving an ordinary differential equation, as described in detail above in the “Calculating Free Energy” section.

[0076] FIG. 5 shows a flowchart for a method 500 for predicting an equilibrium distribution for a molecular system. Method 500 may be implemented by the hardware and software of computing system 10 described above, or by other suitable hardware and software. At step 502, the method 500 may include, during a training phase, pre-training the diffusion model via a physics-informed diffusion pre-training (PIDP) algorithm. As described above, while the equilibrium distribution prediction model can be trained by conformation data samples over a range of molecular systems, collecting enough experimental data and / or simulating data to well-characterize the equilibrium distribution for various systems can be prohibitively expensive. As such, PIDP is implemented to optimize the equilibrium distribution prediction model in the absence of data.

[0077] Proceeding from step 502 to step 504, the method 500 may further include supervising the diffusion model during training with an energy function according to the Boltzmann distribution. The supervision comes from the energy function of each molecular system descriptor which is already well-defined in the equilibrium distribution. Calculating a free-energy difference when the energy of the descriptor of a sample is unknown in enabled by using data samples that follow the Boltzmann distribution. Compared to conventional free-energy computation methods, the equilibrium distribution prediction model does not rely on a harmonic approximation to the energy function near a metastable state, and the IID sample generation enables faster sample coverage over the relevant state space than MD does.

[0078] Advancing from step 504 to step 506, the method 500 may further include supervising the diffusion model during training with molecular dynamics (MD) simulation data. While it is inefficient to use dynamic processes to characterize a distribution, MD simulation is used to produce sufficient data that can be applied as a supervisory function in the equilibrium prediction distribution model.

[0079] At step 508, the method 500 may further include, during an inference phase, receiving input data representing a molecular system. As described in detail above, the data representing the molecular system may be a descriptor that includes at least one of an amino acid sequence of the molecular system, a two-dimensional structure of the molecular system, and a chemical formula of the molecular system. Additionally or alternatively, the descriptor may be a three-dimensional structure of the molecular system, a protein name, a simplified molecular-input line-entry system (SMILES) , or the like. The data may be stored at a molecular system database, such as UniProt, Swiss-Prot, protein research foundation (PRF) , and the like.

[0080] Continuing from step 508 to step 510, the method 500 may further include creating a graph representation of the molecular system, including position information for each atom in the molecular system. As described above with reference to FIG. 2A, a pre-processing algorithm may be implemented to generate the graph representation. The graph representation may include a plurality of normal nodes connected by edges, with each normal node representing an atom in the molecular system. The graph representation may further include one virtual node fully connected by virtual edges to all normal nodes of the graph representation.

[0081] Proceeding from step 510 to step 512, the method 500 may further include inputting the graph representation of the molecular system to a graph neural network. The graph neural network may be configured to generate a plurality of  predicted conformations of the molecular system, which may be stored at a predicted conformation database as predicted conformation data.

[0082] Advancing from step 512 to step 514, the method 500 may further include receiving a plurality of predicted conformations of the molecular system as output from the graph neural network. Continuing from step 514 to step 516, the method 500 may further include inputting each predicted conformation of the plurality of predicted conformations to a diffusion model. The diffusion model may be a score-based generative diffusion model that is configured to introduce random noise at predetermined time steps based on a Gaussian distribution in a forward process, and to reduce the noise in a reverse process. As described in detail above, the forward process may be constructed as the Langevin dynamics targeting psimple (Ornstein-Uhlenbeck process) , defined as Markov chain of steps, and the reverse process also may be a stochastic process that follows a reverse-time Markov chain of steps. The diffusion model additionally may implement a score model that is trained to predict the true score function of a plurality of instances of distribution from the molecular system descriptor  by minimizing a loss function. Further, the diffusion model may be configured to vary the noise scale of each of the plurality of predicted conformations at a plurality of predetermined time steps. Advancing the time steps to inject increasing level of noise to a molecular system drives the conformation of the system to follow psimple, and leveraging the score model to simulate the reverse diffusion process enables the model to produce the equilibrium distribution.

[0083] Proceeding from step 516 to step 518, the method 500 may further include receiving a predicted equilibrium distribution for the molecular system. Data representing the predicted equilibrium distribution may be stored at an equilibrium  distribution database. The equilibrium distribution may be output and viewed in a user interface of a display of the client computing device.

[0084] The equilibrium distribution prediction model described herein enables sampling without simulation or model re-training, which can be more efficient and feasible for large or complex molecular systems. It can also sample from multiple long-lived states, which can be difficult to access using traditional methods. Additionally, the model has the potential to accurately calculate free energies, which is important in many areas of chemistry and physics. Finally, it can inform inverse design, helping to guide the development of new materials or molecules with specific properties.

[0085] The use of physics-informed diffusion pre-training allows the model to satisfy physical restrictions and perform well in cases of data scarcity, while diffusion-based generative modeling helps to reduce the complexity of the problem by breaking it down into smaller pieces. The advanced neural network architecture of our model, such as the use of a graph neural network, allows it to process and understand the descriptors of molecular systems more effectively. While the development of deep learning-based structure prediction techniques has progressed rapidly in recent years, elucidating the equilibrium distribution of microscopic states for molecular systems has presented a challenge. By developing an accurate equilibrium distribution prediction approach and leveraging large simulation databases and well-developed force fields assembled by the simulation community, the equilibrium distribution prediction model described herein has the potential to accelerate the development of computational science and make significant contributions to the study of molecular systems and beyond.

[0086] In some embodiments, the methods and processes described herein may be tied to a computing system of one or more computing devices. In particular, such  methods and processes may be implemented as a computer-application program or service, an application-programming interface (API) , a library, and / or other computer-program product.

[0087] FIG. 6 schematically shows a non-limiting embodiment of a computing system 600 that can enact one or more of the methods and processes described above. Computing system 600 is shown in simplified form. Computing system 600 may embody the computer device 10 described above and illustrated in FIG. 1. Computing system 600 may take the form of one or more personal computers, server computers, tablet computers, home-entertainment computers, network computing devices, gaming devices, mobile computing devices, mobile communication devices (e.g., smart phone) , and / or other computing devices, and wearable computing devices such as smart wristwatches and head mounted augmented reality devices.

[0088] Computing system 600 includes a logic processor, 602 volatile memory 604, and a non-volatile storage device 606. Computing system 600 may optionally include a display subsystem 608, input subsystem 610, communication subsystem 612, and / or other components not shown in FIG. 1.

[0089] Logic processor 602 includes one or more physical devices configured to execute instructions. For example, the logic processor may be configured to execute instructions that are part of one or more applications, programs, routines, libraries, objects, components, data structures, or other logical constructs. Such instructions may be implemented to perform a task, implement a data type, transform the state of one or more components, achieve a technical effect, or otherwise arrive at a desired result.

[0090] The logic processor may include one or more physical processors (hardware) configured to execute software instructions. Additionally or alternatively, the logic processor may include one or more hardware logic circuits or firmware  devices configured to execute hardware-implemented logic or firmware instructions. Processors of the logic processor 602 may be single-core or multi-core, and the instructions executed thereon may be configured for sequential, parallel, and / or distributed processing. Individual components of the logic processor optionally may be distributed among two or more separate devices, which may be remotely located and / or configured for coordinated processing. Aspects of the logic processor may be virtualized and executed by remotely accessible, networked computing devices configured in a cloud-computing configuration. In such a case, these virtualized aspects are run on different physical logic processors of various different machines, it will be understood.

[0091] Non-volatile storage device 606 includes one or more physical devices configured to hold instructions executable by the logic processors to implement the methods and processes described herein. When such methods and processes are implemented, the state of non-volatile storage device 606 may be transformed-e.g., to hold different data.

[0092] Non-volatile storage device 606 may include physical devices that are removable and / or built-in. Non-volatile storage device 606 may include optical memory (e.g., CD, DVD, HD-DVD, etc. ) , semiconductor memory (e.g., ROM, EPROM, EEPROM, FLASH memory, etc. ) , and / or magnetic memory (e.g., hard-disk drive, floppy-disk drive, tape drive, MRAM, etc. ) , or other mass storage device technology. Non-volatile storage device 606 may include nonvolatile, dynamic, static, read / write, read-only, sequential-access, location-addressable, file-addressable, and / or content-addressable devices. It will be appreciated that non-volatile storage device 606 is configured to hold instructions even when power is cut to the non-volatile storage device 606.

[0093] Volatile memory 604 may include physical devices that include random access memory. Volatile memory 604 is typically utilized by logic processor 602 to temporarily store information during processing of software instructions. It will be appreciated that volatile memory 604 typically does not continue to store instructions when power is cut to the volatile memory 604.

[0094] Aspects of logic processor 602, volatile memory 604, and non-volatile storage device 606 may be integrated together into one or more hardware-logic components. Such hardware-logic components may include field-programmable gate arrays (FPGAs) , program-and application-specific integrated circuits (PASIC  / ASICs) , program-and application-specific standard products (PSSP  / ASSPs) , system-on-a-chip (SOC) , and complex programmable logic devices (CPLDs) , for example.

[0095] The terms “module, ” “program, ” and “engine” may be used to describe an aspect of computing system 600 typically implemented in software by a processor to perform a particular function using portions of volatile memory, which function involves transformative processing that specially configures the processor to perform the function. Thus, a module, program, or engine may be instantiated via logic processor 602 executing instructions held by non-volatile storage device 606, using portions of volatile memory 604. It will be understood that different modules, programs, and / or engines may be instantiated from the same application, service, code block, object, library, routine, API, function, etc. Likewise, the same module, program, and / or engine may be instantiated by different applications, services, code blocks, objects, routines, APIs, functions, etc. The terms “module, ” “program, ” and “engine” may encompass individual or groups of executable files, data files, libraries, drivers, scripts, database records, etc.

[0096] When included, display subsystem 608 may be used to present a visual representation of data held by non-volatile storage device 606. The visual representation may take the form of a graphical user interface (GUI) . As the herein described methods and processes change the data held by the non-volatile storage device, and thus transform the state of the non-volatile storage device, the state of display subsystem 608 may likewise be transformed to visually represent changes in the underlying data. Display subsystem 608 may include one or more display devices utilizing virtually any type of technology. Such display devices may be combined with logic processor 602, volatile memory 604, and / or non-volatile storage device 606 in a shared enclosure, or such display devices may be peripheral display devices.

[0097] When included, input subsystem 610 may comprise or interface with one or more user-input devices such as a keyboard, mouse, touch screen, or game controller. In some embodiments, the input subsystem may comprise or interface with selected natural user input (NUI) componentry. Such componentry may be integrated or peripheral, and the transduction and / or processing of input actions may be handled on-or off-board. Example NUI componentry may include a microphone for speech and / or voice recognition; an infrared, color, stereoscopic, and / or depth camera for machine vision and / or gesture recognition; a head tracker, eye tracker, accelerometer, and / or gyroscope for motion detection and / or intent recognition; as well as electric-field sensing componentry for assessing brain activity; and / or any other suitable sensor.

[0098] When included, communication subsystem 612 may be configured to communicatively couple various computing devices described herein with each other, and with other devices. Communication subsystem 612 may include wired and / or wireless communication devices compatible with one or more different communication protocols. As non-limiting examples, the communication subsystem may be configured  for communication via a wireless telephone network, or a wired or wireless local-or wide-area network, such as a HDMI over Wi-Fi connection. In some embodiments, the communication subsystem may allow computing system 600 to send and / or receive messages to and / or from other devices via a network such as the Internet.

[0099] The following paragraphs provide additional description of aspects of the present disclosure. One aspect provides a computing system for predicting an equilibrium distribution for a molecular system. The computing system may comprise a processor that executes instructions using portions of associated memory to implement an equilibrium distribution prediction model. The processor may be configured to, in an inference phase: receive input data representing a molecular system; create a graph representation of the molecular system, including position information for each atom in the molecular system; input the graph representation of the molecular system to a graph neural network; receive a plurality of predicted conformations of the molecular system as output from the graph neural network; input each predicted conformation of the plurality of predicted conformations to a diffusion model; predict an equilibrium distribution for the molecular system; and output the predicted equilibrium distribution.

[0100] In this aspect, additionally or alternatively, the diffusion model may vary noise applied to the predicted conformations across a series of time steps to thereby generate the equilibrium distribution.

[0101] In this aspect, additionally or alternatively, the equilibrium distribution prediction model may include an independent and identically distributed (IID) sampler module that generates statistically independent samples from the equilibrium distribution.

[0102] In this aspect, additionally or alternatively, the equilibrium distribution prediction model may include a density module that determines a density function for the equilibrium distribution.

[0103] In this aspect, additionally or alternatively, the diffusion model may be pre-trained via a physics-informed diffusion pre-training algorithm.

[0104] In this aspect, additionally or alternatively, the diffusion model may be trained to minimize a loss function.

[0105] In this aspect, additionally or alternatively, the diffusion model may be supervised during training by an energy function according to the Boltzmann distribution.

[0106] In this aspect, additionally or alternatively, the diffusion model may be supervised during training by molecular dynamics simulation data.

[0107] In this aspect, additionally or alternatively, the diffusion model may be a score-based generative diffusion model that is configured to introduce random noise at predetermined time steps based on a Gaussian distribution in a forward process.

[0108] In this aspect, additionally or alternatively, the data representing molecular system may include at least one of an amino acid sequence of the molecular system, a two-dimensional structure of the molecular system, a chemical formula, a three-dimensional structure of the molecular system, a protein name, and / or a simplified molecular-input line-entry system (SMILES) of the molecular system.

[0109] Another aspect provides a method for predicting an equilibrium distribution for a molecular system. The method may comprise receiving input data representing a molecular system; creating a graph representation of the molecular system, including position information for each atom in the molecular system; inputting the graph representation of the molecular system to a graph neural network; receiving  a plurality of predicted conformations of the molecular system as output from the graph neural network; inputting each predicted conformation of the plurality of predicted conformations to a diffusion model; and receiving a predicted equilibrium distribution for the molecular system.

[0110] In this aspect, additionally or alternatively, the method may further comprise varying noise applied to the predicted conformations across a series of time steps to thereby generate the equilibrium distribution.

[0111] In this aspect, additionally or alternatively, the method may further comprise generating statistically independent samples from the equilibrium distribution via an independent and identically distributed (IID) sampler module.

[0112] In this aspect, additionally or alternatively, the method may further comprise determining a density function for the equilibrium distribution via a density module.

[0113] In this aspect, additionally or alternatively, the method may further comprise pre-training the diffusion model via a physics-informed diffusion pre-training algorithm.

[0114] In this aspect, additionally or alternatively, the method may further comprise training the diffusion model to minimize a loss function.

[0115] In this aspect, additionally or alternatively, the method may further comprise supervising the diffusion model during training with an energy function according to the Boltzmann distribution.

[0116] In this aspect, additionally or alternatively, the method may further comprise supervising the diffusion model during training with molecular dynamics simulation data.

[0117] In this aspect, additionally or alternatively, the diffusion model may be a score-based generative diffusion model that is configured to introduce random noise at predetermined time steps based on a Gaussian distribution in a forward process.

[0118] Another aspect provides a computing system for predicting an equilibrium distribution for a molecular system. The computing system may comprise a processor that executes instructions using portions of associated memory to implement an equilibrium distribution prediction model. The processor may be configured to, in a training phase: receive training phase input data representing a molecular system; create a graph representation of the molecular system, including position information for each atom in the molecular system via a pre-processing algorithm; receive an energy parameter value for the graph representation; input a training data set including the graph representation of the molecular system and the energy parameter value for the graph representation to a graph neural network; receive a plurality of predicted conformations of the molecular system as output from the graph neural network; input each predicted conformation of the plurality of predicted conformations to a diffusion model; supervise the diffusion model with an energy function according to the Boltzmann distribution; supervise the diffusion model with molecular dynamics simulation data; and receive a predicted equilibrium distribution for the molecular system from the diffusion model.

[0119] It will be understood that the configurations and / or approaches described herein are exemplary in nature, and that these specific embodiments or examples are not to be considered in a limiting sense, because numerous variations are possible. The specific routines or methods described herein may represent one or more of any number of processing strategies. As such, various acts illustrated and / or described may be performed in the sequence illustrated and / or described, in other  sequences, in parallel, or omitted. Likewise, the order of the above-described processes may be changed.

[0120] The subject matter of the present disclosure includes all novel and non-obvious combinations and sub-combinations of the various processes, systems and configurations, and other features, functions, acts, and / or properties disclosed herein, as well as any and all equivalents thereof.

Claims

1.A computing system for predicting an equilibrium distribution for a molecular system, comprising:a processor that executes instructions using portions of associated memory to implement an equilibrium distribution prediction model, wherein the processor is configured to, in an inference phase:receive input data representing a molecular system;create a graph representation of the molecular system, including position information for each atom in the molecular system;input the graph representation of the molecular system to a graph neural network;receive a plurality of predicted conformations of the molecular system as output from the graph neural network;input each predicted conformation of the plurality of predicted conformations to a diffusion model;predict an equilibrium distribution for the molecular system; andoutput the predicted equilibrium distribution.2.The computing system of claim 1, whereinthe diffusion model varies noise applied to the predicted conformations across a series of time steps to thereby generate the equilibrium distribution.3.The computing system of claim 1, whereinthe equilibrium distribution prediction model includes an independent and identically distributed (IID) sampler module that generates statistically independent samples from the equilibrium distribution.4.The computing system of claim 1, whereinthe equilibrium distribution prediction model includes a density module that determines a density function for the equilibrium distribution.5.The computing system of claim 1, whereinthe diffusion model is pre-trained via a physics-informed diffusion pre-training algorithm.6.The computing system of claim 1, whereinthe diffusion model is trained to minimize a loss function.7.The computing system of claim 1, whereinthe diffusion model is supervised during training by an energy function according to the Boltzmann distribution.8.The computing system of claim 1, whereinthe diffusion model is supervised during training by molecular dynamics simulation data.9.The computing system of claim 1, whereinthe diffusion model is a score-based generative diffusion model that is configured to introduce random noise at predetermined time steps based on a Gaussian distribution in a forward process.10.The computing system of claim 1, whereinthe data representing molecular system includes at least one of an amino acid sequence of the molecular system, a two-dimensional structure of the molecular system, a chemical formula, a three-dimensional structure of the molecular system, a protein name, and / or a simplified molecular-input line-entry system (SMILES) of the molecular system.11.A method for predicting an equilibrium distribution for a molecular system, the method comprising:receiving input data representing a molecular system;creating a graph representation of the molecular system, including position information for each atom in the molecular system;inputting the graph representation of the molecular system to a graph neural network;receiving a plurality of predicted conformations of the molecular system as output from the graph neural network;inputting each predicted conformation of the plurality of predicted conformations to a diffusion model; andreceiving a predicted equilibrium distribution for the molecular system.12.The method of claim 11, the method further comprising:varying noise applied to the predicted conformations across a series of time steps to thereby generate the equilibrium distribution.13.The method of claim 11, the method further comprising:generating statistically independent samples from the equilibrium distribution via an independent and identically distributed (IID) sampler module.14.The method of claim 11, the method further comprising:determining a density function for the equilibrium distribution via a density module.15.The method of claim 11, the method further comprising:pre-training the diffusion model via a physics-informed diffusion pre-training algorithm.16.The method of claim 11, the method further comprising:training the diffusion model to minimize a loss function.17.The method of claim 11, the method further comprising:supervising the diffusion model during training with an energy function according to the Boltzmann distribution.18.The method of claim 11, the method further comprising:supervising the diffusion model during training with molecular dynamics simulation data.19.The method of claim 11, whereinthe diffusion model is a score-based generative diffusion model that is configured to introduce random noise at predetermined time steps based on a Gaussian distribution in a forward process.20.A computing system for predicting an equilibrium distribution for a molecular system, comprising:a processor that executes instructions using portions of associated memory to implement an equilibrium distribution prediction model, wherein the processor is configured to, in a training phase:receive training phase input data representing a molecular system;create a graph representation of the molecular system, including position information for each atom in the molecular system via a pre-processing algorithm;receive an energy parameter value for the graph representation;input a training data set including the graph representation of the molecular system and the energy parameter value for the graph representation to a graph neural network;receive a plurality of predicted conformations of the molecular system as output from the graph neural network;input each predicted conformation of the plurality of predicted conformations to a diffusion model;supervise the diffusion model with an energy function according to the Boltzmann distribution;supervise the diffusion model with molecular dynamics simulation data; andreceive a predicted equilibrium distribution for the molecular system from the diffusion model.

Citation Information

Cited By

  • Critical patient death risk prediction method based on big data

    CN119864176A