Brain functional connectivity network classification method based on pointnet++ neural network and persistent homology
By extracting topological features of brain functional connectivity networks using the PointNet++ neural network and the continuous cohomology method, the problems of single threshold and kernel function parameter selection in existing technologies are solved, and efficient classification of brain functional connectivity networks is achieved.
Patent Information
- Application Number
- CN202311687565.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-11
AI Technical Summary
Existing technologies for classifying brain functional connectivity networks suffer from limitations such as a single threshold scale, high computational complexity, difficulty in reflecting high-dimensional porous structures, challenges in representing continuous graphs, and difficulties in selecting kernel function parameters, resulting in insufficient classification accuracy.
By employing PointNet++ neural networks and the continuous cohomology method, a brain functional connectivity network is constructed to extract topological features. The PointNet++ architecture is used for feature extraction and classification, avoiding kernel function parameter selection and achieving end-to-end training.
It improves the classification accuracy of brain functional connectivity networks, adapts to various data distributions and task objectives, simplifies the model training process, and enhances the representation and analysis capabilities of topological features.
Smart Images

Figure CN117668696B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of topology data learning, and more specifically to a method for extracting continuous homology topology features based on PointNet++ neural networks. Background Technology
[0002] With the increase in the aging population of human society, the demand for classification of brain function in different groups is increasing day by day. Based on functional magnetic resonance imaging data, we construct brain functional connectivity networks, which can provide a new perspective and method for exploring changes in brain function. At present, most of the research on brain functional connectivity networks is based on graph theory methods, such as shortest path length, small-world property, mean degree of nodes, etc. These methods have the following disadvantages: (1) Single threshold scale. Most graph theory methods are based on a fixed edge weight threshold scale, which only shows the static features of the graph at a certain threshold and cannot reflect the changes in graph features under changing thresholds. (2) The calculation of graph theory methods is based on pairwise interconnection, and the pairwise interconnection method is not only computationally complex but also difficult to reflect the high-dimensional hole structure in the graph.
[0003] Analyzing brain functional connectivity networks using a continuous cohomology method derived from topological data analysis can extract robust topological features across multiple scales of threshold variation, which is helpful for the classification of brain functional connectivity networks.
[0004] In topology learning tasks, persistent cohomology methods are commonly used to obtain persistent graphs. Persistent graphs are the primary descriptors for topology learning, consisting of multiple sets of birth-death pairs of points in two-dimensional Euclidean space. Essentially, a persistent graph is a feature representation of individual topological features (such as connected components, cycles, holes, and high-dimensional topologies) whose appearance and disappearance times fall within a certain threshold range. It can be used to analyze various datasets, including images, point clouds, networks, and time-series data. It provides a powerful representation of the dataset's topology and can be used to identify important features and perform classification or regression tasks.
[0005] However, representing persistent graphs effectively and efficiently remains a challenging task. Two thorny issues exist when incorporating persistent graphs into machine learning processes: (1) Unlike images, time series, and graphs, which can be represented using relatively fixed-shape vectors or matrices, persistent graphs are essentially sets of points, meaning features should not vary with the number and order of points. (2) Traditional distance metrics, such as bottleneck distance and Wasserstein distance, cannot be embedded into Hilbert space in a way that preserves isomorphism, posing difficulties for further analysis. Currently, most methods use kernel functions or metrics to measure differences between graphs. Furthermore, choosing appropriate kernel functions and related parameters is challenging when using kernel methods for persistent graphs. The selection of these parameters significantly impacts the results, but there are currently no clear guidelines for determining optimal parameter values.
[0006] Another persistent image approach transforms a persistent graph into pixels and uses the distribution of pixels to encode topological features. However, persistent images also have drawbacks: (1) the process of transforming a persistent graph into a persistent image may result in information loss, and parameters still need to be determined. (2) the resolution of the persistent image directly affects its ability to represent the persistent graph. Lower resolution may lead to information loss and blurred results, while higher resolution may increase computational complexity and introduce noise, and the generated vectors may be sparse and unsuitable as input. Summary of the Invention
[0007] This invention addresses the shortcomings of existing technologies by proposing a brain functional connectivity network classification method based on PointNet++ neural network and continuous cohomology. The method aims to learn the topological characteristics and structural patterns within the brain functional connectivity network, while utilizing the PointNet++ structure to extract continuous cohomology features to improve the representation and analysis capabilities of topological information, thereby further enhancing the classification accuracy of brain functional connectivity networks.
[0008] To achieve the above-mentioned objectives, the present invention adopts the following technical solution: The present invention provides a brain functional connectivity network classification method based on PointNet++ neural network and continuous cohomology, characterized by the following steps: Step 1: Acquire resting-state MRI data of all subjects and preprocess them to obtain functional MRI data. Where M is the number of subjects, Let be the functional magnetic resonance imaging data of the m-th subject, and let The corresponding set of category labels is ,in, for Category tags; Step 2: Constructing a brain functional connectivity network ,in, This represents the brain functional connectivity network of the m-th subject: Selecting AAL brain atlas Brain regions were divided to obtain the spatially averaged time-series signals within R brain regions of the m-th subject. , The time-series signal representing the i-th brain region of the m-th subject, and , express The functional nuclear magnetic resonance signal at time t, where T represents the length of the time series signal; The time-series signal of R brain regions spatially averaged for the m-th subject. Brain functional connectivity network of the m-th subject The signal set of the m-th node ,Depend on The edges connecting the signals of each node constitute edge set And through calculation The correlation coefficients between the nodes in the middle are obtained The weights, let The signal of the i-th node in With the signal of the j-th node The edge between them is denoted as ,side of ; Step 3: Extract persistent cohomology features from brain functional connectivity networks: The brain functional connectivity network of the m-th subject was obtained using the continuous cohomology algorithm. The occurrence and disappearance times of topological features are used to form birth-death pairs, thus obtaining a set of birth-death pairs. ,in, Let n represent the nth birth-death pair of the m-th subject, and , yes The number of birth and death pairs in the middle, and Let represent the times of appearance and disappearance of the nth topological feature, respectively. The maximum number of birth-death pairs in the brain functional connectivity networks of all subjects is denoted as . ; Step 4: Transformation of the pair of birth and death: Will Expanded to three-dimensional coordinate points and using the three-dimensional coordinates of birth and death pairs. Fill the number of birth-death pairs in the brain functional connectivity networks of all subjects to Thus, the set of birth and death pairs of the m-th subject after preprocessing is obtained. ,in, This represents the m-th subject's... Three-dimensional coordinate points; Step 5: Construct the PointNet++ neural network, which includes: L PointNet++ modules and Z fully connected layers. Each PointNet++ module includes: a sampling layer, an aggregation layer and a convolutional pooling layer. Step 5.1: When x=1, define and initialize the convolutional features. Empty, where, The xth PointNet++ module output represents the mth subject's... Convolutional features corresponding to continuous homophonic feature points; Will The set of birth-death pairs of features that serve as input to the (x-1)th PointNet++ module is denoted as... ; Step 5.2: [The sentence is incomplete and requires more context to be translated accurately.] and The x-th PointNet++ module is processed to obtain the x-th set of birth-death pairs. and the x-th convolutional feature set ; Step 5.3: When x = 2, 3, ..., L, and The x-th PointNet++ module is processed, and the x-th birth-death pair feature set is obtained following the procedure in step 5.2. and the x-th convolutional feature set This is then processed by the Lth PointNet++ module to obtain the Lth convolutional feature set. ; Step 5.4: [The sentence is incomplete and requires more context to be translated accurately.] After processing through Z fully connected layers, the set of birth-death pairs for the m-th subject is obtained. Predicted category labels ; Step 6, based on and A cross-entropy loss function is constructed, and the PointNet++ neural network is trained using gradient descent until the cross-entropy loss function converges, thereby obtaining a trained brain function connectivity network for classifying different categories of brain function populations.
[0009] The brain functional connectivity network classification method based on PointNet++ neural network and continuous cohomology described in this invention is also characterized in that step 5.2 includes: Step 5.2.1: Sampling processing of the center point of the sampling layer: In the x-th PointNet++ module, the iterative farthest point sampling method is used from Select target quantity The three-dimensional coordinates of the points are used as the center points to obtain the x-th set of center points. ,in, Representing the x-th PointNet++ module, the m-th subject's... One center point, The x-th birth-death pair feature set output by the x-th PointNet++ module ; Step 5.2.2: Processing of the polymer layer: Step 5.2.2.1: Define and initialize the sampling radius set of the x-th PointNet++ module. ,in, Let A represent the radius of the a-th sample in the x-th PointNet++ module; A represents the total number of samples. initialization =1; Step 5.2.2.2: Initialize a = 1; Step 5.2.2.3: The aggregation layer in the x-th PointNet++ module is... With the center point as the radius, The ball query method for Perform the a-th sampling, and obtain the sampling set consisting of K birth-death pairs after the a-th sampling. ; Step 5.2.2.4: The aggregation layer in the xth PointNet++ module will... The K birth-death pairs in the convolution feature are respectively related to the convolution feature After pairing the K convolutional features in the sample one-to-one, we obtain the sampled data after the a-th sampling. The first pairing point A set of pairing points ; Step 5.2.2.5: After assigning a+1 to a, return to step 5.2.2.3 and execute sequentially until a = A, thus obtaining the Ath sample. A set of pairing points = ; Step 5.2.2.6: [The sentence is incomplete and requires more context to translate accurately.] +1 is assigned to Then, return to step 5.2.2.2 and execute sequentially until... = This process yields the output of the aggregation layer in the x-th PointNet++ module. A set of pairing points = ;Will After the a-th sampling The set of pairing points is denoted as . ; Step 5.2.3: The convolutional pooling layer consists of one convolutional layer and one pooling layer: The convolutional layer in the xth PointNet++ module will Subtract the coordinates of the birth and death pairs of the K pairs of points respectively Then, use the dimension as The convolution kernels are used for convolution processing to obtain a convolution set containing K convolutional features. Thus obtain A set of convolutions ; The pooling layer in the xth PointNet++ module Perform max pooling to obtain the a-th pooling feature. Thus, A pooling features are obtained. And concatenate them into the x-th convolutional feature vector of the m-th subject. Then, it is used as the output of the xth PointNet++ module.
[0010] The present invention provides an electronic device, including a memory and a processor, wherein the memory is used to store a program that supports the processor in executing the brain functional connectivity network classification method, and the processor is configured to execute the program stored in the memory.
[0011] The present invention discloses a computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, performs the steps of the brain functional connectivity network classification method.
[0012] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. Compared with traditional graph theory methods for analyzing brain functional connectivity networks, the continuous cohomology method of this invention can overcome the shortcomings of graph theory methods in selecting a single threshold, and can capture the topological features in the network, thereby further improving the accuracy of brain functional connectivity network classification.
[0013] 2. This invention uses a neural network structure for classification and regression training. It does not require specifying the kernel function and its parameters, and can achieve end-to-end model training. That is, you only need to prepare the data to be trained and input it into the model. Automatic learning can be completed without additional intervention, which facilitates the training and use of brain function classification models.
[0014] 3. Single-type kernel functions are difficult to apply broadly to datasets from different sources and for different tasks. PointNet++ neural networks, however, can adaptively learn from various data distributions and task objectives to obtain relatively optimal neural network parameters. This means that regardless of the type of brain dysfunction dataset, this invention can adapt itself through parameter learning, thus having a wider range of applications.
[0015] 4. Compared with other topological feature extraction methods that use neural networks, such as Perslay, this invention adopts a multi-scale feature fusion method to extract the relationship between continuous coherent feature points from multiple scale perspectives, which can better vectorize topological features and thus improve the accuracy of brain function classification. Attached Figure Description
[0016] Figure 1 A diagram illustrating the establishment of brain functional connectivity networks; Figure 2 A graph diagram illustrating the process of establishing graph filtering for the continuous cohomology method; Figure 3 This is a flowchart of the method of the present invention; Figure 4 PointNet++ architecture diagram; Figure 5 A flowchart of the overall neural network model; Figure 6 This is a comparison chart showing the classification accuracy of the model of this invention on a dataset of brain dysfunction. Detailed Implementation
[0017] In this embodiment, a brain functional connectivity network classification method based on persistent cohomology features and the PointNet++ neural network algorithm includes: as follows Figure 3 As shown, the functional magnetic resonance imaging (fMRI) data is first preprocessed, then brain regions are divided according to brain atlases, correlation coefficients are calculated to obtain the weights of the edges in the functional connectivity network, and a brain functional connectivity network is established. Then, the continuous cohomology method is used to calculate the topological features of the brain functional connectivity network, obtaining the birth-death pairs corresponding to each network. The birth-death pairs corresponding to each individual subject in the dataset are transformed into three-dimensional coordinates, and the number of all birth-death pairs in the dataset is supplemented and aligned. Then, the PointNet++ neural network algorithm is used, with the birth-death pair feature points of the continuous graph in the processed birth-death pair dataset as input for training, resulting in a trained neural network classification model used for classification prediction. Specifically, the process includes the following steps: Step 1: Acquire and preprocess resting-state MRI data of all subjects: (1) Discard the first five time points to rule out instability of the scanning magnetic field.
[0018] (2) Time-layer correction and head motion correction.
[0019] (3) Use the boundary-based registration method to register the data to the T1WI image space.
[0020] (4) Extract the average signals of white matter and cerebrospinal fluid while moving the head.
[0021] (5) Standardize rs-fMRI images.
[0022] (6) Linear regression was used to remove interfering covariates, including linear trend, white matter and cerebrospinal fluid signals, and 24 head motion parameters. Spatial smoothing with Gaussian kernels was used to improve the image signal-to-noise ratio.
[0023] Obtain functional nuclear magnetic resonance data Where M is the number of subjects, Let be the functional magnetic resonance imaging data of the m-th subject, and let The corresponding set of category labels is ,in, for The category labels indicate whether the corresponding subject's brain function is normal or abnormal under a specific condition. Let y be a one-dimensional one-hot encoded vector, with the dimension determined based on the subject's classification category. Then the dimension is... .set up yes If the i-th position is in the middle, then:
[0024] Step 2: As Figure 1 As shown, constructing a brain functional connectivity network ,in, This represents the brain functional connectivity network of the m-th subject: Selecting AAL brain atlas Brain regions are divided, and the time-series signals of all voxels within the same brain region are summed and divided by the number of voxels to obtain the spatially averaged time-series signal within R brain regions for the m-th subject. , The time-series signal representing the i-th brain region of the m-th subject, and , express The functional nuclear magnetic resonance signal at time t, where T represents the length of the time series signal; The time-series signal of R brain regions spatially averaged for the m-th subject. Brain functional connectivity network of the m-th subject The signal set of the m-th node Each brain region's time-series signal corresponds to a node V, and the time-series signal of the i-th brain region is... ,Depend on The edges connecting the signals of each node constitute edge set And through calculation The Pearson correlation coefficients between the nodes were obtained The weights, let The signal of the i-th node in With the signal of the j-th node The edge between them is denoted as ,side of And:
[0025] in, This represents the temporal mean of the temporal signal in the i-th brain region of the m-th subject. Subtracting the Pearson correlation coefficient from 1 converts the correlation between two nodes into a measure of their distance.
[0026] Step 3: Extract persistent cohomology features from brain functional connectivity networks: like Figure 2 As shown, a graph filtering process is established using a continuous cohomology method. During the filtering process, the edges of the graph are gradually activated, and then the brain functional connectivity network of the m-th subject during the filtering process is recorded. The occurrence and disappearance times of topological features such as connecting components, rings, and cavities are determined. This yields the set of birth-death pairs. ,in, Let n represent the nth birth-death pair of the mth subject, and , yes The number of birth-death pairs generated varies depending on the graph structure, resulting in different numbers of topological features. The quantity is not fixed. and Let represent the times of appearance and disappearance of the nth topological feature, respectively. The maximum number of birth-death pairs in the brain functional connectivity networks of all subjects is denoted as . .
[0027] Step 4: Transformation of the pair of birth and death: Will Expanded to three-dimensional coordinate points and using the three-dimensional coordinates of birth and death pairs. Fill in the number of birth-death pairs of the brain functional connections and networks of all subjects. Thus, the set of birth and death pairs of the m-th subject after preprocessing is obtained. ,in, This represents the m-th subject's... A three-dimensional coordinate point, for a graph The final expanded continuous cohomology feature is: Dimension, where 3 is the dimension of a single birth-death pair. It is the number of pairs of birth and death.
[0028] Step 5: Construct the PointNet++ neural network, including: L PointNet++ modules and Z fully connected layers. Figure 5 This represents a model with a two-layer PointNet++ structure. Each PointNet++ module consists of a sampling layer, an aggregation layer, and a convolutional pooling layer. The sampling layer uses an iterative farthest point sampling method to sample a set of center points that represent the overall contour of the persistent feature point set. Then, in the aggregation layer, ball query sampling is used to sample and aggregate surrounding feature points at different scales near the center points. Finally, the convolutional pooling layer is used to extract features from these points. The selection of the center points provides global features, while the aggregation layer supplements local features, further improving the neural network's ability to represent persistently coherent feature points.
[0029] Step 5.1: The input to each convolutional pooling layer is the output of the previous layer. However, there is no previous layer before the first layer, so the input to the first layer needs to be initialized. When x=1, define and initialize the convolutional features. If empty, there is a one-to-one correspondence between the convolutional features and persistently homologous feature points of each input layer. The xth PointNet++ module output represents the mth subject's... Convolutional features corresponding to continuous homophonic feature points; After the sampling layer, the original persistent cohomological feature points are downsampled and used as input to the next PointNet++ module. Similarly, the first layer needs to initialize the input of the persistent cohomological feature points. Unlike convolutional layers, the persistent feature points are initially transformed birth-death pairs rather than empty. The set of birth-death pairs of features that serve as input to the (x-1)th PointNet++ module is denoted as... .
[0030] Step 5.2: [The sentence is incomplete and requires more context to be translated accurately.] and The input is processed in the xth PointNet++ module. and One-to-one matching is performed based on the pairing relationship, and feature points are continuously synchronized. The corresponding inputs are concatenated into a one-dimensional vector, the first three numbers of which are... The coordinates of the feature points are shown, and the rest are the corresponding convolutional features. After passing through the x-th PointNet++ module, the x-th set of birth-death pairs of features is obtained. and the x-th convolutional feature set ; Step 5.2.1: Sampling processing of the center point of the sampling layer: like Figure 4 As shown, in the x-th PointNet++ module, the iterative farthest point sampling method is used from... Select target quantity The three-dimensional coordinates of the points are used as the center points to obtain the x-th set of center points. ,in, Representing the x-th PointNet++ module, the m-th subject's... By sampling a single center point, the number of feature points is reduced, but the basic shape of the point set is preserved, global features are extracted, and subsequent ball query processes can cover as many feature points as possible; The x-th birth-death pair feature set output by the x-th PointNet++ module .
[0031] Step 5.2.2: As Figure 4 As shown, the processing of the polymerization layer: Step 5.2.2.1: Define and initialize the sampling radius set of the x-th PointNet++ module. ,in, Let A represent the radius of the a-th sample in the x-th PointNet++ module; A represents the total number of samples. initialization =1; Step 5.2.2.2: Initialize a = 1; Step 5.2.2.3: The aggregation layer in the x-th PointNet++ module is... With the center point as the radius, The ball query method for Perform the a-th sampling, and obtain the sampling set consisting of K birth-death pairs after the a-th sampling. By querying the radius of spheres with different radii, local information at different scales near the center point can be obtained, enabling the extraction of local features near the center point from multiple perspectives. At the same time, the number of samples is K each time, and repeated sampling can be performed when the number of points within the radius is less than K.
[0032] Step 5.2.2.4: The aggregation layer in the xth PointNet++ module will... The K birth-death pairs in the convolution feature are respectively related to the convolution feature After pairing the K convolutional features in the sample one-to-one, we obtain the sampled data after the a-th sampling. The first pairing point A set of pairing points Pairing point set Represents the center point The radius of the vicinity is Local features.
[0033] Step 5.2.2.5: After assigning a+1 to a, return to step 5.2.2.3 and execute sequentially until a = A, thus obtaining the Ath sample. A set of pairing points = These represent the center point at different scales. Distribution of nearby persistently homogeneous feature points.
[0034] Step 5.2.2.6: Traverse all spheres at all center points to query the radius, and... +1 is assigned to Then, return to step 5.2.2.2 and execute sequentially until... = This process yields the output of the aggregation layer in the x-th PointNet++ module. A set of pairing points = ;Will After the a-th sampling The set of pairing points is denoted as . .
[0035] Step 5.2.3: The convolutional pooling layer consists of one convolutional layer and one pooling layer: The convolutional layer in the xth PointNet++ module will Subtract the coordinates of the birth and death pairs of the K pairs of points respectively After that, it was normalized. The coordinates of the surrounding point set can help the model converge faster, and then use the dimension of The convolution kernel is used for convolution processing, and the dimension that concatenates the feature point coordinates and the features from the previous layer is convolved to obtain a convolution feature set containing K convolution features. Thus obtain A set of convolutions , The dimension is ,in This represents the length of the convolutional feature of the x-th PointNet++ module.
[0036] The pooling layer in the xth PointNet++ module Perform max pooling to obtain the a-th pooling feature. Thus, A pooling features are obtained. And concatenate them into the x-th convolutional feature vector of the m-th subject. Then, as the output of the xth PointNet++ module, at this point... Dimensions As shown in the figure By splicing the elements along the dimensions, we ultimately obtain... A length of A one-dimensional vector.
[0037] Step 5.3: When x = 2, 3, ..., L, and The x-th PointNet++ module is processed, and the x-th birth-death pair feature set is obtained following the procedure in step 5.2. and the x-th convolutional feature set This is then processed by the Lth PointNet++ module to obtain the Lth convolutional feature set. In the final PointNet++ module, all remaining persistent cohomological feature points are aggregated together in the aggregation layer, ultimately outputting a one-dimensional vector. .
[0038] Step 5.4: [The sentence is incomplete and requires more context to be translated accurately.] After processing through Z fully connected layers, the set of birth-death pairs for the m-th subject is obtained. Predicted category labels , It is a one-dimensional one-hot encoded vector, representing the model's type prediction for the m-th subject.
[0039] Step 6, based on and A cross-entropy loss function is constructed, and the PointNet++ neural network is trained using gradient descent until the cross-entropy loss function converges, thereby obtaining a trained brain function connectivity network for classifying different categories of brain function populations.
[0040] In this embodiment, an electronic device includes a memory and a processor. The memory stores a program that supports the processor in executing the above-described method, and the processor is configured to execute the program stored in the memory.
[0041] In this embodiment, a computer-readable storage medium stores a computer program, which is executed by a processor to perform the steps of the above method.
[0042] In summary, to address the difficulty in quantifying persistent homology features, this invention proposes a method using the PointNet++ architecture to further learn persistent homology features, providing an effective means for topological data analysis.
[0043] Figure 6 The accuracy of this invention is compared with that of other models on a certain dataset. It can be seen that the method of this invention improves the classification accuracy.
Claims
1. A brain functional connectivity network classification method based on PointNet++ neural network and continuous cohomology, characterized in that, The procedure is as follows: Step 1: After acquiring and preprocessing the resting-state MRI data of all subjects, functional MRI data D = {Sub1,...Sub m ,...,Sub M }, where M is the number of subjects, Sub m Let D be the functional magnetic resonance imaging (fMRI) data of the m-th subject, and let the set of category labels corresponding to D be Class={C1,...,C m ,...,C M }, where C m For Sub m Category tags; Step 2: Construct a brain functional connectivity network G = {G1,...,G} m ,...,G M }, where G m This represents the brain functional connectivity network of the m-th subject: Select AAL brain mapping for Sub m Brain regions were divided to obtain the spatially averaged time-series signal S within R brain regions of the m-th subject. m ={S m,1 ,S m,2 ,...,S m,i ,...,S m,R }, S m,i S represents the time-series signal of the i-th brain region of the m-th subject, and S m,i ={S m,i,1 ,...,S m,i,t ,...,S m,i,T }, S m,i,t S represents m,i The functional nuclear magnetic resonance signal at time t, where T represents the length of the time series signal; The time-series signal S, spatially averaged across R brain regions of the m-th subject. m G, the brain functional connectivity network of the m-th subject m The signal set V of the m-th node m , by G m The edges connecting the signals of each node in G constitute G. m The set of edges E m And by calculating S m The correlation coefficient between each node is obtained as E. m The weight of G m The i-th node signal V m,i With the signal V of the j-th node m,j Let the edge between them be E. m,i,j ,E m,i,j The weight is denoted as w m,i,j ; Step 3: Extract persistent cohomology features from brain functional connectivity networks: The brain functional connectivity network G of the m-th subject was obtained using the continuous cohomology algorithm. m The occurrence and disappearance times of topological features are used to form birth-death pairs, thus obtaining a set of birth-death pairs. Among them, P m,n Let P represent the nth birth-death pair of the mth subject, and P m,n =(b m,n ,d m,n ), N m It is G m The number of pairs of birth and death in the middle, b m,n and d m,n Let N0 represent the times when the nth topological feature appears and disappears, respectively, and let N0 be the maximum number of birth-death pairs in the brain functional connectivity network of all subjects. Step 4: Transformation of the pair of birth and death: P m,n =(b m,n ,d m,n Expanded to three-dimensional coordinate points The number of birth-death pairs in the brain functional connectivity networks of all subjects was filled into N0 using the three-dimensional coordinates (0,0,0) of the birth-death pairs, thus obtaining the preprocessed set of birth-death pairs for the m-th subject. in, This represents the n0th three-dimensional coordinate point of the m-th subject; Step 5: Construct the PointNet++ neural network, which includes: L PointNet++ modules and Z fully connected layers. Each PointNet++ module includes: a sampling layer, an aggregation layer and a convolutional pooling layer. Step 5.1: When x = 1, define and initialize the convolutional features. Empty, where, This represents the convolutional feature corresponding to the n0th persistent homology feature point of the mth subject output by the xth PointNet++ module; Will The set of birth-death pairs of features that serve as input to the (x-1)th PointNet++ module is denoted as... Step 5.2: [The sentence is incomplete and requires more context to be translated accurately.] and The x-th PointNet++ module is processed to obtain the x-th set of birth-death pairs. and the x-th convolutional feature set Step 5.3: When x = 2, 3, ..., L, and The x-th PointNet++ module is processed, and the x-th birth-death pair feature set is obtained following the procedure in step 5.
2. and the x-th convolutional feature set This is then processed by the Lth PointNet++ module to obtain the Lth convolutional feature set. Step 5.4: [The sentence is incomplete and requires more context to be translated accurately.] After processing through Z fully connected layers, the set of birth-death pairs Pers for the m-th subject is obtained. m Predicted category label m ; Step 6, based on C m and pred m A cross-entropy loss function is constructed, and the PointNet++ neural network is trained using gradient descent until the cross-entropy loss function converges, thereby obtaining a trained brain function connectivity network for classifying different categories of brain function populations.
2. The brain functional connectivity network classification method based on PointNet++ neural network and continuous cohomology as described in claim 1, characterized in that, Step 5.2 includes: Step 5.2.1: Sampling processing of the center point of the sampling layer: In the x-th PointNet++ module, the iterative farthest point sampling method is used from Select the target quantity N s The three-dimensional coordinates of the points are used as the center points to obtain the x-th set of center points. in, The nth subject representing the xth PointNet++ module s One center point, The x-th birth-death pair feature set output by the x-th PointNet++ module Step 5.2.2: Processing of the polymer layer: Step 5.2.2.1: Define and initialize the sampling radius set of the x-th PointNet++ module. in, Let A represent the radius of the a-th sample in the x-th PointNet++ module; A represents the total number of samples. Initialize n s =1; Step 5.2.2.2: Initialize a = 1; Step 5.2.2.3: The aggregation layer in the x-th PointNet++ module is... With the center point as the radius, The ball query method for Perform the a-th sampling and obtain the sampling set consisting of K birth-death pairs after the a-th sampling. Step 5.2.2.4: The aggregation layer in the xth PointNet++ module will... The K birth-death pairs in the convolution feature are respectively related to the convolution feature After pairing the K convolutional features in the sample one-to-one, we obtain the nth sample containing K paired points after the a-th sampling. s A set of pairing points Step 5.2.2.5: After assigning a+1 to a, return to step 5.2.2.3 and execute sequentially until a = A, thus obtaining the nth sample after A samplings. s A set of pairing points Step 5.2.2.6: Set n s +1 is assigned to n s Then, return to step 5.2.2.2 and execute sequentially until n. s =N s So far, this yields N, the output of the aggregation layer in the x-th PointNet++ module. s A set of pairing points Will N after the a-th sampling s The set of pairing points is denoted as . Step 5.2.3: The convolutional pooling layer consists of one convolutional layer and one pooling layer: The convolutional layer in the xth PointNet++ module will Subtract the coordinates of the birth and death pairs of the K pairs of points respectively Then, a 1×1 convolution kernel is used for convolution processing to obtain a convolution set containing K convolutional features. Thus, N is obtained. s A set of convolutions The pooling layer in the xth PointNet++ module Perform max pooling to obtain the a-th pooling feature. Thus, A pooling features are obtained. And concatenate them into the x-th convolutional feature vector of the m-th subject. Then, it is used as the output of the xth PointNet++ module.
3. An electronic device, comprising a memory and a processor, characterized in that, The memory is used to store a program that supports the processor in executing the brain functional connectivity network classification method of claim 1 or 2, and the processor is configured to execute the program stored in the memory.
4. A computer-readable storage medium storing a computer program thereon, characterized in that, The computer program, when run by a processor, executes the steps of the brain functional connectivity network classification method according to claim 1 or 2.
