Method for optimizing molecular properties

Through the combination of genetic algorithm and self-attention decay transformer neural network, OLED emitter molecules are automatically designed, which solves the problem of low design efficiency in the existing technology, realizes a method of quickly optimizing the molecular structure, and improves design efficiency.

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

Patent Information

Application Number
CN202380019910.1
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

Designing emitter molecules for OLEDs requires optimizing their physical and chemical properties, but existing technology methods are time-consuming and inefficient, making it difficult to quickly synthesize and measure a sufficient number of molecules to optimize their properties.

Method used

A genetic algorithm combined with a self-attention decay transformer neural network is used to automatically design the molecular structure. The molecular structure is iteratively optimized through mutation rules and scoring functions until the termination conditions are met and the optimized molecular structure is generated.

Benefits of technology

It realizes the automated design and optimization of molecules based on their physical and chemical properties, significantly improves design efficiency, and can quickly generate molecular structures that meet specific application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613875A
    Figure CN118613875A
Patent Text Reader

Abstract

The invention relates to a computer-implemented method for the automated design of 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 comprising at least one molecular structure, a set of variation rules for specifying allowed variations of the genetic algorithm, a scoring function of the molecular structures based on one or more predicted values of physical and / or chemical properties of the respective molecule, and a termination condition, the method provides the molecular structure of the designed molecule as output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technology relates to the field of molecular design, in particular emitter molecules for application in OLEDs, and to a computer-implemented method for automated molecular design, a computer program having a program code for performing the method, a method for training a neural network used in the method, and a system configured to perform the method and / or the training of such a neural network. Background Art

[0002] Organic electroluminescent devices containing one or more organic-based light-emitting layers, such as, for example, 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, for example, 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 manufactured in particularly thin layers.

[0003] For many applications, including the design of emitter molecules for OLEDs, molecules with physical and / or chemical properties optimized for their respective applications are desired. However, due to the large number of theoretically possible molecular structures, it is often extremely 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 designing molecules optimized with respect to their physical and / or chemical properties. Summary of the invention

[0004] Technical issues The object of the present invention is to provide a method for the automated design and optimization of molecules for use as materials for a specific purpose, based on their physical and / or chemical properties. Within 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 individual molecules and / or of (molecular) materials consisting of a plurality of these molecules.

[0005] Solution to the problem An embodiment is a computer-implemented method for automating the design of 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 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, and provides as output the molecular structure of the designed molecule, the method comprising the following steps: a) providing a set of starting molecular structures as a parent molecular structure population to a genetic algorithm; b) generating a progeny molecular structure population partially or completely from the parent molecular structure population using a genetic algorithm by mutating at least one member of the parent molecular structure population using a genetic algorithm; c) predicting one or more values ​​of physical properties and / or chemical properties of molecules corresponding to members of the progeny molecular structure population, and calculating the value of a scoring function for each member of the progeny molecular structure population based thereon, wherein one or more values ​​of a physical property and / or a chemical property are predicted using a neural network using a transformer with self-attention decay to molecular structure, the transformer using the molecular structure as input to predict one or more values ​​of a physical property and / or a chemical property of a member; d) checking whether the termination condition is met, and if the termination condition is not met, 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 a termination condition is satisfied; f) selecting as output the molecular structure generated in step b or any iteration thereof.

[0006] The computer-implemented method is characterized in that the termination condition is met 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 predetermined value and / or a predetermined number of iterations of step b, step c, and step d is reached.

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

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

[0009] The computer-implemented method is characterized in that, for predicting one or more values ​​of a physical property and / or a chemical property, a computer-implemented method for predicting values ​​of a physical property and / or a chemical property of a molecule is used, the method for predicting values ​​of a physical property and / or a chemical property using as input a molecular structure of the molecule as an atom-bond-graph, the atom-bond-graph comprising at least atoms of the molecular structure and bonds of the molecular structure as nodes, the method providing as output a predicted value of the physical property and / or the chemical property, the method comprising the following steps: 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 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; b) Generate the extracted n nodes The dimension of the feature vector is n nodes ×d features The feature matrix of 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; d) applying a trained neural network including a transformer to the feature matrix to generate predictions of values ​​of physical and / or chemical properties of the molecule, the transformer using a squared distance matrix D for self-attention decay, Among them, the neural network includes: The trained input encoder is configured to extract nodes ×d features The feature matrix generated by 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 a transformer with self-attention decay using a squared distance matrix D, where the trained transformer-encoder stack is configured to use the input matrix of the input encoder as input to generate a n-dimensional nodes ×d model The matrix is ​​output as A trained projection layer, comprising a self-attention layer configured to generate a matrix of dimension d using the matrix generated by the trained transformer-encoder stack as input model As output, A trained multilayer perceptron is configured to generate predictions of values ​​of physical and / or chemical properties from vectors output by the trained projection layer.

[0010] The computer-implemented method is characterized in that n 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.

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

[0012] 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 / or peak emission wavelength.

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

[0014] The computer-implemented method is characterized in that a part of a trained neural network, for example 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.

[0015] An embodiment is a method for training a neural network for use in a computer-implemented method, wherein 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 attention decay using a squared distance matrix D, the one or more projection layers include an attention layer, the attention layer is configured to use a matrix generated by the transformer as input to generate a vector as output, and the one or more multilayer perceptrons use an output of one of the one or more projection layers as input, the method comprising the steps of: 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; 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 Each node in the node extracts dimension d featuresa 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; d) Generate the extracted n nodes The dimension of the feature vector is n nodes ×d features The feature matrix of e) 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; f) generating output values ​​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 values ​​of the multilayer perceptron with the values ​​of the physical properties and / or chemical properties assigned to the multilayer perceptron.

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

[0017] The method is characterized in that 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.

[0018] The method is characterized in that a part of the neural network, such as a transformer, is initialized using another transformer of another trained neural network suitable for use in the computer-implemented method.

[0019] A system comprising a processor and a storage device, wherein the system is configured to perform the method.

[0020] A computer program having a program code for executing the method.

[0021] Advantageous Effects of the Invention The present invention provides a method for automatically designing and optimizing molecules for use as materials for specific purposes based on the physical and / or chemical properties of the molecules. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In the following, specific embodiments are described with reference to the accompanying drawings, in which: 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, Figure 2The method according to the second aspect of the invention is shown as a flow chart, and Figure 3 is a schematic diagram of a system for carrying out the method for predicting the value of a physical and / or chemical property, the method for designing molecules and the method for training a neural network according to the invention. DETAILED DESCRIPTION

[0023] The present invention relates to a computer-implemented method for automating the design of molecules (preferably emitter molecules for OLEDs, in particular TADF emitters), the method using a genetic algorithm and taking 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 providing as output the molecular structure of the designed molecule, comprising the following steps: providing the set of starting molecular structures as a parent molecular structure population to the genetic algorithm (220); generating a child molecular structure population (240) from the parent molecular structure population partially or completely by using the genetic algorithm to mutate at least one member of the population; predicting the physical properties of the molecules corresponding to the members of the child molecular structure population and / or one or more values ​​of a chemical property, and based thereon calculate the value of a scoring function for each member of a population of descendant molecular structures (260), 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 for the molecular structure, the transformer using the molecular structure as input to predict the one or more values ​​of the physical property and / or the chemical property of the member; checking whether a termination condition is satisfied (270), if the termination condition is not satisfied (210), generating a new population of parent molecular structures (220), the new population of parent molecular structures being composed of at least one member of the population of descendant molecular structures having the best value of the scoring function among the descendant molecular structures; iterating these steps until the termination condition is satisfied (210); and selecting the generated molecular structure as output (280).

[0024] Invention method 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.

[0025] According to the first aspect of the present invention, the computer-implemented method for predicting the values ​​of physical and / or chemical properties of a molecule may preferably be used for automating the design of molecules.

[0026] In particular, the method for automating the design of molecules, preferably emitter molecules and / or host molecules for OLEDs, in particular TADF (thermally activated delayed fluorescence) emitters, uses a genetic algorithm and takes as input a set of starting molecular structures comprising at least one molecular structure, a set of mutation rules for specifying the 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 molecules, and a termination condition. In addition, the method provides as output the molecular structure of the designed molecule. The method comprises the steps of providing the set of starting molecular structures as a parent molecular structure population to the genetic algorithm; generating a child molecular structure population partially or completely from the parent molecular structure population using the genetic algorithm by mutating at least one member of the population using the genetic algorithm; and predicting one or more values ​​of the physical properties and / or chemical properties of the molecules corresponding to the members of the child molecular structure population, and calculating the value of the scoring function for each member of the child molecular structure population based thereon. Here, one or more values ​​of physical properties and / or chemical properties are predicted by a neural network, the neural network using a transformer model with self-attention decay on the molecular structure, the transformer model using 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 below. Then, the termination condition is checked, and if the termination condition is not met, a new parent molecular structure population is generated, the new parent molecular structure population consisting of at least one member of the offspring molecular structure population having the best (which may be the highest or lowest) value of the scoring function among the offspring molecular structures.

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

[0028] 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 (mutated) by making a set of random feasible basic modifications. Finally, for the next generation, the process is repeated until a termination condition is met, e.g., a specific value of the scoring function.

[0029] After each generation of new molecular structures, a scalar value (score, also called fitness) is assigned to the molecular structure based on a scoring function. The score describes how well the molecular structure matches the desired target criteria, and is optimized by the algorithm by allowing high-scoring molecular structures to survive and generate offspring with a higher probability. To calculate the score, a neural network with a transformer with self-attention decay for the molecular structure is used to predict the value of one or more physical properties and / or chemical properties (given as a scalar value), where the molecular structure can be provided, for example, as a SMILES string. The user can define a scoring function (e.g., a linear slope, a Gaussian curve, or the like) by selecting a set of physical properties and / or chemical properties (features) that the user is interested in. Each of these features can then be calculated and mapped to a feature score of the degree of fit of its specified feature value to the desired target value within a defined range using a user-configurable scoring function, for example, [0,1]. Finally, the individual feature scores can be combined to obtain the final score for each molecular structure via a user-configurable aggregation function.

[0030] Preferably, the mutation using the genetic algorithm is a fragment-based mutation and / or a string-based mutation. For fragment-based mutation, the molecular structure of the molecule must be represented as a graph of interconnected molecular fragments, which are added, removed or replaced for mutation. In contrast, string-based mutation is based on a string representing the molecular structure, and a basic (predetermined) transformation is applied to the string representing the molecular structure at a specific position. For example, string-based mutation can utilize SMARTS (SMILES arbitrary target specification). In this case, the string is a SMILES (simplified molecular input line entry specification) string, and SMARTS pattern matching can be used to find a suitable position for transformation.

[0031] In more detail, for fragment-based mutations, 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 plurality of placeholder atoms (symbols used in the graph to mark positions to which other fragments can be connected when this fragment is mutated) that are connected to exactly one other atom of 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, such as atoms of actinides (e.g., Am, Bk) can also be used.

[0032] 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 using two Am-Bk connections as marked with double arrows: (F1).

[0033] After removing the remaining Am atoms, the represented molecule is as follows: (F2).

[0034] Fragment-based mutations can be configured by specifying a set of fragments (e.g., in the form of a SMILES string) having placeholder atoms as described above and defining a positive weight for each fragment that specifies the relative probability of frequently picking the fragment in the mutation. In addition, a set of connection rules can be specified for each placeholder atom type, that is, 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 can 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 makes it possible to allow only specific connections between specific fragments and / or sets of fragments.

[0035] To mutate the structure of a molecule using fragment-based mutagenesis, several manipulations are possible. Possible mutations include: Adding a leaf fragment: A random fragment with a random free connection position is picked and a random fragment that can be connected to that connection position according to the connection rules is added and connected to the fragment graph. Since the added fragment is only connected to a single other fragment, the added fragment is called a leaf fragment. For example: (M1) Variant (M2).

[0036] Remove leaf fragments: Remove random fragments from the fragment graph that are only connected to a single fragment (i.e., leaves in the fragment graph), for example: (M3) Variant (M4).

[0037] Add internal fragments: Select Random connection (random connection of multiple fragments) and insert a random fragment at the connection position that can be connected to the corresponding placeholder atom, e.g. (M5) Variant (M6).

[0038] Remove 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: (M7) Variant (M8).

[0039] Replace fragment: A random fragment is replaced by a random fragment with at least the amount of each type of placeholder atom that replaces 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 current fragment is removed from the fragment graph and the new fragment is connected to the fragment graph at a random compatible position. For example: (M9) Variant (M10).

[0040] Crossover: Instead of normal mutation, it is also possible to perform so-called "crossover mutation" with a defined probability. Crossover mutation uses two fragments, i.e., a second individual is sampled from the current pool of parent molecular structures. Then, daughter molecules are obtained by first splitting each of the two parent molecules (first and second) at random junctions of the same type (e.g., between the same placeholder atom types) and then rejoining compatible molecular parts from different parents. For example (daughter molecules are generated from the circled molecular parts of the first and second parents): (M11; first parent) (M12; second parent) Combined into (M13; sub).

[0041] In all of these operations, when random selection is performed, weighted random selection rather than uniformly distributed random selection is also feasible. Typically, when mutating a molecular structure, one of these operations is chosen randomly or weighted randomly.

[0042] In the following, as an example, a feasible fragment having an Am atom, a Bk atom, and a U atom serving as placeholder atoms (connector atoms) is shown: Eight donor fragments with Am linker atoms: (F3) Four receptor fragments with Bk linker atoms: (F4) Two spacer fragments with U linker atoms: (F5).

[0043] These fragments can be used in the method for automated molecular design using fragment-based variation according to the invention and are particularly advantageous for the design of TADF emitters. In this case, the connection rule can be, for example, (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.

[0044] An alternative to fragment-based mutation is string-based (e.g., SMARTS-based) mutation. Instead of tracking fragment graphs, string-based mutation strategies represent the molecular structure as a single string, e.g., as a SMILES string. However, as in the case of fragment-based mutation, this string may contain additional tags, e.g., in the form of isotope labels and / or placeholder atoms (also called connector atoms), e.g., from the actinide series, which are removed for output and scoring. These labels can be used to find specific positions introduced by previous mutations, thereby also allowing the definition of fragment-based mutations with string-based mutation methods. Compared to fragment-based mutation methods, string-based mutation methods allow the definition of more fine-grained elementary molecular operations, consisting of: adding / removing bonds, changing atom types / bond types, swapping atom types between neighboring atoms, adding / removing substructures at molecular edges or between existing bonds, transferring substructures connected to one atom to neighboring atoms, replacing a set of atoms with another set of atoms. In summary, string-based mutation can be viewed as a more general variant of fragment-based mutation.

[0045] In addition, for most applications, it is advantageous to use tournament selection and / or elitism for genetic algorithms. In order to generate a new generation of parent molecular structures (parent selection) using tournament selection, a specific number of "tournaments" are performed by randomly selecting a limited number of molecular structures of the current offspring molecular structure population or (in the first iteration) selecting a starting molecular structure for each tournament. For each tournament, a specific number of molecular structures with the highest scores in the corresponding tournament are selected to form a set of parent molecular structures for the next generation, i.e., those molecular structures for mutation. Elitism can be used in addition. Here, a limited number of the best scoring molecular structures in the current offspring molecular structure population or (in the first iteration) the starting molecular structure remain without mutation. Instead, they are directly copied to the next generation, i.e., they are automatically included in the next offspring molecular structure population.

[0046] In summary, the best scoring molecular structures (from the elite) and the molecular structures generated (through mutation, e.g. using tournament selection) form the next parent molecular structure population.

[0047] Preferably, in order to predict one or more values ​​of physical properties and / or chemical properties of a molecule corresponding to a member of a population of descendant molecular structures, a computer-implemented method for predicting values ​​of physical properties and / or chemical properties of molecules, in particular emitter molecules and / or host molecules for use in OLEDs, in particular TADF (thermally activated delayed fluorescence) emitters, is used.

[0048] The prediction method uses as input the molecular structure of the molecule as an atom-bond-graph, which is a graph that includes at least the atoms and bonds of the molecular structure as nodes. Without using other node types, such a graph can be divided 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 input lineentry specification) string representing the structure of the examined molecule. In the context of the present invention, the molecular structure of a molecule is understood as information about the atomic arrangement of the molecule, which information includes at least the type of bonds between the atoms of the molecule and the elements of each atom of the molecule.

[0049] Optionally, 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 involving the entire molecule to and / or from a remote node (e.g., atoms and / or bonds as nodes) for the neural network used in the method. Thus, it acts as a shortcut for exchanging global information between nodes, bypassing the requirement that information travel along edges in multiple steps. Adding a global node generally improves prediction performance and is therefore generally very beneficial.

[0050] The method provides as output (preferably as a scalar value) a predicted value of a physical property and / or a chemical property and comprises the following steps: First, for all n atom-bond-graphs nodes For each node in the node, extract the dimension d features , the feature vector comprising the node type (which may be encoded using one-hot encoding), which may be, for example, "atom", "bond" or "global", and the feature vector comprising further data about the corresponding node, at least in the case where the node type is atom or bond, called node feature data. For atoms, the node feature data may include the atomic number (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 of can have the form x=(node type , feat atom , feat bond ), where node type Encode the node type, feat atomencodes node feature data in the case of atoms (atomic features, which 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 keys (key features, which are preferably zero in the case of other node types such as atoms and globals). type can be a one-hot encoding of the node type (which is one of atom, bond, and 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 ), where feat global Node characteristic data for a global node is encoded (global characteristics, which are preferably zero in the case of other node types such as atoms and bonds). The node characteristic data may represent or include any parameters that are relevant to all other nodes.

[0051] For specific elements of a feature vector, it is advantageous to provide the same information in different formats, e.g., the atomic number 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 handle specific atomic numbers in a special way, but removes metric information, i.e., which atomic numbers are similar. For more continuous properties derived from atomic number, such as total molecular weight, it is more natural to treat the atomic number directly (i.e., as an integer).

[0052] In short, create n nodes Characteristic vector, each n nodes Eigenvectors for atom-bond-graphs n nodes Each node in the node. From these feature vectors, the dimension is 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 matrix, and if i=j, then the (i,j) element is equal to 0, if i≠j, then the (i,j) element is equal to d ij ², where each node is assigned an index, and i, j represent such node indexes, and dij is the distance between node i and node j. Therefore, the square distance matrix includes the distances d between atoms and / or bonds of the molecular structure. ij , and can be based on metric 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 case global nodes are used, the squared distance matrix D may include values ​​for the distances between the global node and other nodes (e.g., atom and bond types). 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 ²=c. The value c is preferably 0.

[0053] 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.

[0054] 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.

[0055] The method uses a neural network that includes (as a transformer) a layers > 1 (preferably, n layers A trained transformer-encoder stack with 6) transformer-encoder layers and a trained input encoder (including the input encoder layer), the trained transformer-encoder stack uses the squared distance matrix D for self-attention decay, and the trained input encoder is configured to generate a CNN with dimension n nodes ×d model The input matrix is ​​taken as a matrix with dimension n nodes ×d features The feature matrix of the trained transformer-encoder stack is generated as the input to the trained transformer-encoder stack, where d model is the dimension of the transformer model, for example d model = 128. Here, the trained transformer-encoder stack is configured to generate a n-dimensional nodes ×d modelThe n in the trained transformer-encoder stack are layers Each layer after the first of the transformer-encoder layers uses the output of the previous layer as input, 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.

[0056] Furthermore, the neural network may include a trained projection layer, the trained projection layer including a self-attention layer configured to generate (using as input a matrix generated by the trained transformer-encoder stack, i.e., its output) a matrix of dimension d model As output, a vector of, and finally, a trained multilayer perceptron (MLP) is configured to generate predictions of the values ​​of physical and / or chemical properties (as targets), for example in the form of scalars, from the output vector of the trained projection layer. Preferably, the MLP has one or two hidden layers and / or utilizes 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. different physical and / or chemical properties. In other words, in the final layer of the neural network, the information extracted from the 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.

[0057] Preferably, the trained transformer-encoder stack consists of n layersThe invention is composed of a transformer-encoder layer, each with a trained multi-headed decayed self-attention (i.e., a set of multiple (e.g., 4) decayed self-attention layers running in parallel), a trained feedforward network (a transformer feedforward network, e.g., with a dimension of 512), two trained normalization layers (applying the function LayerNorm and preferably layer normalization according to Ba et al., “Layer Normalization”, 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 to implement LayerNorm(x+sublayer(x)), where x is the input of the corresponding sublayer, as described in Section S7 (Solution 1) of Vaswani et al., 2017 and Bratholm et al., “A community-powered search ofmachine learning strategy space to find NMR property prediction models”, 2020. It should be noted that the transformer does not differentiate between atoms and bonds. Therefore, in order to generate a representation of each atom-bond-graph with the same dimension, the feature matrix consisting of feature vectors is transformed into a feature matrix with dimension n using the trained input encoder. nodes ×d model The matrix of .

[0058] Also preferably, the transformer-encoder layer utilizes an attention function for self-attention decay given by: Where Q is the query matrix consisting of query vectors, K is the key matrix consisting of key vectors, V is the value matrix consisting of value vectors, and d kis the dimension of the bond vector, D is the squared distance matrix, γ is a trainable decay 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 matrices of the current self-attention layer via a trainable linear transformation, which are the outputs of the input encoders of the first group of self-attention layers and the outputs of the previous self-attention layers. Modifying the matrices 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. The 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 be in the entire graph, while for γ=∞, attention is limited to directly neighboring nodes in the graph. Thus, distance-scaled self-attention is achieved.

[0059] 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 considered molecule. Since the experimental or simulation data usually available are 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, the specific conditions of the experiments can be used as additional input features of the multilayer perceptron (i.e. as additional input parameters). After training, the additional input parameters can be set to the desired target conditions.

[0060] In a preferred embodiment of the method, the square distance matrix D is calculated using distances derived from an atom-bond graph, i.e., without using physical atomic positions. This distance between two nodes of an 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.

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

[0062] 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 neural network suitable for performing one of the methods presented above can be used when it has already been trained with suitable data (which may be more easily accessible). In particular, the transformer and the input encoder can be pre-trained, for example using DFT (density functional theory) with values ​​of physical and / or chemical properties as targets, which can be simulated separately. 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 (i.e., the projection layer and the MLP layer) of the neural network is first trained with a constant learning rate for a defined number of epochs with the pre-trained transformer and input encoder frozen. Then, the transformer encoder can be unfrozen and fine-tuned with the head using a cosine learning rate schedule.

[0063] 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 described above may be implemented as a computer program executed by such a system.

[0064] According to another aspect of the present invention, a neural network used in a method according to any one of the above-mentioned computer-implemented methods 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 squared distance matrix D, the one or more projection layers include a self-attention layer configured to use a matrix generated by the transformer as 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 input, and 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 basic facts) 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 atoms of the molecular structure and bonds of the molecular structure as nodes. For all n atoms of the atom-bond-graph, nodes For each node in the node, extract the dimension d features The feature vector includes the node type, the node type is preferably one of atom, bond and global, and the feature vector includes other data about the node (node ​​feature data) when the node type is atom or bond. Then, the n extracted is generated. nodes The dimension of the feature vector is n nodes ×d features The dimension of the feature matrix is ​​n. The distances between atoms and bonds based on and / or including the molecular structure are calculated. nodes ×n nodes The squared distance matrix D of the multilayer perceptron assigned to the physical and / or chemical properties is finally 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, which include molecular structures of molecules and values ​​of physical and / or chemical properties, until the neural network has been fully trained.

[0065] 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 when using multiple multilayer perceptrons as separate outputs of the neural network (i.e. each physical and / or chemical property has to be assigned to a perceptron), the training of the main part of the neural network used in the method according to the first and second aspects of the invention (in particular the transformer) can be performed by using the data as ground truth for the different physical and / or chemical properties.

[0066] 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 of the first and second aspects of the present 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 including a multilayer perceptron is first trained with the pre-trained portion at a constant learning rate for a defined number of cycles. The remainder of the neural network may then 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 steps (preferably all steps) of the above training method are performed and / or supported by the system. In particular, the training method may be a computer-implemented method.

[0067] Figure 1 A possible structure of a software program comprising a neural network which can be used in a method for predicting values ​​of physical and / or chemical properties of a molecule according to the first aspect of the invention is shown in a schematic manner. In addition, the figure also shows the basic method.

[0068] As input to the software program an atom-bond-graph 100 describing a molecular structure for which values ​​of physical and / or chemical properties should be predicted is provided (e.g. generated from a SMILES string). 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 graph of dimension n.nodes ×d features The feature matrix consists of a dimension of d features n nodes Via the input encoder layer 130, the feature matrix is ​​used as input to a trained input encoder, which generates a n-dimensional input encoder. nodes ×d model The matrix is ​​composed of n layers A transformer-encoder stack consisting of transformer-encoder layers 150 is used. Each of these layers 150 includes a trained multi-headed 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 to the first layer of normalization 154 and the input of the feedforward neural network 156 to the second layer of normalization 158.

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

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

[0071] The transformer-encoder stack generates a dimension of n nodes ×d model , which is projected by one or more trained projection layers 160a, 160b (one projection layer for each target, including the self-attention layer) to a dimension d model Vectors of. In the figure, two projection layers 160a, 160b are shown, but more layers 190 are feasible depending on the number of targets 180a, 180b. These vectors are used by the MLPs 170a, 170b, which ultimately calculate the targets 180a, 180b, i.e. the values ​​of the physical and / or chemical properties as scalar values, based on these vectors and optionally on one or more additional input parameters 110 (e.g. properties of the host molecule, concentration, solvent). As in the case of 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 (190).

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

[0073] 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 steps of generating new parents (parent molecular structures) 220, generating a population of daughter molecular structures (using mutations) 240, predicting the physical and / or chemical properties of the molecules and determining the scores 260, and checking the termination condition 270 are repeated (these steps form one iteration 290 of the process) until the termination condition is met. In the event that the termination condition is met, in step 280, one or more generated molecular structures are provided, which are usually the highest-scoring molecular structures generated.

[0074] Figure 3 A system 300 for performing a method for predicting a value of a physical property and / or a chemical property and / or a method for designing a molecule and / or a method for training a neural network 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, such as a personal computer or a mobile device. The system 300 or parts of the system may also be a distributed computing system, such as a cloud computing system.

[0075] 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, such as a keyboard, a computer mouse, and / or a touch screen.

[0076] The system 300 may be configured to perform a method for predicting the value of a physical property and / or a chemical property according to the invention and in this case may 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 of the atom-bond-graph 100. nodes The system 300 may also be configured to directly receive 330 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 for predicting the value of a physical property and / or chemical property according to the invention.

[0077] Alternatively or additionally, the system 300 may also be configured to perform a method for automating the design of molecules according to the invention, and in this case may receive an input 300, for example provided by a human operator or a database 380, a set of starting molecular structures including at least one molecular structure (e.g. as a SMILES string), a set of mutation rules for specifying allowed mutations of a 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 an output 320 the molecular structure of the molecule designed by the method.

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

[0079] 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 " / ".

[0080] Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent the description of the corresponding method, where the blocks or devices correspond to method steps or features of method steps. Similarly, the aspects described in the context of method steps also represent the description of the corresponding blocks or items or features of the corresponding apparatus.

Claims

1. A computer-implemented method for automated design of molecules, preferably emitter molecules for use in OLEDs, in particular TADF emitters, using: The genetic algorithm takes as input a set of starting molecular structures containing at least one molecular structure, a set of mutation rules that specify the allowed mutations of the genetic algorithm, a scoring function, a molecular structure based on one or more predicted values ​​of a physical property and / or chemical property of the corresponding molecule, and Termination conditions, The method provides as output the molecular structure of the designed molecule. The following steps are involved: a) providing the set of starting molecular structures as a parent molecular structure population to the genetic algorithm; b) generating a progeny molecular structure population partially or completely from the parent molecular structure population using the genetic algorithm by mutating at least one member of the parent molecular structure population using the genetic algorithm; c) predicting one or more values ​​of physical properties and / or chemical properties of molecules corresponding to members of the progeny molecular structure population, and based thereon calculating the value of the scoring function for each member of the progeny molecular structure population, wherein the one or more values ​​of the physical property and / or chemical property are predicted using a 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 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 generated in step b or any iteration thereof.

2. The computer-implemented method of claim 1, 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 predetermined value and / or reaches a predetermined number of iterations of step b, step c, and step d, the termination condition is met.

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

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

5. A computer-implemented method according to any one of the preceding claims, It is characterized in that for predicting said one or more values ​​of said physical and / or chemical property, using a computer-implemented method for predicting values ​​of physical and / or chemical properties of a molecule, said method for predicting values ​​of physical and / or chemical properties using as input a molecular structure of said molecule as an atom-bond-graph, the atom-bond-graph comprising at least atoms of said molecular structure and bonds of said molecular structure as nodes, The method provides as output the predicted value of the physical property and / or chemical property, the method comprising the steps of: 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 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; b) Generate the extracted n nodes The dimension of the feature vector is n nodes ×d features The feature matrix of c) based on and / or including the distances between atoms and bonds of the molecular structure, the dimension n is calculated nodes ×n nodes The square distance matrix D; d) applying a trained neural network comprising a transformer to the feature matrix to generate predictions of the values ​​of the physical and / or chemical properties of the molecules, the transformer using the squared distance matrix D for self-attention decay, Wherein, the neural network comprises: The trained input encoder is configured to extract nodes ×d features The feature matrix generated has a dimension of n 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 configured to use the input matrix of the input encoder as input to generate a n-dimensional nodes ×d model The matrix is ​​output as A trained projection layer comprising a self-attention layer configured to generate a matrix of dimension d using the matrix generated by the trained transformer-encoder stack as input model As output, A trained multi-layer perceptron configured to generate the predictions of the values ​​of the physical and / or chemical properties from the vectors output by the trained projection layer.

6. The computer-implemented method of claim 5, It is characterized in that The 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.

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

8. A computer-implemented method according to any one of claims 5 to 7, It 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 / or peak emission wavelength.

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

10. A computer-implemented method according to any one of claims 5 to 9, It is characterized in that A part of the trained neural network, for example the 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.

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, the transformer being configured to perform attention decay using a square distance matrix D, the one or more projection layers including an attention layer, the attention layer being configured to use a matrix generated by the transformer as input to generate a vector as output, the one or more multilayer perceptrons using the output of one of the one or more projection layers as 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 chemical properties are assigned to one of said multilayer perceptrons; b) converting the molecular structure of each molecule into an atom-bond-graph, wherein the atom-bond-graph comprises 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 Each node in the node extracts 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; d) Generate the extracted n nodes The dimension of the feature vector is n nodes ×d features The feature matrix of e) calculating a 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 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 chemical property assigned to the multilayer perceptron.

12. The method according to claim 11, in, The neural network comprises at least two multilayer perceptrons, characterized in that steps a to g are repeated for different data sets, wherein the different data sets comprise the molecular structure of the molecule and values ​​of different physical and / or chemical properties, and the different physical and / or chemical properties are 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, wherein the different data sets include the molecular structures of different molecules and the values ​​of the physical properties and / or chemical properties of the different molecules.

14. The method according to any one of claims 11 to 13, It is characterized in that A part of the neural network, for example the transformer, 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.

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 .