NEURAL GRAPH TRANSFORMER NETWORK FORCE FIELD FOR PREDICTATION OF NUCLEAR FORCES AND ENERGIES IN MOLECULAR DYNAMICS SIMULATIONS
The neural graph transformer network (GTFF) addresses the computational inefficiency and accuracy issues in molecular dynamics simulations by converting molecular snapshots into a graph structure with an attention mechanism, providing accurate atomic force predictions at reduced computational cost.
Patent Information
- Application Number
- DE102020210965
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-12
- Filing Date
- 2020-08-31
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2040-08-31
AI Technical Summary
Existing molecular dynamics simulation methods, such as ab initio quantum mechanics, are computationally expensive and lack accuracy in predicting atomic forces, while other approaches fail to provide sufficient accuracy with reduced computational resources.
A neural graph transformer network (GTFF) is used to convert molecular dynamics snapshots into a graph structure, applying an attention mechanism with a distance matrix to iteratively calculate atomic forces, ensuring energy conservation and reducing computational costs.
The GTFF approach achieves accurate atomic force predictions with significantly lower computational resources, enabling larger and longer molecular dynamics simulations.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] This invention relates generally to neural graph transformer network force field (GTFF) computation algorithms for direct prediction of atomic forces in molecular dynamics computer simulations in material systems such as electrochemical and water filtration devices. BACKGROUND
[0002] Molecular dynamics is a computational materials science methodology for simulating the motion of Atoms in a material system under real operating pressure and temperature conditions. Methodologies exist to calculate the underlying atomic forces used in simulating the movement of atoms One methodology is the ab initio quantum mechanics approach. This approach is very accurate, but because of the enormous amount of computational resources required to apply the approach, it is also very costly. Although other approaches exist that consume fewer computing resources, these other approaches do not offer such high accuracy. SUMMARY
[0003] According to one or more illustrative examples, a calculation method for simulating the Movement of elements within a multi-element system using a neural graph transformer Network (GTFF): Converting a molecular dynamics snapshot of the elements within the Multi-element system into a graph with atoms as nodes of the graph, defining a matrix such that each column the matrix represents a node in the graph, defining a distance matrix corresponding to a set of relative Positions of the respective atoms, iterating over the GTFF using an attention mechanism that is based on the Matrix and is extended by the inclusion of the distance matrix to separate the hidden state from a current layer of the GTFF to a next layer of the GTFF, performing a combination over the columns of the matrix to generate a scalar molecular energy, performing a recycle through the GTFF, taking derivatives at each the layers of the GTFF are calculated iteratively to calculate a prediction of the force acting on each atom, and returning the prediction of the force acting on each atom.
[0004] According to one or more illustrative examples, a computing system for simulating the Movement of elements within a multi-element system using a neural graph transformer Network (GTFF) comprises: a memory that stores instructions of a GTFF algorithm from molecular dynamics (MD) software stores, and a processor programmed to execute the instructions to perform operations including To perform the following: Convert a molecular dynamics snapshot of the elements within the Multi-element system into a graph with atoms as nodes of the graph, defining a matrix such that each column the matrix represents a node in the graph, defining a distance matrix corresponding to a set of relative Positions of the respective atoms, iterating over the GTFF using an attention mechanism that is based on the Matrix and is extended by the inclusion of the distance matrix to separate the hidden state from a current layer of the GTFF to a next layer of the GTFF, performing a combination over the columns of the matrix to generate a scalar molecular energy, performing a recycle through the GTFF, taking derivatives at each the layers of the GTFF are calculated iteratively to calculate a prediction of the force acting on each atom, and returning the prediction of the force acting on each atom.
[0005] According to one or more illustrative examples, a non-transitory computer-readable Medium commands for simulating the movement of elements within a multi-element system using of a Graph Transformer Neural Network (GTFF) which, when executed by a processor, Instruct the processor to perform the following: Convert a molecular dynamics snapshot of the elements within the multi-element system into a graph with atoms as nodes of the graph, defining a matrix such that each column of the matrix represents a node in the graph, defining a distance matrix corresponding to a set relative positions of the respective atoms, iterating over the GTFF using an attention mechanism based on the matrix and is extended by the inclusion of the distance matrix to determine the hidden state of a current layer of the GTFF to a next layer of the GTFF, performing a combination over the Splitting the matrix to generate a scalar molecular energy, performing a recycle through the GTFF, where Derivatives at each of the layers of the GTFF are calculated iteratively to predict the forces acting on each atom. force and return the prediction of the force acting on each atom. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is an example diagram of using a neural network to perform a Molecular dynamics simulation, Fig. 2 is an example diagram of a graph transformer neural network force field (GTFF) approach for the MD simulation and Fig. 3 is a schematic diagram of a computing platform that can be used to implement the GTFF Algorithms according to one or more embodiments, for example the GTFF algorithm of Fig. 2, to implement. DETAILED DESCRIPTION
[0006] Detailed embodiments of the present invention are disclosed herein as required, but it is to be understand that the disclosed embodiments of the invention may be embodied in various and alternative forms can be realized, only by way of example. The figures are not necessarily to scale, and Some features may be exaggerated or minimized to show details of specific components. Therefore Specific structural and functional details disclosed herein should not be considered limiting, but merely representative basis for teaching one skilled in the art to variously utilize the present invention, be interpreted.
[0007] The term ´´essentially´´ may be used herein to describe disclosed or claimed embodiments The term ´´essentially´´ can mean a value or a relative quality that is present in the present disclosure. In such cases, ´´substantially´´ mean that the value or relative property modified thereby is within ± 0%, 0.1%, 0.5%, 1%, 2%, 3%, 4%, 5% or 10% of the value or relative property.
[0008] Molecular dynamics (MD) methodologies are suitable for studying physical phenomena without limitation in the Type of ion transport, chemical reactions and material volume and surface degradation in Material systems such as device or functional materials are advantageous. Non-limiting examples of such Material systems include fuel cells, surface coatings, batteries, water desalination and Water filtration. Methodologies exist to calculate the underlying atomic forces involved in used to simulate the motion of atoms. The ab initio quantum mechanics approach is very accurate, but because of the enormous amount of computing resources required to apply the approach, also very expensive.
[0009] Neural networks have been used to model and predict quantum mechanical energies. These Methodologies were called neural network force fields (NNFF). Derivatives of energy with respect to atomic Positions and forces are predicted using quantum mechanical energies. These methodologies are However, it is also computationally intensive. In view of the above, a computational methodology for calculating atomic forces that provides an appropriate degree of accuracy while maintaining a reasonable level of Computing resources consumed.
[0010] Molecular dynamics uses atomic positions (and possibly charges, bonds or other Structural information) to calculate interatomic forces for each atom, which are then used to modify the Velocities of atoms are used in the simulation. The resulting trajectories of the atoms are used to describe physical phenomena such as, without limitation, the ion transport movement in batteries (e.g. Li-ion batteries) and fuel cells (e.g. fuel cell electrolyte), chemical reactions during volume and surface material degradation, semiconductor material phase change, molecular bonding and protein folding, for example, for drug development, biological sciences and biochemical Development. There is a trade-off between accuracy and size (measured by the number of atoms and the simulated dynamic time) of the simulation depends on the model used to calculate the atomic forces. As explained above, an accurate but complex method uses the Ab initio quantum mechanics approach known as ab initio molecular dynamics (AIMD).
[0011] Work has been undertaken to provide less complex methods. In JP Mailoa et al., arXiv: 1905.02791, A Fast Neural Network Approach for Direct Covariant Forces Prediction in Complex Multi-Element Extended Systems, accepted in Nat. Mach. Intell. (2019), a version of fast NNFF is proposed to calculate atomic force vectors in an extended atomistic system using rotation-covariant features. The However, feature extraction relies on feature interpretation, which makes it less accurate.
[0012] In T. Xie et al., Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties, Phys. Rev. Lett. 120, 145301 (2018) uses a convolutional neural graph network, to automate feature extraction from an atomistic structure to predict the Using this approach, a message forwarding mechanism between atoms and bonds controlled by a network developer.
[0013] In B. Chen et al., Path-Augmented Graph Transformer Network, arXiv:1905.12712 (2019), a path (real chemical bond) features enhanced neural graph transformer network architecture to predict the The sequence and strength of message forwarding is determined by the attention Mechanism that uses the path features.
[0014] In KT Schutt et al., SchNet: A continuous-filter convolutional neural network for modeling quantum interactions. arXiv: 1706.08566 (2017) a convolutional graph network is used to automate feature extraction by Message passing between atoms without an attention mechanism is used. The architecture allows the Prediction of molecular energies, and this algorithm is similar by taking derivatives of the entire Molecular energy network in terms of positions to predict atomic force vectors of the work of JP Mailoa and can be used for the actual molecular dynamics simulation.
[0015] In P. Velockovic et al., Graph Attention Networks. arxiv: 1710.10903 (2018), the neural graph transformer Network architecture was introduced. This architecture has not yet been adapted for solving molecular dynamics problems.
[0016] The methods described in the first four above references are intended for rapid regression of the atomistic force vectors and / or energies using deep learning. These avoid complex quantum mechanical simulations in the form of density functional theory (DFT) or quantum chemistry. In the context of Molecular dynamics (MD) simulation, this means that the MD simulation can be performed with an accuracy that approaches ab initio MD (AIMD), with considerably lower computational costs.
[0017] Fig. 1 shows an exemplary diagram 100 of the use of a neural network to perform an MD- Simulation. For a given atomistic input structure 102, quantum mechanics (in the form of a DFT, which complex) can be used to calculate the system energy and atomic force vectors 104. The atoms can then moved based on the calculated force vectors using Newton's equations of motion (this arrangement is called molecular dynamics or MD simulations) to study phenomena such as Ion transport, chemical reactions, etc. In an MD simulation, an iteration in the Order of magnitude hundreds of millions of time steps are typical, which makes an MD simulation based on a DFT Force calculation becomes very complex. Alternatively, a neural network 108 can, given a sufficient amount of training data 106 quantum mechanical force vectors of the atomistic structure, these This effectively bypasses the quantum mechanical force calculation and allows for accurate force calculation at low computational cost, allowing larger and longer MD simulations to be performed.
[0018] In contrast to previous approaches, the disclosed approach uses a graph transformer network instead of a neural graph network for use in neural network force field approaches for force vector regression. Graph- Transformers, as discussed in detail below, offer higher accuracy than graph neural networks for Graph learning problems. In contrast to previous approaches, the described approach also uses a slightly different Graph structure. Instead of forming a graph with atoms as nodes and bonds as edges, this architecture allows Atoms, bonds, or other molecular objects are viewed as nodes in the graph. This provides a greater Flexibility and allows the inclusion of features that are not compatible with a simpler graph structure. The approach described can be used to generate force vector predictions for use in molecular dynamics simulations, and it can also be used to train a machine learning system, that can be used for such applications.
[0019] In general, in a neural graph network architecture, in a standard neural Feedforward network several layers, each of which creates a hidden representation by multiplying it by a Modify the weight matrix. In a neural graph network, an operation is performed on a graph, and Each node in the graph has such a representation. Suppose that H is a matrix, where each Column acts as a representation of a node. For a layer of the neural graph network with H as input and Ĥ as output, both are related by the following equation: H^:=H+σ(WHA)
[0020] Here W is a learnable weight matrix, A is a fixed mixing matrix that contains information based on the structure of the graph, and σ is an activation function (for example, tanh or ReLU). Intuitive Expressed in terms of weights, WH applies the weights of the layer to each node, and multiplication by A combines these Information is then based on the structure of the graph (for example, if A is the normalized adjacency matrix of the graph, multiplication by A averages the hidden state of the neighbors of each node in the graph). There is a Number of possible choices for A, however, once selected, it remains the same during training and After applying the activation function, the layer input is added again, which is a common trick for improving training speed and convergence.
[0021] In a graph transformer, a layer acts as follows: H^:=H+σ(W1H softmax(HW2W3THT))
[0022] where W , W , W are all learnable weight matrices and the softmax function is applied independently to each 1 2 3 column. The key difference here is that A, which was used during the training of the neural network is fixed, was replaced by the expression softmax(HW2W3THT). This attention mechanism Expression has both H and some learnable parameters, which is why the network adapts the mixing matrix to different input types and find the best way to combine information by learning W and W 2 3 learns during training.
[0023] The attention mechanism in the graph transformer is further improved by including a distance term: H^ :=H+σ(W1H softmax(HW2W3THT-γD)) where D is a distance matrix (ie D is the squared distance ij between nodes i and j) and y is a learnable scalar parameter. This has the effect of reducing the strength of interactions between pairs of nodes as their distance increases, where y learns how much weight this reduction is to be assigned.
[0024] In the architectures described above, the respective layers are applied sequentially, which leads to a total network output H̃, where each column of H̃ represents the hidden state of a particular node If predictions are given at the node level (i.e. a property for each node predicted), this output can be used as a prediction. If instead a property of the graph predicted, the columns of H̃ can be combined (usually by summing or averaging over columns), to obtain a single output at the graph level.
[0025] Returning to the MD simulation, it should be noted that for a given snapshot of a molecule, the 3 The task is to predict the force vector F ∈ ℝ acting on each atom i. This can be done by a i simple training scheme for a neural graph network: The input for the network consists of some Information about the molecule encoded as a graph with atoms as nodes, and the output is the predicted However, nothing in these predictions enforces the conservation of energy, so they are not suitable for direct use are not suitable for molecular dynamics simulations. A neural network force field (NNFF) approach can be used instead with better results.
[0026] Fig. 2 is an exemplary diagram 200 of a neural graph transformer network force field (GTFF) approach for the MD simulation. In such an approach, the input to the neural network is the position of each atom r as well as other i relevant information. The output of the last layer is summed to produce a prediction for the energy E of the molecule The derivative ∂E / ∂r can then be calculated, taking the negative value -∂E / ∂r from it ii can be used to predict the force acting on atom i. Provided that the neural network is a smooth function of the set of positions {r}, it is guaranteed that the derivatives -∂E / ∂r the energy ii receive.
[0027] The NNFF approach in connection with neural graph network architectures can be combined with the Graph Transformer architecture. As shown, GTFF uses a graph transformer with L layers. Once the graph transformer is trained, the algorithm can be executed as follows: 1. Let {r} be the positions of atoms in a molecule. The molecular information is converted into a i 0 Graphs, where atoms form the nodes; let H be the matrix, where each column represents a node 0 0 represented in the graph ({r} may or may not be contained in H). H may also i other information such as element type, partial charge, chemical environment, distance from Neighbors, angles to neighbors, electronegativity, valence and any other quantum or classical 0 Information. H can be coded in different ways, for example as a scalar or as a vector with different Bases such as one-hot coding, sine, cosine, exponential, etc. {r} will also be used to form the i Distance matrix D is used. 2. For i = 0, ..., L - 1: Hl+1←Hl+σ(W1lHlsoftmax(HlW2lWl3THlT-γlD)) This is done to to propagate the hidden state through the graph transformer layer 𝓁; L 3. Summing or averaging over columns of H to produce a scalar molecular energy E; 4. Perform a return through the network (as shown by the double-line arrows), iteratively derivatives are calculated for each layer to calculate -∂E / ∂r for each i, and i 5. Return the force predictions F := -∂E / ∂r . ii
[0028] GTFF can be trained as a deep neural network. For example, a loss function L can be formed, to compare the force predictions -∂E / ∂r with ground-truth forces on a labeled dataset, and i the network weights (above Wil and γl ) can then be adjusted with respect to this loss using gradient descent be optimized. Because gradient descent is performed on a gradient, this requires the calculation of higher-order derivatives, so that each iteration of training takes about twice as long as a neural Feedforward network.
[0029] Variations of the GTFF approach are possible. For example, while the previously described Graphs assume that all nodes are atoms, in some cases it may be desirable to use other molecular To include objects as nodes in the graph, such as bonds, triplets of atoms, etc. This is useful to include features of the molecule that cannot be represented by atoms alone (for example, bond order for bonds, bond angles for triplets, etc.), and this can be helpful to determine the total energy of the system If this information is recorded as nodes, its distance to all other objects should also be in the graph so that D remains well-defined. The derivative of the energy with respect to the positions of these However, objects may not need to be calculated because we only calculate force vectors for the atoms.
[0030] With reference to another possible variation, it should be noted that in step 3 above it is stated that a 𝓁 Summation or averaging is performed over columns of H. However, it should be understood that for other 𝓁 Examples can be used to apply another function that is permutation invariant over columns of H. For a Another possibility is that this combination operation can be implemented as another small neural network.
[0031] With reference to a further possible variation, it is noted that in steps 3 and 4 it is assumed that the prediction E is a single scalar value (and that accordingly it is assumed that the output of the last k layer 1). In other examples, E can be a vector in ℝ and the force can be the sum of these derivatives assume: Fi:=∑j=1k-∂Ej / ∂ri. Since each summand satisfies the conservation of energy, this also applies to the Total. A multidimensional energy E may be easier to learn than a scalar E.
[0032] The GTFF algorithms and / or methodologies according to one or more embodiments are described under Implemented using a computing platform as shown in Fig. 3. The computing platform 300 may include a memory 302, a processor 304 and a non-volatile memory 306. The processor 304 may have one or more Devices selected from high performance computing (HPC) systems having high performance cores, Microprocessors, microcontrollers, digital signal processors, microcomputers, central processing units, field-programmable gate arrays, programmable logic devices, state machines, logic circuits, Include analog circuits, digital circuits or other devices that transmit signals (analog or digital) on the Based on computer-executable instructions located in memory 302. Memory 302 may contain a single storage device or a number of storage devices, including and without Restriction a random access memory (RAM), a volatile memory, a non-volatile memory, a static random access memory (SRAM), dynamic random access memory (DRAM), flash memory, Cache memory or other device capable of storing information. Non-volatile memory 306 may include one or more permanent data storage devices such as a hard disk, an optical drive, a tape drive, a non-volatile semiconductor device, a cloud storage device, or any other device that capable of permanently storing information.
[0033] The processor 304 may be configured to read into the memory 302 and execute computer-executable instructions, located in the GTFF software module 308 of the non-volatile memory 306 and GTFF algorithms and / or - Methodologies according to one or more embodiments. The processor 304 may further be designed to read into the memory 302 and execute computer-executable instructions located in the MD software module 310 (in the manner of LAMMPS) of the non-volatile memory 306 and MD algorithms and / or methodologies The software modules 308 and 310 may include operating systems and applications. The software Modules 308 and 310 may be implemented by computer programs using a variety of programming languages and / or technologies including, without limitation, Java, C, Include C++, C#, Objective C, Fortran, Pascal, Java Script, Python, Perl and PL / SQL, compiled or interpreted According to one embodiment, PyTorch, which is a package for the Python programming language used to implement code for the GTFFs according to one or more embodiments. The code framework may be based on a Convolutional Neural Crystal Graph Network (CGCNN) code licensed from Massachusetts Institute of Technology in Cambridge, Massachusetts.
[0034] After execution by the processor 304, the computer-executable instructions of the GTFF software module 308 and the MD software module 310 cause the computing platform 300 to execute one or more of the GTFF algorithms and / or methodologies or MD algorithms and / or methodologies disclosed herein. The non-volatile memory 306 may also include GTFF data 312 and MD data 314 that describe the functions, features and Support processes of one or more embodiments described herein.
[0035] The program code that implements the algorithms and / or methodologies described herein may be implemented in a A variety of different forms can be distributed individually or jointly as a program product. The program code may be distributed using a computer-readable storage medium containing computer-readable Program instructions to cause a processor to perform aspects of one or more embodiments A computer-readable storage medium, being inherently non-transitory, may contain a volatile and non-volatile and removable and non-removable physical medium created by a process or a technology for storing information in the form of computer-readable instructions, data structures, program modules or other data. Computer-readable storage media may further comprise RAM, a ROM, an erasable programmable read-only memory (EPROM), an electrically erasable programmable Read-only memory (EEPROM), flash memory or other semiconductor storage technology, a portable compact Disc read-only memory (CD-ROM) or other optical storage, magnetic cassettes, magnetic tape, magnetic Disk storage or other magnetic storage device or other medium used to store the desired information and can be read by a computer. Computer-readable program instructions can be sent over a network to a computer, another type of programmable data processing device or other device from a computer-readable storage medium or to an external computer or external storage device.
[0036] Computer-readable program instructions stored in a computer-readable medium may be used a computer, other types of programmable data processing equipment or other devices to function in a particular way so that the instructions stored in the computer-readable medium create a manufacturing article that has instructions that perform the functions, steps and / or operations described in the flowcharts or diagrams. According to certain alternative embodiments the functions, steps and / or operations specified in the flowcharts and diagrams may be one or more embodiments may be rearranged, processed serially, and / or processed simultaneously. Any of the flowcharts and / or diagrams may have more or fewer nodes or blocks than those according to one or more embodiments.
Claims
1. Calculation method for simulating the movement of elements within a multi-element system using a graph transformer neural network (GTFF), the method comprising: Converting a molecular dynamics snapshot of the elements within the multi-element system into a graph with atoms as nodes of the graph, Define a matrix such that each column of the matrix represents a node in the graph, Define a distance matrix according to a set of relative positions of the respective atoms, Iterating over the GTFF using an attention mechanism that acts on the matrix and is Recording the distance matrix is extended to transfer the hidden state from a current layer of the GTFF to a next layer of the GTFF, Performing a combination across the columns of the matrix to generate a scalar molecular energy, Performing a regression through the GTFF, calculating derivatives at each of the layers of the GTFF iteratively, to calculate a prediction of the force acting on each atom, and Return the prediction of the force acting on each atom.
2. Calculation method according to claim 1, wherein the combination is implemented as a sum across the columns of the matrix.
3. Calculation method according to claim 1, wherein the combination is implemented as an averaging over the columns of the matrix.
4. Calculation method according to claim 1, wherein the combination is carried out over the columns of the matrix using a neural network is implemented.
5. A calculation method according to claim 1, wherein furthermore other molecular objects are included in the matrix as nodes of the graph in addition to the atoms that have one or more bonds or the quantum state of the atoms.
6. Calculation method according to claim 5, wherein further distances of the other molecular objects to other objects in the graphs are defined so that the distance matrix for each element remains well-defined.
7. The computing method according to claim 1, further comprising the GTFF being implemented as a deep neural network using a loss function is trained, which is formed to compare the force predictions with ground truth forces on a labeled dataset so that the network weights can be adjusted with respect to the loss function using the Gradient descent can be optimized.
8. The computational method of claim 1, wherein the computational method is integrated into molecular dynamics (MD) software.
9. The computing method according to claim 1, further comprising softmax in the attention mechanism for forwarding the hidden state used by the GTFF.
10. Computational system for simulating the movement of elements within a multi-element system using a graph transformer neural network (GTFF), the system comprising: a memory that stores instructions of a GTFF algorithm of molecular dynamics (MD) software, and a processor programmed to execute the instructions to perform operations including the following to perform: Converting a molecular dynamics snapshot of the elements within the multi-element system into a graph with atoms as nodes of the graph, Define a matrix such that each column of the matrix represents a node in the graph, Defining a distance matrix corresponding to a set of relative positions of the respective atoms, Iterating over the GTFF using an attention mechanism that acts on the matrix and is Recording the distance matrix is extended to transfer the hidden state from a current layer of the GTFF to a to the next layer of the GTFF, Performing a combination across the columns of the matrix to generate a scalar molecular energy, Performing a regression through the GTFF, calculating derivatives at each of the layers of the GTFF iteratively, to calculate a prediction of the force acting on each atom, and Return the prediction of the force acting on each atom.
11. The computing system of claim 10, wherein the processor is further programmed to execute the instructions for the Combination across the columns of the matrix as a summation.
12. The computing system of claim 10, wherein the processor is further programmed to execute the instructions for the Combination to be carried out over the columns of the matrix as an average.
13. The computing system of claim 10, wherein the processor is further programmed to execute the instructions for the Combination across the columns of the matrix using a neural network.
14. The computing system of claim 10, wherein the processor is further programmed to execute the instructions to enter the Matrix as nodes of the graph to include other molecular objects in addition to the atoms, where the other molecules other objects have one or more bonds or the quantum state of the atoms.
15. The computing system of claim 14, wherein the processor is further programmed to execute the instructions to Distances of the other molecular objects to other objects in the graph, so that the distance matrix for each element remains well-defined.
16. The computing system of claim 10, wherein the processor is further programmed to execute the instructions to GTFF as a deep neural network using a loss function formed to Compare force predictions with ground truth forces on a labeled dataset, so that the network weights in with respect to the loss function using gradient descent.
17. The computing system of claim 10, wherein the processor is further programmed to execute the instructions to softmax in the attention mechanism to propagate the hidden state through the GTFF.
18. Non-transitory computer-readable medium containing instructions for simulating the movement of elements within a multi-element system using a graph transformer neural network (GTFF), which, when a processor, causing the processor to perform the following: Converting a molecular dynamics snapshot of the elements within the multi-element system into a graph with atoms as nodes of the graph, Define a matrix such that each column of the matrix represents a node in the graph, Defining a distance matrix corresponding to a set of relative positions of the respective atoms, Iterating over the GTFF using an attention mechanism that acts on the matrix and is Recording the distance matrix is extended to transfer the hidden state from a current layer of the GTFF to a next layer of the GTFF, Performing a combination across the columns of the matrix to generate a scalar molecular energy, Performing a regression through the GTFF, calculating derivatives at each of the layers of the GTFF iteratively, to calculate a prediction of the force acting on each atom, and Return the prediction of the force acting on each atom.
19. The medium of claim 18, further comprising instructions that, when executed by a processor, cause the processor to perform the following: Picking up other molecular objects in addition to the atoms, where the other molecular objects have one or have several bonds or the quantum state of the atoms, into the matrix as nodes of the graph and Define the distances of the other molecular objects to other objects in the graph, so that the distance matrix for each element remains well-defined.
20. The medium of claim 18, further comprising instructions that, when executed by a processor, cause the processor to train the GTFF as a deep neural network using a loss function that is formed to compare the force predictions with ground truth forces on a labeled dataset, so that the Network weights are optimized with respect to the loss function using gradient descent.
