Alzheimer disease classification method and system based on multi-view spatio-temporal topology fusion
By employing a multi-view spatiotemporal topology fusion method, and utilizing dynamic time windows and feature fusion techniques, multi-dimensional features are extracted from time series data. This addresses the shortcomings in feature extraction and fusion in existing AD diagnosis methods, achieving higher diagnostic accuracy and earlier identification capabilities.
Patent Information
- Application Number
- CN202410974101.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-05
AI Technical Summary
Existing AD diagnosis methods often extract features from a single perspective, neglecting multidimensional and dynamic information, which limits the model's recognition ability and results in insufficient feature fusion.
A multi-view spatiotemporal topology fusion method is adopted. Time series data is processed through dynamic time windows to construct a dynamic graph structure. Feature information is extracted using spatiotemporal neural networks and persistent cohomology algorithms. Feature fusion is performed through Transformer and classified by graph convolutional integral class model.
It improves the accuracy and robustness of early diagnosis of Alzheimer's disease, and makes full use of multidimensional information and dynamic relationships to enhance the model's recognition ability.
Smart Images

Figure CN118899076A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of biotechnology, and in particular relates to an Alzheimer's disease classification method and system based on multi-view spatiotemporal topological fusion. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Alzheimer's disease (AD), as a typical neurodegenerative disease, is becoming more and more common among the elderly. This disease is characterized by progressive cognitive decline, including but not limited to memory loss, impaired judgment, and decreased language ability. These changes not only seriously affect the patient's ability to take care of themselves in daily life, but also bring a heavy burden to the patient's family.
[0004] However, the diagnosis of AD still faces many challenges. Traditional AD diagnostic methods, such as clinical symptom observation by doctors, cognitive function tests, and imaging examinations such as CT scans and MRI, can assist doctors in making preliminary diagnoses to a certain extent, but these methods have their limitations. With the rapid development of biomedical signal processing and artificial intelligence technology, AD detection methods based on time series data have gradually shown their unique advantages. Time series data can continuously record the physiological and pathological changes of patients, thereby capturing subtle changes in the development of the disease. By deeply analyzing and processing these data, key features related to AD can be extracted, providing strong support for early diagnosis and intervention.
[0005] Compared with traditional diagnostic methods, AD detection methods based on time series data have higher sensitivity and specificity, and can detect signs of the disease earlier, giving patients more time for treatment. At the same time, this method can also reduce subjective dependence on patients and improve the accuracy and reliability of diagnosis.
[0006] Although AD detection methods based on time series data have great potential, current methods still have problems, including at least:
[0007] 1. Traditional methods often only extract features from a single perspective, ignoring the multi-dimensional information of the data, resulting in limited model recognition capabilities.
[0008] 2. Most methods are based on learning from static graph structures and cannot fully utilize the dynamic information in time series data, thus ignoring the features and relationships that change over time.
[0009] 3. Existing feature fusion methods mostly use simple splicing or weighted averaging, which makes it difficult to effectively integrate feature information from different perspectives, limiting the advantages of multi-source data. Summary of the invention
[0010] In order to overcome the shortcomings of the above-mentioned prior art, the present invention provides an Alzheimer's disease classification method and system based on multi-view spatiotemporal topological fusion. The present invention deeply explores the multi-granularity information of AD disease data from the two perspectives of spatiotemporal and topological, and provides strong technical support for the early diagnosis and identification of AD disease.
[0011] To achieve the above object, the first aspect of the present invention provides an Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion, comprising:
[0012] Extracting time series data from magnetic resonance imaging images, processing the extracted time series data through a dynamic time window, and obtaining signal feature data under each time window;
[0013] The predefined regions of interest are used as nodes, and a dynamic graph structure is constructed based on the correlation between signal feature data in each time window;
[0014] Using a spatiotemporal neural network and a persistent homology algorithm respectively, the spatiotemporal feature information and the topological feature information of the dynamic graph structure are extracted, and based on the spatiotemporal feature information and the topological feature information, a spatiotemporal hypergraph association matrix and a topological hypergraph association matrix are constructed respectively;
[0015] After the spatiotemporal hypergraph association matrix and the topological hypergraph association matrix are fused, they are input into a classification model to obtain corresponding classification results.
[0016] The second aspect of the present invention provides an Alzheimer's disease classification system based on multi-view spatiotemporal topological fusion, comprising:
[0017] A processing module is used to extract time series data from the magnetic resonance imaging image, and process the extracted time series data through a dynamic time window to obtain signal feature data under each time window;
[0018] The first construction module is used to construct a dynamic graph structure based on the correlation between signal feature data in each time window by taking the predefined regions of interest as nodes;
[0019] The second construction module is used to extract the spatiotemporal feature information and the topological feature information of the dynamic graph structure by using the spatiotemporal neural network and the persistent homology algorithm respectively, and to construct a spatiotemporal hypergraph association matrix and a topological hypergraph association matrix respectively based on the spatiotemporal feature information and the topological feature information;
[0020] The classification module is used to fuse the spatiotemporal hypergraph association matrix and the topological hypergraph association matrix, and input them into the classification model to obtain the corresponding classification result.
[0021] The third aspect of the present invention provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, an Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion is executed.
[0022] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, an Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion is executed.
[0023] One or more of the above technical solutions have the following beneficial effects:
[0024] In the present invention, a dynamic time window is used to process time series signals, which can effectively utilize the characteristics and relationships that change over time and improve the model recognition ability; the multi-granularity information of AD disease data is deeply explored from the two perspectives of time, space and topology, and the potential characteristics of AD are fully captured, which further improves the model recognition ability and provides strong technical support for the early diagnosis and identification of AD diseases.
[0025] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0027] Figure 1 This is a flow chart of the overall algorithm in Embodiment 1 of the present invention;
[0028] Figure 2 Schematic diagram of isomorphic network feature extraction of spatiotemporal attention graph in embodiment 1 of the present invention;
[0029] Figure 3 It is a visualization of the functional connections of the top 12 most discriminative brain region nodes detected in the STAGIN model training task of AD patients in Example 1 of the present invention;
[0030] Figure 4 It is a visualization of the functional connections of the top 12 most discriminative brain region nodes detected in the STAGIN model training task of the normal cognitive subjects in the first embodiment of the present invention;
[0031] Figure 5Schematic diagram of a feature extraction algorithm of persistent coherent VR-filtering in Embodiment 1 of the present invention;
[0032] Figure 6 A schematic diagram of a process for extracting brain functional network features based on persistent coherence in Embodiment 1 of the present invention;
[0033] Figure 7(a)-Figure 7(i) Graphs showing different changes in 0-dimensional Betti numbers in a functional network constructed based on Euclidean distance in Example 1 of the present invention;
[0034] Figure 8 This is a Transformer-based hypergraph fusion strategy diagram in Example 1 of the present invention. DETAILED DESCRIPTION
[0035] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0036] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.
[0037] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0038] First, the nouns involved in this application are explained:
[0039] Hyperedge: can connect multiple nodes. Unlike the traditional adjacency matrix that can only reflect the relationship between two nodes, it can capture the high-order associations between multiple nodes. Note that here, for the node classification, each node represents a certain category. Find the correlation between nodes and connect points of one category.
[0040] Graph structure: G = (V, E, W) where V represents the vertex set and E represents the hyperedge set. Different from the original graph neural network, each edge in the adjacency matrix only represents the relationship between two nodes. Here, each hyperedge connects two or more vertices, and the W diagonal matrix represents the weight of each hyperedge. Each node represents an individual, and a hyperedge can connect multiple individuals. Patients with similar symptoms can be connected on the same hyperedge.
[0041] Incidence matrix: The hypergraph is represented by an incidence matrix H, which is |V|×|E|, where the corresponding elements in H are represented as:
[0042] Degree: The degree d(v) of a vertex v is defined as: The degree δ(e) of a hyperedge e is defined as: Where D e and D v Diagonal matrices representing edge degrees and vertex degrees, respectively.
[0043] Hypergraph Laplacian: Given a hypergraph G = (V, E, Δ), where V is the vertex set, E is the hyperedge set, and Δ is the hypergraph Laplacian, which is an n*n semi-positive definite matrix, where n is the number of vertices. Performing eigendecomposition on Δ yields: Δ = ΦΛΦ T , where Φ is a matrix containing orthogonal eigenvectors and Λ is a diagonal matrix containing the corresponding non-negative eigenvalues.
[0044] The Fourier transform of the signal x on the hypergraph is defined as: Here the eigenvectors Φ are considered as Fourier bases and the eigenvalues Λ are interpreted as frequencies.
[0045] Spectral convolution: The spectral convolution of the signal x and the filter g is expressed as:
[0046] g*x=Φ((Φ T g)°(Φ T x))=Φg(Λ)Φ T x
[0047] where ° denotes the element-wise Hadamard product and g(Λ) is a function of the Fourier coefficients.
[0048] Since the computational complexity of the forward and inverse Fourier transform is O(n 2 ), the Chebyshev polynomial is used to parameterize g(Λ) to reduce the computational complexity. The filter g(Λ) can be approximated by a K-order Chebyshev polynomial: Among them, T k (x) is a Chebyshev polynomial, and the recursive calculation formula is: k (x) = 2xT k-1 (x)-T k-2 (x), and T0(x) = 1 and T1(x) = x. Using the scaled Laplacian in the Chebyshev expansion Among them, λ max is the maximum eigenvalue of the Laplace operator, simplifying the convolution operation to:
[0049]
[0050] Hypergraph Convolutional Layer:
[0051] For the signal (with n nodes and C1-dimensional features), the hyperedge convolution can be expressed as:
[0052]
[0053] in, is the filter parameter, which is obtained through training. In a multi-layer HGNN, the propagation formula of each layer is:
[0054]
[0055] Where σ is the corresponding nonlinear activation function. (l) is the input feature matrix of the lth layer, with a shape of N×C l , N is the number of nodes, C l is the feature dimension. H is the hypergraph’s association matrix, with a shape of N×E, where E is the number of hyperedges. W is the hyperedge weight matrix, with a shape of E×E. v and D e are diagonal matrices of node degree and hyperedge degree respectively. Θ (l) is the learnable parameter of layer l, with shape C l ×C l+1 . σ is a non-linear activation function.
[0056] Embodiment 1
[0057] This embodiment discloses a classification method for Alzheimer's disease based on multi-view spatiotemporal topological fusion. By combining the STAGIN dynamic graph spatiotemporal graph neural network and the persistent homology topological feature algorithm, it realizes the extraction of multi-dimensional spatiotemporal features and topological features from time series data, forming a comprehensive feature representation. At the same time, by using dynamic hypergraph construction and Transformer-based fusion technology, the feature information of different perspectives is effectively fused to capture the complex structure and pattern of the data. In addition, by introducing the graph convolution classification model (HGNN_AttentionConv) with an attention mechanism, the model can automatically pay attention to important nodes and edges, improve the utilization of key information, and thus improve the accuracy and robustness of classification. In summary, the method proposed in this embodiment makes full use of the multi-dimensional information of time series data, effectively solves the shortcomings of traditional methods in feature extraction, dynamic information utilization, feature fusion and classification models, and provides strong technical support for the early diagnosis and identification of AD diseases.
[0058] Combine the following Figure 1-Figure 8 The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion proposed in this embodiment is described in detail, including the following parts:
[0059] 1. Multi-view feature extraction
[0060] Step 1: Feature extraction based on spatiotemporal attention graph isomorphic network
[0061] The STAGIN (Spatio-Temporal Attention Graph Isomorphism Network) model effectively captures the dynamic features of the brain functional connection network by combining graph isomorphism networks and spatiotemporal attention mechanisms, showing great potential in brain disease diagnosis. First, STAGIN can extract spatiotemporal dynamic features from the brain functional connection matrix, which can reveal the activity patterns of different brain regions at different time points. Through the spatiotemporal attention mechanism, STAGIN can automatically focus on spatiotemporal nodes and edges that are important for disease diagnosis, providing more interpretable results. In the disease diagnosis task, STAGIN achieves efficient classification of patients with different brain diseases (such as Alzheimer's disease, schizophrenia, etc.) and healthy individuals through a deep learning model of spatiotemporal features. For example, through experiments on the HCP (Human Connectome Project) dataset, STAGIN outperformed other static functional connection methods in gender classification and task decoding. In addition, STAGIN not only provides highly accurate classification results, but also can explain which brain regions and time points have the greatest impact on the classification results, which is of great significance for medical diagnosis. By analyzing the spatiotemporal attention weights, we can discover the activity patterns of brain areas related to specific diseases and provide a reference for doctors.
[0062] like Figure 1 As shown, the implementation steps in this embodiment include:
[0063] Step 11: Dynamic time window division
[0064] First, for 4D fMRI (3D voxels with time-varying changes), the brain is visualized as a set of discrete brain functional regions at each measurement moment. The BOLD signal in each region is represented by the average value of all voxel intensities in the region, forming a time series vector. In this way, a set of BOLD signals is obtained for the entire brain, each sequence corresponds to a specific ROI, and the BOLD signal is defined as in D is the number of time points. At a technical level, a sliding window method is used to capture the temporal dynamics in the BOLD signal. This method involves sliding a fixed-length window of length Γ with a step size of s over the time series to produce a series of possibly overlapping time segments. The overall BOLD signal can be divided into The window length of each segment is Γ and the step length is s. Represents the BOLD signal of the i-th ROI at the t-th time period.
[0065] Step 12: Build the dynamic graph structure
[0066] Represent the acquired time series data as a graph model Among them, the node set Corresponding to the pre-defined regions of interest (ROI) in the brain, the edge set E represents the functional connections between these regions. Each node v i are associated with a eigenvector χ i , the eigenvector χ i Generally, it indicates the characteristics of the time region in the time series data. Here, it refers to the feature vector based on correlation, that is, the vector obtained by flattening the upper triangle of the FCN matrix obtained by formula (1). N indicates the total number of ROIs.
[0067] For any two nodes v i and v j , if there is a i to v j , then (v i ,v j )∈E, the connection strength of this pair of nodes is determined by the weight ω ij Description, there is ij ≠ω ji ; If there is no connection, then ω ij =0, where the weight ω ij It is represented by different construction correlation matrices. If there is no information flow and only connection relationship exists, then ω ij =ω ji Note that in the brain function graph, there is no edge connection between a node and itself, i.e. So ii =0.
[0068] The node feature matrix and graph adjacency matrix defined in this way are and A∈{0,1} N×N , where d represents the dimension of each node feature. For the evaluation of the edge weight feature, i.e., the adjacency matrix A(t), the FCN matrix (given by formula (1)) under the corresponding time window is used after threshold processing.
[0069] Considering the computational cost and simplicity, the Pearson correlation coefficient PCr between nodes in each time segment is calculated by formula (1): ij (t) is used to construct the FCN matrix as an evaluation of the edge weight matrix.
[0070] Correlation coefficient r ij (t) reflects the linear correlation strength between the BOLD signals of nodes i and j at time segment t:
[0071]
[0072] Among them, Cov represents the covariance of the BOLD signal between the two ROIs, and σ represents the standard deviation. Thus, for each individual, the brain functional network in time period t can be expressed as Although the functional network contains important information between all nodes, it also includes redundant information and noise information. Therefore, we can filter out statistically significant edges, set the edge weights to 1, and the rest to 0, to form a sparse adjacency matrix A(t)={r ij (t)≥δ(t)}∈{0,1} N×N , where δ(t) represents the selected threshold value, which is 30% in this embodiment. Considering the efficiency and simplicity of the code, FCN is also used for the evaluation of the node feature matrix X(t). Different from the edge weight matrix evaluation strategy, in the evaluation of the node, the FCN matrix is no longer binarized, but the original FCN feature matrix is used to retain comprehensive information.
[0073] In summary, the graph constructed in the tth time window can be expressed as G(t)=(X(t),A(t)), where X(t) is the node feature matrix and A(t) is the adjacency matrix.
[0074] For each research object, its dynamic graph sequence can be represented as a set This includes all graphs from the 1st to the Tth time window. This representation facilitates the analysis of the functional network changes of the brain in different time windows. By passing the dynamic graph structure through the trained STAGIN model, the spatiotemporal characteristics of brain region signals can be obtained. stagin .
[0075] Step 2: Feature extraction algorithm based on persistent coherence VR-filtering
[0076] When processing image data, the corresponding data representation can be generated with the help of a neural network model, for example, by extracting specific feature points to build a network model for face recognition. In addition to the network model, different data representation methods such as feature maps or heat maps can also be used. Although these methods are derived from the same image data, different models can be established from a mathematical perspective: such as matrix models, lattice models, grid models or complex function models. After the mathematical model is established, features can be extracted based on the model and connected with subsequent information of interest, such as prediction using machine learning algorithms, multi-layer perceptrons and deep learning. Among the descriptive quantities about the structure, some more essential and global quantities can capture the overall information of the structure and play an important role in understanding and describing the function of the structure, which can be described by topological invariants. In the application of brain functional network disease detection, feature extraction algorithms based on persistent homology VR-filtering have significant advantages. This method can not only extract useful features from electroencephalogram (EEG) or functional magnetic resonance imaging (fMRI) data, but also help us understand the structural and functional changes of the brain under different disease states. For example, by analyzing the topological structure of the brain functional network, brain regions and connection patterns associated with specific diseases can be identified. In neurodegenerative diseases such as Alzheimer's disease or schizophrenia, the connections between certain brain regions may weaken or disappear, and these changes can be captured by persistent homology methods. By constructing matrix models or grid models, topological invariants such as Betti numbers can be calculated, which can describe the number of holes and the complexity of connections in the brain network, thus providing important clues about the disease process. In addition, the persistent homology VR-filtering algorithm can also help understand the dynamic changes of brain functional networks at multiple scales. By comparing the brain network features of healthy individuals and patients with diseases, it can be found which features are disease-specific and which are normal variations. This multi-level analysis provides a new perspective for the early diagnosis and treatment of diseases. Overall, the application of feature extraction algorithms based on persistent homology VR-filtering in brain functional network disease detection not only improves the accuracy of disease diagnosis, but also reveals the complex dynamic changes of the brain under different disease states, providing important theoretical basis and methodological support for clinical research and treatment.
[0077] like Figure 5-Figure 6 As shown, in this embodiment, the steps for calculating the topological features based on persistent homology are as follows:
[0078] Step 21: Constructing the Functional Connectivity Matrix
[0079] Based on the dynamic graph construction described above, the functional connection matrix FCN corresponding to each time window is obtained, and the FCN is thresholded to generate the binary adjacency matrix A(t) under different thresholds.
[0080] First, select the threshold ∈: select a series of thresholds ∈1, ∈2, …, ∈ n . Secondly, binarization is performed according to different thresholds: for each threshold ∈ k , construct the adjacency matrix A(∈ k ), whose elements are defined as:
[0081]
[0082] Step 22: Constructing the simplicial complex
[0083] In each time window, a series of adjacency matrices are generated using different thresholds (filter values) to form a filter sequence, and each threshold corresponds to a simplicial complex.
[0084] First, the thresholds are arranged from low to high to form a filter series, and then for each threshold ∈ k , the corresponding adjacency matrix A(∈ k ) as a simplicial complex, where the edges represent connections between brain regions.
[0085] Step 23: Compute the simplicial complex features
[0086] First, given the binary adjacency matrix A(∈) after the threshold ∈, each brain region is regarded as a vertex (0-simplex). ij (∈) = 1, then the edge (1-simplex) (i, j) is included in the simplicial complex. For higher-dimensional simplices, if all edges between all k+1 vertices exist in the adjacency matrix, then it is considered a k-simplex. In the simplicial complex corresponding to each threshold, calculate the number of simplices C of each dimension k k .
[0087]
[0088] Here, σ is a simplex and K is a simplicial complex.
[0089] Among them, the simplicial complex dimension corresponds to the highest dimension of each simplicial complex corresponding to the formula:
[0090]
[0091] Secondly, chain groups are constructed based on simplicial complexes, where the 0-chain group (C0) is generated by the formal linear combination of all 0-simplices, the 1-chain group (C1) is generated by the formal linear combination of all 1-simplices, the 2-chain group (C2) is generated by the formal linear combination of all 2-simplices, and so on, to construct high-dimensional chain groups.
[0092] Finally, the boundary operator is calculated That is, we map a k-simplex to its k-1-dimensional boundary. For example, the boundary of a 1-simplex (i, j) is the set of vertices i and j.
[0093] Step 24: Compute topological invariant features
[0094] k-th dimensional Betti number β k : is the homology group H k The rank of is calculated as:
[0095]
[0096] Among them, H k The k-th dimensional homology group is defined as the quotient group between the boundary operator kernel of the k-dimensional chain group and the boundary operator image of the k+1-dimensional chain group, where
[0097] The calculation formula for the Euler characteristic number X is as follows: Among them, C k is the number of simplexes in dimension k.
[0098] Step 25: Compute persistent homology features
[0099] Calculation of persistent barcode:
[0100] First, construct the filtering sequence by generating a series of simplicial complexes using different thresholds: Then for every simplicial complex Calculate its homology group H k (∈ i ). Again, track the appearance and disappearance time of each topological feature (such as connected components, rings) under different thresholds (∈ birth ,∈ death ), and finally generate a persistent barcode, where each barcode [∈ birth ,∈ death ) represents the lifetime of a topological feature.
[0101] When constructing the filter sequence, a series of thresholds (∈1, ∈2, ..., ∈ n ) to generate the corresponding simplicial complex, and then track the appearance and disappearance of each topological feature (such as connected components, rings, etc.) under these thresholds to determine the ∈ birth and ∈ death Values, and then get Length1, Length2, … under different thresholds.
[0102] Among them, the length of the barcode is: Length = ∈ death -∈ birth, the number of barcodes represents the number of all topological features that appear in the filtered sequence. With (∈ birth ,∈ death ) can be viewed as points to visualize the persistence graph. In the two-dimensional plane, the information contained in each point includes the birth and death time of each topological feature.
[0103] Combining the above mentioned features to get X topo ,in:
[0104] X topo =[β0,β1,β2,χ,Length1,Length2,...,Length n , Num1, Num2, ..., Num m ]
[0105] Where β0 is the zero-dimensional Betti number, i.e., the number of connected components, reflecting the number of independent connected regions; β1 is the one-dimensional Betti number, i.e., the number of closed paths composed of edges; β2 is the two-dimensional Betti number, i.e., the number of closed regions surrounded by faces; χ is the Euler characteristic number, a topological invariant used to represent the overall topological properties of the simplicial complex; Length1, Length2, ..., Length n Indicates the length of the persistent barcode, reflecting the persistence of topological features under different thresholds, Num k : represents the number of topological features of the kth dimension in the filter sequence. Specifically, each Num k Corresponds to the number of topological features (such as connected components, rings, cavities, etc.) in a certain dimension k during the entire filtering process. Num1, Num2, …, Num m is the number of topological features of different dimensions that appear in the persistent homology analysis.
[0106] In summary, after the above steps of extracting topological features, we can obtain the topological feature X based on persistent homology. topo .
[0107] 2. Principles and steps of constructing hypergraph structure
[0108] In this embodiment: the features extracted from multiple perspectives, namely, spatiotemporal information and topological information, are used to construct a hypergraph association matrix.
[0109] According to the above scheme, the spatiotemporal feature matrix obtained by the spatiotemporal feature branch is X stagin , with dimensions of N×T×C stagin , where N is the number of nodes, T is the number of time windows, and C staginis the dimension of spatiotemporal features. For the topological feature branch, the persistent homology algorithm is used to analyze the dynamic graph structure and extract the topological features of each node. The obtained topological feature matrix is X topo , with dimensions of N×T×C topo , where N is the number of nodes, T is the number of time windows, and C topo is the dimension of the topological feature.
[0110] Evaluation of node features: The spatiotemporal feature matrix X stagin and the topological feature matrix X topo Concatenate on the feature dimension to form the final node feature matrix X fused .
[0111] The splicing formula is:
[0112] X fused =[X stagin ||X topo ] (6)
[0113] Among them, the concatenated feature matrix X fused The dimensions are: N×T×(C stagin +C topo ).
[0114] Evaluation of edge weight features: The generation of edge weight features is based on node features X stagin and X topo The process of building a hypergraph. In a hypergraph, a hyperedge can connect multiple nodes, so it can capture high-order relationships between nodes; through the k-nearest neighbor algorithm, the k nearest neighbors of each node can be found to build a hyperedge.
[0115] Specifically, the spatiotemporal node feature X stagin H is obtained through the following process stagin , similarly, topological feature X topo H is obtained through the following process topo ; The construction process of the single feature edge weight matrix is as follows:
[0116] (1) Calculate the distance matrix: Calculate the spatiotemporal node features X in each time window stagin Or topological node feature X topo The Euclidean distance between the nodes, get the distance matrix D t , with a dimension of N×N.
[0117] (2) Constructing a k-nearest neighbor graph: For each node in each time window, according to the distance matrix D t Find its nearest k neighbor nodes and form a preliminary adjacency matrix.
[0118] (3) Generate a hypergraph association matrix: Generate a hypergraph association matrix H in each time window based on the k nearest neighbor relationship t , with dimension N×E, where E is the number of hyperedges.
[0119] The correlation matrix formula is:
[0120]
[0121] In summary, based on the above description, two sets of hypergraph association matrices are obtained, namely: Hypergraph association matrix constructed by spatiotemporal information: H stagin , the shape is T×N×N, the hypergraph association matrix constructed by topological information: H topo , the shape is T×N×N, where T is the number of time windows, N is the number of brain region nodes, and the matrix elements represent the connection strength between different brain regions.
[0122] like Figure 8 As shown in Figure 1, the Transformer-based hypergraph structure fusion strategy aims to effectively fuse the hypergraph structure information in different time windows through self-attention mechanism and position encoding, making full use of spatiotemporal features and topological features. This strategy includes encoder and decoder parts, which process spatiotemporal feature information and topological feature information respectively. Through multi-head attention mechanism and feedforward neural network, the complex dependencies in the hypergraph structure are captured.
[0123] (1) Input preparation: The hypergraph association matrices constructed from spatiotemporal information and topological information are stacked to form a three-dimensional tensor:
[0124]
[0125]
[0126] (2) Positional encoding embedding: Adding positional encoding to each time window enables the Transformer to capture temporal information:
[0127]
[0128] Where t is the time step, i is the feature dimension, and d model is the total dimension of the feature. Position encoding (PE) aims to provide temporal information for the input data, so that Transformer can distinguish data at different time steps. This is very important for processing dynamic brain area signals because the connection patterns between brain areas change over time. The hypergraph association matrix with position encoding is input into Transformer for encoding to obtain the fused hypergraph association matrix:
[0129] H fused= Transformer(H stagin ,H topo ) (10)
[0130] (3) Encoder processing strategy
[0131] The encoder is used to process spatiotemporal feature information, and its structure includes a multi-head attention mechanism and a feedforward neural network. For input embedding: the hypergraph association matrix of spatiotemporal feature information is input into the embedding layer, and position encoding is added.
[0132] H' stagin =InputEmbedding(H stagin )+PE (11)
[0133] Then, at each layer of the decoder, a multi-head attention mechanism is applied to capture the dependencies between different time windows.
[0134]
[0135] Where Q, K, and V represent query, key, and value, respectively. k is the dimension of the key. The multi-head attention mechanism generates multiple attention scores for each position by computing multiple sets of self-attention in parallel, thereby capturing the complex dependencies between different time windows and gaining a deeper understanding of the dynamic interactions between brain regions in different time windows. After each layer of multi-head attention, a feedforward neural network is applied for feature transformation and nonlinear processing:
[0136] FFN(x)=max(0,xW1+b1)W2+b2 (13)
[0137] Among them, W1 and W2 are weight matrices, b1 and b2 are biases, and max(0,x) represents the ReLU activation function. The feedforward neural network further transforms the output of the attention mechanism to enhance the feature expression ability, thereby better representing the complex relationship between brain regions.
[0138] (4) Decoder processing strategy
[0139] The decoder is used to process topological feature information. Its structure is similar to that of the encoder, and a mask mechanism is applied to ensure the stability of training. First, the hypergraph association matrix of the topological feature information is input into the embedding layer, and position encoding is added.
[0140] H' topo =OutputEmbedding(H topo )+PE (14)
[0141] Secondly, in each layer of the decoder, a multi-head attention mechanism is applied to capture the dependencies between different time windows. Through the self-attention mechanism, the decoder can extract topological feature information, and further apply masks in the attention mechanism to ensure that the model only focuses on valid time step information.
[0142]
[0143] Finally, after the multi-head attention mechanism at each layer, a feedforward neural network is applied to perform feature transformation and nonlinear processing to further extract and fuse spatiotemporal and topological features. The output of the Transformer is the fused hypergraph association matrix:
[0144] H fused =DecoderOutput(H' stagin ,H' topo ) (16)
[0145] By cross-fusion and complementation of spatiotemporal feature information and topological feature information, the final high-quality feature representation is generated. These representations can capture the complex spatiotemporal and topological relationships between brain regions, which helps to improve the performance of node classification tasks.
[0146] 3. Graph Convolution Classification Model with Attention Mechanism (HGNN_AttentionConv)
[0147] Learning goal: Complete node classification
[0148] Objective function: Regularization framework for node classification: argmin f {Remp(f)+Ω(f)}, where Remp(f) and Ω(f) represent the regularization terms corresponding to the overall loss and the hypergraph structure, respectively, to ensure the smoothness of the labels.
[0149] The overall model is trained around this target loss function. The regularization term: Ω(f) is defined as formula (16) to ensure that the classification function always maintains the high-order data association of the hypergraph:
[0150]
[0151] Among them, ω(e) is the weight of hyperedge e, indicating the importance of the hyperedge; h(u,e) and h(v,e): respectively indicate whether nodes u and v belong to hyperedge e, if so, it is 1, otherwise it is 0. d(u) represents the degree of node u, that is, the sum of the weights of the hyperedges connected to node u; δ(e) represents the degree of hyperedge e, that is, the number of nodes connected to the hyperedge e.
[0152] During the specific training, regularization is added to penalize the differences between nodes, so that the model adjusts parameters during the training process to ensure that the classification function f respects the high-order data associations of the hypergraph, that is, maintains consistency between nodes with high-order associations.
[0153] In order to normalize the regularization term, we introduce:
[0154]
[0155] Δ=I-Θ (17)
[0156] Here Θ is used to simplify the regularization term, and the standardized regularization term Ω(f) can be written as: Ω(f) = f T ΔfHere Δ is a positive semidefinite hypergraph Laplacian matrix.
[0157] In this embodiment, a graph convolution classification model with an attention mechanism (HGNN_AttentionConv) is introduced. The specific operation steps are as follows:
[0158] 1. Initial node feature transformation: transform the input node feature matrix X fused With the weight matrix Θ (l) Multiply them together to get the transformation of the initial node features:
[0159] X'=X fused Θ (l) (18)
[0160] 2. Calculate hyperedge features: through the hypergraph association matrix Aggregate node features to hyperedges to obtain hyperedge features:
[0161]
[0162] 3. Hyperedge feature normalization: using the hyperedge degree matrix Normalize the hyperedge features
[0163]
[0164] Among them, D e It is an M×M diagonal matrix, each diagonal element represents the degree of the hyperedge, that is, the number of nodes associated with the hyperedge, where the calculation formula is as follows:
[0165]
[0166] Among them, i represents the index of the node, ranging from 1 to N, where N is the number of all nodes in the hypergraph, and e represents the hyperedge is an index, indicating a specific hyperedge. Yes D e The inverse matrix of , taking the inverse of each diagonal element.
[0167] 4. Pass the hyperedge features back to the node: through the hypergraph association matrix H fused Pass the normalized hyperedge features back to the node:
[0168] X v =H fused X e′ (twenty two)
[0169] 5. Node feature normalization: using node degree matrix Normalize node features:
[0170]
[0171] Among them, D v It is an N×N diagonal matrix, each diagonal element represents the degree of a node, that is, the number of hyperedges associated with the node. fused Sum each row of to get the degree of each node, where the calculation formula is:
[0172]
[0173] in, Yes D v The square root inverse matrix of takes the reciprocal square root of each diagonal element:
[0174]
[0175] 6. Adding Attention Mechanism
[0176] (1) Calculate the query matrix Q:
[0177]
[0178] in, is the query matrix parameter of the lth layer.
[0179] (2) Calculate the key matrix K:
[0180]
[0181] in, is the key matrix parameter of the lth layer.
[0182] (3) Calculate the value matrix V:
[0183]
[0184] in, is the value matrix parameter of the lth layer. The query matrix Q, key matrix K and value matrix V are respectively obtained by the node feature matrix X′ v With the corresponding parameter matrix Perform a linear transformation to obtain .
[0185] (4) Calculate attention weight:
[0186]
[0187] Among them, d k is the dimension of the key vector. Take the dot product of Q and K and divide by (the square root of the dimension of the key vector) to calculate the attention score, and then the attention weight matrix A is obtained through the softmax function.
[0188] (5) Apply attention weights:
[0189] Z=AV (29)
[0190] Apply the attention weight matrix A to the value matrix V to obtain the weighted feature matrix Z.
[0191] The value matrix V is used to store the original information of each node feature vector, and then weighted averages it through the attention weight matrix A to reflect the importance of each node in its neighboring nodes. The final weighted result Z is the new node feature representation.
[0192] In the model with attention mechanism, the value matrix V is obtained by node feature matrix X' V With a learnable weight matrix Obtained by linear transformation. The value matrix V represents the feature representation used by the node features when performing attention weighting.
[0193] 7. Convolution calculation process: Take the weighted feature matrix Z as input and perform the convolution calculation process:
[0194]
[0195] The HGNN layer can perform node-hyperedge-node transformation, which can better utilize the hypergraph structure to extract features. Specifically, first, the initial node feature X (1) Through the learnable filter matrix Θ (1) Then, the node features are aggregated according to the hyperedges to form the hyperedge features R E×C2 , which is done by the matrix Finally, the output node features are obtained by aggregating the related hyperedge features, which is done by the matrix H fused Note that D v and D eIt plays a normalization role in the formula. Therefore, the HGNN layer can effectively extract high-order correlations on the hypergraph through node-hyperedge-node transformation.
[0196] 4. Model Training
[0197] 1. Input feature matrix X fused and the hypergraph G, i.e., the incidence matrix H fused Input into the model and get output through a series of calculations Output It is a probability distribution, which indicates the probability that each sample belongs to each category.
[0198]
[0199] 2. Calculate loss: Use the cross entropy loss function to calculate the model output and the difference between the true label y.
[0200] Specifically, select the sample index idx of the training or validation set, and extract the corresponding samples from the output and the true label.
[0201]
[0202] Where idx represents the index of the training or validation set. The corresponding loss function is used to measure the difference between the model prediction result and the true label. We use the cross entropy loss function to calculate this difference. The cross entropy loss function is defined as follows:
[0203]
[0204] Where: y i is the true label of the i-th sample, indicating the probability that the sample belongs to a certain category (here 0 represents AD patients and 1 represents CN normal cognition). is the model prediction probability of the i-th sample, which indicates the probability that the model predicts that the sample belongs to a certain category.
[0205] 3. Back propagation and optimization: In the training phase, the gradient of the loss function to the model parameters is calculated, and the optimizer is further used to update the model. In the present invention, the Adam optimizer is used for parameter optimization, and the MultiStepLR learning rate scheduler is used to dynamically adjust the learning rate.
[0206] 4. Calculate the accuracy: Get the predicted category label of the final model, and then compare the predicted label with the true label to calculate the accuracy using the following formula:
[0207]
[0208] The dynamic hypergraph learning method based on multi-view spatiotemporal topological feature fusion introduced in this embodiment has shown significant practicality and importance in the detection and classification of Alzheimer's disease (AD). This method effectively improves the accuracy and robustness of AD detection by combining advanced biomedical signal processing and artificial intelligence technology, as well as multi-view and multi-dimensional feature fusion strategies. In practical applications, the practicality of this method is mainly reflected in the following aspects: First, it uses the STAGIN model and persistent homology VR-filtering algorithm to extract rich spatiotemporal and topological features from time series data, comprehensively capture the potential characteristics of AD, and provide strong data support for the accurate diagnosis of the disease. Secondly, through the introduction of dynamic hypergraph construction and Transformer fusion technology, this method can make full use of the dynamic information in the time series data, capture the features and relationships that change over time, and further enhance the recognition ability of the model. In addition, the fusion strategy of multi-view features integrates the feature information of different perspectives, gives full play to the advantages of multi-source data, and thus improves the accuracy of classification.
[0209] More importantly, this method shows great potential in early diagnosis and intervention of AD. By utilizing the multidimensional information of time series data and the dynamic hypergraph learning method, it can detect the signs of AD earlier, making it possible to intervene in the disease earlier. This is of great significance for improving the quality of life of patients and delaying the progression of the disease. In addition, this method also provides an effective solution for disease detection and identification in smart healthcare, injecting new impetus into the development of the smart healthcare field.
[0210] In summary, the dynamic hypergraph learning method based on multi-view spatiotemporal topological feature fusion proposed in this embodiment has important practical application value in the field of AD detection and classification. It can not only improve the accuracy and robustness of AD detection, but also provide strong technical support for the early diagnosis and intervention of AD. With the continuous development of the field of intelligent medical care, this method is expected to provide new ideas and methods for the detection and treatment of more diseases, and promote the field of intelligent medical care to a new height.
[0211] Embodiment 2
[0212] The purpose of this embodiment is to provide an Alzheimer's disease classification system based on multi-view spatiotemporal topological fusion, including:
[0213] A processing module is used to extract time series data from the magnetic resonance imaging image, and process the extracted time series data through a dynamic time window to obtain signal feature data under each time window;
[0214] The first construction module is used to construct a dynamic graph structure based on the correlation between signal feature data in each time window by taking the predefined regions of interest as nodes;
[0215] The second construction module is used to extract the spatiotemporal feature information and the topological feature information of the dynamic graph structure by using the spatiotemporal neural network and the persistent homology algorithm respectively, and to construct a spatiotemporal hypergraph association matrix and a topological hypergraph association matrix respectively based on the spatiotemporal feature information and the topological feature information;
[0216] The classification module is used to fuse the spatiotemporal hypergraph association matrix and the topological hypergraph association matrix, and input them into the classification model to obtain the corresponding classification result.
[0217] Embodiment 3
[0218] The purpose of this embodiment is to provide a computing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.
[0219] Embodiment 4
[0220] The purpose of this embodiment is to provide a computer-readable storage medium.
[0221] A computer-readable storage medium stores a computer program, which executes the steps of the above method when executed by a processor.
[0222] The steps involved in the apparatuses of the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0223] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
[0224] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion, characterized by: include: Extracting time series data from magnetic resonance imaging images, processing the extracted time series data through a dynamic time window, and obtaining signal feature data under each time window; Taking the predefined regions of interest as nodes, a dynamic graph is constructed based on the correlation between the signal feature data corresponding to each node; Using a spatiotemporal neural network and a persistent homology algorithm, respectively, the spatiotemporal feature information and the topological feature information of the dynamic graph are extracted to obtain a spatiotemporal feature matrix and a topological feature matrix; and based on the spatiotemporal feature matrix and the topological feature matrix, a spatiotemporal hypergraph association matrix and a topological hypergraph association matrix are respectively constructed; The spatiotemporal hypergraph association matrix and the topological hypergraph association matrix are fused, and the trained classification model is used to obtain the corresponding classification result.
2. The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion as claimed in claim 1, characterized in that: The dynamic graph structure includes a node feature matrix and an adjacency matrix; wherein the linear association strength between nodes is calculated using the Pearson correlation coefficient to construct a functional connection matrix; the functional connection matrix is used as a node feature matrix; the edge weights in the functional connection matrix that are greater than a set threshold are set to 1, and the remaining edges are set to 0 to construct the adjacency matrix.
3. The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion as claimed in claim 1, characterized in that: The topological feature information of the dynamic graph structure is extracted using a persistent homology algorithm, specifically: Perform threshold filtering on the functional connection matrix corresponding to each time window to obtain the binary adjacency matrix under different thresholds; Each binary adjacency matrix is regarded as a simplicial complex, and the homology group of each simplicial complex is calculated. Based on the calculated homology group, the Betti number of each dimension is obtained. Based on the appearance and disappearance of each topological structure in the filtering, the corresponding barcode is obtained; The topological feature information is constructed based on the Betti number of each dimension, the barcode, and the number of topological features of different dimensions appearing in the persistent homology analysis.
4. The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion as claimed in claim 1, characterized in that: Based on the spatiotemporal feature information or the topological feature information, constructing a spatiotemporal hypergraph association matrix or a topological hypergraph association matrix specifically includes: Calculate the Euclidean distance between nodes in the spatiotemporal feature matrix or the topological feature matrix within each time window; Based on the k-nearest neighbor algorithm, for each node in each time window, the nearest k neighbor nodes are found according to the calculated Euclidean distance to generate a preliminary adjacency matrix; Based on the preliminary adjacency matrix, a spatiotemporal hypergraph association matrix or the topological hypergraph association matrix within each time window is generated according to the k-nearest neighbor relationship.
5. The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion according to claim 1 or 4, characterized in that: The spatiotemporal hypergraph association matrix and the topological hypergraph association matrix are fused through Transformer, specifically: Adding position coding to each time window, and inputting the position-coded spatiotemporal hypergraph association matrix into an encoder based on a multi-head attention mechanism and a feedforward neural network for processing; Inputting the position-encoded topological hypergraph association matrix into a decoder for processing; The processing results of the encoder and the decoder are fused to obtain a fused hypergraph association matrix.
6. The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion as claimed in claim 1, characterized in that: The extracted spatiotemporal feature information and topological feature information are spliced to obtain a node splicing feature matrix; a graph convolution classification model with an attention mechanism is used as the classification model to classify the node splicing feature matrix and the fused hypergraph association matrix, specifically: Multiplying the node splicing feature matrix with the weight matrix to obtain a transformation of the initial node features; Aggregating the transformation of the initial node features to the hyperedge through the topological hypergraph association matrix and the hypergraph association matrix fused from the topological hypergraph association matrix to obtain the hyperedge feature; The hyperedge features are normalized using the hyperedge degree matrix; By means of the topological hypergraph association matrix and the hypergraph association matrix fused with the topological hypergraph association matrix, the normalized hyperedge feature is transmitted back to the node to obtain a new node feature; Using the node degree matrix to normalize the new node features; The features of the new node are normalized and the attention weight is calculated using the attention mechanism; The calculated attention weights are applied to the value matrix to obtain a weighted feature matrix, and the weighted feature matrix is convolved to obtain the classification result.
7. The Alzheimer's disease classification method based on multi-view spatiotemporal topological fusion as claimed in claim 5, characterized in that: In the classification model training, the node splicing feature matrix and the corresponding fused hypergraph association matrix are used as sample data, and the classification model is trained using cross entropy loss.
8. Alzheimer's disease classification system based on multi-view spatiotemporal topological fusion, characterized by: include: A processing module is used to extract time series data from the magnetic resonance imaging image, and process the extracted time series data through a dynamic time window to obtain signal feature data under each time window; The first construction module is used to construct a dynamic graph structure based on the correlation between signal feature data in each time window by taking the predefined regions of interest as nodes; The second construction module is used to extract the spatiotemporal feature information and the topological feature information of the dynamic graph structure by using the spatiotemporal neural network and the persistent homology algorithm respectively, and to construct a spatiotemporal hypergraph association matrix and a topological hypergraph association matrix respectively based on the spatiotemporal feature information and the topological feature information; The classification module is used to fuse the spatiotemporal hypergraph association matrix and the topological hypergraph association matrix, and input them into the classification model to obtain the corresponding classification result.
9. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the Alzheimer's disease method based on multi-view spatiotemporal topological fusion as described in any one of claims 1 to 7 is performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for treating Alzheimer's disease based on multi-view spatiotemporal topological fusion according to any one of claims 1 to 7 is executed.
Citation Information
Cited By
Severe energy-protein intake intelligent prediction system based on digital twinning
CN119694501A
Business data encryption method and system applying quantum encryption
CN120090883A
Intelligent customer service intention layered identification method oriented to multi-modal interaction
CN120296458A
A hierarchical recognition method for intelligent customer service intentions in multimodal interaction
CN120296458B
Auxiliary identification method, device and equipment for early schizophrenia and storage medium
CN120299692A
