Machine learning method and device for modeling magnetic resonance brain gray matter volume

Through the machine learning method of gray matter volume specification modeling of magnetic resonance brain, magnetic resonance image processing and multiple machine learning algorithms are used to analyze brain region differences, and the problem that is difficult to reveal between facial paralysis and Major syndrome and healthy people is solved, achieving In-depth understanding and diagnostic support for disease mechanisms.

CN118645234BActive Publication Date: 2024-11-05CHINA JAPAN FRIENDSHIP HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411124487.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-05
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

The prior art is difficult to reveal the differences in brain regions between facial paralysis and Major syndrome and healthy people, resulting in difficulties in diagnosis and treatment, and individual heterogeneity has not been effectively revealed.

Method used

Using a machine learning method for modeling gray matter volume specification of magnetic resonance brain, combining generalized addition model with Brent through magnetic resonance image processing and four machine learning algorithms (random forest, support vector machine, extreme gradient lifting and K nearest neighbor algorithm) Maximum likelihood estimation method analyzes brain region volume differences and adjusts hyperparameters to improve classification accuracy.

Benefits of technology

Successfully revealed differences in brain regions between facial paralysis, Major Syndrome and healthy people, providing biological markers for the understanding of the pathological mechanism of the disease, improving diagnosis and treatment accuracy, and providing valuable tools for clinical decision-making .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118645234B_ABST
    Figure CN118645234B_ABST
Patent Text Reader

Abstract

Disclosed are a machine learning method and device for modeling the magnetic resonance gray matter volume. The present invention collects magnetic resonance images, processes the magnetic resonance images using FreeSurfer software, obtains cortical morphological parameters of the whole brain, calculates the standard percentile of brain volume of each participant by Brent's maximum likelihood estimation method, classifies Meige syndrome, facial paralysis and healthy control groups, adjusts the hyperparameters of four machine learning algorithms to find the best parameter combination, and analyzes the inter-group differences in demographic variables, thereby revealing the differences in brain regions between facial paralysis, Meige syndrome and healthy people, which helps to further understand the pathological mechanism of the disease, and provides potential biological markers for diagnosis and treatment, which can provide valuable tools for clinical decision-making assistance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a machine learning method for magnetic resonance cerebral gray matter volume standard modeling, and a machine learning device for magnetic resonance cerebral gray matter volume standard modeling. Background Art

[0002] Idiopathic peripheral facial palsy (FP) is a disease in which facial muscles become dysfunctional due to damage to the facial nerve, placing a heavy psychological burden on patients. Meige syndrome (MS), also known as blepharospasm-mandibular dystonia, is a segmental dystonia that affects the craniocervical region. The disease typically affects individuals between 30 and 70 years old and is more common in males. The clinical manifestations of Meige syndrome include blepharospasm or mandibular dystonia, and the course of the disease varies. Since both Meige syndrome and idiopathic peripheral facial palsy are related to the facial nerve, there are certain similarities in their symptoms. The facial nerve controls the muscles of facial expression, so whether the facial nerve is damaged or dysfunctional, it may cause the facial muscles to show similar symptoms of damage.

[0003] Voxel-based morphometry (VBM) and resting-state functional magnetic resonance imaging (fMRI) analyses have shown that there is cortical reorganization and significant changes in functional connectivity (FC) during the recovery of FP before clinical recovery. The analysis of facial synkinesis in patients with FP using voxel-based and surface-based morphometry techniques revealed that patients with facial synkinesis had significantly reduced cortical thickness in the superior and inferior temporal gyri and reduced sulcal depth in the ipsilateral precuneus compared with healthy volunteers. In addition, VBM analysis of patients with MS has shown that the precuneus plays an important role in the pathogenesis of Meige syndrome. A recent study found that reductions in gray matter volume in the frontal and temporal lobes were mainly associated with non-motor symptoms of MS. These studies highlight the differences in cortex and volume between patients with FP and MS. However, most of the conclusions are based on between-group differences between clinical samples and healthy controls. This diagnostic classification often assigns individuals with different symptoms to the same clinical grouping, which can only reveal differences at the group level, while ignoring the dimensional classification of the disease and the heterogeneity of individual patients. Summary of the invention

[0004] In order to overcome the defects of the prior art, the technical problem to be solved by the present invention is to provide a machine learning method for standardized modeling of magnetic resonance brain gray matter volume, which can reveal the differences in brain regions between facial paralysis, Meige syndrome and healthy people, help to further understand the pathological mechanism of the disease, and provide potential biological markers for diagnosis and treatment, which can provide valuable tools for clinical decision-making assistance.

[0005] The technical solution of the present invention is: the machine learning method for magnetic resonance brain gray matter volume normative modeling comprises the following steps:

[0006] (1) Magnetic resonance images were acquired. The axial scanning baseline of the magnetic resonance imaging was the anterior-posterior joint line, and the sagittal scanning baseline was the midline of the brain. A three-dimensional fast spoiled gradient echo sequence (3D-FSPGR) was used for T1-weighted imaging (T1WI) anatomical image scanning;

[0007] (2) The magnetic resonance images were processed using FreeSurfer software to obtain cortical morphological parameters of the whole brain, including cortical thickness, surface area and curvature based on the brain surface, segmentation of cortical and subcortical nuclei, and volumes of gray and white matter, ventricles, whole brain and subcortical structures;

[0008] (3) We used the statistical method of generalized additive models (GAMLSS) to map neuroanatomical trajectories across the lifespan and calculated the standardized percentile of brain volume for each participant using the Brunt maximum likelihood estimation method. The percentiles show the relative position of the individual in the population as determined by the brain map.

[0009] (4) Four machine learning algorithms were used: random forest, support vector machine, extreme gradient boosting, and K-nearest neighbor algorithm. By utilizing different brain region volumes, Meige syndrome, facial paralysis, and healthy controls were classified. The hyperparameters of the four machine learning algorithms were adjusted to find the best parameter combination, thereby improving the classification accuracy of the model.

[0010] For the random forest algorithm, the hyperparameters include the number of decision trees (n_estimators), the depth of each tree (max_depth), the number of features considered at each split (max_features), and the minimum number of samples at a leaf node (min_samples_leaf);

[0011] For support vector machines, hyperparameters include the choice of kernel function, penalty parameter C, and kernel function parameters;

[0012] For extreme gradient boosting, the hyperparameters include the learning rate, the depth of the tree, the minimum amount of data for leaf nodes, and the number of boosting iterations;

[0013] For the K nearest neighbor algorithm, the hyperparameters include the number of neighbors K and the distance metric;

[0014] During the hyperparameter training process, a grid search method is used to find the best hyperparameter combination for each algorithm;

[0015] (5) The inter-group differences in demographic variables were analyzed using a two-sample t-test for age, a nonparametric Mann-Whitney U test for clinical scores, and a chi-square test for gender. The significance level was p < 0.05.

[0016] The present invention collects magnetic resonance images, processes the magnetic resonance images using FreeSurfer software, obtains cortical morphological parameters of the whole brain, calculates the standard percentile of brain volume of each participant by Brunt's maximum likelihood estimation method, classifies Meige syndrome, facial paralysis and a healthy control group, adjusts the hyperparameters of four machine learning algorithms to find the best parameter combination, and analyzes the inter-group differences in demographic variables, thereby revealing the differences in brain regions between facial paralysis, Meige syndrome and healthy people, helping to further understand the pathological mechanism of the disease, and providing potential biological markers for diagnosis and treatment, which can provide valuable tools for clinical decision-making assistance.

[0017] A machine learning device for magnetic resonance brain gray matter volume normative modeling is also provided, comprising:

[0018] An image acquisition module configured to acquire magnetic resonance images, wherein the axial scanning baseline of the magnetic resonance scan is the anterior-posterior joint connection line, the sagittal scanning baseline is the brain midline, and a 3D-FSPGR sequence is used for T1WI anatomical image scanning;

[0019] An image processing module configured to process magnetic resonance images using FreeSurfer software to obtain cortical morphological parameters of the whole brain, including: cortical thickness, surface area and curvature based on the brain surface, segmentation of cortical and subcortical nuclei, and volumes of gray and white matter, ventricles, whole brain and subcortical structures;

[0020] The percentile acquisition module is configured to use the statistical method of generalized additive models (GAMLSS) to map neuroanatomical trajectories across the lifespan. The standard percentile of brain volume for each participant is calculated by Brunt's maximum likelihood estimation method. The percentile shows the relative position of the individual in the population as determined by the brain map.

[0021] The classification module is configured to use four machine learning algorithms: random forest, support vector machine, extreme gradient boosting and K nearest neighbor algorithm. By using different brain area volumes, Meige syndrome, facial paralysis and healthy control groups are classified, and the hyperparameters of the four machine learning algorithms are adjusted to find the best parameter combination, thereby improving the classification accuracy of the model;

[0022] For the random forest algorithm, the hyperparameters include the number of decision trees (n_estimators), the depth of each tree (max_depth), the number of features considered at each split (max_features), and the minimum number of samples at a leaf node (min_samples_leaf);

[0023] For support vector machines, hyperparameters include the choice of kernel function, penalty parameter C, and kernel function parameters;

[0024] For extreme gradient boosting, the hyperparameters include the learning rate, the depth of the tree, the minimum amount of data for leaf nodes, and the number of boosting iterations;

[0025] For the K nearest neighbor algorithm, the hyperparameters include the number of neighbors K and the distance metric;

[0026] During the hyperparameter training process, a grid search method is used to find the best hyperparameter combination for each algorithm;

[0027] The statistical analysis module was configured to analyze the inter-group differences in demographic variables using a two-sample t-test for age, a nonparametric Mann-Whitney U test for clinical scores, and a chi-square test for gender, with a significance level of p < 0.05. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A flow chart of a machine learning method for magnetic resonance brain gray matter volume normative modeling according to the present invention is shown. DETAILED DESCRIPTION

[0029] like Figure 1 As shown, the machine learning method for magnetic resonance brain gray matter volume normative modeling includes the following steps:

[0030] (1) Magnetic resonance images were acquired. The axial scanning baseline of the magnetic resonance imaging was the anterior-posterior joint line, and the sagittal scanning baseline was the midline of the brain. The 3D-FSPGR sequence was used for T1WI anatomical image scanning.

[0031] (2) The magnetic resonance images were processed using FreeSurfer software to obtain cortical morphological parameters of the whole brain, including cortical thickness, surface area and curvature based on the brain surface, segmentation of cortical and subcortical nuclei, and volumes of gray and white matter, ventricles, whole brain and subcortical structures;

[0032] (3) We used the statistical method of generalized additive model (GAMLSS) to map neuroanatomical trajectories across the lifespan and calculated the standardized percentile of brain volume for each participant using the Brunt maximum likelihood estimation method. The percentiles show the relative position of the individual in the population as determined by the brain map.

[0033] (4) Four machine learning algorithms were used: random forest, support vector machine, extreme gradient boosting, and K-nearest neighbor algorithm. By utilizing different brain region volumes, Meige syndrome, facial paralysis, and healthy controls were classified. The hyperparameters of the four machine learning algorithms were adjusted to find the best parameter combination, thereby improving the classification accuracy of the model.

[0034] For the random forest algorithm, the hyperparameters include the number of decision trees (n_estimators), the depth of each tree (max_depth), the number of features considered at each split (max_features), and the minimum number of samples at a leaf node (min_samples_leaf);

[0035] For support vector machines, hyperparameters include the choice of kernel function, penalty parameter C, and kernel function parameters;

[0036] For extreme gradient boosting, the hyperparameters include the learning rate, the depth of the tree, the minimum amount of data for leaf nodes, and the number of boosting iterations;

[0037] For the K nearest neighbor algorithm, the hyperparameters include the number of neighbors K and the distance metric;

[0038] During the hyperparameter training process, a grid search method is used to find the best hyperparameter combination for each algorithm;

[0039] (5) The inter-group differences in demographic variables were analyzed using a two-sample t-test for age, a nonparametric Mann-Whitney U test for clinical scores, and a chi-square test for gender. The significance level was p < 0.05.

[0040] The present invention collects magnetic resonance images, processes the magnetic resonance images using FreeSurfer software, obtains cortical morphological parameters of the whole brain, calculates the standard percentile of brain volume of each participant by Brunt's maximum likelihood estimation method, classifies Meige syndrome, facial paralysis and a healthy control group, adjusts the hyperparameters of four machine learning algorithms to find the best parameter combination, and analyzes the inter-group differences in demographic variables, thereby revealing the differences in brain regions between facial paralysis, Meige syndrome and healthy people, helping to further understand the pathological mechanism of the disease, and providing potential biological markers for diagnosis and treatment, which can provide valuable tools for clinical decision-making assistance.

[0041] Preferably, in step (1), for patients with Meige syndrome, the Dystonia Rating Scale and the Blepharospasm Disability Index are used to assess the severity; for patients with facial paralysis, the Toronto Facial Grading System Scale is used to assess facial function.

[0042] Preferably, in step (1), the acquisition parameters are as follows: echo time (TE) = 2.9 ms, repetition time (TR) = 6.7 ms, flip angle = 12°, bandwidth = 31.25 Hz / pixel, slice thickness = 1.0 mm, field of view (FOV) = 256 mm × 256 mm; the patient's structural magnetic resonance imaging (sMRI) images are visually inspected to exclude images with significant head motion and structural abnormalities. In the subsequent quality assessment, the MRIQC toolkit is used to check the quality of the T1WI images, and the spatial indicators selected from the toolkit include:

[0043] signal-to-noise ratio (SNR), calculated as the gray matter mean divided by the standard deviation of air;

[0044] Foreground-to-background energy ratio (FBER), which measures the average energy of image values ​​inside the head relative to those outside;

[0045] Contrast-to-noise ratio (CNR), calculated by subtracting the white matter mean from the gray matter mean, divided by the standard deviation of the air value;

[0046] Entropy Focus Criterion (EFC), which uses Shannon entropy to summarize the main direction distribution;

[0047] voxel smoothness, a measure of the full-width half-maximum (FWHM) of the spatial distribution of image intensity;

[0048] For these five spatial indicators, the mean and standard deviation of each indicator were calculated to exclude values ​​that were 3 standard deviations above or below the mean.

[0049] Preferably, in step (2), the gray matter volume calculation includes the following sub-steps:

[0050] (2.1) Import the high-resolution 3DT1WI image (i.e., the image obtained by using the 3D-FSPGR sequence for T1WI anatomical image scanning in step (1)) into FreeSurfer software, perform image calibration to eliminate the influence of magnetic field inhomogeneity, remove non-brain tissue by threshold adjustment and surface deformation method, and perform Talairach deformation and registration to segment the volume structure of subcortical structures and deep white matter. This step also includes signal normalization and segmentation of gray-white matter boundaries;

[0051] (2.2) FreeSurfer software performed topological correction and determined the gray-white matter and gray matter / cerebrospinal fluid boundaries based on signal intensity, and performed brain surface deformation. During this process, inaccurate segmentation areas were manually corrected;

[0052] (2.3) FreeSurfer software was used to perform surface expansion and registration to the spherical atlas, and the cerebral cortex was segmented according to the anatomical structure of the sulci and gyri, obtaining morphological parameters including cortical thickness, surface area, mean curvature, mean convexity or concavity, and Jacobian deformation;

[0053] (2.4) The brain was divided into 34 brain regions, and the statistical data were saved in specific files. These data included the number of vertices, surface area, gray matter volume, thickness mean and standard deviation, mean curvature, mean Gaussian curvature, folding index, and curvature index of each brain region. 34 cortical gray matter regions were extracted from each hemisphere as the regions of interest for statistical analysis. The data of the left and right brains were summarized to obtain the gray matter volumes of the 34 brain regions.

[0054] Preferably, in step (3), when assessing the typicality or atypicality of an individual's phenotype, extreme percentiles are used to represent significant deviations from the typical phenotype.

[0055] Preferably, in step (4), a 5-fold cross validation is used to evaluate the performance of the model. In the 5-fold cross validation, the data set is randomly divided into 5 mutually exclusive subsets of equal size. In each iteration, one subset is selected as the validation set, and the remaining 4 subsets are used as training sets. This process is repeated 5 times, each time a different subset is selected as the validation set, and finally the performance evaluation results of the 5 models are obtained. The average value of these evaluation results is used as the final performance indicator of the model, so as to select the best model and hyperparameter combination.

[0056] Preferably, in step (4), four machine learning algorithms utilize different brain region volumes to classify Meige syndrome, facial paralysis and healthy control groups, and the classification accuracy is evaluated by the area under the curve (AUC).

[0057] Preferably, in step (5), for the volume values ​​of 34 brain regions, the percentile difference of each subject is estimated, ranging from 0 to 1, the percentile difference between groups is evaluated using the Wilcoxon test, the Bonferroni method is used for multiple comparisons, the Spearman correlation analysis is used to study the correlation between gray matter volume (GMV) and clinical variables in patients with Meige syndrome and facial paralysis, and the multiple comparison correction (FDR) is used to evaluate the correlation between GMV percentile difference and clinical assessment scale.

[0058] Preferably, there is a significant correlation between the gray matter volume of the caudal anterior cingulate gyrus and synkinesis in patients with facial paralysis; there is a significant correlation between the gray matter volume of the caudal anterior cingulate gyrus and the blepharospasm disability rating scale (BMDRS)-mouth score (Mouth) in patients with Meige syndrome; there is a significant correlation between the lateral occipital gray matter volume of patients with Meige syndrome and the BMDRS-speech score (Speech), BMDRS-neck score (Neck), self-rating depression scale (SDS), and self-rating anxiety scale (SAS).

[0059] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes the steps of the above-mentioned embodiment method, and the storage medium can be: ROM / RAM, disk, CD, memory card, etc. Therefore, corresponding to the method of the present invention, the present invention also includes a machine learning device for magnetic resonance brain gray matter volume normative modeling, which is usually represented in the form of functional modules corresponding to the steps of the method. The device includes:

[0060] An image acquisition module configured to acquire magnetic resonance images, wherein the axial scanning baseline of the magnetic resonance scan is the anterior-posterior joint connection line, the sagittal scanning baseline is the brain midline, and a 3D-FSPGR sequence is used for T1WI anatomical image scanning;

[0061] An image processing module configured to process magnetic resonance images using FreeSurfer software to obtain cortical morphological parameters of the whole brain, including: cortical thickness, surface area and curvature based on the brain surface, segmentation of cortical and subcortical nuclei, and volumes of gray and white matter, ventricles, whole brain and subcortical structures;

[0062] The percentile acquisition module is configured to use the statistical method of generalized additive models (GAMLSS) to map neuroanatomical trajectories across the lifespan. The standard percentile of brain volume for each participant is calculated by Brunt's maximum likelihood estimation method. The percentile shows the relative position of the individual in the population as determined by the brain map.

[0063] The classification module is configured to use four machine learning algorithms: random forest, support vector machine, extreme gradient boosting and K nearest neighbor algorithm. By using different brain area volumes, Meige syndrome, facial paralysis and healthy control groups are classified, and the hyperparameters of the four machine learning algorithms are adjusted to find the best parameter combination, thereby improving the classification accuracy of the model;

[0064] For the random forest algorithm, the hyperparameters include the number of decision trees (n_estimators), the depth of each tree (max_depth), the number of features considered at each split (max_features), and the minimum number of samples at a leaf node (min_samples_leaf);

[0065] For support vector machines, hyperparameters include the choice of kernel function, penalty parameter C, and kernel function parameters;

[0066] For extreme gradient boosting, the hyperparameters include the learning rate, the depth of the tree, the minimum amount of data for leaf nodes, and the number of boosting iterations;

[0067] For the K nearest neighbor algorithm, the hyperparameters include the number of neighbors K and the distance metric;

[0068] During the hyperparameter training process, a grid search method is used to find the best hyperparameter combination for each algorithm;

[0069] The statistical analysis module was configured to analyze the inter-group differences in demographic variables using a two-sample t-test for age, a nonparametric Mann-Whitney U test for clinical scores, and a chi-square test for gender, with a significance level of p < 0.05.

[0070] The experimental results of the present invention are described in detail below.

[0071] 1 Participant recruitment

[0072] For sex- and age-matched analysis, the following two combinations were selected for comparison. First, the FP group (53 people, 35 females, 18 males, median age 41 years) was matched with the healthy subjects (HC) group (53 people, 36 females, 17 males, median age 54 years). Second, the MS group (31 people, 23 females, 8 males, median age 59 years) was matched with the HC group (38 people, 26 females, 12 males, median age 57.5 years). By performing sex- and age-matched analysis, the differences between specific diseases (FP and MS) and the HC group can be compared.

[0073] Table 1. Demographic information of FP, MS, and HC

[0074]

[0075] 2 Comparison of gray matter volume among FP, MS, and HC

[0076] In the FP and HC groups, the brain regions with significant differences were mainly concentrated in the caudal anterior cingulate gyrus, the middle superior frontal gyrus, the superior temporal gyrus, and the insula (P Bonferroni<0.05). In the MS and HC groups, the brain regions with significant differences were mainly concentrated in the caudal anterior cingulate gyrus, precuneus, inferior parietal lobe, lateral occipital gyrus, precentral gyrus, head of the anterior cingulate gyrus, middle superior frontal gyrus, superior temporal gyrus and insula (P Bonferroni <0.05). In the FP and MS groups, the brain regions with significant differences were mainly concentrated in the caudal anterior cingulate gyrus, the head of the anterior cingulate gyrus, and the lateral occipital region (P Bonferroni <0.05) (see Table 2).

[0077] Table 2. Comparison of FP and HC, MS and HC, FP and MS

[0078]

[0079] 3 Correlations among FP, MS, and clinical scales

[0080] Spearman rank correlation was used to analyze the relationship between GMV of the differential brain regions and clinical scales. The results showed that there was a significant correlation between GMV of the caudal anterior cingulate gyrus and TFGS synkinesis in FP patients (r=0.44, P FDR =0.001). In MS patients, a significant correlation was found between GMV of the caudal anterior cingulate gyrus and BMDRS-Mouth (r=0.37, P FDR =0.041). In addition, it was found that the lateral occipital GMV of MS patients was significantly correlated with BMDRS-Speech (r=0.49, P FDR =0.005), BMDRS-Neck (r=0.41, P FDR =0.021), SDS (r=0.45, P FDR =0.012), SAS (r=0.53, P FDR =0.002) were significantly correlated.

[0081] 4 Comparison of gray matter volume between FP and MS and norms

[0082] The present invention reveals the comparative patterns of regional gray matter volumes in FP and MS patients with normative values. In less than 2.5% of MS and FP patients, abnormalities were found in the superior temporal sulcus, the caudal anterior cingulate gyrus, and the lateral occipital region. In contrast, in more than 97.5% of MS and FP patients, abnormalities were found in the superior temporal sulcus, the caudal anterior cingulate gyrus, and the supramarginal gyrus.

[0083] 5 Clinical significance of normative differences in brain regions

[0084] In FP patients, there was a significant correlation between the GMV of the caudal anterior cingulate gyrus and the TFGS synkinesis score (r = 0.44, P FDR=0.001). In MS patients, GMV of the caudal anterior cingulate gyrus was significantly correlated with BMDRS-Mouth (r=0.37, P FDR =0.041). The GMV of the superior temporal sulcus was significantly correlated with BMDRS-Mouth (r=0.36, P FDR =0.045). In addition, the lateral occipital GMV was significantly correlated with the BMDRS-Speech score (r=0.49, P FDR =0.005), BMDRS-Neck score (r=0.41, P FDR =0.021) and SDS score (r=0.45, P FDR =0.012) and SAS score (r=0.53, P FDR =0.002) was significantly correlated.

[0085] 6 Machine Learning Classification

[0086] In the FP and HC classification tasks, the support vector machine (SVM) showed the best prediction performance with an AUC of 0.829. This result was obtained under the following hyperparameter settings: the kernel function was the radial basis function (RBF), the penalty parameter C was 1, and the kernel function parameter σ was 0.1.

[0087] For the MS and HC classification tasks, random forest (RF) showed the best prediction performance with an AUC of 0.869. This result was obtained under the following hyperparameter settings: the number of trees was 100, the tree depth was 10, the number of features considered at splitting was 3, and the minimum number of leaf node samples was 5.

[0088] For the FP and MS classification tasks, SVM again showed the best prediction performance with an AUC of 0.844. This result was obtained under the following hyperparameter settings: the kernel function was radial basis function (RBF), the penalty parameter C was 10, and the kernel function parameter σ was 0.5.

[0089] This study revealed differences in brain regions between people with facial palsy, Meige syndrome, and healthy individuals. These findings help further understand the pathological mechanisms of the disease and provide potential biological markers for diagnosis and treatment. In addition, machine learning algorithms showed good potential in classifying facial palsy and Meige syndrome, providing valuable tools for clinical decision-making.

[0090] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention are still within the protection scope of the technical solution of the present invention.

Claims

1. A machine learning method for modeling magnetic resonance gray matter volume norms, characterized by: It includes the following steps: (1) Magnetic resonance images were acquired. The axial scanning baseline of the magnetic resonance imaging was the anterior-posterior joint line, and the sagittal scanning baseline was the midline of the brain. The 3D-FSPGR sequence was used for T1WI anatomical image scanning. (2) The magnetic resonance images were processed using FreeSurfer software to obtain cortical morphological parameters of the whole brain, including cortical thickness, surface area and curvature based on the brain surface, segmentation of cortex and subcortical nuclei, and gray matter volume of gray and white matter, ventricles, whole brain and subcortical structures; (3) We used the statistical method of generalized additive model (GAMLSS) to map neuroanatomical trajectories across the lifespan and calculated the standardized percentile of brain volume for each participant using the Brunt maximum likelihood estimation method. The percentiles show the relative position of the individual in the population as determined by the brain map. (4) Four machine learning algorithms were used: random forest, support vector machine, extreme gradient boosting, and K-nearest neighbor algorithm. By using different brain gray matter volumes, Meige syndrome, facial paralysis, and healthy controls were classified. The hyperparameters of the four machine learning algorithms were adjusted to find the best parameter combination, thereby improving the classification accuracy of the model. For the random forest algorithm, the hyperparameters include the number of decision trees n_estimators, the depth of each tree max_depth, the number of features considered at each split max_features, and the minimum number of samples on the leaf node min_samples_leaf; For support vector machines, hyperparameters include the choice of kernel function, penalty parameter C, and kernel function parameters; For extreme gradient boosting, the hyperparameters include the learning rate, the depth of the tree, the minimum amount of data for leaf nodes, and the number of boosting iterations; For the K nearest neighbor algorithm, the hyperparameters include the number of neighbors K and the distance metric; During the hyperparameter training process, a grid search method is used to find the best hyperparameter combination for each algorithm; (5) The two-sample t test was used for age, the nonparametric Mann-Whitney U test was used for clinical scores, and the chi-square test was used for gender to analyze the inter-group differences in demographic variables, with a significance level of p < 0.05; In step (1), for patients with Meige syndrome, the severity is assessed using the Burke-Fahn-Marsden Dystonia Rating Scale and the Blepharospasm Disability Index; for patients with facial palsy, facial function is assessed using the Toronto Facial Grading System Scale; In step (4), a 5-fold cross validation is used to evaluate the performance of the model. In the 5-fold cross validation, the data set is randomly divided into 5 mutually exclusive subsets of equal size. In each iteration, one subset is selected as the validation set, and the remaining 4 subsets are used as the training set. This process is repeated 5 times, and a different subset is selected as the validation set each time. Finally, the performance evaluation results of the 5 models are obtained. The average value of these evaluation results is used as the final performance indicator of the model, so as to select the best model and hyperparameter combination. In step (4), four machine learning algorithms use different brain gray matter volumes to classify Meige syndrome, facial paralysis and healthy control groups, and the classification accuracy is evaluated by the area under the curve AUC; In step (5), for the gray matter volume value, the percentile difference of each subject was estimated, ranging from 0 to 1, and the Wilcoxon test was used to evaluate the percentile difference between the groups. The Bonferroni method was used for multiple comparisons. The Spearman correlation analysis was used to study the correlation between gray matter volume and clinical variables in patients with Meige syndrome and facial palsy, and the FDR value was used for multiple comparisons. At the same time, the correlation between GMV percentile difference and clinical assessment scale was evaluated.

2. The machine learning method for magnetic resonance brain gray matter volume normative modeling according to claim 1, characterized in that: In step (1), the acquisition parameters are as follows: TE = 2.9 ms, TR = 6.7 ms, flip angle = 12°, bandwidth = 31.25 Hz / pixel, slice thickness = 1.0 mm, FOV = 256 mm × 256 mm; the patient's structural magnetic resonance imaging (sMRI) images were visually inspected to exclude images with significant head motion and structural abnormalities. In the subsequent quality assessment, the MRIQC toolkit was used to check the quality of T1WI images. The spatial indicators selected from the toolkit included: The signal-to-noise ratio (SNR) was calculated as the mean value of gray matter divided by the standard deviation of air; Foreground-to-background energy ratio FBER measures the average energy of image values ​​inside the head relative to those outside; The contrast-to-noise ratio, CNR, was calculated by subtracting the white matter mean from the gray matter mean, divided by the standard deviation of the air value; Entropy focus criterion EFC, which uses Shannon entropy to summarize the main direction distribution; Voxel smoothness, which measures the full width half maximum (FWHM) of the spatial distribution of image intensity; For these five spatial indicators, the mean and standard deviation of each indicator were calculated to exclude values ​​that were 3 standard deviations above or below the mean.

3. The machine learning method for magnetic resonance brain gray matter volume normative modeling according to claim 2, characterized in that: In step (2), the gray matter volume calculation includes the following sub-steps: (2.1) High-resolution 3DT1WI images were imported into FreeSurfer software for image calibration to eliminate the influence of magnetic field inhomogeneity, remove non-brain tissues by threshold adjustment and surface deformation, and perform Talairach deformation and registration to segment the volumetric structure of subcortical structures and deep white matter. This step also includes signal normalization and segmentation of gray-white matter boundaries. (2.2) FreeSurfer software performed topological correction and determined the gray-white matter and gray matter / cerebrospinal fluid boundaries based on signal intensity, and performed brain surface deformation. During this process, inaccurate segmentation areas were manually corrected; (2.3) FreeSurfer software was used to perform surface expansion and registration to the spherical atlas, and the cerebral cortex was segmented according to the anatomical structure of the sulci and gyri, obtaining morphological parameters including cortical thickness, surface area, mean curvature, mean convexity or concavity, and Jacobian deformation; (2.4) The brain was divided into 34 brain regions, and the statistical data were saved in specific files. These data included the number of vertices, surface area, gray matter volume, thickness mean and standard deviation, mean curvature, mean Gaussian curvature, folding index, and curvature index of each brain region. 34 cortical gray matter regions were extracted from each hemisphere as the regions of interest for statistical analysis. The data of the left and right brains were summarized to obtain the gray matter volumes of the 34 brain regions.

4. The machine learning method for magnetic resonance brain gray matter volume normative modeling according to claim 3, characterized in that: In step (3), when assessing the typicality or atypicality of an individual's phenotype, extreme percentiles are used to represent significant deviations from the typical phenotype.

5. The machine learning method for magnetic resonance brain gray matter volume normative modeling according to claim 4, characterized in that: There was a significant correlation between the GMV of the caudal anterior cingulate gyrus and synkinesis in patients with facial paralysis; there was a significant correlation between the gray matter volume of the caudal anterior cingulate gyrus and the Blepharospasm Disability Rating Scale (BMDRS-oral) score in patients with Meige syndrome; there was a significant correlation between the lateral occipital gray matter volume and the BMDRS-verbal score, BMDRS-neck score, Self-Rating Depression Scale (SDS), and Self-Rating Anxiety Scale (SAS) in patients with Meige syndrome.

6. A machine learning device for modeling magnetic resonance brain gray matter volume norms, characterized by: The method according to claim 1 is implemented, comprising: An image acquisition module configured to acquire magnetic resonance images, wherein the axial scanning baseline of the magnetic resonance scan is the anterior-posterior joint connection line, the sagittal scanning baseline is the brain midline, and a 3D-FSPGR sequence is used for T1WI anatomical image scanning; An image processing module configured to process magnetic resonance images using FreeSurfer software to obtain cortical morphological parameters of the whole brain, including: cortical thickness, surface area and curvature based on the brain surface, segmentation of cortical and subcortical nuclei, and volumes of gray and white matter, ventricles, whole brain and subcortical structures; The percentile acquisition module is configured to use the statistical method of generalized additive model GAMLSS to map neuroanatomical trajectories throughout the lifespan, and to calculate the standard percentile of brain volume for each participant by Brunt's maximum likelihood estimation method. The percentile shows the relative position of the individual in the population determined by the brain map; The classification module is configured to use four machine learning algorithms: random forest, support vector machine, extreme gradient boosting and K nearest neighbor algorithm. By using different brain area volumes, Meige syndrome, facial paralysis and healthy control groups are classified, and the hyperparameters of the four machine learning algorithms are adjusted to find the best parameter combination, thereby improving the classification accuracy of the model; For the random forest algorithm, the hyperparameters include the number of decision trees n_estimators, the depth of each tree max_depth, the number of features considered at each split max_features, and the minimum number of samples on the leaf node min_samples_leaf; For support vector machines, hyperparameters include the choice of kernel function, penalty parameter C, and kernel function parameters; For extreme gradient boosting, the hyperparameters include the learning rate, the depth of the tree, the minimum amount of data for leaf nodes, and the number of boosting iterations; For the K nearest neighbor algorithm, the hyperparameters include the number of neighbors K and the distance metric; During the hyperparameter training process, a grid search method is used to find the best hyperparameter combination for each algorithm; The statistical analysis module was configured to analyze the inter-group differences in demographic variables using a two-sample t-test for age, a nonparametric Mann-Whitney U test for clinical scores, and a chi-square test for gender, with a significance level of p < 0.05.