A collaborative prediction method for type 2 diabetes complications based on graph neural network

By constructing a relationship diagram between diabetic patients and complications, and using graph neural networks to extract potential relationships, the problem that the diabetes complication prediction model in the existing technology fails to capture the potential relationships is solved, the prediction accuracy and calculation efficiency are improved, and personalized information is provided. chemical treatment plan.

CN118039157BActive Publication Date: 2024-10-01CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410235426.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-10-01
Estimated Expiration
2044-03-01

AI Technical Summary

Technical Problem

Existing diabetes complication prediction models fail to effectively capture the potential relationships between patients and complications, resulting in reduced prediction accuracy and reliability, and cannot achieve collaborative prediction of multiple diabetes complications.

Method used

A method based on graph neural network is used to construct patient-disease relationship graph, patient-patient relationship graph and disease-disease relationship graph. The graph learner is used to optimize and extract potential relationships. The graph neural network is used to learn to extract the relationship between diabetes patients and complications. potential relationships for collaborative prediction.

Benefits of technology

It improves the accuracy and calculation efficiency of disease prediction, reveals the interaction and common risk factors between different complications, and provides a more accurate risk assessment and personalized treatment plan suitable for clinical settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118039157B_ABST
    Figure CN118039157B_ABST
Patent Text Reader

Abstract

The present invention relates to the medical field, and in particular to a collaborative prediction method for type II diabetes complications based on a graph neural network, comprising obtaining medical data of diabetes complications and performing data preprocessing on the medical data; constructing a patient-disease relationship graph according to the condition of diabetic patients, constructing a patient-patient relationship graph according to patient-disease-patient meta-paths, and constructing a disease-disease relationship graph according to the similarities between diabetic complications; constructing a global heterogeneous graph through the three relationship graphs, and optimizing the patient-patient relationship graph and the disease-disease relationship graph respectively by using a graph learner; extracting the potential relationships between diabetic patients and diabetic complications in the global heterogeneous graph by using a graph neural network learning method and inputting the potential relationships into a diabetic complication collaborative prediction model to predict the incidence probability of various diabetic complications in diabetic patients; the present invention solves the current collaborative prediction problem of diabetic complications and improves the accuracy of model prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the medical field, and in particular to a collaborative prediction method for type II diabetes complications based on graph neural network. Background Art

[0002] In recent years, with the improvement of deep learning, machine learning algorithms, hardware level and database, artificial intelligence (AI) technology has ushered in the third wave of development and has been widely used to solve various complex challenges in various fields such as medicine, finance, environment, marketing, security and industry. Especially in the field of medicine, disease prediction models can highlight the enhanced rules for individual patient care decisions and can also autonomously diagnose different diseases according to clinical regulations. The use of disease prediction models can improve the quality of medical data, reduce fluctuations in patient incidence rates, and save medical costs.

[0003] There are currently a large number of studies using statistical and machine learning methods to predict the risk of diabetes complications. Most of these studies use different predictors to train prediction models, such as gender, age, height, weight, and pathological characteristics, to predict the incidence of specific complications. Applying these technologies to electronic medical records provides a powerful tool for population health.

[0004] In the field of diabetes, there is a causal relationship between diabetic complications, and the causal relationship is mutually causal. For example, diabetes may increase the burden on the kidneys and lead to renal failure, and renal failure may lead to the occurrence of hypertension, but hypertension will aggravate the condition of diabetes, causing more diabetic complications in diabetic patients. The disease prediction model currently studied ignores the commonality and interaction between patients without considering the potential relationship between patients and complications, and cannot capture the complex relationship between multiple complications. The prediction model can only predict one complication, which not only consumes more time and resources, but also reduces the accuracy and reliability of the prediction. The present invention can more comprehensively understand the commonality, differences and associations between patients by constructing patient-disease relationships, patient-patient relationships and disease-disease relationships, which helps to identify hidden patterns and laws, improve the accuracy of risk prediction, and realize the collaborative prediction of diabetic complications. The mining of potential relationships can reveal the mutual influence between different complications, as well as certain common risk factors. This can provide doctors with more accurate risk assessments and help to formulate personalized treatment plans and prevention strategies.

[0005] In summary, although existing studies have achieved good results in risk prediction for a single disease, diabetic patients generally have similar pathologies, diabetic complications also have individual and common characteristics, and diabetic patients may suffer from multiple complications at the same time. Therefore, using existing methods to predict diabetic complications will ignore the potential relationship between diabetic patients and diabetic complications, fail to achieve the coordinated prediction of multiple diabetic complications, and affect the accuracy and generalization of the model. Summary of the invention

[0006] In view of the shortcomings of the existing diabetes complication prediction algorithms, the present invention proposes a collaborative prediction method for type II diabetes complications based on graph neural network, which specifically includes the following steps:

[0007] Step S1: obtaining medical data of diabetes complications and performing data preprocessing on the medical data; the medical data includes the results of diabetes complications and influencing factors; the influencing factors include behavioral data, pathological data and demographic data;

[0008] Step S2: constructing a patient-disease relationship graph according to the condition of the diabetic patients, constructing a patient-patient relationship graph according to the patient-disease-patient meta-path, and constructing a disease-disease relationship graph according to the similarity between diabetic complications;

[0009] Step S3: construct a global heterogeneous graph through three relationship graphs, and use a graph learner to optimize the patient-patient relationship graph and the disease-disease relationship graph respectively;

[0010] Step S4: Using graph neural network learning to extract the potential relationships between diabetic patients and diabetic complications in the global heterogeneous graph;

[0011] Step S5: Input the extracted feature information into the diabetes complications collaborative prediction model to predict the incidence probability of various diabetes complications in diabetic patients.

[0012] Furthermore, the process of obtaining medical data of diabetic complications and performing data preprocessing on the medical data includes:

[0013] Select a publicly available medical dataset of diabetes complications and manually select feature subsets for various diabetes complications in combination with medical domain knowledge to construct the medical dataset of diabetes complications;

[0014] The diabetic complications medical data set is preprocessed to remove sample rows containing missing values, and all feature columns of the diabetic complications medical data set are normalized.

[0015] Furthermore, a patient-disease relationship graph is constructed according to the condition of the diabetic patient, a patient-patient relationship graph is constructed according to the patient-disease-patient meta-path, and a disease-disease relationship graph is constructed according to the similarity between diabetic complications. The process includes:

[0016] The diabetic patient-diabetes complication relationship graph is constructed based on the condition of diabetic patients, and the patient-patient relationship graph is constructed based on the patient-disease-patient meta-path. The disease-disease relationship graph is constructed based on the similarity between diabetic complications. The three relationship graphs are then combined to construct a global heterogeneous graph.

[0017] The constructed global heterogeneous graph contains two types of nodes, namely patient nodes and disease nodes, and three meta-paths, namely patient-patient paths, patient-disease paths, and disease-disease paths.

[0018] Furthermore, the graph learner is used to optimize the patient-patient relationship graph and the disease-disease relationship graph respectively. The optimization process includes:

[0019] Obtain edge weights between nodes in the relationship graph, and construct a first weight matrix based on the edge weights;

[0020] Calculate the cosine similarity between each node and other nodes, and construct the second weight matrix of the node through the cosine similarity;

[0021] The weighted sum of the first weight matrix and the second weight matrix is ​​taken as the optimized subgraph.

[0022] Furthermore, the graph neural network is used to learn and extract the potential relationship between diabetic patients and diabetic complications in the global heterogeneous graph, that is, a T-layer heterogeneous graph neural network is used to extract disease features and patient features, including the following steps:

[0023] According to the connection relationship between patients and the connection relationship between patients and diseases, the features of patient nodes are aggregated to obtain the patient aggregate features, and the embedded representation of the patient aggregate features is obtained;

[0024] According to the patient-disease patient relationship, the patient nodes under the same patient relationship are aggregated to obtain the disease aggregation features, and the embedded representation of the disease aggregation features is obtained;

[0025] The patient aggregate features and disease aggregate features are shared through the shared attention layer to obtain the final embedded representations of the disease node and patient node, respectively.

[0026] Furthermore, a cascaded T-layer heterogeneous graph neural network is used to aggregate the features of diseases and patients respectively. The calculation of the embedded representation of a node outputted by the t+1th layer in the T-layer heterogeneous graph neural network includes:

[0027]

[0028] in, is the embedding representation of the output of the t+1th layer of the T-layer heterogeneous graph neural network for node i; σ1(·) is the ReLU activation function, and K represents the number of edge types of patient-disease relationships; Represents the aggregation of nodes of the same type related to node i output by the t+1th layer in the T-layer heterogeneous graph neural network; It represents the aggregation of another type of nodes related to node i outputted by the t+1th layer in the T-layer heterogeneous graph neural network, which only includes two types of nodes, namely, disease nodes and patient nodes, in the present invention.

[0029] Furthermore, the aggregation of nodes of the same type related to node i output by the t+1th layer in the T-layer heterogeneous graph neural network The calculation is expressed as:

[0030]

[0031]

[0032] in, represents the bias term of node i in the T-layer heterogeneous graph neural network for the aggregation of nodes of the same type; D i Represents the set of other types of nodes associated with node i; Represents the weight matrix of node i in the T-layer heterogeneous graph neural network for the aggregation of nodes of the same type; represents the embedding representation of the mth node output by the tth layer in the heterogeneous graph neural network; P m represents the set of other types of nodes associated with node m; |·| represents the number of elements in the set.

[0033] Furthermore, the aggregation of another type of nodes related to node i output by the t+1th layer in the T-layer heterogeneous graph neural network It is expressed as:

[0034]

[0035]

[0036] in, represents the bias term of node i in the T-layer heterogeneous graph neural network for the aggregation of different types of nodes; D i Represents the set of other types of nodes associated with node i; Represents the weight matrix of node i in the T-layer heterogeneous graph neural network for the aggregation of different types of nodes; represents the embedding representation of the mth node output by the tth layer in the heterogeneous graph neural network; P m represents the set of other types of nodes associated with node m; |·| represents the number of elements in the set.

[0037] Furthermore, the process of sharing the patient aggregate features and the disease aggregate features through the shared attention layer includes:

[0038]

[0039]

[0040]

[0041] in, represents the embedding representation of node i output by the shared attention layer, W s ,s,b s is a trainable shared parameter, σ2(·) is the Sigmod activation function; α t,p is an intermediate parameter and is obtained according to the above expression.

[0042] The beneficial effects of the present invention include:

[0043] (1) The present invention can extract the potential relationships between patients and diseases without losing the patient's own disease information, including demographic information, medical test data, etc., thereby improving the accuracy of disease prediction.

[0044] (2) The present invention can extract more feature information without increasing the computational cost, thereby improving the accuracy of disease prediction while ensuring the computational efficiency of the algorithm.

[0045] (3) The present invention provides an end-to-end diagnostic process, starting from the input of patient data into the system, through the data preprocessing process to the final output of disease prediction results. The entire process is efficient and reliable, and is easy to quickly deploy and apply in a clinical environment.

[0046] (4) The mining of potential relationships proposed in the present invention can reveal the mutual influence between different complications and certain common risk factors, which can not only provide more accurate prediction support, but also provide doctors with more accurate risk assessment, which is helpful to formulate personalized treatment plans and prevention strategies, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is a flow chart of a collaborative prediction method for type II diabetes complications based on graph neural network disclosed in the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] The present invention proposes a collaborative prediction method for type II diabetes complications based on graph neural network, which specifically includes the following steps:

[0050] Step S1: obtaining medical data of diabetic complications and performing data preprocessing on the medical data; the medical data includes diabetic complications results and influencing factors; the influencing factors include behavioral data, pathological data and demographic data;

[0051] Step S2: constructing a patient-disease relationship graph according to the condition of the diabetic patients, constructing a patient-patient relationship graph according to the patient-disease-patient meta-path, and constructing a disease-disease relationship graph according to the similarity between diabetic complications;

[0052] Step S3: construct a global heterogeneous graph through three relationship graphs, and use a graph learner to optimize the patient-patient relationship graph and the disease-disease relationship graph respectively;

[0053] Step S4: Using graph neural network learning to extract the potential relationships between diabetic patients and diabetic complications in the global heterogeneous graph;

[0054] Step S5: Input the extracted feature information into the diabetes complications collaborative prediction model to predict the incidence probability of various diabetes complications in diabetic patients.

[0055] Diabetic patients may suffer from multiple complications of diabetes at the same time. Existing disease prediction technologies often only build prediction models for one disease. Although existing studies have achieved good results in risk prediction for a single disease, diabetic patients generally have similar pathologies, and diabetic complications also have individual and common characteristics. Moreover, diabetic patients may suffer from multiple complications at the same time. Therefore, using existing methods to predict diabetic complications will ignore the potential relationship between diabetic patients and diabetic complications, not only failing to achieve the coordinated prediction of multiple diabetic complications, but also affecting the accuracy and generalization of the model.

[0056] In order to preserve the information of diabetic patients and not lose it, we can also explore the potential correlation between diabetic patients and diabetic complications, realize the coordinated prediction of multiple diabetic complications, and improve the accuracy and generalization of the prediction model. Figure 1This embodiment discloses a collaborative prediction method for type II diabetes complications based on a graph neural network, comprising the following steps:

[0057] Step S1: obtaining medical data of diabetic complications and performing data preprocessing on the medical data; the medical data includes diabetic complications results and influencing factors; the influencing factors include behavioral data, pathological data and demographic data;

[0058] Step S2: constructing a patient-disease relationship graph according to the condition of the diabetic patients, constructing a patient-patient relationship graph according to the patient-disease-patient meta-path, and constructing a disease-disease relationship graph according to the similarity between diabetic complications;

[0059] Step S3: construct a global heterogeneous graph by combining the three relationship graphs, and use the graph learner to optimize the patient relationship graph and disease relationship graph in step S2;

[0060] Step S4: using graph neural network learning to extract potential relationships between diabetic patients and diabetic complications in the global heterogeneous graph; the potential relationships are feature information;

[0061] Step S5: Input the extracted feature information into the diabetes complications collaborative prediction model to predict the incidence probability of various diabetes complications in diabetic patients.

[0062] Obtaining medical data of diabetic complications and performing data preprocessing on the medical data, specifically including:

[0063] Step S11: Select a publicly available medical dataset of diabetes complications and manually select feature subsets for various diabetes complications in combination with medical domain knowledge to construct the medical dataset of diabetes complications.

[0064] In the embodiment of the present invention, a diabetes complication warning data set from the National Population Health Science Data Center is selected, from which four diabetes complications are selected as prediction targets, including: hypertension, kidney disease, fatty liver and retinopathy. Combined with medical knowledge, targeted features are screened for each diabetes complication, which are regarded as its personality. The prerequisite for suffering from diabetes complications is to suffer from diabetes, so the features for predicting diabetes are regarded as their commonalities, such as: height, weight, age and other features, thereby constructing the diabetes complication medical data set.

[0065] Step S12: preprocessing the diabetic complications medical data set, removing sample rows containing missing values, and normalizing all feature columns of the diabetic complications medical data set.

[0066] In the embodiment of the present invention, since the attributes in the data set have different physical meanings and dimensions, in order to correctly train the model and improve the training effect of the model, the data set needs to be preprocessed before the experiment, which includes four key steps: first, through data analysis, delete the records with missing values ​​accounting for more than 60%; second, fill the missing values ​​for a small number of missing values. The embodiment of the present invention adopts the prediction method as the missing value filling method to predict the missing value of a variable from other variables. Then, all feature columns are normalized, the feature interval is scaled to the range of [0,1], the dimension difference between different features is eliminated, and the medical data set is converted into structured table data that is easy to process by machine learning algorithms; then, there is a data imbalance problem in the distribution of diabetic complications in the data set. In order to prevent the problem of overfitting of the model, the SMOTE technology is used to oversample the categories with a small number of samples in the data set, effectively increase the number of samples, and reduce the problems caused by data imbalance. Finally, the processed data is divided into training set and test set in a ratio of 7:3 for subsequent experiments.

[0067] In one embodiment, a patient-disease relationship graph is constructed according to the condition of the diabetic patient, a patient-patient relationship graph is constructed according to the patient-disease-patient meta-path, and a disease-disease relationship graph is constructed according to the similarity between diabetic complications, specifically including:

[0068] Step S21: constructing a patient-disease relationship diagram according to the diabetic patients' diabetic complications;

[0069] Step S22: The meta-path is a specific path connecting two entities, which is regarded as a way to mine the potential relationship between the two entities. According to the patient-disease-patient meta-path and the concept of graph theory weight, each edge in the patient network is weighted to construct a patient-patient graph and its weight matrix A. p , used to explore potential correlations among diabetic patients;

[0070] In the embodiment of the present invention, a patient-disease relationship graph is constructed based on the diabetic complications of diabetic patients, and patients with the same complications are considered to have an association relationship, thereby converting the patient-disease bipartite graph into a patient-patient relationship graph and its weight matrix A. p , A p Indicates the number of common diseases between two patients.

[0071] Step S23: Calculate the similarity between diabetic complications according to the Pearson correlation coefficient, and construct a disease-disease relationship diagram to mine the potential correlation between diabetic complications.

[0072] In the embodiment of the present invention, diabetic patients may suffer from multiple complications at the same time. Combined with the individual characteristics screening for each diabetic complication in step S1, the disease-disease graph and weight matrix A are constructed by calculating the Pearson correlation coefficient between the complications. d , A d represents the correlation coefficient between two complications.

[0073] In one embodiment, a global heterogeneous graph is constructed by combining three relationship graphs, and a graph learner is used to optimize the patient relationship graph and the disease relationship graph in step S2, specifically including:

[0074] Step S31: The global heterogeneous graph is constructed by combining the patient-disease relationship graph, the patient-patient relationship graph and the disease-disease relationship graph. The graph learner is used to optimize the network topological relationship between the patient-patient graph and the disease-disease graph because there may be noise or missing information in the original graph structure.

[0075] Step S32: For patient p i , using the cosine similarity measure to calculate p i The similarity with all nodes is calculated as follows:

[0076]

[0077] Where W represents the weight parameter of the neural network. For all patient nodes in the same batch, the weight matrix of all nodes is A p ∈R B×N , where B is the number of patient nodes in the current batch.

[0078] Step S33: Through similarity calculation, a new implicit matrix A′ can be obtained p , although the original graph may contain noise or missing information, it still contains rich and valuable topological information. Therefore, a weight λ is used w To weight the implicit matrix and the weight matrix, as follows:

[0079]

[0080] Among them, λ w is the matrix A′ p The weighting coefficient of .

[0081] matrix Each element in represents the weighted similarity of two nodes, and finally the optimized patient-patient subgraph G′ is obtained. pp ; For the disease-disease graph G dd , the optimized disease-disease subgraph G is obtained in the same way d 'd .

[0082] In one embodiment, graph neural network learning is used to extract potential relationships between diabetic patients and diabetic complications in a global heterogeneous graph; wherein the potential relationships, i.e., feature information, specifically include:

[0083] Step S41: For the global heterogeneous graph, which contains three semantic meta-paths: patient-patient relationship, patient-disease patient relationship and disease-disease similarity relationship, a heterogeneous graph neural network (HGNN) is used to extract high-order feature information in the global heterogeneous graph and fuse different semantic information.

[0084] In this embodiment, a diabetic patient set P is defined as {p1, p2, ..., p N}, p n represents the nth patient in the diabetic patient set, n∈{1,2,…,N}, N is the number of patients in the diabetic patient set, and the diabetic complications set D={d1,d2,…,d M}, d m represents the mth disease in the diabetic complications set, m∈{1,2,…,M}, M is the number of diseases in the diabetic complications set; in this embodiment, the relationship between patients is represented as a graph structure, defined as: G pp = {P,Ε p}, G pp represents the patient-patient graph, E p is the set of patient edges, Ε p {p i ,p n ,r p} means p i With p n Related, p represents the relationship weight between patients, r p is a decimal between 0 and 1, and can generally be set to the overlap rate between two patients. The relationship between patients and diseases can be expressed as a patient-disease graph, defined as: G pd = {P,D,Ε r}, G pd is the patient-disease graph, r {p i ,d j ,r k} indicates patient p i With disease j The relationship is r k , r k 1 means sick, r k 0 means no disease; define P(p i ) indicates that the patient pi Related patient set, D k (p i ) is defined as patient p i The disease manifests as r k = 1, P k (d j ) is defined as the j Performance as r k = 1. Definition For patients i and diseases j The initial embedding of the patient relationship and patient-disease relationship is given, and the predicted target is patient p i For disease j Performance That is, patient p i Whether you have any disease j .

[0085] Step S42: Model the global heterogeneous graph using a T-layer heterogeneous graph neural network to extract high-order complex cross-semantic feature information. i and diabetic complications j , the initial input embedding vector of the first layer is and The initial input embedding vector is the embedding vector obtained according to the node data, as shown in Table 1. The characteristics of each patient's common disease are used as the data of the node, and the characteristics of other diseases (complications of common diseases, i.e., individual diseases) are used as the data of the corresponding disease. and Indicates patient p i and diseases j Embedded representation after passing through T layers of HGNN.

[0086] Step S43: In this embodiment, there are two types of nodes: disease nodes and patient nodes. In this embodiment, the embedded representation of patients is taken as an example for explanation. For the optimized global heterogeneous graph, each patient node has an edge r connected to other patient nodes. p and K edges r connecting disease nodes k ,(k∈{0,1}).

[0087] For patient-patient semantics, the feature aggregation logic for patient nodes in this embodiment is as follows:

[0088]

[0089]

[0090] in, represents the patient node i and the set of patients P (p i ) in the aggregation of each patient node; is the bias parameter used when aggregating the patient set with the same disease as patient i in the T-layer heterogeneous graph neural network; is the weight matrix used when aggregating the patient set with the same disease as patient i in the T-layer heterogeneous graph neural network; c i,n is the normalization parameter, P(p i ) is the set of patients related to patient i, P(p n ) is represented as the set of all patient nodes. In this embodiment, all bias parameters and weight matrices are trainable parameters.

[0091] Similarly, the patient node p can be mapped based on K types of patient-disease relationship edges (different types of nodes). i Aggregate, that is, aggregate the disease nodes associated with the patient nodes. Aggregate all the disease representations of patient i:

[0092]

[0093]

[0094] in, Represents the embedded representation of the disease corresponding to patient i outputted in the t+1th layer of the heterogeneous graph neural network; represents the weight matrix of the aggregation of disease representations corresponding to patient i in the T-layer heterogeneous graph neural network, represents the bias term of the aggregation of each disease representation corresponding to patient i in the T-layer heterogeneous graph neural network, c i,m is the normalization coefficient; D(p i ) represents the set of diseases suffered by patient i; P(d m ) represents the set of patients suffering from disease m; Represents the embedding representation of the mth disease output by the tth layer in the heterogeneous graph neural network.

[0095] Patient p i K+1 types of node information for different types of edges The aggregated embedding of is represented as:

[0096]

[0097] Where σ1(·) is the ReLU activation function, For patients iEmbedded representation of HGNN at layer t+1. For the current layer of heterogeneous graph neural network, the semantic information of the two meta-paths (patient-patient, patient-disease) is integrated into the patient features, while the disease features already contain the semantic information of the disease-disease meta-path after aggregation at layer t. Patient features can fuse the semantic information between diseases through multi-layer HGNN.

[0098] Step S44: For disease node d j , still involves two kinds of meta-path semantic information (disease-disease, patient-disease). Similar to obtaining the embedding representation of patients, we first aggregate the nodes of the same type, then aggregate the nodes of different types, and finally aggregate the two types of aggregations for tracking, similar to the aggregation of patient nodes, for disease d j Node information of K+1 types of edges The HGNN embedding at layer t+1 is expressed as:

[0099]

[0100] in, Represents the embedded representation of the disease node j in the t+1th layer output of the T-layer heterogeneous graph neural network; It represents the aggregation of disease node j output by the t+1th layer in the T-layer heterogeneous graph neural network and other disease nodes related to the disease node, that is:

[0101]

[0102]

[0103] in, is the bias parameter used when aggregating disease node j in the t+1th layer of the T-layer heterogeneous graph neural network with the other disease sets of patient node n suffering from disease j; is the weight matrix used when aggregating disease node j in the t+1th layer of the T-layer heterogeneous graph neural network with other disease sets of patient node n suffering from disease j; is the embedding representation of the nth disease node output by the tth layer of the T-layer heterogeneous graph neural network; c j,m is the normalization parameter used for the same type of aggregation of the jth disease node, D(d m ) represents the set of all disease nodes, D(d j ) represents other disease nodes related to disease node j. The correlation of disease nodes can generally be set as the overlap rate of patient nodes between two disease nodes, or the cosine or Euclidean distance between the data of two nodes.

[0104] It represents the aggregation of the disease node j output by the t+1th layer in the T-layer heterogeneous graph neural network and the patient nodes related to the disease node, that is:

[0105]

[0106]

[0107] in, is the set of disease nodes j and patient nodes with disease j in the t+1th layer of the T-layer heterogeneous graph neural network (d j ) is the bias parameter used when performing aggregation; is the set P of disease nodes j and patient nodes with disease j in the t+1th layer of the T-layer heterogeneous graph neural network k (d j ) is the weight matrix used when aggregating; D(p n ) represents the set of diseases suffered by patient n, P(d j ) represents the set of patients with disease j, c j,n is P(d j ) and D(p n ) is the normalization parameter between .

[0108] After T layers of HGNN, high-order cross-semantic information can be extracted from the optimized global heterogeneous graph, which can extract more potential features of patients and diseases and potential relationships between patients and diseases.

[0109] After T layers of HGNN, high-order cross-semantic information can be extracted from the optimized global heterogeneous graph, which can extract more potential features of patients and diseases and potential relationships between patients and diseases.

[0110] In one embodiment, the extracted feature information is input into a diabetes complication collaborative prediction model to predict the incidence probability of various diabetes complications in diabetic patients, specifically including:

[0111] Step S51: After T-layer HGNN aggregation, for patient p i , the initial embedding vector and input of each layer of HGNN will form the patient node embedding list For disease j , will form a list of disease node embeddings Through the shared attention layer, the final embedding representation of the patient and disease nodes is obtained. i , the final embedding It is expressed as:

[0112]

[0113]

[0114]

[0115] Among them, W s ,s,b s is a trainable shared parameter and σ2(·) is the Sigmod activation function.

[0116] Similarly, we can get the disease node d j The final embedding representation of

[0117] Step S52: The final embedding of the patient node and the disease node is input into a predictor based on a multi-layer perceptron to obtain prediction results of various diabetes complications:

[0118]

[0119] Among them, [,] represents the concatenation operation of two vectors.

[0120] The present invention selects four diabetic complications from the medical data set, such as hypertension, nephropathy, fatty liver and retinopathy, and introduces medical domain knowledge as prior knowledge to perform feature filtering and selection for each diabetic complication, and retains the individuality and commonality of each diabetic complication as much as possible. As shown in Table 1.

[0121] Table 1 Individual and common characteristics of diabetes complications

[0122]

[0123]

[0124] The present invention uses the following indicators to evaluate the performance of the algorithm: accuracy (the percentage of correctly classified test instances in all test instances), precision (the percentage of test instances predicted as positive samples that are actually positive samples), recall (the percentage of actual positive samples in the predicted positive samples to the percentage of positive samples in the total samples), and F1-Score (a weighted average of precision and recall). The experimental results are shown in Table 2.

[0125] Table 2 Experimental results on medical dataset

[0126]

[0127]

[0128] It can be seen that the method (DC-HGNN) proposed in the present invention has good performance. The ACCs for the four diabetic complications are 92.3%, 92.1%, 91.2% and 90.2% respectively. Multiple indicators can reach the optimal values ​​for hypertension, nephropathy and fatty liver. However, only ACC can reach the optimal value for retinopathy. Although the other indicators have not reached the optimal value, they still have good effects. The reason may be that: except for retinopathy, the diagnosis of the other three complications can be based on the data of the laboratory, such as blood routine, urine routine and other test data, while retinopathy requires more imaging data for diagnosis. However, the data set used in the present invention is physical examination data, which does not include imaging data, so the prediction performance of retinopathy is slightly lower than that of other diabetic complications.

[0129] In summary, the present invention proposes a collaborative prediction method for type II diabetes complications based on graph neural networks. A global heterogeneous graph with different relationship semantics is constructed through the diabetes complication warning data set from the National Population Health Science Data Center. A global heterogeneous graph model DC-HGNN that learns different relationships from a unified perspective is proposed to capture complex latent semantic relationships and rich topological information, and solve the problem of low prediction accuracy caused by ignoring potential correlations. The experimental results show that DC-HGNN has good prediction performance. The method can be used in the field of smart medical care, and provide timely advice and formulate personalized treatment plans for diabetic patients with diabetic complications. In addition, the present invention can also be applied to the prediction of other complications, that is, predicting the probability that a patient A with a common disease (such as type II diabetes in the present invention) may suffer from the i-th individual disease in the common disease (such as hypertension, kidney disease or fatty liver disease).

[0130] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A collaborative prediction method for type II diabetes complications based on graph neural network, characterized in that: The specific steps include: Step S1: obtaining medical data of diabetes complications and performing data preprocessing on the medical data; the medical data includes the results of diabetes complications and influencing factors; the influencing factors include behavioral data, pathological data and demographic data; Step S2: constructing a patient-disease relationship diagram according to the condition of the diabetic patient, constructing a patient-patient relationship diagram according to the patient-disease-patient meta-path, and constructing a disease-disease relationship diagram according to the similarity between diabetic complications; specifically including: A diabetic patient-diabetic complication relationship graph is constructed based on the condition of diabetic patients, and a patient-patient relationship graph is constructed based on the patient-disease-patient meta-path, and a disease-disease relationship graph is constructed based on the similarities between diabetic complications; The three relationship graphs are combined to construct a global heterogeneous graph, and the constructed global heterogeneous graph contains two nodes, namely, patient nodes and disease nodes, and three meta-paths, namely, patient-patient paths, patient-disease paths, and disease-disease paths; step S3: constructing a global heterogeneous graph through the three relationship graphs, the global heterogeneous graph is constructed by combining the patient-disease relationship graph, the patient-patient relationship graph, and the disease-disease relationship graph, and using a graph learner to optimize the patient-patient relationship graph and the disease-disease relationship graph respectively, and the optimization process includes: Obtain edge weights between nodes in the relationship graph, and construct a first weight matrix based on the edge weights; Calculate the cosine similarity between each node and other nodes, and construct the second weight matrix of the node through the cosine similarity; Taking the weighted sum of the first weight matrix and the second weight matrix as the optimized subgraph; Step S4: Using graph neural network learning to extract the potential relationships between diabetic patients and diabetic complications in the global heterogeneous graph; Step S5: Input the extracted feature information into the diabetes complications collaborative prediction model to predict the incidence probability of various diabetes complications in diabetic patients.

2. A collaborative prediction method for type II diabetes complications based on graph neural network according to claim 1, characterized in that: The process of obtaining medical data of diabetic complications and performing data preprocessing on the medical data includes: Select a publicly available medical dataset of diabetes complications and manually select feature subsets for various diabetes complications based on medical domain knowledge, and construct a medical dataset of diabetes complications containing corresponding feature subsets for each complication; The diabetic complications medical data set is preprocessed to remove sample rows containing missing values, and all feature columns of the diabetic complications medical data set are normalized.

3. The collaborative prediction method for type II diabetes complications based on graph neural network according to claim 1, characterized in that: The graph neural network is used to learn and extract the potential relationship between diabetic patients and diabetic complications in the global heterogeneous graph, that is, the disease features and patient features are extracted using a T-layer heterogeneous graph neural network, including the following steps: According to the connection relationship between patients and the connection relationship between patients and diseases, the features of patient nodes are aggregated to obtain the patient aggregate features, and the embedded representation of the patient aggregate features is obtained; According to the patient-disease patient relationship, the patient nodes under the same patient relationship are aggregated to obtain the disease aggregation features, and the embedded representation of the disease aggregation features is obtained; The patient aggregate features and disease aggregate features are shared through the shared attention layer to obtain the final embedded representations of the disease node and patient node, respectively.

4. A collaborative prediction method for type II diabetes complications based on graph neural network according to claim 3, characterized in that: A T-layer heterogeneous graph neural network is used to aggregate the characteristics of diseases and patients respectively. The calculation of the embedded representation of a node outputted by the t+1th layer in the T-layer heterogeneous graph neural network includes: in, is the embedding representation of the output of the t+1th layer of the T-layer heterogeneous graph neural network for node i; σ1(·) is the ReLU activation function, and K represents the number of edge types of patient-disease relationships; Represents the aggregation of nodes of the same type related to node i output by the t+1th layer in the T-layer heterogeneous graph neural network; Represents the aggregation of another type of nodes related to node i output by the t+1th layer in a T-layer heterogeneous graph neural network.

5. A collaborative prediction method for type II diabetes complications based on graph neural network according to claim 4, characterized in that: Aggregation of nodes of the same type related to node i output by the t+1th layer in a T-layer heterogeneous graph neural network The calculation is expressed as: in, represents the bias term of node i in the T-layer heterogeneous graph neural network for the aggregation of nodes of the same type; D i Represents the set of other types of nodes associated with node i; Represents the weight matrix of node i in the T-layer heterogeneous graph neural network for the aggregation of nodes of the same type; represents the embedding representation of the mth node output by the tth layer in the heterogeneous graph neural network; P m represents the set of other types of nodes associated with node m; |·| represents the number of elements in the set.

6. The method for collaborative prediction of type II diabetes complications based on graph neural network according to claim 4, characterized in that: Aggregation of nodes of another type related to node i output by the t+1th layer in a T-layer heterogeneous graph neural network It is expressed as: in, represents the bias term of node i in the T-layer heterogeneous graph neural network for the aggregation of different types of nodes; D i Represents the set of other types of nodes associated with node i; Represents the weight matrix of node i in the T-layer heterogeneous graph neural network for the aggregation of different types of nodes; represents the embedding representation of the mth node output by the tth layer in the heterogeneous graph neural network; P m represents the set of other types of nodes associated with node m; |·| represents the number of elements in the set.

7. The method for collaborative prediction of type II diabetes complications based on graph neural network according to claim 4, characterized in that: The process of sharing patient aggregate features and disease aggregate features through the shared attention layer includes: in, represents the embedding representation of node i output by the shared attention layer, represents the embedding representation of the i-th node output by the t-th layer in the heterogeneous graph neural network; W s ,s,b s is a trainable shared parameter and σ2(·) is the Sigmoid activation function.

Citation Information

Cited By

  • Diabetic complication monitoring auxiliary system and method thereof

    CN120748678A