Method for predicting and optimizing properties of molecules

Through computer-implemented atom-bond-graph representation and self-attention decay transformer neural network, combined with genetic algorithm, the time-consuming problem of property optimization in the molecular design process of OLED is solved, and fast and efficient molecular design is achieved.

CN118613874APending Publication Date: 2024-09-06SAMSUNG DISPLAY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202380018583.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-11
Filing Date
2023-02-10
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing technology makes it difficult to quickly optimize the physical and chemical properties of emitter molecules in organic electroluminescent devices (OLEDs), resulting in a time-consuming and inefficient design process.

Method used

Using a computer-implemented method, the atom-bond-graph is used to represent the molecular structure, and the physical and chemical properties of the molecule are predicted by extracting node feature vectors, calculating square distance matrices and applying the self-attention decay transformer neural network, and automatically designed by combining genetic algorithms. Molecular structure to optimize its properties.

Benefits of technology

It achieves rapid prediction and optimization of the physical and chemical properties of molecules in OLEDs, improves design efficiency, and reduces the time and cost of experiments and simulations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613874A
    Figure CN118613874A
Patent Text Reader

Abstract

The invention relates to a computer-implemented method for predicting the value of a physical and / or chemical property of a molecule, said method using as input the molecular structure of the molecule, the molecular structure of the molecule being an atom-bond map comprising at least atoms of the molecular structure and bonds of the molecular structure as nodes, and providing the predicted value of the physical property and / or the chemical property as an output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technology relates to the field of predicting physical and / or chemical properties of molecules, in particular, for emitter molecules applied in OLEDs, and to computer-implemented methods for predicting the values ​​of physical and / or chemical properties of molecules, computer-implemented methods for automated design of molecules, computer programs having program code for performing one of these methods, methods for training neural networks used in these methods, and systems configured to perform these methods and / or train such neural networks. Background Art

[0002] Organic electroluminescent devices containing one or more organic-based light-emitting layers, such as organic light-emitting diodes (OLEDs), light-emitting electrochemical cells (LECs) and light-emitting transistors, are becoming increasingly important. In particular, OLEDs are promising devices for electronic products, such as screens, displays and lighting devices. In contrast to most electroluminescent devices, which are essentially based on inorganic substances, organic electroluminescent devices based on organic substances are generally quite flexible and can be produced as particularly thin layers.

[0003] For many applications, including the design of emitter molecules for OLEDs, molecules are required that have physical and / or chemical properties that are optimized for their respective applications. However, due to the large number of theoretically possible molecular structures, it is usually very time-consuming to synthesize a sufficient number of possible molecules and measure the expected values ​​of the physical and / or chemical properties and / or to simulate the molecules and their properties using methods known in the prior art and optimize the molecular structures based on these findings. Therefore, there is a need for an improved method for predicting the values ​​of the physical and / or chemical properties of molecules and for designing molecules that are optimized with respect to their physical and / or chemical properties. Summary of the invention

[0004] Technical issues

[0005] The object of the present invention is to provide a method and system for predicting the values ​​of physical and / or chemical properties of molecules and a method and system for designing molecules optimized in terms of these physical and / or chemical properties. In the meaning of the present invention, physical and / or chemical properties of molecules are to be understood as any physical and / or chemical properties of a single molecule and / or of a (molecular) material composed of a plurality of these molecules. In particular, another object of the present invention is to design and optimize molecules used as materials for certain purposes.

[0006] Technical Solution

[0007] An embodiment is a computer-implemented method for predicting the value of a physical property and / or chemical property of a molecule. The method uses as input a molecular structure of a molecule, the molecular structure of the molecule being an atom-bond-graph, the atom-bond-graph comprising at least atoms of the molecular structure and bonds of the molecular structure as nodes, and provides as output a predicted value of a physical property and / or chemical property, the method comprising the following steps:

[0008] a) For all n atom-bond-graphs nodes Each node in the node extracts dimension d features a feature vector of , the feature vector comprising the node type, the node type preferably being one of atom, bond and global, and the feature vector comprising further data about the node if the node type is atom or bond;

[0009] b) Generate the extracted n nodes The dimension n of the feature vector nodes ×d features The feature matrix of

[0010] c) Calculate the dimension n based on and / or including the distances between atoms and bonds of the molecular structure nodes ×n nodes The square distance matrix D;

[0011] d) applying a trained neural network including a transformer that performs self-attention decay using a squared distance matrix D to the feature matrix to generate predictions of physical and / or chemical properties of the molecule,

[0012] Among them, the neural network includes:

[0013] The trained input encoder is constructed from dimension n nodes ×d features The feature matrix of dimension n is generated nodes ×d model The input matrix of model is the dimension of the transformer model;

[0014] With n layers A trained transformer-encoder stack of >1 transformer-encoder layer as the transformer, using the squared distance matrix D for self-attention decay, where the trained transformer-encoder stack is constructed to use the input matrix of the input encoder as input to produce dimension n nodes ×d model The matrix is ​​output as

[0015] Trained projection layers, including self-attention layers, which are constructed to use the matrix produced by the trained transformer-encoder stack as input to produce a matrix of dimension dmodel The vector is taken as output;

[0016] A trained multi-layer perceptron is configured to generate predicted values ​​of the physical property and / or the chemical property from the output vector of the trained projection layer.

[0017] The computer-implemented method is characterized in that: layers Each of the trained transformer-encoder layers consists of a trained multi-head attenuated self-attention, a trained feed-forward network, two trained layer normalizations, and two residual connections.

[0018] The computer implemented method is characterized in that the additional input parameters are used as additional inputs to the trained multilayer perceptron.

[0019] The computer-implemented method is characterized in that the physical property and / or chemical property is one of HOMO energy level, LUMO energy level, singlet energy level, triplet energy level, singlet-triplet energy gap, oscillator strength, dipole moment, photoluminescence quantum yield, delayed fluorescence lifetime and peak emission wavelength.

[0020] The computer implemented method is characterized in that a square distance matrix D is calculated by using abstract distances derived from an atom-bond-graph.

[0021] The computer implemented method is characterized in that a part of a trained neural network, which part is a transformer of the trained neural network, is initialized by another transformer of another trained neural network adapted to perform the method according to any of the preceding claims.

[0022] An embodiment is a computer-implemented method for automatically designing molecules, preferably emitter molecules for use in OLEDs, in particular TADF emitters. The method uses a genetic algorithm and takes as input a set of starting molecular structures including at least one molecular structure, a set of mutation rules for specifying allowed mutations of the genetic algorithm, a scoring function for the molecular structure based on one or more predicted values ​​of the physical and / or chemical properties of the corresponding molecule, and a termination condition,

[0023] The method provides a molecular structure of a designed molecule as an output, the method comprising the steps of:

[0024] a) providing a set of starting molecular structures as a parent molecular structure population to a genetic algorithm;

[0025] b) using a genetic algorithm to partially or completely generate a progeny molecular structure population from the parent molecular structure population by mutating at least one member of the parent molecular structure population;

[0026] c) predicting one or more values ​​of a physical property and / or chemical property of a molecule corresponding to a member of the progeny molecular structure population using a method according to any one of claims 1 to 6 and calculating the value of a scoring function for each member of the progeny molecular structure population based thereon,

[0027] wherein a neural network is used to predict one or more values ​​of a physical property and / or a chemical property, the neural network uses a transformer with self-attention decay to the molecular structure, the transformer using the molecular structure as input to predict one or more values ​​of the physical property and / or the chemical property of the member;

[0028] d) checking whether a termination condition is satisfied, and if the termination condition is not satisfied, generating a new parent molecular structure population, wherein the new parent molecular structure population is composed of at least one member of the daughter molecular structure population having the best value of the scoring function among the daughter molecular structures;

[0029] e) iterating step b, step c and step d until a termination condition is satisfied;

[0030] f) selecting as output the molecular structure produced in step b or any iteration thereof.

[0031] The computer-implemented method is characterized in that: if the scoring function of at least one member of the descendant molecular structure population is greater than or less than or equal to a predefined value and / or reaches a predefined number of iterations of step b, step c, and step d, the termination condition is met.

[0032] The computer-implemented method is characterized in that the mutation using the genetic algorithm is segment-based mutation and / or string-based mutation.

[0033] The computer implemented method is characterized in that the genetic algorithm uses tournament selection and / or elitism.

[0034] The embodiment is a method for training a neural network used in a method according to a computer-implemented method. The method uses a system including at least one processor and a storage device, and the neural network includes a transformer, one or more projection layers, and one or more multilayer perceptrons, wherein the transformer is configured to perform self-attention decay using a squared distance matrix D, the one or more projection layers include a self-attention layer, the self-attention layer is configured to use the matrix generated by the transformer as input to generate a vector as output, and the one or more multilayer perceptrons use the output of one of the one or more projection layers as input,

[0035] The method comprises the following steps:

[0036] a) providing a data set comprising molecular structures of molecules and values ​​of physical and / or chemical properties of the molecules, wherein the physical and / or chemical properties are assigned to one of the multilayer perceptrons;

[0037] b) converting the molecular structure of each molecule into an atom-bond-graph including at least atoms of the molecular structure and bonds of the molecular structure as nodes;

[0038] c) For all n of the atom-bond-graph nodes For each node in the node, extract dimension d features a feature vector of , the feature vector comprising a node type, the node type preferably being one of atom, bond and global, and the feature vector comprising further data about the node if the node type is atom or bond;

[0039] d) Produced by extracting n nodes The dimension n of the feature vector nodes ×d features The feature matrix of

[0040] e) Calculating the dimension n based on and / or including the distances between atoms and bonds of the molecular structure nodes ×n nodess The square distance matrix D;

[0041] f) generating an output value of the multilayer perceptron assigned to a physical property and / or a chemical property; and

[0042] g) adjusting the neural network based on comparing the output values ​​of the multilayer perceptron with the values ​​of the physical properties and / or chemical properties assigned to the multilayer perceptron.

[0043] In the method, the neural network comprises at least two multilayer perceptrons, characterized in that steps a to g are repeated for different data sets comprising molecular structures of molecules and values ​​of different physical and / or chemical properties, wherein the different physical and / or chemical properties are assigned to different multilayer perceptrons.

[0044] In the method, steps a to g are repeated for different data sets comprising molecular structures of different molecules and values ​​of physical properties and / or chemical properties of different molecules.

[0045] A portion of the neural network (eg, a transformer) is initialized using another transformer suitable for another trained neural network used in the method.

[0046] A system comprising a processor and a memory device, wherein the system is configured to perform a computer-implemented method according to a method for training a neural network.

[0047] A computer program having a program code for performing a method when the computer program is executed by a system.

[0048] Beneficial Effects

[0049] The present invention provides methods and systems for predicting the values ​​of physical and / or chemical properties of molecules and methods and systems for designing molecules optimized with respect to the physical and / or chemical properties. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In the following, specific embodiments are described with reference to the accompanying drawings, in which:

[0051] Figure 1 A possible neural network for use in the method according to the first aspect of the invention is shown as a flow chart;

[0052] Figure 2 The method according to the second aspect of the invention is shown as a flow chart; and

[0053] Figure 3 is a schematic diagram of a system for performing the method for predicting values ​​of physical and / or chemical properties, for designing molecules and for training neural networks according to the invention. DETAILED DESCRIPTION

[0054] The invention relates to a computer-implemented method for predicting the value of a physical property and / or chemical property (180a, 180b) of a molecule, the method using as input the molecular structure of the molecule in the form of an atom-bond graph (100), the atom-bond graph comprising at least the atoms of the molecular structure and the bonds of the molecular structure as nodes, and providing as output the predicted value of the physical property and / or chemical property (180a, 180b). The method comprises the following steps: for all n atoms of the atom-bond graph (100), nodes Each node in the node extracts dimension d features The feature vector (120) includes the node type, the node type is preferably one of atom, bond and global, and the feature vector includes further data about the node when the node type is atom or bond; generating the n extracted by nodes The dimension n of the feature vector nodes ×d features The characteristic matrix of dimension n is calculated based on and / or including the distances between atoms and bonds of the molecular structure nodes ×n nodes and applying a trained neural network using a transformer including a self-attention decay for the squared distance matrix D to the feature matrix to produce predicted values ​​(140) of physical and / or chemical properties (180a, 180b) of the molecule.

[0055] Here, the neural network includes: a trained input encoder (130) configured to obtain a nodes ×d features The feature matrix generated has dimension n nodes ×d model The input matrix of d model is the dimension of the transformer model; with n layers A trained transformer-encoder stack of >1 transformer-encoder layer (150), as a transformer, using a squared distance matrix D for self-attention decay, wherein the trained transformer-encoder stack is constructed to use the input matrix of the input encoder (130) as input to produce dimension n nodes ×d model A trained projection layer (160a, 160b) including a self-attention layer constructed to use the matrix produced by the trained transformer-encoder stack as input to produce a matrix of dimension d model as output; and a trained multilayer perceptron (170a, 170b) configured to generate predicted values ​​of physical and / or chemical properties from the output vector of the trained projection layer.

[0056] This object is achieved by the subject matter according to the independent claim. Advantageous embodiments are defined in the dependent claims and in the following description.

[0057] According to a first aspect of the invention, a computer-implemented method for predicting the values ​​of physical and / or chemical properties of a molecule, in particular an emitter molecule and / or a host molecule (specifically a TADF (thermally activated delayed fluorescence) emitter) for use in an OLED, is proposed, wherein the method uses as input the molecular structure of the molecule, the molecular structure of the molecule being an atom-bond-graph, the atom-bond-graph being a graph comprising at least the atoms and bonds of the molecular structure as nodes. Without using other node types, such a graph can be partitioned into two disjoint and independent sets (atoms and bonds) connected by edges. In this case, it is a bipartite undirected graph. For example, an atom-bond-graph can be generated from a SMILES (Simplified Molecular Linear Input Specification) string representing the structure of the examined molecule. In the context of the invention, the molecular structure of a molecule is to be understood as information about the arrangement of the atoms of the molecule, said information comprising at least the type of bonds between the atoms of the molecule and the element of each atom of the molecule.

[0058] Alternatively, when generating an atom-bond-graph, a so-called global node connected to all other nodes can be added. Such a global node can be used as a global (graph-level) attribute to transfer information and / or context related to the entire molecule to or from a distant node (e.g., as an atom and / or bond of a node) for the neural network used in the method. Therefore, it acts as a shortcut for exchanging global information between nodes, bypassing the requirement that information travels along the edge in multiple steps. Adding a global node generally improves prediction performance, and is therefore generally highly beneficial.

[0059] The method provides a predicted value of a physical property and / or a chemical property as output (preferably as a scalar value) and comprises the following steps:

[0060] First, for all n atom-bond-graphs nodes For each node in the node, extract dimension d features The feature vector includes the node type (which may be encoded using one-hot encoding), which may be, for example, "atom", "bond", or "global", and further data about the corresponding node (called node feature data) in the case where the node type is atom or bond. For atoms, the node feature data may include the number of atoms (e.g., as a one-hot and / or as an integer), an aromatic flag, a flag that is part of a ring structure, and / or the number of attached implicit hydrogen atoms. For bonds, the node feature data may include the bond type (i.e., single bond, double bond, triple bond, aromatic bond). With dim x=d features The feature vector x can have the form x = (node type ,feat. atom ,feat. bond ), where node type Encode the node type, feat atom Encodes node feature data in the case of atoms (atomic features are preferably zero in the case of other node types like bonds and globals), and feat bond Encodes node feature data in the case of a key (key features are preferably zero in the case of other node types like atoms and globals). type can be a one-hot encoding of the node type (which is one of atom, bond, or global). The use of global nodes is optional. In the case where global nodes are used, i.e., in the case where the atom-bond-graph includes global nodes, the feature vector x can have the form x=(node type ,feat. atom ,feat. bond ,feat.global ), among which, feat global Node characteristic data of a global node is encoded (global characteristics, which are preferably zero in case of other node types like atoms and bonds). The node characteristic data may represent or include any parameters that are relevant to all other nodes.

[0061] For some elements of the feature vector, it is advantageous to provide the same information in different formats, for example, the number of atoms can be added to the feature vector both as an integer and as a one-hot. One-hot encoding generally makes it easier for neural networks to process specific atomic numbers in a special way, but removes metrological information (i.e., which atomic numbers are similar). For more continuous properties derived from atomic numbers (e.g., total molecular weight), it is more natural to process the atomic number directly (i.e., as an integer).

[0062] In short, we created n nodes Characteristic vector, an n nodes Eigenvector for the atom-bond-graph n nodes Each node in the node. From these feature vectors, we construct a dimension n nodes ×d features The characteristic matrix of , which can have the form (x 1 , x 2 , x 3 , ..., ), where x i is the eigenvector. In addition, the dimension n is calculated based on and / or including the distances between atoms and bonds of the molecular structure nodes ×n nodes The square distance matrix D is n nodes ×n nodes The matrix and if i=j, then the (i, j) element is equal to 0, and if i≠j, then the (i, j) element is equal to d ij 2, where each node is assigned an index, and i, j represents such a node index, and d ij is the distance between node i and node j. Therefore, the square distance matrix D includes the distances d between atoms and / or bonds of the molecular structure. ij The distance matrix D may be based on the metrological distances between nodes (derived from experimentally determined and / or simulated atomic coordinates) or on abstract distances between nodes derived purely from the atom-bond-graph without information about atomic coordinates. In the case of using global nodes, the squared distance matrix D may include values ​​for the distances between the global node and other nodes (e.g., nodes of type atom or bond). The distance between a global node and another node is preferably the same value c for all other nodes, i.e., if i or j represents a global node, then d ij 2=c. The value c is preferably 0.

[0063] Finally, the feature matrix is ​​fed into a trained neural network to generate predictions of the values ​​of the physical and / or chemical properties of the molecule, which neural network includes a transformer model as a machine learning model (as first described in Vaswani et al., “Attention Is All You Need”, 2017), while using a squared distance matrix D for self-attention decay.

[0064] Using the method according to the invention, physical properties and / or chemical properties such as HOMO (highest occupied molecular orbital) energy level, LUMO (lowest unoccupied molecular orbital) energy level, singlet energy level, triplet energy level, singlet-triplet energy gap, oscillator strength, dipole moment, photoluminescence quantum yield, delayed fluorescence lifetime and / or peak emission wavelength can be predicted.

[0065] The method uses a neural network, which includes: (as a transformer) having n layers > a trained transformer-encoder stack of 1 (preferably 6) transformer-encoder layers, the transformer-encoder layers using a squared distance matrix D for self-attention decay; and a trained input encoder (including the input encoder layer) constructed to produce a vector with dimension n nodes ×d model The input matrix is ​​taken as a matrix from dimension n nodes ×d features The feature matrix of the trained transformer-encoder stack is generated by model is the dimension of the transformer model, for example, d model = 128. Here, the trained transformer-encoder stack is constructed to produce dimension n nodes ×d model Each layer after the first of the n-layer transformer-encoder layers in the trained transformer-encoder stack uses as input the output of the previous layer, which is also of dimension n. nodes ×d model Applying the squared distance matrix D has the advantage of reintroducing the distance information that was lost due to the step of generating the feature matrix.

[0066] Furthermore, the neural network may include a trained projection layer, the trained projection layer including a self-attention layer, the self-attention layer being constructed to produce (using as input the matrix produced by the trained transformer-encoder stack (i.e., its output) the dimension d modelA vector of as output, and finally, a trained multilayer perceptron (MLP) is constructed to generate predicted values ​​of physical and / or chemical properties (as targets) from the output vector of the trained projection layer, for example in the form of scalars. Preferably, the MLP has one or two hidden layers and / or uses ReLU (rectified linear unit) activation and / or dropout. It should be noted that several sets of projection layers plus MLPs can be used in parallel, pointing to different targets (i.e., pointing to different physical and / or chemical properties). In other words, in the final layer of the neural network, the information extracted from the neural network is combined with an additional self-attention layer (in the form of a projection layer) and a feedforward network (MLP) for each target to predict a set of scalars for each molecular structure.

[0067] Preferably, the trained transformer-encoder stack consists of n layers of transformer-encoder layers each with a trained multi-headed attenuated self-attention (i.e., a set of multiple (e.g., 4) attenuated self-attention layers running in parallel), a trained feedforward network (transformer feedforward network; e.g., having a dimension of 512), two trained normalization layers (applying the function LayerNorm and preferably layer normalization according to “Layer Normalization” by Ba et al., 2016; one for the output of the transformer-encoder layer and one for the output of the feedforward network), and two residual connections around the transformer-encoder layer and the feedforward network (sublayer), allowing the implementation of LayerNorm(x+sublayer(x)), where x is the input of the corresponding sublayer, as described in Section S7 (Solution 1) of “A community-powered search of machine learning strategy space to find NMRproperty prediction models” by Vaswani et al., 2017 and Bratholm et al., 2020. It should be noted that the transformer does not differentiate between atoms and bonds. Therefore, the trained input encoder is used to transform the feature matrix consisting of feature vectors into a dimension n nodes ×d model and is used to generate a representation of each atom-bond-graph with the same dimensions.

[0068] Also preferably, the transformer-encoder layer utilizes an attention function for self-attention decay given by:

[0069]

[0070] Among them, Q is the query matrix composed of query vectors, K is the key matrix composed of key vectors, V is the value matrix composed of value vectors, and d kis the dimension of the key vector, D is the squared distance matrix, γ is a trainable parameter, and softmax is the softmax function (normalized exponential function) (as described in Section S7 (Solution 1) of Vaswani et al., 2017 and Bratholm et al., 2020). The matrices Q, K, V can be computed using the training matrices of the input matrices of the self-attention layers of the corresponding group of the transformer-encoder stack. In other words, Q, K, V are computed from the input matrix of the current self-attention layer via a trainable linear transformation, the input matrix of the current self-attention layer being the output of the input encoder of the first group of self-attention layers, otherwise the output of the previous self-attention layer. Modifying the matrix within the argument of the softmax function using the squared distance matrix D reduces the interaction strength between pairs of distant nodes of the atom-bond-graph. A trainable decay parameter γ can be used to scale this effect of the squared distance matrix D and can be initialized to 1. A value of 0 for the parameter γ allows attention to the entire graph, while for γ = ∞, attention is limited to directly adjacent nodes in the graph. Thus, distance-scaled self-attention is achieved.

[0071] In another advantageous embodiment, the method may use one or more additional input parameters as additional inputs to the trained multilayer perceptron. These additional input parameters may be physical parameters and / or chemical parameters predicted with the method according to the invention and / or physical parameters and / or chemical parameters predicted using a different method and / or measured physical parameters and / or chemical parameters and / or parameters describing the properties of the environment of the molecule under consideration. Since the available experimental data or simulation data are usually generated under different conditions (e.g. different emitter concentrations and / or host materials in the case of OLED emitters), this method allows increased flexibility and is also particularly beneficial when training neural networks. Therefore, in order to be able to use all available data from different experiments for training, certain conditions of the experiments can be used as additional input features to the multilayer perceptron (i.e. as additional input parameters). After training, the additional input parameters can be set to the desired target conditions.

[0072] In a preferred embodiment of the method, the square distance matrix D is calculated by using the distance derived from the atom-bond-graph, that is, the physical atomic position is not used for calculation. This distance between two nodes of the atom-bond-graph is an abstract distance. Preferably, the distance is calculated by dividing the edge distance on the atom-bond-graph (the number of edges on the shortest path between two nodes) by 2 and rounding down. For example, in the case of the structure "C1-s4-C2-d5-O3" (s4 is a single bond, d5 is a double bond, C1 and C2 are carbon atoms, O3 is an oxygen atom, and the number represents the node index), the distance d between C1 and d5 is d(C1, d5)=floor(3 / 2)=1. Consistent with this definition, when a global node is used, the distance between the global node and any other node can be defined as 0.

[0073] It was found that a square distance matrix D based on such abstract distances (rather than physical distances) is sufficient for most applications (particularly when simulating properties of emitter molecules used in OLEDs). Advantageously, this method takes less computational effort than using real atomic coordinates and requires less computer memory since integers can be used. Thus, it is possible to simulate physical / chemical properties based on abstract distances extracted from atom-bond-graphs without having 3D information available. This also greatly simplifies the proposed method since no additional simulations are needed to estimate atomic positions.

[0074] In a particularly advantageous embodiment of the method, transfer learning is used to initialize a portion of a trained neural network (e.g., a transformer of a trained neural network). It was found that, for initialization, a portion of another trained neural network suitable for performing one of the methods proposed above can be used when the other neural network has already been trained with suitable data (which may be more readily available). In particular, the transformer and the input encoder can be pre-trained using values ​​of physical and / or chemical properties as targets, which can be simulated separately (e.g., using DFT (density functional theory)). This allows the creation of a large amount of training data for training the transformer and the input encoder. Preferably, in order to train the final model, the newly initialized head of the neural network (i.e., the projection layer and the MLP layer) is first trained for a limited number of epochs at a constant learning rate with the pre-trained transformer and input encoder frozen. Subsequently, the transformer-encoder can be unfrozen and fine-tuned with the head using a cosine learning rate schedule.

[0075] According to the second aspect of the invention, the computer-implemented method for predicting the values ​​of physical and / or chemical properties of molecules may preferably be used for the automated design of molecules.

[0076] Specifically, the method for automatically designing molecules (preferably, emitter molecules and / or host molecules for OLEDs (particularly TADF (thermally activated delayed fluorescence) emitters)) uses a genetic algorithm and a set of starting molecular structures including at least one molecular structure as input, a set of mutation rules for specifying allowed mutations of the genetic algorithm, a scoring function for the molecular structure based on one or more predicted values ​​of the physical properties and / or chemical properties of the corresponding molecule, and a termination condition. In addition, the method provides the molecular structure of the designed molecule as an output. The method includes the following steps: providing the starting molecular structure of the group as a parent molecular structure population to the genetic algorithm; using the genetic algorithm to mutate at least one member of the population, using the genetic algorithm to partially or completely generate a child molecular structure population from the parent molecular structure population; and using the method according to the first aspect of the present invention to predict one or more values ​​of the physical properties and / or chemical properties of the molecule corresponding to the member of the child molecular structure population and based on this, calculating the scoring function value for each member of the child molecular structure population. Here, one or more values ​​of physical properties and / or chemical properties are predicted using a neural network using a transformer model with self-attention attenuation for molecular structures, which uses the molecular structure as input to predict one or more values ​​of the physical properties and / or chemical properties of the member, wherein the machine learning model is preferably designed as one of the models further described above. Subsequently, a termination condition is checked, and if the termination condition is not met, a new parent molecular structure population is generated, which consists of at least one member of the offspring molecular structure population having the best (possibly the highest or lowest) value of the scoring function among the offspring molecular structures.

[0077] Iterate the last steps (generating a population of offspring molecular structures, predicting the physical properties and / or chemical properties of the molecule and calculating the value of the scoring function, generating a new population of parent molecular structures) until the termination condition is met. Subsequently, one of the generated molecular structures is selected as output. The termination condition may depend on the value of the scoring function of the best molecular structure in the current generation, but may also or additionally depend on iterations (i.e., only a specific number of iterations are performed). Specifically, the termination condition may be defined as being met if the value of the scoring function of at least one member in the population of offspring molecular structures is greater than or less than or equal to a predetermined value and / or reaches a predetermined number of iterations.

[0078] In other words, the method optimizes a set of molecules (population) over a set of genetic optimization iterations (generations). In each generation, a set of parent molecules is selected based on a scoring function where the value of the scoring function (score) is to be maximized or minimized. The scoring function takes into account a set of physical and / or chemical properties estimated with the help of a machine learning model. The selected molecules are then modified by performing a set of random possible basic modifications (mutations). Finally, for the next generation, the process is repeated until a termination condition is met (e.g., a certain value of the scoring function).

[0079] After each generation of new molecular structures, molecular structures are assigned scalar values ​​(i.e., scores, also referred to as fitness) based on a scoring function. The score describes the degree of match between the molecular structure and the desired target standard, and is optimized by the algorithm by allowing highly scored molecular structures to remain and generating offspring with a higher probability. In order to calculate the score, a neural network with a transformer having self-attention decay for the molecular structure is used to predict one or more values ​​(given as scalar values) of physical properties and / or chemical properties, wherein the molecular structure can be provided as a SMILES string, for example. The user can define a scoring function (e.g., linear slope, Gaussian curve, etc.) by selecting a set of physical properties and / or chemical properties (features) of interest to the user. Each of these features can then be calculated and mapped to a feature score within a limited range, such as [0,1], with a user-constructable scoring function, which specifies the degree of fit between the feature value and the desired target value. Finally, each feature score can be combined via a user-constructable aggregation function to obtain the final score of each molecular structure.

[0080] Preferably, the variation using genetic algorithm is the variation based on fragment and / or the variation based on string.For the variation based on fragment, the molecular structure of molecule must be represented as the figure of interconnected molecular fragment, and for variation, the interconnected molecular fragment is added, removed or replaced.On the contrary, the variation based on string is based on the string representing molecular structure, and the string representing molecular structure is applied basic (pre-defined) conversion at some position.For example, the variation based on string can utilize SMARTS (SMILES arbitrary target specification).In this case, string is SMILES (simplified molecular linear input specification) string, and SMARTS pattern matching can be used to find the suitable position for conversion.

[0081] In more detail, for fragment-based variation, the molecular structure of a molecule is represented as a graph of interconnected molecular fragments. Here, a molecular fragment (also referred to as a fragment) is a representation of a molecular structure with a certain number of placeholder atoms (the symbols used in the graph mark the positions to which other fragments can be connected when the fragment is mutated), which are connected to exactly one other atom in the fragment and can be connected to placeholder atoms in different fragments. As placeholder atoms instead of purely abstract symbols, atoms of otherwise unused elements (e.g., atoms of the actinide series (e.g., Am, Bk)) can also be used.

[0082] In general, a graph representing a molecular structure can be constructed by merging fragments along connected placeholder atoms by adding single bonds between two atoms connected to the placeholder atoms in the connection and removing the placeholder atoms. A graph consisting of fragments is called a fragment graph. Therefore, a single fragment is also a fragment graph. For example, a fragment graph is generated by connecting the following three fragments with two Am-Bk connections as marked by double arrows:

[0083]

[0084] After removing the remaining Am atoms, the represented molecule is as follows:

[0085]

[0086] Fragment-based mutations can be constructed by specifying a set of fragments (e.g., in the form of a SMILES string) with placeholder atoms as described above and defining a positive weight for each fragment, which specifies the relative probability of frequently picking the fragment in the mutation. Additionally, a set of connection rules can be specified for each placeholder atom type (i.e., a list of rules that specify a list of placeholder atom types to which the placeholder atom type can be connected for each placeholder atom type). For example, in the case where Am atoms, Bk atoms, and U atoms act as placeholder atoms in a set of fragments, the connection rule may be that Am atoms can only be connected to Am atoms or Bk atoms, and Bk atoms can only be connected to Am atoms or Bk atoms (which can be expressed as "(Am, Bk)"), but U atoms can only be connected to other U atoms. The use of placeholder atoms can only allow specific connections between certain fragments and / or groups of fragments.

[0087] To mutate the structure of a molecule using fragment-based mutagenesis, several operations are possible. Possible mutations include:

[0088] Addition of leaf fragments: Pick a random fragment with a random free connection position and add a random fragment that can be connected to that connection position according to the connection rules and connect it to the fragment graph. Since it is only connected to a single other fragment, the added fragment is called a leaf fragment. For example:

[0089]

[0090] Variant

[0091]

[0092] Leaf fragment removal: Remove random fragments from the fragment graph that are only connected to a single fragment (i.e., leaves in the fragment graph), for example:

[0093]

[0094] Variant

[0095]

[0096]

[0097] Addition of internal fragments: Pick random connections (random connections connecting multiple fragments) and insert random fragments at the connection positions that can be connected to the corresponding placeholder atoms, for example:

[0098]

[0099] Variant

[0100]

[0101] Removal of internal fragments: Remove random fragments from the fragment graph that are connected to two fragments that can be connected according to the connection rules, for example:

[0102]

[0103] Variant

[0104]

[0105]

[0106] Replacement of fragments: A random fragment is replaced by a random fragment with at least the amount of each type of placeholder atom to replace the currently connected fragment (e.g., if the fragment to be replaced is connected at two Am placeholder atoms and one Bk placeholder atom, a fragment with at least two Am placeholder atoms and one Bk placeholder atom is selected). The new fragment is connected to the fragment graph at a random compatible position, and the current fragment is removed from the fragment graph. For example:

[0107]

[0108] Variant

[0109] Crossover: Instead of normal mutation, so-called "crossover mutation" can also be performed with a defined probability. Crossover mutation uses two fragments, i.e., a second individual is sampled from the current library of parent structures. The two parent molecules (the first and second parent) are then combined by first splitting each parent molecule at random junctions of the same type (e.g., between the same placeholder atom types) and then rejoining compatible molecule parts from each parent molecule. For example, a daughter molecule is generated from the circled molecule parts of the first and second parents:

[0110]

[0111] Combined into

[0112]

[0113] In all these operations, in the case of random selection, instead of uniformly distributed random selection, weighted random selection is also possible. Usually, when the molecular structure is varied, one of these operations is selected randomly or weighted randomly.

[0114] In the following, as an example, a possible fragment having Am atoms, Bk atoms and U atoms serving as placeholder atoms (connecting atoms) is shown:

[0115] Eight donor fragments with Am linking atoms:

[0116]

[0117] Four receptor fragments with Bk linking atoms:

[0118]

[0119] Two spacer fragments with a U connecting atom:

[0120]

[0121] These fragments can be used in the method for automatic design of molecules using fragment-based variation according to the invention and are particularly advantageous for the design of TADF emitters. In this case, for example, the connection rule can be (Am, Bk), (Am, U), (Bk, U), (U, U), i.e., donors can be connected to acceptors or spacers, acceptors can be connected to donors or spacers, and spacers can also be connected to themselves.

[0122] Replace fragment-based mutations with string-based mutations, such as those based on SMARTS. Instead of tracking fragment graphs, string-based mutation strategies represent molecular structures as single strings, such as SMILES strings. However, as in the case of fragment-based mutations, the string may contain additional markers that are removed for output and scoring (e.g., from actinides, such as in the form of isotope labels and / or placeholder atoms (also referred to as connecting atoms)). These markers can be used to find specific positions introduced by previous mutations, thereby also allowing fragment-based mutations to be defined using string-based methods. Compared to fragment-based methods, string-based mutation methods allow for the definition of more fine-grained basic molecular operations, which are composed of adding / removing bonds, changing atom types / bond types, exchanging atom types between neighboring atoms, adding / removing substructures between the edges or existing bonds of a molecule, transferring a substructure connected to an atom to a neighboring atom, and replacing a group of atoms with another group of atoms. In short, string-based mutations can be viewed as a more general variant of fragment-based mutations.

[0123] In addition, for most applications, it is advantageous to use tournament selection and / or elitism for genetic algorithms. In order to use tournament selection to produce a new generation of parent molecular structures (parent selection), a specific number of "tournaments" are carried out, and each tournament is carried out by randomly selecting a limited number of molecular structures of the current daughter molecular structure population or (in the first iteration) selecting the starting molecular structure. For each game, a certain number of molecular structures with the highest score in the corresponding game are selected to form a set of parent molecular structures of the next generation, that is, those molecular structures for variation. Eliteism can be used in addition. Here, the best scoring molecular structures of a limited number are maintained without variation in the current daughter molecular structure population or (in the first iteration) starting molecular structure. On the contrary, they are directly copied to the next generation, that is, they are automatically included in the next daughter molecular structure population.

[0124] In summary, the best scoring molecular structures (from elitism) and the molecular structures generated (through mutation, e.g. using tournament selection) form the population of parent molecular structures for the next generation.

[0125] According to another aspect of the invention, a system comprising at least one processor and a storage device is configured to perform a computer-implemented method according to one of the methods of the invention. The computer-implemented method as proposed above may be implemented as a computer program executed by such a system.

[0126] According to another aspect of the present invention, a neural network is used in a method according to any one of the computer-implemented methods proposed above, the neural network comprising: a transformer configured to perform self-attention attenuation using a squared distance matrix D; one or more projection layers, including a self-attention layer configured to use a matrix generated by the transformer as input to generate a vector as an output; and one or more multilayer perceptrons, using the output of one of the one or more projection layers as input, the neural network can be trained using a method comprising the following steps: First, a data set including molecular structures of molecules and values ​​of physical properties and / or chemical properties of the molecules (as ground truth) is provided, wherein the physical properties and / or chemical properties are assigned to one of the multilayer perceptrons. The molecular structure of each molecule is converted into an atom-bond-graph including at least the atoms of the molecular structure and the bonds of the molecular structure as nodes. For all n of the atom-bond-graphs, nodes For each node in the node, extract dimension d features The feature vector includes the node type, which is preferably one of atom, bond and global, and additional data about the node (node ​​feature data) in the case where the node type is atom or bond. nodes The dimension n of the feature vector nodes ×d features Calculates the dimension n of the distances between atoms and bonds based on and / or including the molecular structure nodes ×n nodes The squared distance matrix D of the multilayer perceptron assigned to the physical and / or chemical properties is obtained. Finally, the output values ​​of the multilayer perceptron assigned to the physical and / or chemical properties are generated, and the neural network is adjusted based on comparing the output values ​​of the multilayer perceptron with the values ​​of the physical and / or chemical properties assigned to the multilayer perceptron. In order to compare the output with the ground truth, a loss function is usually used. These steps can be repeated for a certain number of epochs with different data sets including molecular structures of molecules and values ​​of physical and / or chemical properties until the neural network has been fully trained.

[0127] In an advantageous embodiment of the method, the neural network comprises at least two multilayer perceptrons and the steps as described above are repeated for different data sets comprising molecular structures of molecules and values ​​of different physical and / or chemical properties, the different physical and / or chemical properties being assigned to different multilayer perceptrons. This embodiment is based on the surprising finding that the training of the main part of the neural network (in particular the transformer) as used in the method according to the first and second aspects of the invention can be performed by using the data as ground truth for the different physical and / or chemical properties when using a plurality of multilayer perceptrons as separate outputs of the neural network (i.e. each physical and / or chemical property has to be assigned to a perceptron).

[0128] Similarly, a portion of a neural network (e.g., a transformer) may be initialized using a corresponding portion of another trained neural network suitable for use in a method according to any one of the first and second aspects of the invention. As already mentioned, it was found that for initialization, a portion of another trained neural network may be used when the other trained neural network has already been trained with suitable data (which may be easier to obtain and / or generate). In this way, a large amount of training data may be generated. Preferably, in order to use such a pre-trained portion of another trained neural network to train a model after initialization, a newly initialized head of a neural network comprising a multilayer perceptron is first trained with the pre-trained portion for a limited number of epochs at a constant learning rate. Subsequently, the remainder of the neural network may be unfrozen and fine-tuned with the head using a cosine learning rate schedule. For these training methods, a system comprising at least one processor and a storage device is used, i.e., at least some (preferably all) steps of the described training methods are performed and / or supported by means of the system. In particular, the training method may be a computer-implemented method.

[0129] Figure 1 A possible structure of a software program comprising a neural network which can be used in the method according to the invention is shown in a schematic manner. In addition, the figure also shows the basic method according to the first aspect of the invention.

[0130] An atom-bond-graph 100 (generated, for example, from a SMILES string) describing a molecular structure is provided as input to the software program for which values ​​of physical and / or chemical properties should be predicted. The atom-bond-graph 100 is used by a graph feature extractor unit 120, which is a unit of the program that extracts, for each node (atom, bond, global) of the atom-bond-graph 100, a feature vector comprising the node type of the node plus further data about the node in case of an atom or a bond, and generates a feature vector of dimension n nodes ×d features The feature matrix of features n nodes Via the input encoder layer 130, the feature matrix is ​​used as input to a trained input encoder, which produces a feature vector with dimension n nodes ×d model The matrix is ​​composed of n layersA transformer-encoder stack consisting of transformer-encoder layers 150 is used. Each of these transformer-encoder layers 150 includes a trained multi-head attenuated self-attention 152, a trained transformer feedforward neural network 156, two layers of normalization 154, 158, and two residual connections 142, 144, which connect the input of the transformer-encoder layer 150 with the first layer of normalization 154 and the input of the feedforward neural network 156 with the second layer of normalization 158.

[0131] The multi-head decay self-attention 152 consists of multiple (e.g., 4) parallel decay self-attention layers. The decay self-attention can be implemented by using a function of the form shown in equation (1).

[0132] The required matrix D used (arrow 140) is of dimension n calculated from the atom-bond-graph 100 nodes ×n nodes The square distance matrix of , and may also be calculated and provided by the feature extractor unit 120 of the software, for example.

[0133] Transformer-encoder stack produces dimension n nodes ×d model , which is projected to dimension d by one or more trained projection layers 160a, 160b (one projection layer per target, including the self-attention layer) model Vectors of. In this figure, two projection layers 160a, 160b are shown, but more projection layers (190) are possible depending on the number of targets 180a, 180b. These vectors are used by MLPs 170a, 170b, which ultimately calculate targets 180a, 180b (i.e., values ​​of physical and / or chemical properties as scalar values) based on these vectors and optionally based on one or more additional input parameters 110 (e.g., properties of the host molecule, concentration, solvent). As in the case for the projection layers, the number of MLPs 170a, 170b depends on the number of targets 180a, 180b and can be more than the two shown in the figure.

[0134] Figure 2The flow chart used in the method according to the second aspect of the invention is shown. After the initialization 200 of the genetic algorithm, the genetic algorithm includes providing at least one molecular structure as the starting molecular structure and other required parameters (mutation rules, scoring functions, termination conditions) (for example, in the form of a configuration file), and in the parent selection step 220, the starting molecular structure is defined as the parent molecular structure. Subsequently, in step 240, a fragment-based mutation or a string-based mutation is applied to produce a population of progeny molecular structures. In step 260, at least for these molecular structures, at least one value in the physical property and / or chemical property is predicted as a scalar value using the method according to the first aspect of the invention, and the value of the scoring function is calculated using the predicted value of the physical property and / or chemical property. Subsequently, in step 270, the termination condition is checked, which may depend on the calculated value of the scoring function.

[0135] If the termination condition (arrow 210) is not met, a new set of parent molecular structures is generated in step 220. For this purpose, for example, tournament selection can be used. The step 220 of generating new parents (parent molecular structures), the step 240 of generating a population of daughter molecular structures (using mutations), the step 260 of predicting the physical properties and / or chemical properties of the molecules and determining the scores, and the step 270 of checking the termination condition are repeated (these steps form one iteration 290 of the process) until the termination condition is met. In the case where the termination condition is met, in step 280, one or more generated molecular structures (which are usually the highest-scoring molecular structures generated) are provided.

[0136] Figure 3 A system 300 for performing a method for predicting values ​​of physical and / or chemical properties and / or for designing molecules and / or for training neural networks according to the invention is shown. The system 300 comprises at least one processor 340 connected to at least one storage device 350 and may comprise or may be a computer device (e.g., a personal computer or a mobile device). The system 300 or parts of the system 300 may also be a distributed computing system (e.g., a cloud computing system).

[0137] The processor 340 of the system 300 may be, for example, a microprocessor, a central processing unit (CPU), an application specific integrated circuit (ASIC), a graphics processing unit (GPU), a tensor processing unit (TPU), or a field programmable gate array (FPGA). The storage device 350 used may be, for example, a random access memory (RAM), a hard disk drive (HD), a solid state drive (SSD), a flash memory, a compact disk (CD), or a digital video disk (DVD). The system may also include one or more display devices and one or more controllers (e.g., a keyboard, a computer mouse, and / or a touch screen).

[0138] The system 300 can be configured to perform the method for predicting the value of a physical property and / or a chemical property according to the invention and in this case can receive as input 310 (e.g. as a SMILES string) a molecular structure of a molecule in a computer-readable form, for example provided by a human operator or a database 380. This input 310 is converted by the system 300 into an atom-bond-graph 100, which includes the atoms of the molecular structure and the bonds of the molecular structure as n atoms-bond-graph 100. nodes The system 300 can also be configured to directly receive such an atom-bond-graph 100 as input 310. Furthermore, the system 300 is also preferably configured to provide a predicted value of a physical property and / or chemical property as output 320 after performing the method according to the invention for predicting the value of a physical property and / or chemical property.

[0139] Alternatively or additionally, the system 300 may also be configured to perform the method for automated design of molecules according to the invention, and in this case may receive as input 310 a set of starting molecular structures (e.g., as SMILES strings) including at least one molecular structure, provided, for example, by a human operator or a database 380, a set of mutation rules for specifying allowed mutations of the genetic algorithm, a scoring function for the molecular structure based on one or more predicted values ​​of the physical properties and / or chemical properties of the corresponding molecule, and a termination condition. The system 300 may also be configured to provide as output 320 the molecular structure of the molecule designed by the method.

[0140] Alternatively or additionally, the system 300 can also be configured to perform the method for training a neural network used in the method according to the invention. In this case, the system 300 is designed to receive input training data provided, for example, by a human operator or a database 380, which includes molecular structures of different molecules and values ​​of physical and / or chemical properties of the molecules as input 310.

[0141] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items and may be abbreviated as " / ".

[0142] Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent a description of a corresponding method, wherein a block or device corresponds to a method step or a feature of a method step. Similarly, aspects described in the context of a method step also represent a description of an item or feature of a corresponding block or corresponding apparatus.

Claims

1. A computer-implemented method for predicting the value of a physical property and / or chemical property of a molecule, said method using as input a molecular structure of said molecule, said molecular structure of said molecule being an atom-bond-graph, said atom-bond-graph comprising at least the atoms of said molecular structure and the bonds of said molecular structure as nodes, The method provides as output a predicted value of the physical property and / or the chemical property, the method The following steps are involved: a) for all n of the atom-bond-graph nodes Each node in the node extracts dimension d features a feature vector of , the feature vector comprising a node type, the node type being one of atom, bond, and global, and the feature vector comprising further data about the node if the node type is atom or bond; b) Generate the extracted n nodes The dimension n of the feature vector nodes ×d features The feature matrix of c) calculating the dimension n based on and / or including the distances between atoms and bonds of the molecular structure nodes ×n nodes The square distance matrix D; d) applying a trained neural network including a transformer to the feature matrix to generate a predicted value of the physical property and / or the chemical property of the molecule, the transformer using the squared distance matrix D for self-attention decay, Wherein, the neural network comprises: The trained input encoder is constructed from dimension n nodes ×d features The feature matrix of dimension n is generated nodes ×d model The input matrix of model is the dimension of the transformer model; With n layers A trained transformer-encoder stack of >1 transformer-encoder layer, as the transformer, using the squared distance matrix D for self-attention decay, wherein the trained transformer-encoder stack is constructed to use the input matrix of the input encoder as input to produce dimension n nodes ×d model The matrix is ​​output as A trained projection layer, comprising a self-attention layer configured to use the matrix produced by the trained transformer-encoder stack as input to produce a matrix of dimension d model The vector is taken as output; A trained multi-layer perceptron is configured to generate the predicted values ​​of the physical property and / or the chemical property from the output vector of the trained projection layer.

2. The computer-implemented method of claim 1, It is characterized in that n layers Each of the trained transformer-encoder layers comprises a trained multi-head attenuated self-attention, a trained feedforward network, two trained layer normalizations, and two residual connections.

3. A computer-implemented method according to claim 1 or 2, It is characterized in that Additional input parameters are used as additional inputs to the trained multilayer perceptron.

4. A computer-implemented method according to any one of the preceding claims, It is characterized in that The physical property and / or the chemical property is one of HOMO energy level, LUMO energy level, singlet energy level, triplet energy level, singlet-triplet energy gap, oscillator strength, dipole moment, photoluminescence quantum yield, delayed fluorescence lifetime and peak emission wavelength.

5. A computer-implemented method according to any one of the preceding claims, It is characterized in that The square distance matrix D is calculated by using the abstract distances derived from the atom-bond-graph.

6. A computer-implemented method according to any one of the preceding claims, It is characterized in that A portion of the trained neural network is initialized by another transformer of another trained neural network adapted to perform the method according to any of the preceding claims, the portion being the transformer of the trained neural network.

7. A computer-implemented method for automatically designing molecules, preferably emitter molecules for use in OLEDs, in particular TADF emitters, the method using: a genetic algorithm and having as input a set of starting molecular structures comprising at least one molecular structure, a set of mutation rules for specifying allowed mutations of the genetic algorithm, a scoring function for the molecular structure based on one or more predicted values ​​of the physical and / or chemical properties of the corresponding molecule, and a termination condition, The method provides as output the molecular structure of the designed molecule, the method The following steps are involved: a) providing the set of starting molecular structures as a parent molecular structure population to the genetic algorithm; b) using the genetic algorithm to partially or completely generate a progeny molecular structure population from the parent molecular structure population by mutating at least one member of the parent molecular structure population; c) predicting one or more values ​​of the physical property and / or the chemical property of the molecule corresponding to a member of the progeny molecular structure population using a method according to any one of claims 1 to 6 and calculating the value of a scoring function for each member of the progeny molecular structure population based thereon, wherein the one or more values ​​of the physical property and / or the chemical property are predicted using a neural network, the neural network using a transformer with self-attention attenuation on molecular structure, the transformer using the molecular structure as input to predict one or more values ​​of the physical property and / or the chemical property of the member; d) checking whether the termination condition is satisfied, and if the termination condition is not satisfied, generating a new parent molecular structure population, wherein the new parent molecular structure population is composed of at least one member of the daughter molecular structure population having the best value of the scoring function among the daughter molecular structures; e) iterating step b, step c and step d until the termination condition is met; f) selecting as output the molecular structure produced in step b or any iteration thereof.

8. The computer-implemented method of claim 7, It is characterized in that If the scoring function of at least one member of the progeny molecular structure population is greater than or less than or equal to a predefined value and / or reaches a predefined number of iterations of step b, step c, or step d, the termination condition is met.

9. A computer-implemented method according to claim 7 or 8, It is characterized in that The mutation using the genetic algorithm is segment-based mutation and / or string-based mutation.

10. A computer-implemented method according to any one of claims 7 to 9, It is characterized in that The genetic algorithm uses tournament selection and / or elitism.

11. A method for training a neural network for use in a method according to any one of claims 1 to 10, in, The method uses a system including at least one processor and a storage device, and the neural network includes a transformer, one or more projection layers, and one or more multilayer perceptrons, wherein the transformer is configured to perform self-attention attenuation using a square distance matrix D, the one or more projection layers include a self-attention layer, the self-attention layer is configured to use a matrix generated by the transformer as an input to generate a vector as an output, and the one or more multilayer perceptrons use the output of one of the one or more projection layers as an input, The method comprises the following steps: a) providing a data set comprising molecular structures of molecules and values ​​of physical and / or chemical properties of said molecules, wherein said physical and / or said chemical properties are assigned to one of said multilayer perceptrons; b) converting the molecular structure of each molecule into an atom-bond-graph including at least atoms of the molecular structure and bonds of the molecular structure as nodes; c) For all n of the atom-bond-graph (100) nodes For each node in the node, extract dimension d features a feature vector of , the feature vector comprising a node type, the node type being one of atom, bond, and global, and the feature vector comprising further data about the node if the node type is atom or bond; d) generating the n extracted by nodes The dimension n of the feature vector nodes ×d features The feature matrix of e) calculating the dimension n based on and / or including distances between atoms and bonds of the molecular structure nodes ×n nodes The square distance matrix D of f) generating an output value of the multilayer perceptron assigned to the physical property and / or the chemical property; and g) adjusting the neural network based on comparing the output value of the multilayer perceptron with the value of the physical property and / or the chemical property assigned to the multilayer perceptron.

12. The method according to claim 11, in, The neural network comprises at least two multilayer perceptrons, characterised in that steps a to g are repeated for different data sets comprising the molecular structure of the molecules and values ​​of different physical and / or chemical properties, the different physical and / or chemical properties being assigned to different multilayer perceptrons.

13. The method according to claim 11 or 12, It is characterized in that Steps a to g are repeated for different data sets comprising different molecular structures of the molecules and different values ​​of the physical properties and / or the chemical properties of the molecules.

14. The method according to any one of claims 11 to 13, It is characterized in that A part of the neural network is initialized using another transformer of another trained neural network suitable for use in the method according to any one of claims 1 to 10, the part being the transformer.

15. A system comprising a processor and a storage device, in, The system is configured to perform the computer-implemented method according to any one of claims 1 to 10 and / or the method for training a neural network according to any one of claims 11 to 14. 16 . A computer program having a program code for executing the method according to claim 1 , when the computer program is executed by the system according to claim 15 .

Citation Information

Cited By

  • Prediction analysis method and device for emission spectrum curve

    CN120183564A

  • A method and apparatus for predictive analysis of emission spectral profiles

    CN120183564B