A method for predicting molecular properties based on a hybrid expert track graph neural network

By using a hybrid expert orbital graph neural network, atoms are assigned to different expert orbital prototypes based on semantic similarity, and the feature representation is updated layer by layer. This solves the problem of semantic conflict in molecular property prediction models and improves prediction accuracy.

CN123182807APending Publication Date: 2026-11-27XI AN JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611709257.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-11-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, molecular property prediction models map different atoms to the same representation space, which leads to semantic conflicts, weakens feature expression capabilities, limits the characterization of atomic semantic structure, and results in low prediction accuracy.

Method used

A hybrid expert orbit graph neural network is adopted to assign sample atoms to different expert orbit prototypes according to semantic similarity, and the feature representation is updated layer by layer to avoid direct mixing of features of different semantic atoms and enhance the feature expression capability.

Benefits of technology

It improves the accuracy of molecular property prediction and achieves more accurate atomic semantic structure characterization and representation learning through layer-by-layer transmission and updating.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182807A_ABST
    Figure CN123182807A_ABST
Patent Text Reader

Abstract

The application discloses a molecular property prediction method based on a hybrid expert orbital graph neural network, and relates to the field of molecular prediction. The method comprises the following steps: in each layer of a to-be-trained graph neural network, determining an expert orbital prototype to which an nth sample atom belongs in the layer based on the feature representation of the N sample atoms in the layer and the feature representation of T expert orbital prototypes; updating the feature representation of the nth sample atom in the layer according to the feature representation of the target sample atom in the layer corresponding to the nth sample atom in the layer and the feature representation of the expert orbital prototype to which the nth sample atom belongs in the layer until the feature representation of the N sample atoms output in the last layer is obtained; and updating the model parameters and the feature representation of the T expert orbital prototypes based on a predicted property and a property label to obtain a molecular property prediction model and the final feature representation of the T expert orbital prototypes, so that the molecular property prediction is performed and the accuracy of the molecular property prediction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of molecular prediction, and more particularly to a method for predicting molecular properties based on a hybrid expert orbital graph neural network. Background Technology

[0002] Using graph neural networks (GNNs) to represent graph-structured data has demonstrated great success in many fields, such as biomedicine. In biomedical analysis, predicting the chemical properties of molecules based on their structures is a crucial task for graph neural networks.

[0003] Currently, for molecular property prediction tasks, all atoms in a molecular structure are typically mapped to the same representation space. However, different atoms often have different semantics and may even conflict with each other. This not only weakens the expressive power of features but also accumulates and amplifies during the propagation of model training, limiting the ability of molecular property prediction models to characterize the semantic structure of atoms, resulting in low accuracy of current molecular property prediction. Summary of the Invention

[0004] To address the aforementioned technical problems, this invention provides a molecular property prediction method based on a hybrid expert orbital graph neural network, aiming to overcome or at least partially solve the aforementioned problems.

[0005] The first aspect of this invention provides a method for predicting molecular properties based on a hybrid expert orbital graph neural network, the method comprising: Input the sample molecule graph corresponding to the sample molecule into the feature extractor of the graph neural network to be trained, and obtain the feature representation of N sample atoms of the sample molecule graph in the first layer; In the first layer of the graph neural network to be trained, the semantic similarity between the feature representations of N sample atoms in the first layer and the learnable feature representations of T expert orbit prototypes is determined. The expert orbit prototype with the highest semantic similarity to the nth sample atom is determined as the expert orbit prototype to which the nth sample atom belongs in the first layer. Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, the feature representation of the nth sample atom in the first layer is updated to obtain the feature representation of the nth sample atom in the second layer. Among them, the target sample atom corresponding to the nth sample atom in the first layer is: the sample atom in the first layer that belongs to the same expert orbit prototype as the nth sample atom. Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representation of N sample atoms at the Lth layer based on the learnable feature representation of T expert orbit prototypes to obtain the feature representation of N sample atoms at the L+1th layer. Based on the feature representations of the N sample atoms output in the last layer, the graph-level feature representation of the sample molecule graph is obtained; Based on the graph-level feature representation of the sample molecule graph, the predicted properties of the sample molecule are obtained; Based on the predicted properties and property labels of the sample molecules, the model parameters of the graph neural network to be trained and the learnable feature representations of the T expert orbit prototypes are updated to obtain the final feature representations of the molecular property prediction model and the T expert orbit prototypes. Based on the molecular property prediction model and the final feature representation of T expert orbital prototypes, the molecular properties of the target molecule are predicted from the target molecular graph corresponding to the target molecule, thus obtaining the predicted properties of the target molecule.

[0006] In the molecular property prediction method based on a hybrid expert orbital graph neural network proposed in this invention, for each layer in the graph neural network to be trained, the semantic similarity between the feature representations of N sample atoms in the sample molecular graph at that layer and the learnable feature representations of T expert orbital prototypes is determined. The expert orbital prototype with the highest semantic similarity to each sample atom is then identified as the expert orbital prototype to which that sample atom belongs at that layer. This allows sample atoms to be assigned to different expert orbital prototypes based on their semantic features. Furthermore, based on the learnable feature representation of the sample atom at that layer and the feature representation of the target sample atom corresponding to that sample atom at that layer, the molecular property prediction method for that sample atom is further refined. The feature representation of this layer is updated to obtain the feature representation of the sample atom in the next layer. Based on the expert orbit prototype to which each sample atom belongs in each layer, the feature representation of each sample atom in the graph neural network to be trained is updated layer by layer. This not only avoids interference caused by the direct mixing of sample atom features with different semantics during layer-by-layer transmission, but also enhances the feature expression ability of sample atoms through target sample atoms belonging to the same expert orbit prototype during the feature representation update process. This allows for the update of the feature representation of each sample atom within a semantically consistent space, thereby improving the ability of the graph neural network to characterize the semantic structure of atoms and the accuracy of representation learning. Thus, this invention obtains the predicted properties of sample molecules based on the feature representations of N sample atoms in the last layer of the graph neural network to be trained. Then, based on the predicted properties and property labels, the model parameters of the graph neural network to be trained and the learnable feature representations of T expert orbit prototypes are updated to obtain the molecular property prediction model and the final feature representations of T expert orbit prototypes. These are used to predict the molecular properties of the target molecular graph corresponding to the target molecule, thereby improving the accuracy of molecular property prediction. Attached Figure Description

[0007] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0008] Figure 1 This is a flowchart illustrating the steps of a molecular property prediction method based on a hybrid expert orbital graph neural network according to an embodiment of the present invention; Figure 2 This is a structural block diagram of a molecular property prediction device based on a hybrid expert orbital graph neural network provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0009] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0010] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating the steps of a molecular property prediction method based on a hybrid expert orbital graph neural network, as shown in an embodiment of the present invention. Figure 1 As shown, the molecular property prediction method provided in this embodiment includes at least the following steps: Step S11: Input the sample molecule graph corresponding to the sample molecule into the feature extractor of the graph neural network to be trained, and obtain the feature representation of the N sample atoms of the sample molecule graph in the first layer.

[0011] In this embodiment, the sample molecule is used for model training, and the sample molecule graph is used for model training. The molecular graph is obtained by graph modeling the molecular structure of the molecule. Nodes in the molecular graph represent atoms, and edges represent the chemical bonds connecting the atoms (carrying attributes such as valence state and type of chemical bond). The sample molecule graph in this embodiment carries property labels for the sample molecule, which are its chemical properties. These chemical properties include one or more of the characteristics of oxidation, reduction, and decomposition chemical reactions.

[0012] In this embodiment, the sample molecular graph corresponding to the sample molecule can be input into the feature extractor of the graph neural network to be trained, obtaining the feature representation of N sample atoms of the sample molecular graph in the first layer. Here, the sample molecular graph includes N sample atoms, where N is an integer greater than 1. A sample atom refers to an atom in the sample molecular graph. The graph neural network to be trained is a graph neural network used to predict molecular properties. The feature extractor is used to extract features from the sample molecular graph, obtaining the feature representation of N sample atoms of the sample molecular graph in the first layer. In this embodiment, the feature representation of the atom may include one or more of the following: number of charges, number of protons, number of neutrons, number of chemical bonds, atomic orbitals, and aromaticity feature vectors.

[0013] In this embodiment, the graph neural network to be trained includes a feature extractor and multiple layers connected sequentially. After the sample molecule graph corresponding to the sample molecule is input into the graph neural network to be trained, it first reaches the feature extractor, which obtains the feature representations of N sample atoms of the sample molecule graph in the first layer. Then, the feature representations of the N sample atoms of the sample molecule graph in the first layer are input into the first layer of the graph neural network to be trained for processing. Specifically, the feature representation of the sample atoms in the first layer is the same as the feature representation of the sample atoms input into the first layer of the graph neural network to be trained for processing.

[0014] Step S12: In the first layer of the graph neural network to be trained, determine the semantic similarity between the feature representations of N sample atoms in the first layer and the learnable feature representations of T expert orbit prototypes. The expert orbit prototype with the highest semantic similarity to the nth sample atom is determined as the expert orbit prototype to which the nth sample atom belongs in the first layer. Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, update the feature representation of the nth sample atom in the first layer to obtain the feature representation of the nth sample atom in the second layer.

[0015] In this embodiment, in the first layer of the graph neural network to be trained, based on the learnable feature representations of T expert orbit prototypes and the feature representations of N sample atoms in the first layer, the semantic similarity between the feature representation of each sample atom in the first layer and the learnable feature representations of each expert orbit prototype is calculated, thereby determining the semantic similarity between the feature representations of N sample atoms in the first layer and the learnable feature representations of T expert orbit prototypes. Here, T is an integer greater than 1.

[0016] In an optional example, the cosine similarity between the feature representation of a sample atom in the first layer and the learnable feature representation of each expert orbital prototype can be determined as the semantic similarity between the feature representation of the sample atom in the first layer and the learnable feature representation of each expert orbital prototype.

[0017] In the first layer of the graph neural network to be trained, for the nth sample atom (n∈[1,N]), the highest semantic similarity is determined from the semantic similarity between the feature representation of the nth sample atom in the first layer and the learnable feature representations of the T expert orbit prototypes. Based on the highest semantic similarity, the expert orbit prototype with the highest semantic similarity to the nth sample atom in the first layer is determined. Thus, the expert orbit prototype with the highest semantic similarity to the nth sample atom in the first layer is determined as the expert orbit prototype to which the nth sample atom belongs in the first layer. This is to achieve the assignment of sample atoms to different expert orbit prototypes according to their semantic features, thereby ensuring semantic consistency.

[0018] In this embodiment, T expert track prototypes are initialized, each representing a different semantic meaning, meaning there is semantic isolation between them. Each expert track prototype has its own learnable feature representation, which can be automatically optimized during training based on the prediction target. Furthermore, in the same training round (the same iteration round) of the model, the "learnable feature representations of the T expert track prototypes" in each layer are identical.

[0019] In one example, a learnable expert track prototype matrix P∈R can be constructed. T×d Where T represents the number of expert orbit prototypes and d represents the feature dimension, each element in the learnable expert orbit prototype matrix P represents a learnable feature representation of one expert orbit prototype. In this embodiment, the learnable expert orbit prototype matrix P is not manually preset, but is automatically learned under the supervision of a molecular property prediction task, thus enabling it to better adapt to molecular structure data.

[0020] After determining the expert orbit prototype to which the nth sample atom belongs in the first layer, the feature representation of the nth sample atom in the first layer can be updated based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer. This updates the feature representation of the nth sample atom in the second layer, thus obtaining the feature representation of the N sample atoms output from the first layer in the second layer. The feature representation of the sample atom in the second layer is the feature representation of the sample atom input to the second layer of the graph neural network to be trained. The target sample atom corresponding to the nth sample atom in the first layer is the sample atom belonging to the same expert orbit prototype as the nth sample atom in the first layer.

[0021] In one alternative implementation, the feature representation is updated by message-passing aggregation in its corresponding dedicated orbit, that is, by parameterizing and weighting the feature representations of all sample atoms belonging to the same expert orbit prototype to achieve the update.

[0022] It is understandable that, in this embodiment, after assigning expert orbit prototypes to each sample atom at each layer based on semantic similarity, there may be multiple sample atoms belonging to the same expert orbit prototype. In this case, the multiple sample atoms belonging to the same expert orbit prototype at that layer include: a sample atom and its corresponding target sample atom at that layer. That is, the target sample atom corresponding to the sample atom at that layer is: other sample atoms in that layer that belong to the same expert orbit prototype as the sample atom. Different sample atoms will be dynamically assigned to different expert orbit prototypes according to their semantic features during propagation, thereby achieving effective semantic decoupling and allowing atomic features with different semantics to be processed in relatively independent semantic spaces. The expert orbit prototypes to which the nth sample atom belongs at different layers may be the same or different.

[0023] Step S13: Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representation of N sample atoms in the Lth layer based on the learnable feature representation of T expert orbit prototypes to obtain the feature representation of N sample atoms in the L+1th layer.

[0024] In this embodiment, after obtaining the feature representations of N sample atoms in the second layer, the second to the last layer of the graph neural network to be trained is traversed. For the Lth layer (L∈[2, last layer]), the processing method for the first layer can be referred to (as described in step S12). Based on the learnable feature representations of T expert orbit prototypes, the feature representations of N sample atoms in the Lth layer are updated to obtain the feature representations of N sample atoms in the L+1th layer.

[0025] Specifically, for the Lth layer reached, the semantic similarity between the feature representations of N sample atoms in the Lth layer and the learnable feature representations of T expert orbit prototypes is determined. For the nth sample atom, the expert orbit prototype with the highest semantic similarity to the nth sample atom in the Lth layer is determined as the expert orbit prototype to which the nth sample atom belongs in the Lth layer. Then, based on the feature representation of the target sample atom corresponding to the nth sample atom in the Lth layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the Lth layer, the feature representation of the nth sample atom in the Lth layer is updated to obtain the feature representation of the nth sample atom in the L+1th layer, and thus the feature representations of the N sample atoms output from the Lth layer in the L+1th layer are obtained.

[0026] Wherein, the target sample atom corresponding to the nth sample atom in layer L is: the sample atom in layer L that belongs to the same expert orbit prototype as the nth sample atom. The feature representation of the sample atom in layer L is the feature representation of the sample atom input to the Lth layer of the graph neural network to be trained for processing, and the feature representation of the sample atom in layer L+1 is the feature representation of the sample atom input to the L+1th layer of the graph neural network to be trained for processing.

[0027] In this embodiment, the graph neural network to be trained includes a multi-layer structure, thereby progressively optimizing the learnable feature representation of the prototype through hierarchical semantic modeling. Specifically, a feature extractor is included before the multi-layer structure to generate the initial feature representation of the sample atoms (i.e., the feature representation of the first layer); subsequent layers reuse the output of the previous layer as input to form a deep network structure.

[0028] Step S14: Based on the feature representations of the N sample atoms output in the last layer, obtain the graph-level feature representation of the sample molecule graph.

[0029] In this embodiment, in the last layer of the graph neural network to be trained, the semantic similarity between the feature representations of N sample atoms in the last layer and the learnable feature representations of T expert orbit prototypes is determined. For the nth sample atom, the expert orbit prototype with the highest semantic similarity to the nth sample atom in the last layer is determined as the expert orbit prototype to which the nth sample atom belongs in the last layer. Then, based on the feature representation of the target sample atom corresponding to the nth sample atom in the last layer and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the last layer, the feature representation of the nth sample atom in the last layer is updated to obtain the feature representation output by the nth sample atom in the last layer, and thus the feature representation output by the N sample atoms in the last layer.

[0030] Next, the feature representations output by the N sample atoms at the last layer are processed to obtain the graph-level feature representation of the sample molecular graph. For example, the feature representations output by the N sample atoms at the last layer can be summed, averaged, or aggregated based on attention to obtain the graph-level feature representation of the sample molecular graph. The graph-level feature representation characterizes the global molecular structure pattern and / or atomic chemical bond relationships in the molecular graph. The feature representation of the sample atoms at the last layer is the feature representation of the sample atoms input to the last layer of the graph neural network to be trained. The feature representation output by the sample atoms at the last layer is the updated feature representation obtained after the sample atoms have been processed by the last layer of the graph neural network to be trained.

[0031] Step S15: Based on the graph-level feature representation of the sample molecule graph, obtain the predicted properties of the sample molecule.

[0032] In this embodiment, the graph-level feature representation of the sample molecule graph can be analyzed and predicted using the prediction head in the graph neural network to be trained, and the predicted properties of the sample molecule can be output. The predicted properties of the sample molecule are the chemical properties corresponding to the sample molecule obtained by predicting the sample molecule's corresponding sample molecule graph.

[0033] Step S16: Based on the predicted properties of the sample molecules and the property labels of the sample molecules, update the model parameters of the graph neural network to be trained and the learnable feature representations of the T expert orbit prototypes to obtain the final feature representations of the molecular property prediction model and the T expert orbit prototypes.

[0034] In this embodiment, the model parameters in the graph neural network to be trained can be updated based at least on the predicted properties and property labels of the sample molecules, and the learnable feature representations of the T expert orbit prototypes can be updated to obtain the molecular property prediction model (i.e., the trained graph neural network) and the final feature representations of the T expert orbit prototypes. This molecular property prediction model is used to predict the chemical properties of a molecule based on its molecular graph.

[0035] Step S17: Based on the molecular property prediction model and the final feature representation of T expert orbit prototypes, predict the molecular properties of the target molecule corresponding to the target molecule to obtain the predicted properties of the target molecule.

[0036] In this embodiment, the target molecule is the molecule used for model inference applications, i.e., the molecule whose properties are to be predicted. The target molecule diagram is the molecular diagram (i.e., the molecular structure diagram) corresponding to the target molecule. The target molecule diagram corresponding to the target molecule can be input into the molecular property prediction model. Through the molecular property prediction model and the final feature representations of T expert orbit prototypes, the molecular properties of the target molecule diagram corresponding to the target molecule are predicted, thus obtaining the predicted properties of the target molecule output by the molecular property prediction model, thereby realizing the prediction of molecular chemical properties. Specifically, the method of processing the target molecule diagram corresponding to the target molecule based on the final feature representations of the molecular property prediction model and T expert orbit prototypes is the same as or similar to the method of processing the sample molecule diagram based on the trainable graph neural network and the learnable feature representations of T expert orbit prototypes, as detailed in steps S11 to S15 above.

[0037] In this embodiment, sample atoms are assigned to different expert orbit prototypes based on their semantic features. The feature representation of the sample atom at each layer is updated based on the learnable feature representation of that sample atom and the feature representation of the target sample atom corresponding to it at that layer. This yields the feature representation of the sample atom at the next layer. Thus, based on the expert orbit prototype to which each sample atom belongs at each layer, the feature representation of each sample atom in the training graph neural network is updated layer by layer. This not only avoids interference caused by the direct mixing of features of sample atoms with different semantics during layer-by-layer transmission, but also enhances the feature expression capability of sample atoms through target sample atoms belonging to the same expert orbit prototype during feature representation update. This allows for the updating of the feature representation of each sample atom within a semantically consistent space, thereby improving the ability of the training graph neural network to characterize the semantic structure of atoms and the accuracy of representation learning. Thus, this embodiment obtains the predicted properties of sample molecules based on the feature representations of N sample atoms in the last layer of the graph neural network to be trained. Then, based on the predicted properties and property labels, the model parameters of the graph neural network to be trained and the learnable feature representations of T expert orbit prototypes are updated to obtain the molecular property prediction model and the final feature representations of T expert orbit prototypes, which are used to predict the molecular properties of the target molecular graph corresponding to the target molecule, thereby improving the accuracy of molecular property prediction.

[0038] In conjunction with the above embodiments, in one implementation, the present invention also provides a molecular property prediction method based on a hybrid expert orbital graph neural network. In this method, step S12, "updating the feature representation of the nth sample atom in the first layer based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbital prototype to which the nth sample atom belongs in the first layer, to obtain the feature representation of the nth sample atom in the second layer," specifically includes steps S21 and S23. Furthermore, step S13 specifically includes step S24. Step S21: Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, update the feature representation of the nth sample atom in the first layer to obtain the first enhanced feature representation of the nth sample atom in the first layer.

[0039] In this embodiment, the feature representation of the nth sample atom in the first layer can be updated based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, to obtain the first enhanced feature representation of the nth sample atom in the first layer.

[0040] Step S22: Update the feature representation of the nth sample atom in the first layer based on the feature representations of each neighboring sample atom in the sample molecule diagram in the first layer, and the learnable feature representation of the shared expert orbit prototype, to obtain the second enhanced feature representation of the nth sample atom in the first layer.

[0041] In this embodiment, considering that multiple expert orbit prototypes modeling the global information of sample atoms separately can easily lead to parameter redundancy, this embodiment introduces a shared expert orbit prototype to decouple the global information modeling from the expert orbit prototype, thereby achieving more efficient knowledge partitioning. The shared expert orbit prototype in this embodiment can be shared by N atoms and used to uniformly model the invariants of the global structure.

[0042] Understandably, the T expert orbit prototypes are used to process atomic feature representations related to specific categories or semantics; the shared expert orbit prototype does not correspond to a single semantic category, but rather receives feature representations of all sample atoms in the sample molecular graph. This is used to preserve global common information, learn common structural information across categories or semantics, and avoid information fragmentation caused by complete decoupling. In other words, the T expert orbit prototypes can continue to separate different semantic atomic features, while the shared expert orbit prototype can preserve common information in the molecular graph structure, ensuring that the model does not lose global semantics and structural patterns while decoupling different semantic atomic features.

[0043] This embodiment can initialize a shared expert trajectory prototype, which corresponds to a learnable feature representation. This learnable feature representation can be automatically optimized during training based on the prediction target. Furthermore, within the same training round (the same iteration round) of the model, the "learnable feature representation of the shared expert trajectory prototype" is identical in each layer. Similarly, the shared expert trajectory prototype in this embodiment is not manually preset but automatically learned under the supervision of the molecular property prediction task, thus enabling better adaptation to molecular structure data.

[0044] In this embodiment, in the first layer of the graph neural network to be trained, for the nth sample atom, each of its neighboring sample atoms in the sample molecular graph can be determined, wherein there is a chemical bond connection between the neighboring sample atoms and the nth sample atom. Then, based on the feature representations of each neighboring sample atom in the sample molecular graph in the first layer, and the learnable feature representation of the shared expert orbit prototype, the feature representation of the nth sample atom in the first layer is updated to obtain the second enhanced feature representation of the nth sample atom in the first layer.

[0045] Step S23: Based on the first and second enhanced feature representations of the nth sample atom in the first layer, obtain the feature representation of the nth sample atom in the second layer.

[0046] In this embodiment, in the first layer of the graph neural network to be trained, for the nth sample atom, the feature representation of the nth sample atom in the second layer can be obtained based on the first enhanced feature representation of the nth sample atom in the first layer and the second enhanced feature representation of the nth sample atom in the first layer. In an optional example, the feature representation of the nth sample atom in the second layer is the sum of the first enhanced feature representation and the second enhanced feature representation of the nth sample atom in the first layer.

[0047] Step S24: Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representation of N sample atoms in the Lth layer based on the learnable feature representation of the shared expert orbit prototype and the learnable feature representation of T expert orbit prototypes, to obtain the feature representation of N sample atoms in the L+1th layer.

[0048] In this embodiment, the second to the last layer of the graph neural network to be trained are traversed. For the Lth layer, the processing method for the first layer can be referred to (as described in steps S12 and S21 to S23). Based on the learnable feature representations of T expert orbit prototypes and the learnable feature representations of the shared expert orbit prototype, the feature representations of N sample atoms in the Lth layer are updated to obtain the feature representations of N sample atoms in the L+1th layer.

[0049] In this embodiment, by introducing T expert orbit prototypes and 1 shared expert orbit prototype, the feature representation of each sample atom is updated layer by layer, thereby effectively decoupling the global structural information and local semantic information of the molecular structure in the sample molecular diagram. This reduces parameter redundancy while improving the prediction accuracy and generalization ability of the molecular prediction model.

[0050] In conjunction with any of the above embodiments, the present invention also provides a method for predicting molecular properties based on a hybrid expert orbital graph neural network. In this method, step S16 may specifically include step S31, and step S17 may specifically include step S32. Step S31: Based on the predicted properties of the sample molecules and the property labels of the sample molecules, update the model parameters of the graph neural network to be trained, the learnable feature representations of the T expert orbit prototypes, and the learnable feature representations of the shared expert orbit prototype to obtain the molecular property prediction model, the final feature representations of the T expert orbit prototypes, and the final feature representations of the shared expert orbit prototype.

[0051] In this embodiment, the model parameters in the graph neural network to be trained can be updated based at least on the predicted properties and property labels of the sample molecules to obtain a molecular property prediction model; the learnable feature representation of the shared expert orbit prototype can be updated based at least on the predicted properties and property labels of the sample molecules to obtain the final feature representation of the shared expert orbit prototype; and the learnable feature representations of T expert orbit prototypes can be updated based at least on the predicted properties and property labels of the sample molecules to obtain the final feature representations of the T expert orbit prototypes.

[0052] Step S32: Based on the molecular property prediction model, the final feature representations of T expert orbit prototypes, and the final feature representation of the shared expert orbit prototype, perform molecular property prediction on the target molecular graph corresponding to the target molecule to obtain the predicted properties of the target molecule.

[0053] In this embodiment, the target molecular graph corresponding to the target molecule can be input into the molecular property prediction model. The molecular properties of the target molecular graph are predicted using the molecular property prediction model, the final feature representation of the shared expert orbit prototype, and the final feature representations of T expert orbit prototypes. This yields the predicted properties of the target molecule output by the molecular property prediction model, thereby achieving the prediction of molecular chemical properties. Specifically, the method of processing the target molecular graph based on the molecular property prediction model, the final feature representation of the shared expert orbit prototype, and the final feature representations of T expert orbit prototypes is the same as or similar to the method of processing the sample molecular graph based on the trainable graph neural network, the learnable feature representation of the shared expert orbit prototype, and the learnable feature representations of T expert orbit prototypes. See the aforementioned steps for details.

[0054] In conjunction with any of the above embodiments, in one implementation, the present invention also provides a method for predicting molecular properties based on a hybrid expert orbital graph neural network. In this method, step S31 specifically includes steps S41 to S42: Step S41: Based on the predicted properties of the graph neural network to be trained in the current iteration and the property labels of the sample molecules, update the model parameters of the graph neural network to be trained in the current iteration, the learnable feature representations of the T expert orbit prototypes in the current iteration, and the learnable feature representations of the shared expert orbit prototype in the current iteration, to obtain the model parameters of the graph neural network to be trained in the next iteration, the learnable feature representations of the T expert orbit prototypes in the next iteration, and the learnable feature representations of the shared expert orbit prototype in the next iteration.

[0055] In this embodiment, the graph neural network to be trained is updated through multiple rounds of iteration to obtain a molecular property prediction model; the learnable feature representations of T expert orbit prototypes are updated through multiple rounds of iteration to obtain the final feature representations of T expert orbit prototypes; and the learnable feature representations of the shared expert orbit prototypes are updated through multiple rounds of iteration to obtain the final feature representations of the shared expert orbit prototypes.

[0056] In this embodiment, during the execution of the current iteration (i.e., any iteration), the predicted properties of the sample molecules can be obtained based on the steps of any of the foregoing embodiments, and used as the predicted properties of the graph neural network to be trained in the current iteration. In other words, each iteration in the model training process of this embodiment can be implemented with reference to the steps shown in any of the foregoing embodiments.

[0057] Then, based on the predicted properties of the output of the graph neural network to be trained in the current iteration and the property labels of the sample molecule, the model parameters of the graph neural network to be trained in the current iteration, the learnable feature representations of the T expert orbit prototypes in the current iteration, and the learnable feature representation of the shared expert orbit prototype in the current iteration are updated once to obtain the model parameters of the graph neural network to be trained in the next iteration, the learnable feature representations of the T expert orbit prototypes in the next iteration, and the learnable feature representation of the shared expert orbit prototype in the next iteration.

[0058] Step S42: Perform multiple iterations according to the above steps to obtain the final feature representation of the molecular property prediction model, the T expert orbital prototypes, and the final feature representation of the shared expert orbital prototype.

[0059] In this embodiment, parameter updates can be performed in multiple iterations according to the above steps to obtain the final feature representations of the molecular property prediction model, T expert orbital prototypes, and the shared expert orbital prototype.

[0060] For example, iteration can be stopped when the maximum number of iterations is reached, or when the loss obtained based on the predicted properties and property labels converges. After stopping iteration, the graph neural network updated in the last iteration is used as the molecular property prediction model, the learnable feature representations of the T expert orbit prototypes updated in the last iteration are used as the final feature representations of the T expert orbit prototypes, and the learnable feature representations of the shared expert orbit prototypes updated in the last iteration are used as the final feature representations of the shared expert orbit prototypes.

[0061] In conjunction with any of the above embodiments, in one implementation, the present invention also provides a method for predicting molecular properties based on a hybrid expert orbital graph neural network. In this method, step S24 may specifically include steps S51 to S53: Step S51: For the Lth layer traversed, determine the semantic similarity between the feature representations of N sample atoms in the Lth layer and the learnable feature representations of T expert orbit prototypes. The expert orbit prototype with the highest semantic similarity to the nth sample atom is determined as the expert orbit prototype to which the nth sample atom belongs in the Lth layer. Based on the feature representation of the target sample atom corresponding to the nth sample atom in the Lth layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the Lth layer, update the feature representation of the nth sample atom in the Lth layer to obtain the first enhanced feature representation of the nth sample atom in the Lth layer.

[0062] In this embodiment, for the Lth layer traversed, the semantic similarity between the feature representations of N sample atoms in the Lth layer and the learnable feature representations of T expert orbit prototypes is determined. For the nth sample atom, the expert orbit prototype with the highest semantic similarity to the nth sample atom in the Lth layer is determined as the expert orbit prototype to which the nth sample atom belongs in the Lth layer. Then, based on the feature representation of the target sample atom corresponding to the nth sample atom in the Lth layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the Lth layer, the feature representation of the nth sample atom in the Lth layer is updated to obtain the first enhanced feature representation of the nth sample atom in the Lth layer.

[0063] Among them, the target sample atom corresponding to the nth sample atom in the Lth layer is: the sample atom in the Lth layer that belongs to the same expert orbit prototype as the nth sample atom; the expert orbit prototypes of the nth sample atom are different in different layers.

[0064] Step S52: Based on the feature representations of each neighboring sample atom in the sample molecule diagram at layer L, and the learnable feature representation of the shared expert orbit prototype, update the feature representation of the nth sample atom at layer L to obtain the second enhanced feature representation of the nth sample atom at layer L.

[0065] In this embodiment, the feature representation of the nth sample atom in the L layer can be updated based on the feature representations of each neighboring sample atom in the sample molecular diagram at the L layer, and the learnable feature representation of the shared expert orbit prototype, to obtain the second enhanced feature representation of the nth sample atom in the L layer.

[0066] Step S53: Based on the first and second enhanced feature representations of the nth sample atom in layer L, obtain the feature representation of the nth sample atom in layer L+1.

[0067] In this embodiment, the feature representation of the nth sample atom in layer L+1 can be obtained based on the first enhanced feature representation of the nth sample atom in layer L and the second enhanced feature representation of the nth sample atom in layer L. In an optional example, the feature representation of the nth sample atom in layer L+1 is the sum of the first enhanced feature representation and the second enhanced feature representation of the nth sample atom in layer L.

[0068] In conjunction with any of the above embodiments, in one implementation, the present invention also provides a method for predicting molecular properties based on a hybrid expert orbital graph neural network. In this method, step S32 may specifically include steps S61 to S67: Step S61: Input the target molecular graph corresponding to the target molecule into the feature extractor of the molecular property prediction model to obtain the feature representation of the N target atoms of the target molecular graph in the first layer.

[0069] In this embodiment, the target molecular graph corresponding to the target molecule can be input into the feature extractor of the molecular property prediction model to obtain the feature representations of the N target atoms in the target molecular graph at the first layer. Here, the target molecular graph includes N target atoms, where N is an integer greater than 1. Target atoms refer to the atoms in the target molecular graph. The feature extractor of the molecular property prediction model is the feature extractor trained on the feature extractor of the graph neural network to be trained. It can be understood that the feature representation of the target atoms at the first layer is the feature representation of the target atoms input into the first layer of the molecular property prediction model for processing.

[0070] Step S62: In the first layer of the molecular property prediction model, determine the semantic similarity between the feature representations of N target atoms in the first layer and the final feature representations of T expert orbital prototypes. The expert orbital prototype with the highest semantic similarity to the nth target atom is determined as the expert orbital prototype to which the nth target atom belongs in the first layer. Based on the feature representations of the other target atoms corresponding to the nth target atom in the first layer, and the final feature representation of the expert orbital prototype to which the nth target atom belongs in the first layer, update the feature representation of the nth target atom in the first layer to obtain the first enhanced feature representation of the nth target atom in the first layer.

[0071] In this embodiment, in the first layer of the molecular property prediction model, based on the final feature representations of T expert orbital prototypes and the feature representations of N target atoms in the first layer, the semantic similarity between the feature representation of each target atom in the first layer and the final feature representations of each expert orbital prototype is calculated, thereby determining the semantic similarity between the feature representations of N target atoms in the first layer and the final feature representations of T expert orbital prototypes.

[0072] In an optional example, the cosine similarity between the feature representation of the target atom at the first layer and the final feature representation of each expert orbital prototype can be determined as the semantic similarity between the feature representation of the target atom at the first layer and the final feature representation of each expert orbital prototype.

[0073] In the first layer of the molecular property prediction model, for the nth target atom (n∈[1,N]), the highest semantic similarity is determined from the semantic similarity between the feature representation of the nth target atom in the first layer and the final feature representations of the T expert orbital prototypes. Based on the highest semantic similarity, the expert orbital prototype with the highest semantic similarity to the nth target atom in the first layer is determined. Thus, the expert orbital prototype with the highest semantic similarity to the nth target atom in the first layer is determined as the expert orbital prototype to which the nth target atom belongs in the first layer. This achieves the goal of assigning the target atom to different expert orbital prototypes according to its semantic features, thereby ensuring semantic consistency.

[0074] After determining the expert orbital prototype of the nth target atom in the first layer, the feature representation of the nth target atom in the first layer can be updated based on the feature representations of the other target atoms corresponding to the nth target atom in the first layer, and the final feature representation of the expert orbital prototype to which the nth target atom belongs in the first layer. This results in the first enhanced feature representation of the nth target atom in the first layer. The other target atoms corresponding to the nth target atom in the first layer are those that belong to the same expert orbital prototype as the nth target atom in the first layer.

[0075] It is understood that in this embodiment, after assigning expert orbital prototypes to each target atom based on semantic similarity at each layer, there may be multiple target atoms belonging to the same expert orbital prototype. In this case, the multiple target atoms belonging to the same expert orbital prototype at that layer include: one target atom and the other target atoms corresponding to that target atom at that layer. That is, the other target atoms corresponding to the target atom at that layer are: other target atoms in that layer that belong to the same expert orbital prototype as the target atom. The expert orbital prototypes to which the nth target atom belongs in different layers may be the same or different.

[0076] Step S63: In the first layer of the molecular property prediction model, based on the feature representations of each neighboring target atom in the target molecular diagram in the first layer, and the final feature representation of the shared expert orbital prototype, the feature representation of the nth target atom in the first layer is updated to obtain the second enhanced feature representation of the nth target atom in the first layer.

[0077] In this embodiment, in the first layer of the molecular property prediction model, for the nth target atom, each neighboring target atom in the target molecular diagram can be identified, wherein there is a chemical bond connection between the neighboring target atom and the nth target atom. Then, based on the feature representations of each neighboring target atom in the sample molecular diagram in the first layer, and the final feature representation of the shared expert orbital prototype, the feature representation of the nth target atom in the first layer is updated to obtain the second enhanced feature representation of the nth target atom in the first layer.

[0078] Step S64: In the first layer of the molecular property prediction model, based on the first and second enhanced feature representations of the nth target atom in the first layer, obtain the feature representation of the nth target atom in the second layer.

[0079] In this embodiment, in the first layer of the molecular property prediction model, for the nth target atom, the feature representation of the nth target atom in the second layer can be obtained based on the first enhanced feature representation of the nth target atom in the first layer and the second enhanced feature representation of the nth target atom in the first layer. In an optional example, the feature representation of the nth target atom in the second layer is the sum of the first enhanced feature representation and the second enhanced feature representation of the nth target atom in the first layer. Here, the feature representation of the target atom in the second layer is the feature representation of the target atom input to the second layer of the molecular property prediction model for processing.

[0080] Step S65: Traverse the second to the last layer of the molecular property prediction model. For the Lth layer reached, update the feature representation of the N target atoms in the Lth layer based on the final feature representation of the shared expert orbit prototype and the final feature representation of the T expert orbit prototypes, to obtain the feature representation of the N target atoms in the L+1th layer.

[0081] In this embodiment, after obtaining the feature representations of N target atoms in the second layer, the molecular property prediction model is traversed from the second layer to the last layer. For the Lth layer (L∈[2, last layer]), the processing method for the first layer described above in this embodiment can be referred to. Based on the final feature representations of the shared expert orbit prototypes and the final feature representations of T expert orbit prototypes, the feature representations of N target atoms in the Lth layer are updated to obtain the feature representations of N target atoms in the L+1th layer.

[0082] Specifically, for the Lth layer traversed, the semantic similarity between the feature representations of N target atoms in the Lth layer and the final feature representations of T expert orbital prototypes is determined. For the nth target atom, the expert orbital prototype with the highest semantic similarity to the nth target atom in the Lth layer is determined as the expert orbital prototype to which the nth target atom belongs in the Lth layer. Then, based on the feature representations of the other target atoms corresponding to the nth target atom in the Lth layer, and the final feature representation of the expert orbital prototype to which the nth target atom belongs in the Lth layer, the feature representation of the nth target atom in the Lth layer is updated to obtain the first enhanced feature representation of the nth target atom in the Lth layer.

[0083] In this context, the other target atoms corresponding to the nth target atom in layer L are: other target atoms in layer L that belong to the same expert orbital prototype as the nth target atom. The feature representation of the target atom in layer L is the feature representation of the target atom input into layer L of the molecular property prediction model for processing, and the feature representation of the target atom in layer L+1 is the feature representation of the target atom input into layer L+1 of the molecular property prediction model for processing.

[0084] Next, the feature representation of the nth target atom in layer L can be updated based on the feature representations of each neighboring target atom in the target molecular diagram at layer L, and the final feature representation of the shared expert orbital prototype, resulting in the second enhanced feature representation of the nth target atom in layer L. Finally, based on the first enhanced feature representation of the nth target atom in layer L and the second enhanced feature representation of the nth target atom in layer L, the feature representation of the nth target atom in layer L+1 is obtained.

[0085] Step S66: Based on the feature representations of the N target atoms output in the last layer, obtain the graph-level feature representation of the target molecular graph.

[0086] In this embodiment, in the last layer of the molecular property prediction model, the semantic similarity between the feature representations of N target atoms in the last layer and the final feature representations of T expert orbital prototypes is determined. For the nth target atom, the expert orbital prototype with the highest semantic similarity to the nth target atom in the last layer is determined as the expert orbital prototype to which the nth target atom belongs in the last layer. Then, based on the feature representations of other target atoms corresponding to the nth target atom in the last layer, and the final feature representation of the expert orbital prototype to which the nth target atom belongs in the last layer, the feature representation of the nth target atom in the last layer is updated to obtain the first enhanced feature representation of the nth target atom in the last layer. Furthermore, in the last layer of the molecular property prediction model, based on the feature representations of each adjacent target atom of the nth target atom in the target molecular graph in the last layer, and the final feature representation of the shared expert orbital prototype, the feature representation of the nth target atom in the last layer is updated to obtain the second enhanced feature representation of the nth target atom in the last layer. Next, in the last layer of the molecular property prediction model, based on the first enhanced feature representation of the nth target atom in the last layer and the second enhanced feature representation of the nth target atom in the last layer, the feature representation of the nth target atom output in the last layer is obtained, and then the feature representation of the N target atoms output in the last layer is obtained.

[0087] Next, the feature representations of the N target atoms output at the last layer are processed to obtain the graph-level feature representation of the target molecular graph. The feature representation of the target atoms at the last layer is the feature representation of the target atoms input to the last layer of the molecular property prediction model for processing. The feature representation of the target atoms output at the last layer is the updated feature representation of the target atoms obtained after processing by the last layer of the molecular property prediction model.

[0088] Step S67: Based on the graph-level feature representation of the target molecule graph, obtain the predicted properties of the target molecule.

[0089] In this embodiment, the graph-level feature representation of the target molecular graph can be analyzed and predicted using a prediction head trained in the molecular property prediction model, and the predicted properties of the target molecule can be output. The predicted properties of the target molecule are the chemical properties corresponding to the target molecule obtained by predicting the target molecular graph corresponding to the target molecule.

[0090] In one embodiment, the sample molecular graph G is input into the graph neural network to be trained. First, a feature extractor extracts features to obtain the feature representations of N sample atoms in the first layer. The feature representations of the N sample atoms in each layer are denoted by H. Then, in the first layer, the cosine similarity F is calculated based on the feature representations of the N sample atoms in the first layer and the learnable feature representations of M expert orbit prototypes. Then, through a semantically similar router, each sample atom is assigned to a different expert orbit prototype based on the cosine similarity. In the first layer, the feature representations of the N sample atoms in the first layer are updated based on the shared expert orbit prototypes and the M expert orbit prototypes to obtain the feature representations of the N sample atoms in the second layer, which are then input into the second layer of the graph neural network to be trained.

[0091] For the second to the last layer of the graph neural network to be trained, the processing method is the same or similar to that of the first layer, until the feature representation of the N sample atoms output by the last layer is obtained. Based on the feature representation of the N sample atoms output by the last layer, the graph-level feature representation of the sample molecule graph is obtained. Finally, the graph-level feature representation of the sample molecule graph is predicted based on the output head (i.e., the prediction head) of the graph neural network to be trained, and the predicted properties of the sample molecule are obtained.

[0092] In one embodiment, the performance of the molecular property prediction model in this embodiment is verified by comprehensively comparing it with multiple baseline methods on the molecular graph dataset ZINC. ZINC is a widely used molecular graph regression dataset, where nodes represent atoms and edges represent chemical bonds, and the task is to predict the chemical properties of molecules. In this ZINC dataset, there are 12,000 graphs, an average of 23.2 atoms, an average of 24.9 chemical bonds, and the task type is graph regression (predicting graph-level attributes).

[0093] In molecular prediction tasks, this embodiment compares several representative graph neural networks with the molecular property prediction model of this embodiment, including GAT based on attention mechanisms, and a series of graph Transformer architectures such as Graph Transformer (GT), SAN, Graphormer, SAT, EGT, GraphGPS, GEAET, TIGT, and Graph-Mamba. These methods improve the ability to model long-range dependencies and complex structures by introducing global attention or sequence modeling mechanisms, and are often used to handle graph-level tasks. In addition, this embodiment also compares with graph hybrid expert trajectory models proposed in recent years, including DAMoE and GMoE. All models are trained and tested under a unified data partitioning and evaluation protocol to ensure the comparability of experimental results.

[0094] For ZINC, a labeled partitioning method was used to ensure fair comparison with existing work. All experimental results were reported under fixed data partitions, and the average results were obtained after multiple random initializations to reduce the impact of randomness. The model was trained using the Adam optimizer, combined with an early stopping strategy, terminating training when the performance on the validation set did not improve within 100 consecutive epochs. To ensure training stability, the model parameters were randomly initialized in this embodiment, and standard regularization techniques such as weight decay were used during training to mitigate overfitting. Specifically, the hyperparameters for the ZINC dataset were set as follows: initial learning rate of 0.005, weight decay of 1e-5, number of expert track prototypes of 3, and dropout of 0; and the configuration with the best performance was selected for testing on the validation set. Unless otherwise specified, all other parameters remained at their default settings.

[0095] The experimental metric was MAE, and the results were as follows: GT = 0.226, SAN = 0.139, Graphormer = 0.122, SAT = 0.094, EGT = 0.108, GraphGPS = 0.070, and TIGT = 0.057. In this embodiment, the model was used on GCN (i.e., GCN was used as the aforementioned feature extractor). Compared with GCN, GMoE-GCN, and DAMoE-GCN, the MAE values ​​were 0.082, 0.367, and 0.0, respectively. The model in this embodiment is used on GAT (i.e., using GAT as the aforementioned feature extractor), and compared with GAT, GMoE-GAT, and DAMoE-GAT, the MAE values ​​are 0.099, 0.385, 0.111, and 0.154, respectively. The model in this embodiment is used on GIN (i.e., using GIN as the aforementioned feature extractor), and compared with GIN, GMoE-GIN, and DAMoE-GIN, the MAE values ​​are 0.083, 0.526, 0.110, and 0.104, respectively.

[0096] The results above demonstrate that the proposed model exhibits good versatility and stability. On one hand, the molecular property prediction model can be seamlessly applied to various base models (i.e., the aforementioned feature extractors), such as GCN, GAT, and GIN, and brings significant performance improvements across different backbone architectures. This indicates that the improvement does not depend on a specific model structure but stems from an essential optimization of the feature transfer mechanism. On the other hand, experimental results on the ZINC dataset show consistent performance gains, and in most cases, they reach or approach the current state-of-the-art level, reflecting the robustness and generalization ability of the method. Furthermore, compared to the correlation graph hybrid expert orbit method, this embodiment achieves further improvements in all metrics. This indicates that, compared to traditional modeling methods based on expert orbit combinations, this embodiment, by introducing a structural decoupling mechanism at the feature transfer level, can more effectively alleviate the problem of heterogeneous information mixing, thereby improving the overall representation learning effect.

[0097] Furthermore, in one embodiment, the effect of the shared expert track prototype was evaluated through an ablation experiment system. The experiment used GCN as the base model (feature extractor) and was validated on the ZINC dataset. Except for removing the shared expert track prototype, the rest of the model structure and training settings remained consistent to ensure fairness in the comparison. The ablation results were as follows: the model in this embodiment, used on GCN (i.e., with GCN as the feature extractor), achieved MAEs of 0.082, 0.367, and 0.112 compared to GCN and the model without the shared expert track prototype, respectively.

[0098] Experiments show that introducing shared expert orbit prototypes can steadily improve model performance, with particularly significant gains in molecular prediction tasks. On the ZINC dataset, the MAE of the model increased from 0.082 to 0.112 after removing shared expert orbit prototypes, indicating a significant performance degradation. This is mainly because the prediction of molecular properties relies on the representation of atomic features across the entire molecular graph, and shared expert orbit prototypes can enhance the application of global information. When shared expert orbit prototypes are removed, the information propagation between individual expert orbit prototypes becomes relatively isolated, easily affecting the quality of graph-level representation. Furthermore, ZINC is a graph regression task, which is more sensitive to fine-grained structural information and numerical errors; the information loss caused by the absence of shared expert orbit prototypes is further amplified.

[0099] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0100] Based on the same inventive concept, one embodiment of the present invention provides a molecular property prediction device based on a hybrid expert orbital graph neural network. (Reference) Figure 2 , Figure 2 This is a structural block diagram of a molecular property prediction device based on a hybrid expert orbital graph neural network, provided in an embodiment of the present invention. Figure 2 As shown, the device includes: The feature extraction module is used to input the sample molecule graph corresponding to the sample molecule into the feature extractor of the graph neural network to be trained, and obtain the feature representation of N sample atoms of the sample molecule graph in the first layer. The first processing module is used to determine the semantic similarity between the feature representations of N sample atoms in the first layer of the graph neural network to be trained and the learnable feature representations of T expert orbit prototypes in the first layer; and to determine the expert orbit prototype with the highest semantic similarity to the nth sample atom as the expert orbit prototype to which the nth sample atom belongs in the first layer. Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, the feature representation of the nth sample atom in the first layer is updated to obtain the feature representation of the nth sample atom in the second layer. Wherein, the target sample atom corresponding to the nth sample atom in the first layer is: the sample atom in the first layer that belongs to the same expert orbit prototype as the nth sample atom. The second processing module is used to traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, based on the learnable feature representations of the T expert orbit prototypes, the feature representations of the N sample atoms in the Lth layer are updated to obtain the feature representations of the N sample atoms in the L+1th layer. The graph-level processing module is used to obtain the graph-level feature representation of the sample molecule graph based on the feature representation of the N sample atoms output in the last layer. The first prediction module is used to obtain the predicted properties of sample molecules based on the graph-level feature representation of the sample molecule graph. The parameter update module is used to update the model parameters of the graph neural network to be trained and the learnable feature representations of T expert orbit prototypes based on the predicted properties and property labels of the sample molecules, so as to obtain the final feature representations of the molecular property prediction model and the T expert orbit prototypes. The second prediction module is used to predict the molecular properties of the target molecule based on the molecular property prediction model and the final feature representation of T expert orbital prototypes, thereby obtaining the predicted properties of the target molecule.

[0101] Optionally, the first processing module includes: The first enhancement module is used to update the feature representation of the nth sample atom in the first layer based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, so as to obtain the first enhanced feature representation of the nth sample atom in the first layer. The second enhancement module is used to update the feature representation of the nth sample atom in the first layer based on the feature representation of each neighboring sample atom in the sample molecular diagram in the first layer, and the learnable feature representation of the shared expert orbit prototype, to obtain the second enhanced feature representation of the nth sample atom in the first layer. The first fusion module is used to obtain the feature representation of the nth sample atom in the second layer based on the first and second enhanced feature representations of the nth sample atom in the first layer. The second processing module includes: The first update module is used to traverse the second to the last layer of the graph neural network to be trained. For the Lth layer, based on the learnable feature representation of the shared expert orbit prototype and the learnable feature representation of T expert orbit prototypes, the feature representation of N sample atoms in the Lth layer is updated to obtain the feature representation of N sample atoms in the L+1th layer.

[0102] Optionally, the parameter update module includes: The second update module is used to update the model parameters of the graph neural network to be trained, the learnable feature representations of T expert orbit prototypes and the learnable feature representations of the shared expert orbit prototype based on the predicted properties of the sample molecules and the property labels of the sample molecules, so as to obtain the molecular property prediction model, the final feature representations of T expert orbit prototypes and the final feature representations of the shared expert orbit prototype. The second prediction module includes: The property prediction module is used to predict the molecular properties of the target molecule based on the molecular property prediction model, the final feature representations of T expert orbit prototypes, and the final feature representation of the shared expert orbit prototype, and to obtain the predicted properties of the target molecule.

[0103] Optionally, the second update module includes: The first iteration module is used to update the model parameters of the graph neural network to be trained in the current iteration, the learnable feature representations of the T expert orbit prototypes in the current iteration, and the learnable feature representations of the shared expert orbit prototype in the current iteration, based on the predicted properties of the output of the graph neural network to be trained in the current iteration and the property labels of the sample molecules. This updates the model parameters of the graph neural network to be trained in the next iteration, the learnable feature representations of the T expert orbit prototypes in the next iteration, and the learnable feature representations of the shared expert orbit prototype in the next iteration. The second iteration module is used to perform multiple iterations according to the above steps to obtain the final feature representation of the molecular property prediction model, the T expert orbital prototypes, and the final feature representation of the shared expert orbital prototype.

[0104] Optionally, the first update module includes: The prototype allocation module is used to determine the semantic similarity between the feature representations of N sample atoms in layer L and the learnable feature representations of T expert orbit prototypes for the Lth layer traversed. The expert orbit prototype with the highest semantic similarity to the nth sample atom is identified as the expert orbit prototype to which the nth sample atom belongs in layer L. Based on the feature representation of the target sample atom corresponding to the nth sample atom in layer L, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in layer L, the feature representation of the nth sample atom in layer L is updated to obtain the first enhanced feature representation of the nth sample atom in layer L. The target sample atom corresponding to the nth sample atom in layer L is defined as: the sample atom in layer L that belongs to the same expert orbit prototype as the nth sample atom; the expert orbit prototypes to which the nth sample atom belongs differ in different layers. The third enhancement module is used to update the feature representation of the nth sample atom in the L layer based on the feature representation of each neighboring sample atom in the sample molecular diagram in the L layer, and the learnable feature representation of the shared expert orbit prototype, to obtain the second enhanced feature representation of the nth sample atom in the L layer. The second fusion module is used to obtain the feature representation of the nth sample atom in the L+1 layer based on the first and second enhanced feature representations of the nth sample atom in the L layer.

[0105] Optionally, the property prediction module includes: The first extraction module is used to input the target molecular map corresponding to the target molecule into the feature extractor of the molecular property prediction model to obtain the feature representation of the N target atoms of the target molecular map in the first layer; The third processing module is used to determine the semantic similarity between the feature representations of N target atoms in the first layer of the molecular property prediction model and the final feature representations of T expert orbital prototypes. The expert orbital prototype with the highest semantic similarity to the nth target atom is identified as the expert orbital prototype to which the nth target atom belongs in the first layer. Based on the feature representations of the other target atoms corresponding to the nth target atom in the first layer, and the final feature representation of the expert orbital prototype to which the nth target atom belongs in the first layer, the feature representation of the nth target atom in the first layer is updated to obtain the first enhanced feature representation of the nth target atom in the first layer. Among them, the other target atoms corresponding to the nth target atom in the first layer are: target atoms that belong to the same expert orbital prototype as the nth target atom in the first layer. The fourth processing module is used to update the feature representation of the nth target atom in the first layer of the molecular property prediction model based on the feature representation of each neighboring target atom in the target molecular diagram in the first layer, and the final feature representation of the shared expert orbital prototype, to obtain the second enhanced feature representation of the nth target atom in the first layer. The fifth processing module is used to obtain the feature representation of the nth target atom in the second layer based on the first and second enhanced feature representations of the nth target atom in the first layer of the molecular property prediction model. The sixth processing module is used to traverse the second to the last layer of the molecular property prediction model. For the Lth layer reached, the feature representations of the N target atoms in the Lth layer are updated based on the final feature representations of the shared expert orbit prototypes and the final feature representations of the T expert orbit prototypes, so as to obtain the feature representations of the N target atoms in the L+1th layer. The seventh processing module is used to obtain the graph-level feature representation of the target molecular graph based on the feature representation of the N target atoms output in the last layer; The third prediction module is used to obtain the predicted properties of the target molecule based on the graph-level feature representation of the target molecule graph.

[0106] The terms "first," "second," etc., used in the specification and claims of this invention are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0107] The molecular property prediction device based on a hybrid expert trajectory graph neural network in this invention embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This invention embodiment does not impose specific limitations.

[0108] The molecular property prediction device based on a hybrid expert orbital graph neural network in this embodiment of the invention can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this embodiment of the invention does not impose specific limitations.

[0109] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, such as... Figure 3 As shown, Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device includes a memory, a processor, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps in the molecular property prediction method based on a hybrid expert orbital graph neural network described in any of the above embodiments of the present invention.

[0110] It should be noted that the electronic devices in the embodiments of the present invention include the mobile electronic devices and non-mobile electronic devices described above.

[0111] Based on the same inventive concept, another embodiment of the present invention provides a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps in the molecular property prediction method based on a hybrid expert orbital graph neural network as described in any of the above embodiments of the present invention. The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.

[0112] Based on the same inventive concept, another embodiment of the present invention provides a computer program product, including a program or instructions, which, when executed by a processor, implement the steps in the molecular property prediction method based on a hybrid expert orbital graph neural network described in any of the above embodiments of the present invention.

[0113] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0114] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of the present invention is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0115] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0116] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.

Claims

1. A method for predicting molecular properties based on a hybrid expert orbital graph neural network, characterized in that, The method includes: Input the sample molecule graph corresponding to the sample molecule into the feature extractor of the graph neural network to be trained, and obtain the feature representation of N sample atoms of the sample molecule graph in the first layer; In the first layer of the graph neural network to be trained, the semantic similarity between the feature representations of N sample atoms in the first layer and the learnable feature representations of T expert orbit prototypes is determined. The expert orbit prototype with the highest semantic similarity to the nth sample atom is determined as the expert orbit prototype to which the nth sample atom belongs in the first layer. Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, the feature representation of the nth sample atom in the first layer is updated to obtain the feature representation of the nth sample atom in the second layer. Among them, the target sample atom corresponding to the nth sample atom in the first layer is: the sample atom in the first layer that belongs to the same expert orbit prototype as the nth sample atom. Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representation of N sample atoms at the Lth layer based on the learnable feature representation of T expert orbit prototypes to obtain the feature representation of N sample atoms at the L+1th layer. Based on the feature representations of the N sample atoms output in the last layer, the graph-level feature representation of the sample molecule graph is obtained; Based on the graph-level feature representation of the sample molecule graph, the predicted properties of the sample molecule are obtained; Based on the predicted properties and property labels of the sample molecules, the model parameters of the graph neural network to be trained and the learnable feature representations of the T expert orbit prototypes are updated to obtain the final feature representations of the molecular property prediction model and the T expert orbit prototypes. Based on the molecular property prediction model and the final feature representation of T expert orbital prototypes, the molecular properties of the target molecule are predicted from the target molecular graph corresponding to the target molecule, thus obtaining the predicted properties of the target molecule.

2. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 1, characterized in that, Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, the feature representation of the nth sample atom in the first layer is updated to obtain the feature representation of the nth sample atom in the second layer, including: Based on the feature representation of the target sample atom corresponding to the nth sample atom in the first layer, and the learnable feature representation of the expert orbit prototype to which the nth sample atom belongs in the first layer, the feature representation of the nth sample atom in the first layer is updated to obtain the first enhanced feature representation of the nth sample atom in the first layer. Based on the feature representations of each neighboring sample atom in the sample molecule diagram at the first layer, and the learnable feature representation of the shared expert orbit prototype, the feature representation of the nth sample atom at the first layer is updated to obtain the second enhanced feature representation of the nth sample atom at the first layer. Based on the first and second enhanced feature representations of the nth sample atom in the first layer, the feature representation of the nth sample atom in the second layer is obtained.

3. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 2, characterized in that, Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representations of N sample atoms at the Lth layer based on the learnable feature representations of T expert orbit prototypes, to obtain the feature representations of N sample atoms at the (L+1)th layer, including: Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representation of N sample atoms in the Lth layer based on the learnable feature representation of the shared expert orbit prototype and the learnable feature representation of T expert orbit prototypes, to obtain the feature representation of N sample atoms in the L+1th layer.

4. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 2, characterized in that, Based on the predicted properties and property labels of the sample molecules, the model parameters of the graph neural network to be trained and the learnable feature representations of T expert orbit prototypes are updated to obtain the final feature representations of the molecular property prediction model and the T expert orbit prototypes, including: Based on the predicted properties and property labels of the sample molecules, the model parameters of the graph neural network to be trained, the learnable feature representations of the T expert orbit prototypes, and the learnable feature representation of the shared expert orbit prototype are updated to obtain the molecular property prediction model, the final feature representations of the T expert orbit prototypes, and the final feature representation of the shared expert orbit prototype.

5. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 4, characterized in that, Based on the molecular property prediction model and the final feature representation of T expert orbital prototypes, molecular property prediction is performed on the target molecular graph corresponding to the target molecule to obtain the predicted properties of the target molecule, including: Based on the molecular property prediction model, the final feature representations of T expert orbit prototypes, and the final feature representation of the shared expert orbit prototype, the molecular properties of the target molecule are predicted from the target molecular graph, thus obtaining the predicted properties of the target molecule.

6. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 4, characterized in that, Based on the predicted properties and property labels of the sample molecules, the model parameters of the graph neural network to be trained, the learnable feature representations of T expert orbit prototypes, and the learnable feature representation of the shared expert orbit prototype are updated to obtain the molecular property prediction model, the final feature representations of the T expert orbit prototypes, and the final feature representation of the shared expert orbit prototype, including: Based on the predicted properties of the output of the graph neural network to be trained in the current iteration, and the property labels of the sample molecules, the model parameters of the graph neural network to be trained in the current iteration, the learnable feature representations of the T expert orbit prototypes in the current iteration, and the learnable feature representations of the shared expert orbit prototype in the current iteration are updated once to obtain the model parameters of the graph neural network to be trained in the next iteration, the learnable feature representations of the T expert orbit prototypes in the next iteration, and the learnable feature representations of the shared expert orbit prototype in the next iteration. Perform multiple iterations following the steps described above to obtain the final feature representations of the molecular property prediction model, T expert orbital prototypes, and the shared expert orbital prototype.

7. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 3, characterized in that, Traverse the second to the last layer of the graph neural network to be trained. For the Lth layer reached, update the feature representations of N sample atoms at the Lth layer based on the learnable feature representations of the shared expert orbit prototype and the learnable feature representations of T expert orbit prototypes, to obtain the feature representations of N sample atoms at the L+1th layer, including: For the Lth layer reached, the semantic similarity between the feature representations of N sample atoms in the Lth layer and the learnable feature representations of T expert orbital prototypes is determined. The expert orbital prototype with the highest semantic similarity to the nth sample atom is identified as the expert orbital prototype to which the nth sample atom belongs in the Lth layer. Based on the feature representation of the target sample atom corresponding to the nth sample atom in the Lth layer, and the learnable feature representation of the expert orbital prototype to which the nth sample atom belongs in the Lth layer, the feature representation of the nth sample atom in the Lth layer is updated to obtain the first enhanced feature representation of the nth sample atom in the Lth layer. The target sample atom corresponding to the nth sample atom in the Lth layer is defined as: the sample atom in the Lth layer that belongs to the same expert orbital prototype as the nth sample atom; the expert orbital prototypes to which the nth sample atom belongs differ in different layers. Based on the feature representations of each neighboring sample atom in the sample molecule diagram at layer L, and the learnable feature representation of the shared expert orbit prototype, the feature representation of the nth sample atom at layer L is updated to obtain the second enhanced feature representation of the nth sample atom at layer L. Based on the first and second enhanced feature representations of the nth sample atom in layer L, the feature representation of the nth sample atom in layer L+1 is obtained.

8. The molecular property prediction method based on a hybrid expert orbital graph neural network according to claim 5, characterized in that, Based on the molecular property prediction model, the final feature representations of T expert orbital prototypes, and the final feature representation of a shared expert orbital prototype, molecular property prediction is performed on the target molecular graph corresponding to the target molecule to obtain the predicted properties of the target molecule, including: Input the target molecular graph corresponding to the target molecule into the feature extractor of the molecular property prediction model to obtain the feature representation of the N target atoms of the target molecular graph in the first layer; In the first layer of the molecular property prediction model, the semantic similarity between the feature representations of N target atoms in the first layer and the final feature representations of T expert orbital prototypes is determined. The expert orbital prototype with the highest semantic similarity to the nth target atom is identified as the expert orbital prototype to which the nth target atom belongs in the first layer. Based on the feature representations of the other target atoms corresponding to the nth target atom in the first layer, and the final feature representation of the expert orbital prototype to which the nth target atom belongs in the first layer, the feature representation of the nth target atom in the first layer is updated to obtain the first enhanced feature representation of the nth target atom in the first layer. Among them, the other target atoms corresponding to the nth target atom in the first layer are: target atoms that belong to the same expert orbital prototype as the nth target atom in the first layer. In the first layer of the molecular property prediction model, the feature representation of the nth target atom in the first layer is updated based on the feature representation of each neighboring target atom in the target molecular diagram in the first layer, and the final feature representation of the shared expert orbit prototype, to obtain the second enhanced feature representation of the nth target atom in the first layer. In the first layer of the molecular property prediction model, the feature representation of the nth target atom in the second layer is obtained based on the first and second enhanced feature representations of the nth target atom in the first layer. Traversing the second to the last layer of the molecular property prediction model, for the Lth layer reached, based on the final feature representation of the shared expert orbit prototype and the final feature representation of T expert orbit prototypes, the feature representation of N target atoms in the Lth layer is updated to obtain the feature representation of N target atoms in the L+1th layer. Based on the feature representations of the N target atoms output in the last layer, the graph-level feature representation of the target molecular graph is obtained; Based on the graph-level feature representation of the target molecule graph, the predicted properties of the target molecule are obtained.