A cross-species multi-scale hypergraph GEM deletion reaction prediction method

By employing a cross-species multi-scale hypergraph GEM missing response prediction method, this approach utilizes auxiliary GEM pooling to generate enhanced positive samples, constructs one-hop and two-hop neighbor hypergraphs, and adaptively fuses multi-scale structures. This addresses the issues of insufficient cross-species knowledge utilization and inadequate regulation of highly connected general metabolites in existing methods, thereby improving the accuracy of missing response prediction and the reliability of GEM completion.

CN123182784APending Publication Date: 2026-11-27XIAMEN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

Existing methods for predicting GEM-deficient responses rely on a single GEM to be filled or an external response database. They do not fully utilize cross-species metabolic knowledge, struggle to effectively utilize multi-scale structural information, and lack specific regulation for highly connected universal metabolites, resulting in insufficient prediction accuracy.

Method used

The method for predicting missing responses using a cross-species multi-scale hypergraph GEM is employed. This method utilizes an auxiliary GEM pool to perform metabolite co-occurrence statistics, generates enhanced positive samples, constructs one-hop neighbor and two-hop neighbor hypergraphs, and combines them with node representation matrices for multi-layer convolution. This adaptively fuses multi-scale structures and adjusts the contribution of highly connected general metabolites.

Benefits of technology

It improves the accuracy of missing response prediction and the reliability of GEM completion, expands training information, explicitly models multi-scale structures across responses, and alleviates topological bias of universal metabolites.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182784A_ABST
    Figure CN123182784A_ABST
Patent Text Reader

Abstract

The application provides a cross-species multi-scale supergraph GEM deletion reaction prediction method, and relates to the technical field of bioinformatics, which represents metabolites as nodes and reactions as superedges, and constructs a modeling node set; cross-species metabolite co-occurrence statistics are extracted using an auxiliary GEM pool, and enhanced positive samples are generated through importance-guided metabolite replacement; metabolite topology and molecular features are extracted and spliced into initial node features, and role parameters are iteratively adjusted based on cross-species co-occurrence degrees; one-hop co-occurrence supergraphs and two-hop related supergraphs are constructed, multi-scale structure representations are fused through gating, and are input into the main reaction supergraph propagation; the reaction conditions are gated and aggregated in combination with the context of the candidate reaction and the cross-species co-occurrence degrees, and the prediction probability of the candidate reaction is output. The problems of insufficient GEM training information to be filled, insufficient utilization of cross-reaction multi-scale structure, and high-connectivity universal metabolite topology bias can be alleviated, and the accuracy of missing reaction prediction and the reliability of GEM completion can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of bioinformatics technology, specifically to a method for predicting missing responses in multi-scale hypergraphs (GEMs) across species. Background Technology

[0002] Genome-scale metabolic models (GEMs) describe an organism's metabolic capacity through genes, metabolites, metabolic responses, and their stoichiometry, and are widely used in cell phenotype prediction, metabolic engineering, and biomanufacturing. However, due to incomplete gene function annotation, lack of response knowledge, and automatic reconstruction errors, existing GEMs often contain missing responses, which affects metabolic pathway connectivity and the reliability of model predictions. Therefore, accurately identifying potential missing responses is a crucial technical step in improving the integrity and application value of GEMs.

[0003] Among existing missing reaction completion techniques, one class of methods primarily relies on constraint optimization and reaction databases. These methods screen and complete candidate reactions using metabolic network constraints, experimental phenotypic information, and existing biochemical reaction databases. For example, an optimization-based metabolic model correction framework (GrowMatch) compares the differences between model-predicted growth results and experimentally observed phenotypes, using optimization strategies to find reactions that can correct model prediction errors. The computationally efficient extension tool (FastGapFill) in the COBRA toolbox selects the minimum set of reactions capable of restoring network connectivity through metabolic flux constraints and candidate reaction library searches. A topology-based gap-filling tool (Meneco) transforms the missing reaction completion process into a combinatorial optimization problem. A tool for predicting bacterial metabolic pathways and automatically reconstructing metabolic models (gapseq) comprehensively utilizes sequence homology information, metabolic pathway structures, and reaction databases to predict potential metabolic pathways. A computational workflow for annotating knowledge gaps in metabolic reconstruction (NetworkIntegratedComputationalExplorer for GapAnnotationofMetabolism, NICEgame) further combines known and hypothetical biochemical reaction spaces to analyze the thermodynamic feasibility of candidate reactions. The methods described above can restore metabolic network function to some extent using existing biochemical knowledge, but they typically rely on predefined reaction libraries, experimental phenotypic constraints, or manually set rules. The candidate reaction search space and completion effect are easily limited by the coverage of prior knowledge, and external information is mainly used for candidate reaction retrieval and feasibility verification, and has not yet been further transformed into cross-species metabolic knowledge that can be used for model learning. When the GEM to be filled is incomplete or relevant experimental data is difficult to obtain, the effective information available for reaction screening and model learning remains limited.

[0004] To reduce reliance on manual rules and experimental constraints, existing technologies further employ topological prediction methods based on graph and hypergraph learning, modeling missing response prediction as a link prediction or hyperedge prediction problem, and automatically learning structural information in metabolic networks through graph neural networks and hypergraph neural networks. For example, CliqueClosure-based Coordinated Matrix Minimization (C3MM) utilizes high-order structural relationships in metabolic networks to predict potential missing responses through the clique closure assumption and matrix optimization; the Neural Hyperlink Predictor (NHP) transforms hyperedge prediction into a neural network learning task; the Chebyshev Spectral HyperlInk Predictor (CHESHIRE) constructs a hypergraph structure using metabolite-reaction association matrices and learns high-order associations between metabolites through spectral convolution; the HyperGraph Neural Network Plus (HGNNP) learns high-order interactions between metabolites and reactions through an alternating node and hyperedge propagation mechanism; and the Dual-Scale Fused Hypergraph Convolution-based Hyperedge Prediction Model (DSHCNet) constructs different types of subgraphs, such as substrate-substrate, product-product, and substrate-product, to capture topological relationships at different scales within the reaction. These methods improve the representation capabilities of candidate responses and reduce reliance on manual rules, but their training samples and topologies are usually still mainly derived from a single unfilled GEM, failing to fundamentally address the problem of insufficient information in incomplete networks. Furthermore, existing structure learning processes often focus on direct associations within the same response or general local neighborhood propagation, lacking clear distinction and adaptive fusion of cross-response indirect pathway associations formed by multiple responses, thus making it difficult to fully utilize the multi-scale structural information across metabolic networks.

[0005] To address the problem that topological information is insufficient to fully describe the biochemical properties of metabolites, some existing technologies further introduce molecular structural features, pre-trained molecular representations, and attention mechanisms to enhance candidate response representations. For example, Multi-modal Hypergraph Neural Network (Multi-HGNN) uses pre-trained molecular models to extract metabolite features and combines directed graphs and hypergraphs to learn different types of metabolic relationships; Multi-way SMILES-based Hypergraph Interface Network (MuSHIN) uses ChemBERTa and RXNFP to encode metabolite and reaction information respectively, and uses node and hyperedge dynamic attention to update metabolite and reaction representations; HyperGraph Learning with Multi-dimensional metabolite feature extractions and static-dynamic attention mechanisms (HGLMA) combines ChemBERTa and GraphMVP to extract multi-dimensional metabolite features and identifies key metabolites in candidate reactions through directed graph networks, hypergraph networks, and static and dynamic multi-head attention mechanisms; Graph and Hypergraph Convolution Networks – Squeeze and The Excitation (GHCN-SE) method integrates graph convolutional networks, hypergraph convolutional networks, and extrusion networks to adaptively enhance metabolite fusion features. While these methods improve the representation of metabolites and candidate responses, they do not fully utilize shared metabolic patterns across species. Furthermore, their attention or weighting mechanisms are typically geared towards general feature fusion and importance allocation, failing to address the high-connectivity nodes specific to metabolic networks. Universal metabolites such as ATP and NAD(H) are widely involved in energy transfer, redox reactions, and other fundamental metabolic processes, easily gaining strong influence in multi-layer message propagation and response feature aggregation, forming topological shortcuts dominated by connection frequencies. This weakens more reaction-specific metabolite signals, affecting the accuracy of candidate response representations.

[0006] In summary, while existing methods for predicting missing responses have driven the development of GEM completion techniques, they still have the following shortcomings: existing methods mainly rely on a single GEM to be filled or an external response database, failing to fully utilize cross-species metabolic knowledge from multiple auxiliary GEMs, resulting in insufficient effective training information in the incomplete network; existing graph and hypergraph learning methods mainly focus on local or internal reaction structures, lacking explicit modeling and adaptive fusion of cross-reaction associations at different scales; existing feature enhancement methods lack specific regulatory mechanisms for highly connected general metabolites, making them susceptible to topological frequency bias.

[0007] In view of the above, this application is hereby submitted. Summary of the Invention

[0008] This invention provides a cross-species multiscale hypergraph GEM missing response prediction method, which can at least partially improve the above-mentioned problems.

[0009] To achieve the above objectives, the present invention adopts the following technical solution: A method for predicting missing responses in multi-species multi-scale hypergraph GEMs, comprising: Step S1: Obtain data from the auxiliary GEM pool and the GEM to be filled, and perform data segmentation and metabolite replacement on the data of the GEM to be filled to obtain the original training positive reaction set, the original validation positive reaction set, the original test positive reaction set, the validation negative reaction set, and the test negative reaction set. Step S2: Select a positive reaction from the original training positive reaction set for cross-species metabolic data augmentation to generate an enhanced positive reaction. Merge the enhanced positive reaction set with the original training positive reaction set to obtain a training positive reaction set. Perform metabolite replacement processing on the training positive reaction set to obtain a training negative reaction set. Then, merge all metabolites involved in the training positive reaction set, training negative reaction set, original validation positive reaction set, original test positive reaction set, validation negative reaction set, and test negative reaction set to obtain a unified modeling node set. Step S3: Construct initial node features on the unified modeling node set, and iteratively update the trainable parameters based on the cross-species co-occurrence degree and the initial node features to obtain the final role adjustment node representation; Step S4: Construct the one-hop neighbors and two-hop neighbors of all metabolites in the unified modeling node set, construct and encode them to obtain one-hop encoding results and two-hop encoding results, and process each central metabolite through two preset branches to obtain the one-hop gating vector and two-hop gating vector corresponding to the central metabolite. Based on the one-hop gating vector, two-hop gating vector, one-hop encoding result, two-hop encoding result, and role adjustment node representation, perform residual fusion processing and multi-layer hypergraph convolution processing in sequence to generate a node representation matrix. Step S5: Calculate the weights of all metabolites in the reaction to be enhanced, combine them with the node representation matrix to form the final representation of the reaction, and input the final representation into the classifier to generate the missing reaction prediction results; Step S6: Calculate the loss of the missing response prediction results to obtain the training loss of the current batch. When the training loss of the current batch meets the preset conditions, validate the GEM to be imputed based on the original validation positive response set and the original test positive response set. After the validation is passed, test the GEM to be imputed based on the validation negative response set and the test negative response set to generate the final missing response prediction results.

[0010] Preferably, step S1 specifically includes: Obtain the preset auxiliary GEM pool and the metabolites, known reactions and metabolite SMILES of the GEM to be filled, and represent the metabolites as nodes and the known reactions as hyperedges connecting the metabolites involved, to obtain the original set of metabolites of the GEM to be filled. The known reactions to be filled in GEM are divided according to a preset ratio to obtain the original training positive reaction set, the original validation positive reaction set, and the original test positive reaction set. The metabolites involved in the reactions in the original training positive reaction set are defined as the original training positive reaction metabolite set. For each positive reaction in the original set of validation positive reactions and the original set of test positive reactions, half of the metabolites involved in these reactions are randomly selected to replace with replacement candidate metabolites, and at least one is replaced, to obtain the set of validation negative reactions and the set of test negative reactions. The replacement candidate metabolites are derived from a preset ChEBI metabolite pool.

[0011] Preferably, step S2 specifically includes: Remove GEMs that are identical to those in the GEM to be filled from the auxiliary GEM pool. Then, combine the metabolite set of each remaining auxiliary GEM in the auxiliary GEM pool with the original training positive reaction metabolite set to obtain the metabolite index range used for cross-species statistics. Metabolites in the metabolite index range that belong only to the auxiliary GEM will not automatically become modeling nodes of the GEM to be filled. For any two metabolites within the metabolite index range, calculate the cumulative co-occurrence matrix by iterating only through the reactions in the auxiliary GEM pool; The co-occurrence frequency vector in the cumulative co-occurrence frequency matrix is ​​L1 normalized, and the cosine similarity of the co-occurrence profiles of the two metabolites is calculated based on the normalization result. For one of the two metabolites, calculate its cross-species co-occurrence degree and occurrence conservation respectively. Based on the cross-species co-occurrence degree and occurrence conservation, calculate the importance score and average response importance in sequence. Then, calculate the normalized sampling weight and response sampling probability in sequence according to the average response importance. Based on the reaction sampling probability, a positive reaction is randomly selected from the original training positive reaction set as the reaction to be enhanced. All metabolites that meet the preset candidate conditions are screened from the reaction to be enhanced, and the importance scores of these metabolites are normalized. From the normalized importance scores, a metabolite is randomly selected as the final metabolite to be replaced. The higher the reaction sampling probability, the greater the probability of selection. Based on the cosine similarity of the co-occurrence profile, the qualified replacement candidate with the highest cosine similarity to the final metabolite to be replaced is selected from the qualified replacement candidates to replace the final metabolite, thereby obtaining an enhanced positive reaction; The original training positive reaction set and the enhanced positive reaction set are merged to obtain the training positive reaction set. For each positive reaction in the training positive reaction set, half of the metabolites involved in these reactions are randomly selected and replaced with replacement candidate metabolites, and at least one is replaced to obtain the training negative reaction set. The replacement candidate metabolites are derived from the preset ChEBI metabolite pool. All metabolites involved in the training positive reaction set, training negative reaction set, original validation positive reaction set, original test positive reaction set, validation negative reaction set, and test negative reaction set are merged to obtain a unified modeling node set.

[0012] Preferably, step S3 specifically includes: Using topological branching, a 64-dimensional topological representation is generated for each node based on the metabolite participation patterns in the training positive reaction set. Molecular branching is used to perform molecular feature extraction once for each node. Specifically, for nodes with valid SMILES, the SMILES are input into ChemBERTa and passed through a mapping layer to obtain a 64-dimensional molecular representation. For nodes without valid SMILES, a substitute input is constructed according to a preset molecular input preprocessing rule, and the substitute input is input into the same ChemBERTa and mapping layer to obtain a 64-dimensional molecular representation. For nodes that do not have valid SMILES, their position in the unified modeling node set is retained, and they continue to participate in hyperedge association and topological feature calculation. For each node, its 64-dimensional topological representation and 64-dimensional molecular representation are concatenated to form an initial node feature of 128 dimensions. Using cross-species co-occurrence degree, the initial node features are adjusted before structure propagation, the normalized degree is calculated on the unified modeling node set, and the initial role coefficient prior and initial trainable parameters are calculated sequentially based on the normalized degree. Calculate the initial role coefficients based on the initial trainable parameters, calculate the initial role adjustment node representation based on the initial role coefficients, perform forward propagation based on the initial role adjustment node representation and calculate the training loss, obtain the gradient of the loss with respect to the initial trainable parameters through backpropagation, and update the initial trainable parameters using the optimizer to obtain the updated trainable parameters. The updated trainable parameters are used as the trainable parameters for the current update step, and iterative update processing is performed. Specifically, the role coefficients for the current update step are calculated based on the trainable parameters for the current update step, the role adjustment node representation for the current update step is calculated based on the role coefficients for the current update step, forward propagation is performed based on the role adjustment node representation for the current update step and the training loss is calculated, back propagation is performed to obtain the gradient of the loss with respect to the trainable parameters for the current update step, and the trainable parameters for the current update step are updated using the optimizer to obtain the trainable parameters for the next update step, and these are used as the trainable parameters for the current update step in the next round of iterative update processing. Repeat the above iterative update process until the preset maximum number of update steps is reached or the convergence condition is met. Then, take the role adjustment node representation corresponding to the trainable parameters of the last update step as the final role adjustment node representation.

[0013] Preferably, step S4 specifically includes: For all metabolites in the unified modeling node set, calculate the number of co-occurrences of the training positive reaction and the frequency of node occurrence. Based on the number of co-occurrences of the training positive reaction, take all metabolites in the unified modeling node set as central metabolites in turn, and retain all metabolites that co-occur directly with the central metabolites as one-hop neighbors. For each central metabolite, metabolites that are indirectly connected to at least one intermediate metabolite and do not have a direct co-occurrence relationship with the central metabolite are selected as its corresponding second-hop candidates. A maximum of a preset number of second-hop candidates are selected as second-hop neighbors according to the node occurrence frequency from low to high. If there are not enough candidates, all are retained. Based on one-hop neighbors and two-hop neighbors, hyperedges are established with the central metabolite and its corresponding neighbors. After merging repeated hyperedges, a one-hop hypergraph and a two-hop hypergraph are formed. The one-hop hypergraph and the final role adjustment node representation are input into a preset one-hop hypergraph encoder to obtain the one-hop encoding result. The two-hop hypergraph and the final role adjustment node representation are input into a preset two-hop hypergraph encoder to obtain the two-hop encoding result. Each central metabolite is processed through two preset branches to obtain the one-hop gating vector and the two-hop gating vector corresponding to the central metabolite. The one-hop structure representation in the one-hop encoding result, the two-hop structure representation in the two-hop encoding result, and the role adjustment node representation are combined to perform residual fusion processing to obtain the fusion representation corresponding to the central metabolite. The fusion representations of all central metabolites are combined to obtain a fusion representation matrix. The fusion representation matrix is ​​then input into the master reaction hypergraph, and multi-layer hypergraph convolution is performed on the master reaction hypergraph to generate a node representation matrix.

[0014] Preferably, step S5 specifically includes: The mean value of the role regulation nodes within the enhanced reaction is calculated, and reaction queries and metabolite bonds are constructed. Based on the normalized degree, the weights of all metabolites in the reaction to be enhanced are calculated, and the final representation of the reaction is constructed based on the weights and the corresponding node representations in the node representation matrix. The final representation is input into the classifier to obtain unnormalized scores for the two categories. The unnormalized scores are then converted into category probabilities using Softmax, which are used as the missing response prediction results.

[0015] Preferably, step S6 specifically includes: Calculate the training loss for the current batch based on the unnormalized score, and determine whether the training loss for the current batch meets the preset conditions. If not, update the trainable parameters to obtain the updated final role adjustment node representation, and re-execute steps S4 to S5 until it is determined that the training loss of the current batch meets the preset conditions or reaches the preset number of training times. If so, validate the GEM to be filled based on the original validation positive reaction set and the original test positive reaction set, and determine whether the validation output of the GEM to be filled meets the validation requirements; When the validation output results are determined to meet the validation requirements, the GEM to be filled is tested based on the validation negative response set and the test negative response set to generate the final missing response prediction results.

[0016] In summary, this method aims to address issues such as insufficient training information in GEMs to be filled, inadequate utilization of cross-reaction multi-scale structures, and topological bias of highly connected general metabolites. This method utilizes an auxiliary GEM pool to extract cross-species metabolite co-occurrence statistics, generates enhanced positive samples through importance-guided metabolite replacement, and unifies the metabolites involved in positive and negative reactions required for training, validation, and testing into a unified set of modeling nodes. Based on this, metabolite topology and molecular features are extracted to construct initial node features, and role parameters are iteratively updated based on cross-species co-occurrence degrees to obtain role-regulating node representations. Simultaneously, a one-hop direct co-occurrence hypergraph and a two-hop indirect association hypergraph are constructed, which are then subjected to gated adaptive fusion and convolution with the master reaction hypergraph to obtain the node representation matrix. Finally, reaction conditional gating aggregation is performed by combining candidate reaction context and cross-species co-occurrence degrees, inputting the results into a classifier to output predictions, and obtaining the final missing reaction predictions through training, validation, and testing. This method effectively expands training information, fuses multi-scale structures, and alleviates general metabolite bias, thereby improving the accuracy of missing reaction predictions and the reliability of GEM completion.

[0017] Compared with existing technologies, the advantages of this method are: it can expand the training information of incomplete networks by leveraging cross-species metabolic knowledge, explicitly model and adaptively fuse one-hop and two-hop multi-scale structures, and adjust the contribution of highly connected universal metabolites in structure propagation and reaction aggregation, thereby alleviating topological bias and improving the accuracy of missing reaction prediction and the reliability of GEM completion. Attached Figure Description

[0018] Figure 1 This is a schematic flowchart of the cross-species multi-scale hypergraph GEM missing response prediction method provided in this embodiment of the invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0020] refer to Figure 1 As shown, the first embodiment of the present invention discloses a method for predicting the deletion response of a cross-species multi-scale hypergraph GEM, which can be executed by a cross-species multi-scale hypergraph GEM deletion response prediction device (hereinafter referred to as the prediction device), specifically, by one or more processors within the prediction device, to implement the following method: Step S1 involves acquiring data from the auxiliary GEM pool and the GEMs to be filled. The data from the GEMs to be filled are then segmented and metabolite-replaced to obtain the original training positive reaction set, the original validation positive reaction set, the original test positive reaction set, the validation negative reaction set, and the test negative reaction set. The auxiliary GEM pool is determined once before training and evaluation based on unsupervised criteria such as metabolite coverage and structural diversity. When processing a specific GEM to be filled, only GEMs identical to it in the auxiliary GEM pool are excluded; the remaining auxiliary GEMs remain fixed. The reactions from the auxiliary GEMs are only used to extract cross-species metabolite statistics and do not directly serve as labeled positive reactions for the GEMs to be filled.

[0021] Specifically, step S1 further includes: obtaining a preset auxiliary GEM pool and the metabolites, known reactions, and SMILES of the GEM to be filled, and representing the metabolites as nodes and the known reactions as hyperedges connecting their participating metabolites, to obtain the original set of metabolites in the GEM to be filled. The node-hyperedge association matrix records whether a metabolite participates in the corresponding reaction. This hypergraph representation is used for subsequent node feature encoding, structure propagation, and candidate reaction classification. The known responses to be filled in the GEM are divided according to a preset ratio to obtain the original set of training positive responses. The original set of positive reactions for validation and the original set of positive reactions for testing are defined as the set of metabolites involved in the reactions in the original set of positive reactions for training. ; For each positive reaction in the original set of validation positive reactions and the original set of test positive reactions, half of the metabolites involved in these reactions are randomly selected to replace the candidate metabolites, and at least one metabolite is replaced (rounded up) to obtain the set of validation negative reactions and the set of test negative reactions. The candidate metabolites are sourced from a preset ChEBI metabolite pool, and the number of positive and negative samples in each set is kept equal.

[0022] In this embodiment, firstly, a preset auxiliary GEM pool and data of the GEM to be filled are obtained. The data of the GEM to be filled includes metabolites, known reactions, and metabolite SMILES. Metabolites are represented as nodes, and known reactions are represented as hyperedges connecting their participating metabolites, thus obtaining the original set of metabolites in the GEM to be filled. Subsequently, the known reactions in the GEM to be filled are divided according to a preset ratio to obtain the original training positive reaction set, the original validation positive reaction set, and the original test positive reaction set, respectively. The metabolites involved in the reactions in the original training positive reaction set are defined as the original training positive reaction metabolite set. For each positive reaction in the original validation positive reaction set and the original test positive reaction set, approximately half of the metabolites involved in the reaction are randomly selected and replaced using replacement candidate metabolites, with at least one replacement, thus obtaining the validation negative reaction set and the test negative reaction set, respectively. The replacement candidate metabolites are sourced from a preset ChEBI metabolite pool, excluding metabolites already present in the current reaction.

[0023] The negative reactions constructed in this way are similar in composition to, but not identical to, the original positive reactions. This provides discriminative negative samples for subsequent model training and evaluation, helping to improve the model's ability to identify true missing reactions. Validation and test negative reactions are generated from the original positive reactions in their respective partitions, ensuring an equal number of positive and negative samples in each partition. This guarantees the balance and comparability of evaluation results during the validation and testing phases. The auxiliary GEM pool is determined once before model training and evaluation based on unsupervised criteria such as metabolite coverage and structural diversity. When processing a GEM to be filled, only GEMs identical to it in the auxiliary GEM pool are excluded, while the remaining auxiliary GEMs remain fixed. Reactions in the auxiliary GEMs are only used to extract cross-species metabolite statistics and are not directly used as labeled positive reactions for the GEM to be filled. This reduces irrelevant reaction migration and potential data leakage while utilizing cross-species knowledge. Through the above data preparation, a unified and balanced foundation of positive and negative samples can be provided for subsequent cross-species metabolic data augmentation, multi-scale hypergraph structure learning, and missing reaction prediction, thereby improving the reliability of GEM completion.

[0024] Step S2: Select a positive reaction from the original training positive reaction set for cross-species metabolic data augmentation to generate an enhanced positive reaction. Merge the enhanced positive reaction with the original training positive reaction set to obtain a training positive reaction set. Perform metabolite replacement processing on the training positive reaction set to obtain a training negative reaction set. Then, merge all metabolites involved in the training positive reaction set, training negative reaction set, original validation positive reaction set, original test positive reaction set, validation negative reaction set, and test negative reaction set to obtain a unified modeling node set. That is, the cross-species metabolic data augmentation module sequentially performs auxiliary GEM co-occurrence statistics, metabolite importance assessment, and similarity-guided replacement under target domain constraints.

[0025] Specifically, step S2 further includes: removing GEMs from the auxiliary GEM pool that are identical to those in the GEM to be filled; and performing a union of the metabolite set of each remaining auxiliary GEM (there are A) in the auxiliary GEM pool with the original training positive reaction metabolite set to obtain the metabolite index range used for cross-species statistics. The metabolite index range includes both the original training positive reaction set of the GEM to be filled and the metabolites in the auxiliary GEM. Metabolites in the metabolite index range that belong only to the auxiliary GEM will not automatically become modeling nodes of the GEM to be filled. For the first A set of metabolites of an auxiliary GEM, wherein the first The reaction set of the auxiliary GEM is as follows , For the first The first reaction of the auxiliary GEM, For the first The first auxiliary GEM The reaction, For the first The total number of reactions in each auxiliary GEM; It is important to note that when removing GEMs that are identical to those in the GEM pool from the auxiliary GEM pool, two cases need to be considered. If the selected GEM to be filled and the auxiliary GEM do not have any identical GEMs, then all auxiliary GEMs are retained, and their number is A. If the auxiliary GEM contains the GEM to be filled, then the dataset of identical GEMs in the auxiliary GEM needs to be removed. After removing identical GEMs, there are A auxiliary GEMs in the auxiliary GEM pool.

[0026] For any two metabolites within the metabolite index range (e.g., the i-th metabolite) The j-th metabolite ), and only iterate through the reactions in the auxiliary GEM pool to calculate (metabolites) With metabolites (cumulative co-occurrence matrix) , This is an indicator function used to determine whether a metabolite participates in a corresponding reaction. For the first The k-th reaction of the auxiliary GEM; where metabolites Metabolites Simultaneously participates in the reaction At that time, the reaction affects the cumulative co-occurrence frequency matrix. Contribute 1 if necessary, otherwise contribute 0; and specify the metabolites. With metabolites Cumulative co-occurrence matrix The cumulative co-occurrence matrix only counts reactions in the auxiliary GEM and does not include reactions in the GEM to be filled.

[0027] For the co-occurrence frequency vector in the cumulative co-occurrence frequency matrix (such as metabolites) Co-occurrence vector of other metabolites within the metabolite index range Metabolites Co-occurrence vector of other metabolites within the metabolite index range Perform L1 normalization to obtain the corresponding normalization result. , The cosine similarity of the co-occurrence profiles of the two metabolites (i.e., the co-occurrence context similarity of the two metabolites) is calculated based on the normalization results. ; Co-occurrence frequency vector The normalization result, Co-occurrence frequency vector The normalization result, To avoid natural numbers with a denominator of zero, It is an L1 norm. It is an L2 norm.

[0028] If metabolites If it does not co-occur with other metabolites in the auxiliary GEM reaction, then Since it is a zero vector, its calculated similarity is zero. A higher value indicates that the co-occurrence profiles of the two metabolites in the auxiliary GEM are more similar. This statistical similarity is used to guide enhancement substitution and is not directly equivalent to experimentally validated biochemical functional equivalence.

[0029] For one of the two metabolites (e.g., metabolite) ), calculate the corresponding cross-species co-occurrence degree respectively. Conservatism ,in, Defined as auxiliary GEM and The number of different metabolites that have a non-zero co-occurrence relationship. Defined as containing The proportion of GEMs to the total number of auxiliary GEMs and unfilled GEMs; (only exists in The nodes have (To minimize non-zero conservation and avoid zero conservation causing importance scores to lose their discriminative power) Importance scores are calculated sequentially based on cross-species co-occurrence degree and occurrence conservation. (Lower co-occurrence or conservation corresponds to a higher importance score, indicating that the metabolite may carry stronger species or pathway-specific information, and the metabolite's priority in enhanced sampling is correspondingly increased.) Response average importance (by Indicates reaction The number of involved metabolites and the average importance of the reaction are used to determine the priority of the reaction receiving enhancement; and normalized sampling weights are calculated sequentially according to the average importance of the reactions. (Then, normalize the weights in the original training positive response set to obtain) the response sampling probability. ; This is a response when iterating through the original set of positive training responses. for The corresponding average importance of the reaction, for The corresponding normalized sampling weights; Based on the reaction sampling probability, a positive reaction is randomly selected from the original training positive reaction set as the reaction to be enhanced. All metabolites that meet the preset candidate conditions are screened from the reaction to be enhanced, and the importance scores of these metabolites are normalized. From the normalized importance scores, a metabolite is randomly selected as the final metabolite to be replaced. The higher the reaction sampling probability, the greater the probability of selection. In each attempt to generate an enhancing positive reaction, the process is first based on... from One reaction is randomly selected from the middle , The larger the value, the greater the probability of extraction. After selecting a reaction, this reaction is designated as the enhancement reaction. The goal is to select a metabolite from this reaction to replace the original metabolite and generate a new reaction as the enhancement reaction. The metabolite to be replaced is selected only from among those metabolites that have qualified replacement candidates in this reaction. Each of the metabolites that meet the criteria in this reaction is then evaluated individually. Normalization, and then based on A metabolite of random size is selected as the final metabolite to be replaced. Finally, from the qualified replacement candidates, the metabolite with the highest similarity is selected for replacement. Therefore, Decide to accept the enhanced response, The similarity score determines the metabolite to be replaced in the reaction. hour, B represents a reaction in the current batch, whose set is determined by the immediately adjacent constraint, and B represents the set of reactions contained in the current batch.

[0030] Based on the cosine similarity of the co-occurrence profile, the qualified replacement candidate with the highest cosine similarity to the final metabolite is selected from the qualified replacement candidates to replace it, thereby obtaining an enhanced positive reaction; that is, for the selected metabolite to replace... The replacement candidate metabolite is determined by metabolite similarity. This metabolite can be any metabolite in the GEM to be filled or the auxiliary GEM. Here, only metabolites belonging to the GEM are retained. Different from And the similarity is not lower than the threshold. The candidates. Let For a qualified replacement candidate set, Metabolites and metabolites The cosine similarity of the co-occurring contours is used to select the one with the highest similarity. The reaction that replaces the metabolite to be replaced by the replacement metabolite serves as an enhancement of the positive reaction. .

[0031] It is important to note that the metabolites to be replaced The selection was made from the original training positive responses, therefore The replacement candidates must originate from the original training set of positive reaction metabolites, but they are determined by similarity. This similarity, as mentioned earlier, refers to the similarity between two metabolites in the auxiliary GEM obtained by traversing the auxiliary GEM. It also exists in the collection of auxiliary GEM metabolites, but Replacement candidates may only exist in the auxiliary GEM but not in the original training positive reaction. The constraint here is to retain nodes belonging to the set of metabolites in the GEM to be filled, that is, all metabolite nodes in the GEM to be filled are acceptable, and there is no requirement that the replacement metabolite also belongs to the original training positive reaction.

[0032] When multiple candidates have the same maximum similarity, one of them is selected according to a pre-fixed candidate order, so that... It has a unique output; this order is not determined based on validation or test performance. Replacement only occurs at the reaction participation site where the original metabolite is located. Lateral, stoichiometric, orthogonal, and reversibility markers in the original reaction record are retained according to the original rules; the retention of these record markers does not indicate that subsequent undirected hypergraph encoders will use them as input features. If the result is empty, or if the reaction obtained after substitution is a repetition of a known positive reaction or an accepted enhanced positive reaction, then the attempt should be discarded and resampling should be performed.

[0033] The target number of boosts is determined based on the original number of training positive responses and the preset boost factor, with a maximum of 10 times the target number being attempted; failed attempts are not counted in the actual number generated. The original set of training positive responses and the boosted positive responses are merged to obtain the training positive response set. This set is used for both training supervision and subsequent structure construction; and for each positive reaction in the training positive reaction set, half of the metabolites involved in these reactions are randomly selected and replaced with replacement candidate metabolites, with at least one being replaced, to obtain the training negative reaction set, wherein the replacement candidate metabolites are derived from a preset ChEBI metabolite pool. The set of training positive reactions, training negative reactions, original validation positive reactions, original test positive reactions, validation negative reactions, and test negative reactions includes all metabolites involved, resulting in a unified modeling node set V. This is because negative reactions may contain... For a single GEM filling task, a unified modeling node set V is established based on the metabolites involved in the positive and negative reactions participating in the modeling, in addition to the metabolites themselves. The number of nodes is denoted as . Each reaction batch shares this node index; when a batch changes, the reaction hyperedge and its node-hyperedge associations are updated. and Their purposes differ: the former is used to constrain the enhanced replacement range of COMDA, while the latter is used to represent responses involved in modeling. In actual missing response prediction, the candidate responses to be evaluated are... Metabolite composition in it.

[0034] In this embodiment, the auxiliary GEM pool is first screened, removing GEMs identical to the GEM to be filled, to avoid potential data leakage caused by their own information being included in the statistics. Then, the metabolite set of each remaining auxiliary GEM in the auxiliary GEM pool is joined with the original training positive reaction metabolite set to obtain the metabolite index range used for cross-species statistics. It should be noted that metabolites belonging only to the auxiliary GEMs in this metabolite index range will not automatically become modeling nodes for the GEM to be filled, thus ensuring that subsequent modeling still focuses on the metabolite system of the GEM to be filled, while simultaneously supplementing cross-species information using the co-occurrence patterns in the auxiliary GEMs. Next, for any two metabolites in the metabolite index range, only the reactions in the auxiliary GEM pool are traversed, and the cumulative co-occurrence frequency matrix is ​​calculated to statistically analyze the co-occurrence relationships of different metabolites in the auxiliary GEMs. The co-occurrence frequency vector in the cumulative co-occurrence frequency matrix is ​​L1 normalized, and the cosine similarity of the co-occurrence contours of the two metabolites is calculated based on the normalization result. This similarity is used to measure whether the two metabolites have similar co-occurrence contexts in the auxiliary GEMs.

[0035] For one of the two metabolites, its cross-species co-occurrence degree and occurrence conservation are calculated. Based on these values, an importance score and average response importance are calculated sequentially. Then, based on the average response importance, normalized sampling weights and response sampling probabilities are calculated sequentially. This importance assessment allows metabolites with lower co-occurrence degrees or lower occurrence conservation to receive higher importance scores, thus prioritizing species- or pathway-specific information during enhancement sampling. A positive response is randomly selected from the original training positive response set as the response to be enhanced based on the response sampling probability; a higher probability means the positive response is more likely to be selected. All metabolites that meet the preset candidate criteria are screened from the responses to be enhanced, and their importance scores are normalized. Finally, a metabolite is randomly selected from the normalized importance scores as the final metabolite to be replaced.

[0036] Subsequently, based on the cosine similarity of the co-occurrence contours, the candidate with the highest cosine similarity to the final metabolite to be replaced is selected from the qualified replacement candidates to obtain the enhanced positive reaction. This replacement method, combining importance guidance and similarity constraints, preserves the constraints of the original metabolites in the GEM to be filled while introducing cross-species co-occurrence knowledge from the auxiliary GEM, thereby expanding the training samples while reducing irrelevant reaction migration and noise introduction. Next, the original training positive reaction set and the enhanced positive reaction set are merged to obtain the training positive reaction set. For each positive reaction in the training positive reaction set, approximately half of the metabolites involved in these reactions are randomly selected to replace with replacement candidate metabolites, with at least one replacement, to obtain the training negative reaction set. The replacement candidate metabolites are sourced from a pre-defined ChEBI metabolite pool.

[0037] The negative reactions constructed in this way are similar in composition to their corresponding positive reactions but not exactly the same, providing the model with negative samples that are difficult to distinguish, which helps improve the model's ability to identify true missing reactions. Finally, all metabolites involved in the training positive reaction set, training negative reaction set, original validation positive reaction set, original test positive reaction set, validation negative reaction set, and test negative reaction set are merged to obtain a unified modeling node set. This unified modeling node set provides a unified node index foundation for subsequent node feature construction, multi-hop structure learning, and hypergraph propagation, enabling the training, validation, and testing phases to be carried out in the same node space, thereby improving the consistency between model training and prediction. Through the above-mentioned cross-species metabolic data augmentation and negative sample construction, the problem of insufficient training information in the GEM to be filled can be effectively alleviated, and richer and more reliable supervision and structural information can be provided for subsequent multi-scale hypergraph learning and missing reaction prediction.

[0038] Step S3: Construct initial node features on the unified modeling node set, and iteratively update the trainable parameters based on the cross-species co-occurrence degree and the initial node features to obtain the final role adjustment node representation; Specifically, step S3 further includes: using topological branching, generating a 64-dimensional topological representation for each node based on the metabolite participation pattern in the training positive reaction set; using molecular branching to perform molecular feature extraction once for each node; wherein, for nodes with valid SMILES, the SMILES are input into ChemBERTa and passed through a mapping layer to obtain a 64-dimensional molecular representation; for nodes without valid SMILES, an alternative input is constructed according to a preset molecular input preprocessing rule, and the alternative input is input into the same ChemBERTa and mapping layer to obtain a 64-dimensional molecular representation. For nodes without valid SMILES, their position in the unified modeling node set is retained, and they continue to participate in hyperedge association and topological feature calculation. For each node, its 64-dimensional topological representation and 64-dimensional numerator representation are concatenated to form an initial 128-dimensional node feature. ; Using cross-species co-occurrence degree, initial node characteristics are adjusted before structure propagation, for nodes that are neither... In the middle, it is not a modeling node in the auxiliary GEM, and d is taken. i Calculate the normalized degree on the unified modeling node set. , For nodes in V that are traversed to obtain the maximum value, nodes without auxiliary co-occurrence records satisfy d. i ,thus During training, the co-occurrence degree of the auxiliary GEM and its normalized result remained fixed; and the initial role coefficient prior was calculated sequentially based on the normalized degree. Initial trainable parameters , As an intermediate variable, To constrain the values ​​within a given range and prevent the inverse Sigmoid transform from diverging at the boundaries; Calculate the initial role coefficients based on the initial trainable parameters. Calculate the initial role adjustment node representation based on the initial role coefficients. Based on the initial role adjustment node representation, forward propagation is performed and the training loss is calculated. Backpropagation is performed to obtain the gradient of the loss with respect to the initial trainable parameters. The optimizer is then used to update the initial trainable parameters to obtain the updated trainable parameters. The updated trainable parameters are used as the trainable parameters for the current update step, and iterative update processing is performed. Specifically, the role coefficients for the current update step are calculated based on the trainable parameters for the current update step, the role adjustment node representation for the current update step is calculated based on the role coefficients for the current update step, forward propagation is performed based on the role adjustment node representation for the current update step and the training loss is calculated, back propagation is performed to obtain the gradient of the loss with respect to the trainable parameters for the current update step, and the trainable parameters for the current update step are updated using the optimizer to obtain the trainable parameters for the next update step, and these are used as the trainable parameters for the current update step in the next round of iterative update processing. Repeat the above iterative update process until the preset maximum number of update steps is reached or the convergence condition is met. Then, use the character adjustment node representation corresponding to the trainable parameters of the last update step as the final character adjustment node representation. .

[0039] The iterative update process can be represented as follows: Let t = 1, ..., T, where t represents the training parameter update step and T is the total number of training parameter update steps. The next update step involves adjusting the character settings as follows: , , Let be the role coefficient for the t-th update step. Let be the trainable parameters for the t-th update step. The role adjustment node representation for the t-th update step. This represents the node representation after feature concatenation and before role adjustment. For the sigmoid function. Simply put, training from... To begin; after each training batch completes forward propagation and calculates the training loss, backpropagation is performed to obtain the loss pair. The gradient is updated by the optimizer. Therefore, what changes iteratively is... Change accordingly and Co-occurrence degree and normalized degree are not updated with iterations. After training is complete, the trainable parameters from the last update step are used. Calculate the node representation after role adjustment. Node feature input as the next stage of multi-hop structure encoding In this embodiment, topological branching is used to generate a 64-dimensional topological representation for each node based on the metabolite participation patterns in the training positive reaction set. Molecular branching is used to perform molecular feature extraction on each node. For nodes with valid SMILES, the SMILES are input into ChemBERTa and processed through a mapping layer to obtain a 64-dimensional molecular representation. For nodes without valid SMILES, a substitute input is constructed according to a preset molecular input preprocessing rule, and this substitute input is input into the same ChemBERTa and mapping layer to obtain a 64-dimensional molecular representation. It should be noted that for nodes without valid SMILES, their position in the unified modeling node set is retained, and they continue to participate in hyperedge association and topological feature calculation. This avoids node loss, hypergraph structure destruction, or node index misalignment due to the lack of molecular structure information for some metabolites, ensuring that subsequent structure propagation can cover all nodes in the unified modeling node set. Subsequently, for each node, its 64-dimensional topological representation and 64-dimensional molecular representation are concatenated to form an initial node feature of 128 dimensions, so that each node has both topological participation information and molecular structure information, providing a unified initial representation for subsequent role adjustment and multi-scale structure learning.

[0040] Next, using cross-species co-occurrence degree, the initial node features are adjusted before structure propagation. Normalized degree is calculated on the unified modeling node set, and initial role coefficient priors and initial trainable parameters are calculated sequentially based on the normalized degree. Initial role coefficients are calculated based on the initial trainable parameters, and initial role adjustment node representations are calculated based on these initial role coefficients. Forward propagation is performed based on these initial role adjustment node representations, and the training loss is calculated. Backpropagation is performed to obtain the gradient of the loss with respect to the initial trainable parameters, and the optimizer is used to update the initial trainable parameters, resulting in updated trainable parameters. The updated trainable parameters are then used as the trainable parameters for the current update step, and iterative update processing is performed. Specifically, the role coefficients for the current update step are calculated based on the trainable parameters for the current update step, and the role adjustment node representation for the current update step is calculated based on these role coefficients. Forward propagation is performed based on these role adjustment node representations, and the training loss is calculated. Backpropagation is performed to obtain the gradient of the loss with respect to the trainable parameters for the current update step, and the optimizer is used to update the trainable parameters for the current update step, resulting in the trainable parameters for the next update step, which are then used as the trainable parameters for the next round of iterative update processing. Repeat the iterative update process described above until the preset maximum number of update steps is reached or the convergence condition is met. The role adjustment node representation corresponding to the trainable parameters of the last update step is then used as the final role adjustment node representation. Through this iterative update, the role adjustment process can be jointly optimized with subsequent prediction tasks. While preserving the global connectivity information reflected by cross-species co-occurrence degrees, it adaptively adjusts the feature contributions of different metabolite nodes before structure propagation, thereby mitigating the topological bias that may be caused by highly connected general metabolites and improving the stability and accuracy of subsequent multi-hop structure encoding and missing response prediction.

[0041] Step S4: Construct the one-hop neighbors and two-hop neighbors of all metabolites in the unified modeling node set, construct and encode them to obtain one-hop encoding results and two-hop encoding results, and process each central metabolite through two preset branches to obtain the one-hop gating vector and two-hop gating vector corresponding to the central metabolite. Based on the one-hop gating vector, two-hop gating vector, one-hop encoding result, two-hop encoding result, and role adjustment node representation, perform residual fusion processing and multi-layer hypergraph convolution processing in sequence to generate a node representation matrix; that is, the gated adaptive multi-hop network only uses the training positive reaction set to construct the one-hop and two-hop structure, and the negative reaction does not participate in the two types of neighborhood statistics.

[0042] Specifically, step S4 further includes: for all metabolites (such as metabolites) in the unified modeling node set ), calculate the number of co-occurrences of positive training responses respectively. Frequency of node occurrence R is the set of positive responses from the traversal training. A reaction at that time, therefore The original and enhanced training positive reactions are used to construct a multi-hop structure. Based on the co-occurrence count of the training positive reactions, all metabolites in the unified modeling node set are sequentially designated as central metabolites, and all metabolites that directly co-occur with the central metabolites are retained as one-hop neighbors. ; For each central metabolite, metabolites that are indirectly linked to at least one intermediate metabolite and do not have a direct co-occurrence relationship with the central metabolite are selected as its corresponding second-step candidates. And select up to a preset number K2 of two-hop candidates as two-hop neighbors according to the frequency of node occurrence from low to high. When there are not enough candidates, all are retained. Therefore, all direct co-occurring neighbors are retained in the first hop, and low-frequency priority screening only applies to the second hop candidates. Metabolites The number of times positive responses co-occur during training. Metabolites The number of times positive responses co-occur during training. Metabolites The number of times positive responses co-occur during training. For connection With two-hop candidates Intermediate metabolites; Based on one-hop neighbors and two-hop neighbors, hyperedges are constructed using central metabolites and their corresponding neighbors. Repeated hyperedges are then merged to form a one-hop hypergraph. and two-hop supergraph The one-hop hypergraph and the final role adjustment node representation are input into a preset one-hop hypergraph encoder to obtain the one-hop encoding result. The two-hop hypergraph and the final role adjustment node representation are input into a preset two-hop hypergraph encoder to obtain the two-hop encoding result. , For a one-hop hypergraph encoder, This is a two-hop hypergraph encoder; where, , and The rows correspond to the unified modeling node set. The metabolites in the data have a node feature dimension of 128.

[0043] Each central metabolite is processed through two pre-defined branches to obtain the one-hop gating vector corresponding to the central metabolite. Two-step gating vector The gate vector is also a 128-dimensional vector; and it is combined with the one-hop structure representation in the one-hop encoding result. Two-hop structure representation of the two-hop encoding result The role adjustment node is represented, and residual fusion processing is performed to obtain the central metabolite. Corresponding fusion representation ; , , , These are all learnable parameters for the corresponding gated network. For element-wise multiplication, The ReLU function is used; the gated output layer bias is initialized to -2, so that the multi-hop branch only provides limited increments in the early stage of training.

[0044] The fusion representations of all central metabolites are combined to obtain a fusion representation matrix. This matrix is ​​then input into the master reaction hypergraph, and multiple hypergraph convolutions are performed on the hypergraph to generate a node representation matrix. Specifically: Let the current reaction batch be B, and the number of reactions in the batch be... Then the batch node-hyperedge association matrix .make This is the sparse association index generated from the matrix. The e-th convolutional layer first maps the reaction participation patterns to hyperedge attributes, and then performs hypergraph convolution: , , L is the total number of convolutional layers. For each row of the e-th convolutional layer, there is a reactive hyperedge corresponding to the current batch. For transpose, Let be the learnable weight matrix of the e-th convolutional layer. Let be the learnable bias vector of the e-th convolutional layer, and M be the total number of metabolite nodes in the unified modeling node set. Let be the dimension of the hyperedge attribute of the e-th convolutional layer. For length A vector of all 1s For the set of real numbers, This represents the initial representation of all nodes. For fusion representation, Let be the representation of all nodes in the e-th convolutional layer. This represents the representation of all nodes in the (e+1)th convolutional layer. Let represent the hypergraph convolution of the e-th convolutional layer, which utilizes node-hyperedge connections and hyperedge attributes for message propagation. The hyperedges of the training batch consist of the original positive responses, enhanced positive responses, and negative responses; the hyperedges of the inference batch consist of candidate responses to be evaluated. Both stages establish an association matrix based on response participation relationships, but the true categories of candidate responses are not used during inference.

[0045] In this embodiment, for all metabolites in the unified modeling node set, the number of co-occurrences of training positive reactions and the frequency of node occurrence are calculated. Based on the number of co-occurrences of training positive reactions, all metabolites in the unified modeling node set are sequentially designated as central metabolites, and all metabolites directly co-occurring with the central metabolite are retained as one-hop neighbors. It should be noted that the statistics here are based only on the training positive reaction set; negative reactions do not participate in the construction of one-hop and two-hop structures, thereby avoiding interference from artificial substitution relationships in negative samples on structure learning, and ensuring that one-hop neighbors can truly reflect the direct co-occurrence relationships in known positive reactions. For each central metabolite, metabolites indirectly connected to at least one intermediate metabolite and not directly co-occurring with the central metabolite are designated as its corresponding two-hop candidates. A maximum of a preset number of two-hop candidates are selected as two-hop neighbors according to the node occurrence frequency from low to high. If there are insufficient candidates, all are retained. By prioritizing low-frequency selection of two-hop candidates, the receptive field of the structure can be expanded while reducing the excessive influence of high-frequency general metabolites on the two-hop neighborhood. This allows the two-hop neighbors to reflect more indirect pathway associations across reactions, rather than generalized connections dominated by a few high-connectivity nodes.

[0046] Based on one-hop neighbors and two-hop neighbors, hyperedges are established using central metabolites and their corresponding neighbors. After merging duplicate hyperedges, one-hop and two-hop hypergraphs are formed. The one-hop hypergraph and the final role-regulatory node representation are input into a pre-defined one-hop hypergraph encoder to obtain the one-hop encoding result. Similarly, the two-hop hypergraph and the final role-regulatory node representation are input into a pre-defined two-hop hypergraph encoder to obtain the two-hop encoding result. By constructing one-hop and two-hop hypergraphs respectively, the model can learn direct co-occurrence relationships within a reaction and indirect association relationships across reactions, thereby expanding the structural receptive field while preserving local higher-order metabolic relationships. Subsequently, each central metabolite is processed through two pre-defined branches to obtain the corresponding one-hop gating vector and two-hop gating vector. These are then combined with the one-hop structural representation from the one-hop encoding result, the two-hop structural representation from the two-hop encoding result, and the role-regulatory node representation for residual fusion processing to obtain the fused representation corresponding to the central metabolite. By adaptively weighting the one-hop and two-hop structural representations using gating vectors, different metabolites can select a more suitable structural scale based on their own characteristics, avoiding the introduction of redundant paths or weakening of effective structural signals by using a unified or fixed fusion method; residual fusion retains the original information in the role adjustment node representation, preventing the loss of node features during multi-scale structural learning.

[0047] The fused representations of all central metabolites are combined to obtain a fused representation matrix. This matrix is ​​then input into the master reaction hypergraph, and multi-layer hypergraph convolution is performed on the hypergraph to generate a node representation matrix. The master reaction hypergraph uses reactions in the current batch as hyperedges and metabolites as nodes. Through message propagation between nodes and hyperedges, each metabolite node can fuse information about its participation in the reaction, further updating its node representation. This joint processing of one-hop and two-hop hypergraph encoding with master reaction hypergraph propagation effectively enhances the representation capability of multi-scale topological relationships across reactions, improves the completeness and discriminative ability of candidate reaction representations, and thus provides a more accurate node representation foundation for subsequent reaction condition aggregation and missing reaction prediction.

[0048] Step S5: Calculate the weights of all metabolites in the reaction to be enhanced, combine them with the node representation matrix to form the final representation of the reaction, and input the final representation into the classifier to generate the missing reaction prediction results; Specifically, step S5 further includes: treating the enhancement reaction (remember Calculate the mean of the role regulation nodes within the number of metabolites involved (i.e., the reaction context representation). and construct reaction query and metabolite bonds , for Metabolites / nodes The final expression, , For unbiased shared projection matrix, , As a bottleneck dimension, The dimension represents the final node; both the reaction query and the metabolite key are 16-dimensional.

[0049] Based on the normalization degree, calculate the weights of all metabolites in the reaction to be enhanced. , Metabolites , The weight in this reaction, It is an exponential function. The learnable degree bias coefficient is initialized to -0.5. These are the metabolites that participate in the normalization summation in the current reaction. Metabolites Normalized degree; weights only The included metabolites are normalized, therefore The initial negative bias moderately reduces the tendency for highly connected general metabolites to gain large weights solely based on connection breadth; query, key, and degree biases can still be adjusted during training according to the response context; and the final representation of the response is constructed based on the weights and the corresponding node representations in the node representation matrix. That is, the candidate response representation is composed of the attention-weighted result and the unweighted summation result, and its formula is: ; The learnable residual coefficients are initialized to 0.1. The first term in the formula allocates metabolite contributions based on the context of the current reaction, and uses... It compensates for the mean effect caused by attention normalization; the second term retains the summation information of all metabolites involved in the reaction.

[0050] The final representation is input into the classifier to obtain the unnormalized scores for the two classes, i.e. , In this context, category 1 indicates that the candidate response belongs to the true response of the GEM to be filled; the unnormalized score is converted into category probability by Softmax and used as the prediction result of the missing response.

[0051] In this embodiment, firstly, the mean of the role-regulating node representations within the reaction to be enhanced is calculated to obtain the reaction context representation of the reaction. A reaction query is then constructed based on this context representation, and metabolite keys are constructed based on the representations of corresponding nodes in the node representation matrix. By constructing the reaction query and metabolite keys, subsequent weight calculations can fully incorporate the contextual information of the current reaction and the representational characteristics of each metabolite. Next, the weights of all metabolites within the reaction to be enhanced are calculated based on normalized degrees. These weights measure the contribution of each metabolite to the current reaction representation aggregation process. Since the weights are normalized within the reaction, the importance of each metabolite in the reaction aggregation can be adaptively adjusted according to the candidate reaction context and the cross-species co-occurrence characteristics of the metabolites themselves. This avoids high-connectivity general metabolites receiving excessive weights solely based on connection frequency, while preserving their true biochemical effects. Then, based on the weights and the corresponding node representations in the node representation matrix, the final representation of the reaction is constructed. Through the above reaction-condition-gated aggregation, metabolite signals more relevant to the current reaction context can be highlighted, weakening the topological bias dominated by connection frequency, and making the candidate reaction representation more reaction-specific. Finally, the final representation is input into the classifier to obtain unnormalized scores for the two categories. These unnormalized scores are then converted into category probabilities using Softmax, serving as the prediction results for missing responses. These prediction results can be used to identify potential missing responses in the GEM to be filled, providing more reliable candidate data for subsequent GEM completion, response recovery, and metabolic function analysis.

[0052] Step S6: Calculate the loss of the missing response prediction results to obtain the training loss of the current batch. When the training loss of the current batch meets the preset conditions, validate the GEM to be imputed based on the original validation positive response set and the original test positive response set. After the validation is passed, test the GEM to be imputed based on the validation negative response set and the test negative response set to generate the final missing response prediction results.

[0053] Specifically, step S6 further includes: calculating the training loss of the current batch based on the unnormalized score, and determining whether the training loss of the current batch meets the preset conditions; wherein, let For the real training category, For classifiers to classify categories The output unnormalized score, Assuming source weights, the training loss for the current batch is... The original positive reaction, the enhanced positive reaction, and the negative reaction. The weights are set to 1.2, 0.8, and 1.0 respectively. These weights are determined by the sample source. These are training labels and should not be mixed with the positive class prediction probabilities output during the inference phase.

[0054] If not, update the trainable parameters to obtain the updated final role adjustment node representation, and re-execute steps S4 to S5 until it is determined that the training loss of the current batch meets the preset conditions or the preset number of training iterations is reached; specifically, during training, The loss formula is represented by the classifier and candidate responses. The node features are backpropagated to each trainable parameter. The role parameters of the MRE are then... The gradient of the training loss is updated by the optimizer for the next step. This changes the role coefficients and node representations in subsequent forward propagation. After training, the predicted probability of the candidate response to be evaluated is output, and the potential missing responses in the GEM to be filled are identified according to the probability sorting or preset threshold.

[0055] If so, validate the GEM to be filled based on the original validation positive reaction set and the original test positive reaction set, and determine whether the validation output of the GEM to be filled meets the validation requirements; When the validation output results are determined to meet the validation requirements, the GEM to be filled is tested based on the validation negative response set and the test negative response set to generate the final missing response prediction results.

[0056] In this embodiment, the loss is calculated on the missing response prediction results to obtain the current batch training loss. When the current batch training loss meets the preset conditions, the GEM to be imputed is verified based on the original validation positive response set and the original test positive response set. After the verification is passed, the GEM to be imputed is tested based on the validation negative response set and the test negative response set to generate the final missing response prediction results.

[0057] Specifically, the training loss for the current batch is calculated based on the unnormalized score output by the classifier, and it is determined whether the training loss for the current batch meets the preset conditions. During the training phase, a classification loss weighted by sample source can be used, allowing the original positive response, enhanced positive response, and negative response to participate in optimization according to their respective source weights. This ensures that while utilizing enhanced samples to expand training information, the supervisory role of the original positive and negative responses is maintained, preventing enhanced samples from excessively dominating the training process. If the training loss for the current batch does not meet the preset conditions, the trainable parameters are updated to obtain the updated final role adjustment node representation, and steps S4 to S5 are re-executed until it is determined that the training loss for the current batch meets the preset conditions or the preset number of training iterations is reached. Through this iterative update, role parameters, multi-hop structure encoding parameters, master response hypergraph convolution parameters, response condition gating parameters, and classifier parameters can be progressively optimized, improving the model's ability to discriminate candidate responses. If the training loss for the current batch meets the preset conditions, the imputed GEM is validated based on the original validation positive response set and the original test positive response set, determining whether the validation output of the imputed GEM meets the validation requirements.

[0058] The validation process verifies the model's performance on the original positive responses that were not enhanced, avoiding overfitting and improving the model's generalization ability on incomplete GEMs. When the validation output meets the validation requirements, the GEM to be filled is tested using the validation negative response set and the test negative response set, generating the final missing response prediction results. The testing phase, combining the validation and test negative response sets, assesses the model's ability to distinguish between positive and negative samples while maintaining a balance in the number of positive and negative samples across each partition. Finally, potential missing responses in the GEM to be filled are identified based on predicted probability ranking or preset thresholds, providing more reliable candidate responses for subsequent GEM completion, response recovery, and metabolic function analysis. Through the above training, validation, and testing processes, problems such as insufficient training information in the GEM to be filled, inadequate utilization of multi-scale structures across reactions, and topological bias of highly connected general metabolites can be alleviated, improving the accuracy of missing response prediction and the reliability of GEM completion.

[0059] In summary, this invention addresses the problems of insufficient effective training information, inadequate utilization of multi-scale structural information across reactions, and topological bias caused by highly connected universal metabolites in the prediction of missing responses using genome-scale metabolic models. It proposes a cross-species multi-scale hypergraph (GEM) method for predicting missing responses. The main technical problems solved are as follows: (1) The problem of insufficient effective training information in GEMs to be filled: GEMs to be filled often have missing reactions, incomplete network structures, and a limited number of known positive reactions, resulting in insufficient supervision and topological association information that can be used for model training. Existing methods mostly rely on the known reactions of the GEMs to be filled, pre-set candidate reaction libraries, sequence annotations, or experimental phenotypic information. When relevant data is missing or the degree of network incompleteness is high, the model is difficult to obtain sufficient and stable training basis. In addition, the co-occurrence patterns of a large number of metabolites and transferable functional relationships contained in GEMs of different species have not been fully utilized, which easily limits the model to information learning within a single GEM. Therefore, this invention needs to solve the problems of insufficient effective training information in incomplete GEMs and insufficient utilization of cross-species metabolic knowledge.

[0060] (2) The problem of insufficient utilization of multi-scale structural information across reactions: Metabolic relationships in metabolic networks include not only direct co-occurrence relationships formed within the same reaction, but also indirect pathway associations formed through connections between multiple reactions. Although existing graph learning and hypergraph learning methods can represent high-order relationships between multiple metabolites within a single reaction, their structural learning usually focuses on local neighborhoods or intra-reaction information, and their characterization of indirect cross-reaction associations remains relatively limited. At the same time, structural information at different scales differs in semantic scope and information density. If a unified or fixed method is used for fusion, redundant paths are easily introduced or the effective structural signals are weakened. Therefore, this invention needs to address the problem of the difficulty in co-modeling direct associations within reactions and indirect cross-reaction associations, as well as the problem of insufficient utilization of topological information at different scales.

[0061] (3) The problem of topological bias caused by highly connected general metabolites: General metabolites such as ATP and NAD(H) are widely involved in energy transfer, redox reactions, and other basic metabolic processes, and usually have high connectivity in metabolic networks. Since these metabolites frequently appear in different reactions, their features are easily amplified repeatedly in multi-layer message passing and candidate reaction representation aggregation, thus forming topological shortcuts dominated by connection frequency and masking more reaction-specific metabolite signals. Existing attention mechanisms or feature enhancement methods are mostly geared towards general feature fusion, making it difficult to distinguish between the global connectivity of metabolites and their actual contribution in specific candidate reactions; however, directly deleting or fixing the weight of such metabolites may result in the loss of their true biochemical effects. Therefore, this invention needs to solve the problem that highly connected general metabolites easily dominate structure learning, causing topological bias and weakening reaction-specific signals.

[0062] Specifically, this method represents metabolites as nodes and reactions as hyperedges connecting their participating metabolites to predict the probability that a candidate reaction belongs to the true reaction in the GEM to be filled. For the prediction of actual missing reactions, the candidate reactions to be evaluated consist of metabolites from the original metabolite set in the GEM to be filled. During model training, metabolites introduced by generating negative reactions are also included in a unified node index; this modeling node set is defined separately from the original metabolite set in the GEM to be filled and is not mixed in augmentation replacement and negative sample construction.

[0063] First, before model training and evaluation, an auxiliary GEM pool is fixed based on unsupervised metabolite coverage and structural diversity criteria. For each GEM to be imputed, only the GEM itself is excluded from the fixed pool. The Cross-Species Metabolic Data Augmentation (COMDA) module uses the responses from the remaining auxiliary GEMs to statistically analyze metabolite co-occurrence relationships, calculating co-occurrence context similarity, co-occurrence degree, and occurrence conservation. Subsequently, importance-guided metabolite replacements are performed on the original training positive responses of the GEM to be imputed. Replaced metabolites must belong to the original metabolite set of the GEM to be imputed, and the highest similarity among candidates meeting the similarity threshold is selected. The enhanced positive responses obtained through quality screening, together with the original training positive responses, provide training supervision and structural information. Reactions in the auxiliary GEMs are only used to extract statistical information and are not directly used as labeled positive responses in the GEM to be imputed.

[0064] Secondly, the model extracts 64-dimensional topological features and 64-dimensional molecular features from the metabolite participation relationships and metabolite SMILES of the training positive reaction, respectively, and concatenates them into a 128-dimensional initial node representation. The first stage of the two-stage general metabolite adaptive regulation module (DuCAR), namely metabolite role encoding (MRE), applies learnable bounded regulation to the initial node features based on the co-occurrence degree in the auxiliary GEM. The regulated features enter a gated adaptive multi-hop network (GAMNet): this network retains all directly co-occurring one-hop neighbors and selects neighbors from strict two-hop candidates without direct co-occurrence relationships, encoding the two types of structures respectively, and then fuses them through node-by-node gating and residual connections. The fused node representation continues to propagate in the master hypergraph formed by the current reaction batch.

[0065] Finally, the second stage of DuCAR, Reaction Conditional Gating (RCCG), combines the candidate reaction context and the co-occurrence degree of the auxiliary GEM to adjust the aggregation weights of each metabolite within the reaction, while retaining the unweighted summation information. The classifier outputs the predicted probability based on the aggregated candidate reaction representation. During the training phase, the original positive reaction, enhanced positive reaction, and negative reaction participate in weighted optimization according to the sample source; during the inference phase, hyperedges are constructed only based on the metabolite participation relationships of the candidate reactions to be evaluated, without using the true categories of the candidate reactions. The above processes sequentially complete cross-species training information supplementation, one-hop and two-hop structure learning, and high-connectivity universal metabolite contribution adjustment, achieving the prediction of potential missing reactions in the GEM to be filled.

[0066] Compared with existing technologies, this method brings the following three beneficial effects through cross-species metabolic data augmentation, gated adaptive multi-hop learning, and two-stage universal metabolite adaptive regulation: 1. Improved utilization of cross-species metabolic knowledge and effective training information: By extracting metabolite co-occurrence patterns and functional associations from multiple auxiliary GEMs and generating enhanced positive samples under the constraints of the metabolite set in the GEM to be filled, the effective training information in the incomplete metabolic network can be expanded. This approach does not directly use the original reactions in the auxiliary GEMs as training samples, which helps reduce irrelevant reaction migration and potential data leakage, and improves the reliability of cross-species metabolic knowledge utilization. 2. Enhanced representation ability of multi-scale topological relationships across reactions: By jointly modeling one-hop direct co-occurrence relationships within a reaction and two-hop indirect co-occurrence associations across reactions, the structural receptive field of the model can be expanded while preserving local high-order metabolic relationships. At the same time, adaptively fusing multi-scale structural information according to the characteristics of different metabolites helps reduce redundant information introduced by fixed fusion methods, and improves the completeness and discriminative ability of candidate reaction representation. 3. The topological bias of universal metabolites is alleviated, and the reliability of missing reaction prediction is improved: By adaptively adjusting the contribution of highly connected universal metabolites during the structure propagation and candidate reaction representation aggregation stages, it is possible to avoid these metabolites dominating feature propagation due to their high-frequency participation in reactions, while preserving their true biochemical functions. This further highlights reaction-specific metabolic signals, improves the accuracy and stability of candidate missing reaction identification, and provides more reliable candidate reaction basis for subsequent GEM completion, reaction recovery, and metabolic function analysis.

[0067] Specifically, these beneficial effects can be further demonstrated through the following specific steps: 1. Beneficial Effects of Gated Adaptive Multi-hop Networks: This module jointly models one-hop direct co-occurrence relationships and two-hop indirect co-occurrence associations, and utilizes a node-by-node gating mechanism to adaptively fuse topological features at different scales, enhancing the model's ability to collaboratively represent intra-response direct associations and cross-response indirect associations. Experimental results show that without this module, the model's F1 score, precision, recall, AUROC, and AUPRC decrease by 3.92, 3.28, 4.45, 3.57, and 4.36 percentage points, respectively. These results demonstrate that gated adaptive multi-hop networks can expand the effective structural receptive field through adaptive fusion of multi-scale structural information, enhancing the completeness and discriminativeness of candidate response representations, thereby improving the ability to identify and rank potentially missing responses.

[0068] 2. Beneficial Effects of the Cross-Species Metabolic Data Augmentation Module: This module extracts cross-species metabolite co-occurrence knowledge from the auxiliary GEM and generates enhanced positive samples under the constraints of the metabolite set in the GEM to be filled. This supplements the incomplete GEM with transferable training information while avoiding the direct use of the original reactions in the auxiliary GEM as training samples. Experimental results show that when the cross-species metabolic data augmentation module is removed, the model's F1 score, precision, recall, AUROC, and AUPRC decrease by 5.01, 3.55, 6.31, 3.47, and 5.57 percentage points, respectively. The significant decreases in recall and AUPRC indicate that this module can effectively transform cross-species metabolite associations into supervisory information applicable to the GEM to be filled, enriching the functional semantics carried by the limited training samples and significantly improving the detection ability of true missing reactions and the overall ranking quality of candidate reactions.

[0069] 3. Beneficial Effects of the Two-Stage Universal Metabolite Adaptive Regulation Module: This module adaptively adjusts the feature contributions of highly connected universal metabolites before structure propagation and during the candidate reaction representation aggregation stage, respectively. While preserving their biochemical functional information, it alleviates the topological bias dominated by connection frequencies. Experimental results show that removing this module reduces the model's F1 score, Precision, Recall, AUROC, and AUPRC by 1.03, 1.09, 0.97, 0.77, and 0.95 percentage points, respectively. These results fully demonstrate that the two-stage universal metabolite adaptive regulation module can dynamically allocate its contribution based on the global participation characteristics of metabolites and the specific reaction context, reducing the excessive dominance of high-frequency connection information on candidate reaction representations, further enhancing the discriminative role of reaction-specific signals, and improving the accuracy and stability of missing reaction prediction.

[0070] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for predicting missing responses in multi-species multi-scale hypergraph GEMs, characterized in that, include: Step S1: Obtain the data of the auxiliary GEM pool and the GEM to be filled, and perform data segmentation and metabolite replacement on the data of the GEM to be filled to obtain the original training positive reaction set, the original validation positive reaction set, the original test positive reaction set, the validation negative reaction set, and the test negative reaction set. Step S2: Select a positive reaction from the original training positive reaction set for cross-species metabolic data augmentation to generate an enhanced positive reaction. Merge the enhanced positive reaction set with the original training positive reaction set to obtain a training positive reaction set. Perform metabolite replacement processing on the training positive reaction set to obtain a training negative reaction set. Then, merge all metabolites involved in the training positive reaction set, training negative reaction set, original validation positive reaction set, original test positive reaction set, validation negative reaction set, and test negative reaction set to obtain a unified modeling node set. Step S3: Construct initial node features on the unified modeling node set, and iteratively update the trainable parameters based on the cross-species co-occurrence degree and the initial node features to obtain the final role adjustment node representation; Step S4: Construct the one-hop neighbors and two-hop neighbors of all metabolites in the unified modeling node set, construct and encode them to obtain one-hop encoding results and two-hop encoding results, and process each central metabolite through two preset branches to obtain the one-hop gating vector and two-hop gating vector corresponding to the central metabolite. Based on the one-hop gating vector, two-hop gating vector, one-hop encoding result, two-hop encoding result, and role adjustment node representation, perform residual fusion processing and multi-layer hypergraph convolution processing in sequence to generate a node representation matrix. Step S5: Calculate the weights of all metabolites in the reaction to be enhanced, combine them with the node representation matrix to form the final representation of the reaction, and input the final representation into the classifier to generate the missing reaction prediction results; Step S6: Calculate the loss of the missing response prediction results to obtain the training loss of the current batch. When the training loss of the current batch meets the preset conditions, validate the GEM to be imputed based on the original validation positive response set and the original test positive response set. After the validation is passed, test the GEM to be imputed based on the validation negative response set and the test negative response set to generate the final missing response prediction results.

2. The cross-species multi-scale hypergraph GEM missing response prediction method according to claim 1, characterized in that, Step S1 is as follows: Obtain the preset auxiliary GEM pool and the metabolites, known reactions and metabolite SMILES of the GEM to be filled, and represent the metabolites as nodes and the known reactions as hyperedges connecting the metabolites involved, to obtain the original set of metabolites of the GEM to be filled. The known reactions to be filled in GEM are divided according to a preset ratio to obtain the original training positive reaction set, the original validation positive reaction set, and the original test positive reaction set. The metabolites involved in the reactions in the original training positive reaction set are defined as the original training positive reaction metabolite set. For each positive reaction in the original set of validation positive reactions and the original set of test positive reactions, half of the metabolites involved in these reactions are randomly selected to replace with replacement candidate metabolites, and at least one is replaced, to obtain the set of validation negative reactions and the set of test negative reactions. The replacement candidate metabolites are derived from a preset ChEBI metabolite pool.

3. The cross-species multi-scale hypergraph GEM missing response prediction method according to claim 2, characterized in that, Step S2 is as follows: Remove GEMs that are identical to those in the GEM to be filled from the auxiliary GEM pool. Then, combine the metabolite set of each remaining auxiliary GEM in the auxiliary GEM pool with the original training positive reaction metabolite set to obtain the metabolite index range used for cross-species statistics. Metabolites in the metabolite index range that belong only to the auxiliary GEMs will not automatically become modeling nodes of the GEM to be filled. For any two metabolites within the metabolite index range, calculate the cumulative co-occurrence matrix by iterating only through the reactions in the auxiliary GEM pool; The co-occurrence frequency vector in the cumulative co-occurrence frequency matrix is ​​L1 normalized, and the cosine similarity of the co-occurrence profiles of the two metabolites is calculated based on the normalization result. For one of the two metabolites, calculate its cross-species co-occurrence degree and occurrence conservation respectively. Based on the cross-species co-occurrence degree and occurrence conservation, calculate the importance score and average response importance in sequence. Then, calculate the normalized sampling weight and response sampling probability in sequence according to the average response importance. Based on the reaction sampling probability, a positive reaction is randomly selected from the original training positive reaction set as the reaction to be enhanced. All metabolites that meet the preset candidate conditions are screened from the reaction to be enhanced, and the importance scores of these metabolites are normalized. From the normalized importance scores, a metabolite is randomly selected as the final metabolite to be replaced. The higher the reaction sampling probability, the greater the probability of selection. Based on the cosine similarity of the co-occurrence profile, the qualified replacement candidate with the highest cosine similarity to the final metabolite to be replaced is selected from the qualified replacement candidates to replace the final metabolite, thereby obtaining an enhanced positive reaction; The original training positive reaction set and the enhanced positive reaction set are merged to obtain the training positive reaction set. For each positive reaction in the training positive reaction set, half of the metabolites involved in these reactions are randomly selected and replaced with replacement candidate metabolites, and at least one is replaced to obtain the training negative reaction set. The replacement candidate metabolites are derived from the preset ChEBI metabolite pool. All metabolites involved in the training positive reaction set, training negative reaction set, original validation positive reaction set, original test positive reaction set, validation negative reaction set, and test negative reaction set are merged to obtain a unified modeling node set.

4. The cross-species multi-scale hypergraph GEM missing response prediction method according to claim 3, characterized in that, Step S3 is as follows: Using topological branching, a 64-dimensional topological representation is generated for each node based on the metabolite participation patterns in the training positive reaction set. Molecular branching is used to perform molecular feature extraction once for each node. Specifically, for nodes with valid SMILES, the SMILES are input into ChemBERTa and passed through a mapping layer to obtain a 64-dimensional molecular representation. For nodes without valid SMILES, a substitute input is constructed according to a preset molecular input preprocessing rule, and the substitute input is input into the same ChemBERTa and mapping layer to obtain a 64-dimensional molecular representation. For nodes that do not have valid SMILES, their position in the unified modeling node set is retained, and they continue to participate in hyperedge association and topological feature calculation. For each node, its 64-dimensional topological representation and 64-dimensional molecular representation are concatenated to form an initial node feature of 128 dimensions. Using cross-species co-occurrence degree, the initial node features are adjusted before structure propagation, the normalized degree is calculated on the unified modeling node set, and the initial role coefficient prior and initial trainable parameters are calculated sequentially based on the normalized degree. Calculate the initial role coefficients based on the initial trainable parameters, calculate the initial role adjustment node representation based on the initial role coefficients, perform forward propagation based on the initial role adjustment node representation and calculate the training loss, obtain the gradient of the loss with respect to the initial trainable parameters through backpropagation, and update the initial trainable parameters using the optimizer to obtain the updated trainable parameters. The updated trainable parameters are used as the trainable parameters for the current update step, and iterative update processing is performed. Specifically, the role coefficients for the current update step are calculated based on the trainable parameters for the current update step, the role adjustment node representation for the current update step is calculated based on the role coefficients for the current update step, forward propagation is performed based on the role adjustment node representation for the current update step and the training loss is calculated, back propagation is performed to obtain the gradient of the loss with respect to the trainable parameters for the current update step, and the trainable parameters for the current update step are updated using the optimizer to obtain the trainable parameters for the next update step, and these are used as the trainable parameters for the current update step in the next round of iterative update processing. Repeat the above iterative update process until the preset maximum number of update steps is reached or the convergence condition is met. Then, take the role adjustment node representation corresponding to the trainable parameters of the last update step as the final role adjustment node representation.

5. The cross-species multi-scale hypergraph GEM missing response prediction method according to claim 1, characterized in that, Step S4 is as follows: For all metabolites in the unified modeling node set, calculate the number of co-occurrences of the training positive reaction and the frequency of node occurrence. Based on the number of co-occurrences of the training positive reaction, take all metabolites in the unified modeling node set as central metabolites in turn, and retain all metabolites that co-occur directly with the central metabolites as one-hop neighbors. For each central metabolite, metabolites that are indirectly connected to at least one intermediate metabolite and do not have a direct co-occurrence relationship with the central metabolite are selected as its corresponding second-hop candidates. A maximum of a preset number of second-hop candidates are selected as second-hop neighbors according to the node occurrence frequency from low to high. If there are not enough candidates, all are retained. Based on one-hop neighbors and two-hop neighbors, hyperedges are established with the central metabolite and its corresponding neighbors. After merging repeated hyperedges, a one-hop hypergraph and a two-hop hypergraph are formed. The one-hop hypergraph and the final role adjustment node representation are input into a preset one-hop hypergraph encoder to obtain the one-hop encoding result. The two-hop hypergraph and the final role adjustment node representation are input into a preset two-hop hypergraph encoder to obtain the two-hop encoding result. Each central metabolite is processed through two preset branches to obtain the one-hop gating vector and the two-hop gating vector corresponding to the central metabolite. The one-hop structure representation in the one-hop encoding result, the two-hop structure representation in the two-hop encoding result, and the role adjustment node representation are combined to perform residual fusion processing to obtain the fusion representation corresponding to the central metabolite. The fusion representations of all central metabolites are combined to obtain a fusion representation matrix. The fusion representation matrix is ​​then input into the master reaction hypergraph, and multi-layer hypergraph convolution is performed on the master reaction hypergraph to generate a node representation matrix.

6. The cross-species multi-scale hypergraph GEM missing response prediction method according to claim 4, characterized in that, Step S5 is as follows: The mean value of the role regulation nodes within the enhanced reaction is calculated, and reaction queries and metabolite bonds are constructed. Based on the normalized degree, the weights of all metabolites in the reaction to be enhanced are calculated, and the final representation of the reaction is constructed based on the weights and the corresponding node representations in the node representation matrix. The final representation is input into the classifier to obtain unnormalized scores for the two categories. The unnormalized scores are then converted into category probabilities using Softmax, which are used as the missing response prediction results.

7. The cross-species multi-scale hypergraph GEM missing response prediction method according to claim 6, characterized in that, Step S6 is as follows: Calculate the training loss for the current batch based on the unnormalized score, and determine whether the training loss for the current batch meets the preset conditions. If not, update the trainable parameters to obtain the updated final role adjustment node representation, and re-execute steps S4 to S5 until it is determined that the training loss of the current batch meets the preset conditions or reaches the preset number of training times. If so, validate the GEM to be filled based on the original validation positive reaction set and the original test positive reaction set, and determine whether the validation output of the GEM to be filled meets the validation requirements; When the validation output results are determined to meet the validation requirements, the GEM to be filled is tested based on the validation negative response set and the test negative response set to generate the final missing response prediction results.