Traditional Chinese medicine digital phenotype prediction method and system based on multi-modal health data fusion
By constructing a health reference database and using a multimodal graph attention regression network to process multimodal health data, the problems of distribution differences and the preservation of physiological correlations were solved, resulting in more accurate predictions.
Patent Information
- Application Number
- CN202611570872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-12
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to effectively handle the distributional differences, physiological correlations, and collaborative prediction of multimodal health data, leading to inaccurate prediction results and significant errors.
By constructing a health reference database, standardized and incomplete compressed feature vectors and physiological coupling features are generated. Data processing and prediction are performed using a multimodal graph attention regression network, and information transmission and aggregation are performed by combining modality edge weight matrices.
It reduces the influence between different modalities, improves the accuracy and stability of prediction results, reduces errors, and enhances the ability to express individual functional states.
Smart Images

Figure CN123183028A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of health status prediction technology, and more specifically, to a method and system for predicting TCM digital phenotypes based on multimodal health data fusion. Background Technology
[0002] With the development of health monitoring equipment, medical sensing technology, and data analysis technology, bioelectrical impedance analysis, infrared thermography, surface electromyography, and subjective scales are increasingly being used to assess human health and functional status. Different types of health data can reflect the human body's state from various perspectives, such as tissue moisture and electrical response, changes in body surface temperature, neuromuscular activity, and individual symptom perception. Compared to relying on a single detection indicator, this approach is more conducive to forming a more complete description of health status. Against the backdrop of the gradual development of digital and objective research in Traditional Chinese Medicine (TCM), how to transform multimodal health data—including bioelectrical impedance analysis, infrared thermography, surface electromyography, and subjective scale modalities—from different sources and with varying properties, into digital phenotypes that can reflect the degree of deviation in human function has become an important research topic in health data analysis and TCM digital phenotype prediction.
[0003] Existing health status assessment methods typically normalize various types of collected data, then extract individual statistical features or directly combine features from different modalities, and obtain health status evaluation results through regression models, neural network models, or attention models. These methods can utilize health information from different sources to some extent, but the physical dimensions, numerical ranges, and distribution patterns of data output from different detection devices vary significantly. In actual data collection, data loss, abnormal device contact, and motion artifacts may also occur. Furthermore, directly combining data from different modalities can lead to features with large numerical ranges having an excessively strong influence on subsequent models, and missing and outlier values can interfere with the original modal internal correlations.
[0004] Therefore, current technologies for processing multimodal health data still struggle to balance differences in data distribution, preservation of physiological correlations, and synergistic prediction of multiple indicators. On one hand, simple linear normalization, mean imputation, or outlier removal are ill-suited to the significantly different data distributions among impedance, temperature, electromyography, and subjective scores. Data processing may also weaken the original correlations between multiple physiological parameters within the same modality. On the other hand, using only a single detection parameter or directly splicing features fails to reflect the connection between high- and low-frequency impedance changes and intracellular and extracellular water distribution, and it is also difficult to incorporate fatigue conditions reflected by muscle activation levels, frequency changes, and left-right coordination into a unified analysis. Furthermore, regarding information fusion between different modalities, allowing undifferentiated information interaction between modalities can easily lead to misinterpretations of direct relationships between modalities influenced by common factors when the sample size is limited. This results in weakly correlated information being included in the prediction process. Moreover, the data fluctuations and prediction errors corresponding to temperature regulation, water distribution, and neuromuscular function are not the same. Using uniform task weights to train multiple indicators separately may cause indicators with larger errors to dominate the optimization direction for a long period, resulting in a lack of reasonable correlation between multiple prediction results. Therefore, there is an urgent need to propose a new technology to address the problems of difficulty in stably processing health data from different modalities under a unified health reference, insufficient utilization of cross-parameter physiological connections, significant interference from weak intermodal correlations, and difficulty in coordinating the prediction of multiple numerical phenotypic indicators.
[0005] There are currently no effective solutions to the problems in the relevant technologies. Summary of the Invention
[0006] To address the problems in related technologies, this invention proposes a method and system for predicting TCM digital phenotypes based on multimodal health data fusion, in order to overcome the aforementioned technical problems existing in the current related technologies.
[0007] Therefore, the specific technical solution adopted by the present invention is as follows:
[0008] According to one aspect of the present invention, a method for predicting digital phenotypes in Traditional Chinese Medicine (TCM) based on multimodal health data fusion is provided. The method includes: collecting health reference samples based on multimodal health data from training samples; constructing a health reference database to form health reference statistical information corresponding to each modality feature; obtaining standardized imputed compressed feature vectors and completed physical feature values based on the health reference statistical information; constructing physiological coupling features based on the completed physical feature values, and combining the physiological coupling features with the standardized imputed compressed feature vectors to generate an extended multimodal feature set; generating continuous digital phenotype labels based on the degree of deviation of the extended multimodal feature set from the health reference state; constructing a modality edge weight matrix based on the cross-modal partial correlation relationships in the extended multimodal feature set corresponding to the health reference samples, and training a multimodal graph attention regression network using the extended multimodal feature set corresponding to the training samples and the continuous digital phenotype labels; wherein the multimodal graph attention regression network is used to perform graph attention regression on the extended multimodal feature set using the modality edge weight matrix; quantifying the digital phenotype of the multimodal health data to be evaluated for the object to be evaluated, and obtaining a predicted digital phenotype value based on the trained multimodal graph attention regression network.
[0009] According to another aspect of the present invention, a TCM digital phenotype prediction system based on multimodal health data fusion is also provided. The system includes: a reference construction module, used to collect health reference samples based on multimodal health data from training samples, and to construct a health reference database to form health reference statistical information corresponding to each modality feature; a feature generation module, used to obtain standardized imputed compressed feature vectors and completed physical feature values based on the health reference statistical information; to construct physiological coupling features based on the completed physical feature values, and to combine the physiological coupling features with the standardized imputed compressed feature vectors to generate an extended multimodal feature set; and to generate an extended multimodal feature set relative to... The deviation from the health reference state generates continuous numerical phenotypic labels; the model training module is used to construct a modal edge weight matrix based on the cross-modal partial correlation in the extended multimodal feature set corresponding to the health reference sample, and train a multimodal graph attention regression network with the extended multimodal feature set corresponding to the training sample and continuous numerical phenotypic labels; wherein, the multimodal graph attention regression network is used to perform graph attention regression on the extended multimodal feature set using the modal edge weight matrix; the phenotypic quantification module is used to quantify the numerical phenotypic of the multimodal health data of the object to be evaluated, and obtain the numerical phenotypic predicted value based on the trained multimodal graph attention regression network.
[0010] The beneficial effects of this invention are as follows:
[0011] (1) This invention uses a health reference database as a unified reference for health data of different modalities. Based on the actual distribution position of each feature in the health reference sample, the feature to be processed is corrected for distribution. The missing value is filled in by combining the correlation between multiple observed features within the modality. Then, the feature with large abnormal amplitude is soft compressed. Thus, the influence of differences in dimensionality and distribution between bioelectrical impedance analysis, infrared thermal imaging, surface electromyography and subjective scales can be reduced. When processing missing data, the existing physiological information within the same modality is used to reduce the destruction of the original data relationship by simple mean filling. It can also limit the excessive influence of extreme data caused by instantaneous equipment abnormalities or motion artifacts on subsequent prediction models.
[0012] (2) Based on the original multimodal features, the present invention constructs an electromyography fatigue index, links the impedance changes at different detection frequencies with the distribution of intracellular and extracellular water, and links the muscle activation intensity, frequency changes and left-right coordination state. The obtained physiological coupling features are then added to the feature data of the corresponding modality. Thus, the physiological state reflected by the common changes of multiple parameters can be transformed into features that can be directly involved in subsequent prediction, which is conducive to improving the ability of multimodal data to express individual functional state differences.
[0013] (3) The present invention determines modal connections and their modal weights based on the partial correlation of different modalities in the health reference sample after excluding the influence of common changes in other modalities, and uses the information transmission in the attention process of the modal weight constraint graph. Then, it adjusts the contribution of the retained modal connections according to the node features of the current sample to be processed, and performs modal information aggregation for different numerical phenotypic indicators. This can reduce the problem of bringing indirect associations caused by weak associations or common changes into the model in the full connection method, and will not set the modal interaction strength between different samples to be the same, thereby reducing the interference of irrelevant or weakly associated modalities on the prediction results.
[0014] (4) This invention adjusts the contribution of the corresponding prediction error to the model training based on the task prediction variance of each digit phenotypic index, and uses the correlation between multiple digit phenotypic indices under a healthy reference state to constrain the correlation structure between prediction results. This can reduce the training imbalance caused by the different fluctuations and error scales of each digit phenotypic label, avoid a certain index having an excessive influence on the model parameter update in the long term, and reduce the probability of unreasonable combinations of multiple digit phenotypic prediction results. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the method flow according to an embodiment of the present invention;
[0017] Figure 2 This is a distribution map of bioelectrical impedance analysis modal health reference characteristics according to an embodiment of the present invention; Figure 2 (a) is the overall water health reference histogram; Figure 2 (b) is a reference histogram of intracellular water health distribution. Figure 2 (c) shows the health reference histogram of extracellular water content; Figure 2 The middle (d) is a healthy reference histogram distribution of the intracellular and extracellular water ratio; Figure 2 (e) is the histogram of the low-frequency resistance values for health reference. Figure 2 (f) is the healthy reference histogram distribution of low-frequency reactance values; Figure 2 (g) is the histogram of healthy high-frequency resistance values; Figure 2 The middle (h) is the healthy reference histogram distribution of high-frequency reactance values;
[0018] Figure 3 This is a schematic diagram of a multimodal health data processing flow according to an embodiment of the present invention;
[0019] Figure 4 This is an extended multimodal feature correlation heatmap according to an embodiment of the present invention;
[0020] Figure 5 This is a three-dimensional response surface plot between two characteristic standardized values and standardized squared deviation values according to an embodiment of the present invention;
[0021] Figure 6 This is a bar chart of task modality attention weights for different numerical phenotypic indices according to embodiments of the present invention;
[0022] Figure 7 This is a schematic diagram of a multimodal graph attention regression network structure according to an embodiment of the present invention;
[0023] Figure 8 This is a comparison chart of digital phenotypic prediction results according to an embodiment of the present invention; wherein, Figure 8 (a) is a scatter plot comparing the predicted and actual values of the temperature cycle index; Figure 8 (b) is a scatter plot comparing the predicted and actual values of the moisture distribution index; Figure 8 (c) is a scatter plot comparing the predicted and actual values of the neuromuscular stability index;
[0024] Figure 9 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0025] To further illustrate the various embodiments, the present invention provides accompanying drawings. These drawings are part of the disclosure of the present invention and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. Those skilled in the art, in conjunction with the above content, can understand other possible implementations and the advantages of the present invention. The components in the drawings are not drawn to scale, and similar component symbols generally represent similar components.
[0026] According to embodiments of the present invention, a method and system for predicting digital phenotypes in traditional Chinese medicine based on multimodal health data fusion are provided.
[0027] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments, such as... Figure 1 As shown, according to an embodiment of the present invention, a method for predicting TCM digital phenotypes based on multimodal health data fusion is provided. This method includes: Step 1: Collecting health reference samples based on the multimodal health data of the training samples and constructing a health reference database; the health reference database is used to form health reference statistical information corresponding to each modality feature; Step 2: Based on the health reference statistical information, obtaining standardized imputed compressed feature vectors and completed physical feature values; constructing physiological coupling features based on the completed physical feature values, and combining the physiological coupling features with the standardized imputed compressed feature vectors to generate an extended multimodal feature set; and predicting the extended multimodal feature set relative to the health reference state... Step 3: Based on the cross-modal partial correlation in the extended multimodal feature set corresponding to the health reference sample, construct a modal edge weight matrix, and train a multimodal graph attention regression network with the extended multimodal feature set corresponding to the training sample and the continuous digital phenotypic labels; wherein, the multimodal graph attention regression network is used to perform graph attention regression on the extended multimodal feature set using the modal edge weight matrix; Step 4: Quantify the digital phenotypic of the multimodal health data of the object to be evaluated, and obtain the digital phenotypic predicted value based on the trained multimodal graph attention regression network; wherein, the digital phenotypic predicted value includes the predicted value of temperature cycle index, the predicted value of water distribution index, and the predicted value of neuromuscular stability index.
[0028] Specifically, the multimodal health data includes bioelectrical impedance analysis modality, infrared thermography modality, surface electromyography modality, and subjective scale modality. Among them, the bioelectrical impedance analysis modality includes total water content, intracellular water content, extracellular water content, intracellular / extracellular water ratio, and resistance and reactance values at different detection frequencies; the infrared thermography modality includes temperature characteristics of target acupoint areas in the knee and ankle joints; the surface electromyography modality includes root mean square values, average frequency, muscle activation level, and left-right coordination index of the quadriceps femoris and tibialis anterior muscles; and the subjective scale modality includes pain intensity, degree of activity limitation, environmental sensitivity, and degree of symptom variation.
[0029] Specifically, the construction of the health reference database includes: performing integrity and stability checks on health reference samples obtained using the same equipment, detection locations, and acquisition procedures as multimodal health data; incorporating health reference samples that meet the check criteria into the health reference database; forming empirical distributions, mean, standard deviation, minimum, maximum, intramodal covariance relationships, and cross-modal correlation relationships for each feature based on the incorporated health reference samples; and keeping the health reference statistics fixed after they are determined during the training phase.
[0030] It should be noted that this invention proposes a method for predicting TCM digital phenotypes based on multimodal health data fusion, the main contents of which are as follows:
[0031] Step S1: Multimodal health data collection and construction of a health reference database:
[0032] Multimodal health data were collected, corresponding to bioelectrical impedance analysis mode, infrared thermography mode, surface electromyography mode, and subjective scale mode. Among them,
[0033] Bioelectrical impedance analysis modes include total water content, intracellular water content, extracellular water content, intracellular-to-intracellular water ratio, and resistance and reactance values at different detection frequencies;
[0034] Infrared thermal imaging modalities include the average temperature, maximum temperature, minimum temperature, left-right temperature difference, and temperature gradient of the target acupoint areas of the knee and ankle joints;
[0035] Surface electromyography modalities include the root mean square value, mean frequency, muscle activation level, and left-right coordination index of the quadriceps femoris and tibialis anterior muscles.
[0036] Subjective scale modalities include pain intensity, activity limitation, environmental sensitivity, and symptom variability.
[0037] In one embodiment, as an example, examples of multimodal health data are shown in Table 1.
[0038] Table 1 Examples of Multimodal Health Data
[0039]
[0040] Health reference samples were collected using the same equipment, at the same detection location, and following the same acquisition process to construct a health reference database. This database stores four modal features corresponding to each health reference sample and calculates the empirical distribution, mean, standard deviation, minimum, maximum, and cross-modal correlations for each feature.
[0041] In one embodiment, the specific method for determining the healthy reference sample is as follows: First, individuals experiencing acute pain, joint swelling, trauma, fever, infection, skin lesions, or skin diseases within the past four weeks are excluded using a standardized health screening questionnaire. Second, a licensed physician or traditional Chinese medicine practitioner, through consultation and physical examination, excludes individuals suffering from knee osteoarthritis, rheumatoid arthritis, diabetic peripheral neuropathy, lower extremity venous insufficiency, significant edema, muscle diseases, or other systemic diseases that may affect the results of bioelectrical impedance analysis, infrared thermography, surface electromyography, and subjective scales. Third, included subjects must meet the following criteria: age between 18 and 65 years, and body mass index between 18.5 and 28.0. Within the past 48 hours, participants should not have engaged in strenuous exercise, consumed alcohol, or taken medications that affect circulation or neuromuscular function; women should avoid their menstrual period. Then, multimodal data collection should be completed using the same equipment, testing location, and collection procedure as subsequent participants, within the same time period and ambient temperature. Finally, the collected data should be checked for completeness and stability, and samples with poor equipment contact, motion artifacts, or severe data loss should be removed. The remaining samples should be included in the health reference database.
[0042] In practice, the statistics in the health reference database are calculated only based on the health reference samples and remain fixed during subsequent training and application phases. The number of health reference samples can be determined based on the application scale, for example, it can be 2000.
[0043] In one embodiment, such as Figure 2 As shown, eight subplots are used to illustrate the histogram distribution of total water content, intracellular water content, extracellular water content, intracellular / extracellular water ratio, low-frequency resistance, low-frequency reactance, high-frequency resistance, and high-frequency reactance in a healthy reference sample within the bioelectrical impedance analysis modality. This figure represents the frequency distribution of these features within the healthy reference database, demonstrating that these bioelectrical impedance parameters exhibit relatively stable and approximately normal or unimodal distribution characteristics in healthy individuals. This reflects the statistical basis for using empirical quantile mapping, mean, and standard deviation calculations after the construction of the healthy reference sample. The horizontal axis of each subplot represents, in order, total water content (liters), intracellular water content (liters), extracellular water content (liters), intracellular / extracellular water ratio (dimensionless), low-frequency resistance (ohms), low-frequency reactance (ohms), high-frequency resistance (ohms), and high-frequency reactance (ohms), while the vertical axis represents the number of samples.
[0044] In one embodiment, the method for obtaining the completed physical feature value includes: comparing the non-missing original feature value with the same feature in the health reference database in numerical order to determine the empirical rank of the original feature value in the health reference distribution; determining the cumulative probability based on the empirical rank, and mapping the cumulative probability to the quantile-standardized feature value through the standard normal distribution quantile function; wherein, for modes with missing values, an observation feature index set is formed based on features without missing values within the same mode, and candidate samples are screened from a pre-established complete sample pool; the Mahalanobis distance between the candidate sample and the current sample is calculated based on the covariance matrix of the corresponding mode in the health reference database and the observation feature index set; local nearest neighbor samples are screened based on the Mahalanobis distance, and the quantile-standardized feature value and the original physical feature value at the missing position are weighted and imputed according to the distance weight corresponding to the local nearest neighbor samples, to obtain the imputed quantile-standardized feature value and the completed physical feature value.
[0045] In one embodiment, the method for obtaining the standardized imputed compressed feature vector includes: performing hyperbolic tangent soft compression on the imputed quantile standardized feature values to obtain standardized imputed compressed feature values; arranging the standardized imputed compressed feature values according to a fixed feature order to obtain the standardized imputed compressed feature vector of the corresponding mode; wherein, the complete sample pool, covariance matrix and soft compression boundary adjustment parameters are determined in the training phase and remain fixed in the application phase.
[0046] In one embodiment, the physiological coupling features include phase angle-water ratio coupling features and electromyographic fatigue index; the construction method of the phase angle-water ratio coupling features includes: reading the resistance value, reactance value, intracellular water content, and extracellular water content corresponding to low-frequency and high-frequency frequencies from the completed physical feature values corresponding to the bioelectrical impedance analysis modes; determining the phase angle-water ratio coupling features based on the direction of high and low frequency impedance changes and the relationship between intracellular and extracellular water distribution; and using the empirical distribution of the phase angle-water ratio coupling features corresponding to healthy reference samples in the health reference database as a reference, adjusting the phase angle-water ratio coupling features of the training samples and healthy reference samples. The phase angle-water ratio coupling feature is obtained by sequentially performing empirical quantile mapping and hyperbolic tangent soft compression. The construction method of the electromyographic fatigue index includes: reading the root mean square value of quadriceps femoris, the average frequency of tibialis anterior muscle and the left-right coordination index from the completed physical feature values corresponding to the surface electromyographic mode, and combining the reference center of the root mean square value of quadriceps femoris, the reference center of the average frequency of tibialis anterior muscle and the range of the left-right coordination index in the health reference database to determine the electromyographic fatigue index; wherein, the left-right coordination index is obtained based on the left-right symmetry determined by the root mean square values of the left target muscle and the right target muscle of the same name within a set time window.
[0047] Specifically, the expression for the phase angle-water ratio coupling characteristic is as follows:
[0048] ;
[0049] In the formula, For the first Phase angle-moisture ratio coupling characteristics of individual samples; and These are low-frequency and high-frequency frequencies, respectively. and These are the reactance values at the corresponding frequencies; and These are the resistance values at the corresponding frequencies; and These are extracellular water content and intracellular water content, respectively. It is a two-parameter arctangent function.
[0050] In one embodiment, the generation of the extended multimodal feature set includes: using the empirical distribution of the electromyography (EMG) fatigue index corresponding to healthy reference samples in a health reference database as a reference, performing empirical quantile mapping and hyperbolic tangent soft compression on the EMG fatigue indices corresponding to training samples and healthy reference samples to obtain a standardized EMG fatigue index; concatenating the standardized EMG fatigue index to the standardized imputed compressed feature vector corresponding to the surface EMG modality to obtain an extended surface EMG feature vector; using the standardized imputed compressed feature vectors corresponding to the infrared thermal imaging modality and the subjective scale modality as the extended infrared thermal imaging feature vector and the extended subjective scale feature vector, respectively; combining the extended bioelectrical impedance analysis feature vector, the extended infrared thermal imaging feature vector, the extended surface EMG feature vector, and the extended subjective scale feature vector to obtain the extended multimodal feature set; wherein, the extended bioelectrical impedance analysis feature vector is obtained by concatenating the standardized phase angle-water ratio coupling feature to the standardized imputed compressed feature vector corresponding to the bioelectrical impedance analysis modality.
[0051] Specifically, the expression for the electromyographic fatigue index is:
[0052] ;
[0053] In the formula, For the first Electromyographic fatigue index of each sample; For the first Root mean square value of quadriceps femoris muscle in each sample. Its health reference center; For the first The average frequency of the tibialis anterior muscle in each sample. Its health reference center; For the first The left-right coordination index of each sample. and These are the minimum and maximum values of the left-right coordination index in the health reference database, respectively.
[0054] In one embodiment, a continuous digital phenotypic label is generated based on the deviation of the extended multimodal feature set from the health reference state, including: determining the indicator feature sets of the temperature cycling index, the water distribution index, and the neuromuscular stability index, respectively; wherein, the temperature cycling index corresponds to the left-right temperature difference and temperature gradient of the infrared thermal imaging modality, and the environmental sensitivity, pain level, and symptom change level of the subjective scale modality; the water distribution index corresponds to the standardized phase angle-water ratio coupling feature, intracellular and extracellular water ratio, and symptom change level; the neuromuscular stability index corresponds to the standardized electromyographic fatigue index, left-right coordination index, and activity limitation, pain level, and symptom change level; and the standardized deviation of the indicator features within each objective modality from the health reference state is calculated based on the mean and standard deviation of the same extended features in the health reference database. The objective modality deviation is obtained by averaging the squared deviations of the standardized squared deviations of the same objective modality. The modality fusion weight is determined based on the absolute value of the correlation coefficient between each extended feature and the corresponding core physiological reference quantity. Among them, the average result of the absolute value of the left and right temperature difference of the target areas of the knee and ankle joints, the ratio of extracellular water content to intracellular water content, and the left-right coordination index are used as the core physiological reference quantities corresponding to the three numerical phenotypic indicators. The subjective scale modality deviation is determined based on the standardized squared deviations of the subjective rating items relative to the healthy reference state and the absolute value of the correlation coefficient between the subjective rating items and the corresponding core physiological reference quantities. The objective modality deviation and the subjective scale modality deviation are fused according to the modality fusion weight to obtain the comprehensive deviation. Logistic compression is then applied to the comprehensive deviation to obtain the continuous numerical phenotypic label.
[0055] Specifically, the expressions for the overall deviation and the continuous number phenotypic label are as follows:
[0056] ;
[0057] ;
[0058] In the formula, For the first The first sample The overall deviation of the numerical phenotypic indicators; For the first The modal deviation corresponding to each mode; For modal fusion weights; To participate in the A set of modalities calculated from numerical phenotypic indicator labels; For the first The first sample A series of consecutive numerical phenotypic labels corresponding to numerical phenotypic indicators; For the first The compression gain parameter corresponding to each numerical phenotypic index.
[0059] Step S2: Multimodal health data preprocessing and digital phenotypic label generation:
[0060] It should be noted that health data from different modalities have different physical dimensions and distribution forms, and may contain missing features and transient outliers. Directly splicing health data from different modalities can easily lead to features with larger numerical ranges dominating subsequent model training, and cause missing values and outliers to disrupt the physiological relationships within the modality.
[0061] This invention utilizes a health reference database to perform empirical quantile mapping, intramodal local nearest neighbor imputation, and outlier soft compression on each feature to obtain standardized imputation and compression feature values; further, it constructs phase angle-water ratio coupled features and electromyographic fatigue index; finally, based on the deviation of each feature from the health reference state, it generates continuous numerical phenotypic labels corresponding to temperature cycle index, water distribution index, and neuromuscular stability index. The specific steps are as follows:
[0062] Step S201: Multimodal feature quantile normalization and missing value imputation:
[0063] Physiological parameters output by different devices may exhibit skewed or bounded distributions, making it difficult to simultaneously adapt to impedance parameters, temperature parameters, surface electromyography parameters, and subjective rating parameters using a uniform linear normalization method. This invention utilizes the empirical ranking position of each feature in a health reference database for distribution correction and leverages the joint relationships between observed features within the same modality to complete missing value imputation. (See...) Figure 3 The specific steps include inputting the original feature values, determining the empirical rank, calculating the cumulative probability, standardizing the quantiles, calculating the Mahalanobis distance, screening local nearest neighbors, weighted filling, and hyperbolic tangent soft compression.
[0064] Figure 3The illustrated process demonstrates the standardization and missing value imputation of multimodal health data. First, each original feature value is compared one by one with the reference value of the same feature in the health reference database to determine its empirical rank in the health reference distribution. Based on this, the cumulative probability is calculated and then mapped to a quantile-standardized feature value using the standard normal distribution quantile function (inverse cumulative distribution function) to correct the original skewed distribution and unify the dimensions. Second, for features with missing values, an observation feature index set is constructed using observed features within the same modality. From the complete sample pool pre-reserved during the training phase, Mahalanobis distance is calculated based on the covariance matrix of the health reference database to filter local nearest neighbor samples. The quantile-standardized feature values and the original physical feature values at the missing locations are then weighted using the reciprocal of the distance as the weight, thereby preserving the physiological correlation within the modality. Finally, hyperbolic tangent soft compression is performed on the imputed quantile-standardized feature values. By adjusting the preset soft compression boundary parameters, the feature values are nonlinearly compressed to the (-1,1) interval, effectively suppressing extreme outliers caused by instantaneous device anomalies or motion artifacts while preserving linear changes within the normal range. The final output is the standardized imputed compressed feature value.
[0065] 1) Read the first data from multimodal health data The sample, the first The first of the modalities Original eigenvalues ,in, Indicates the sample index. Indicates modal index, These correspond, in turn, to the bioelectrical impedance analysis mode, infrared thermography mode, surface electromyography mode, and subjective scale mode. This represents the feature index within the corresponding mode. This refers to the physical characteristic value directly output by the corresponding data acquisition device or subjective scale.
[0066] Specifically, a unique empirical rank is determined for raw feature values both within and outside the health reference range. Specifically, this applies to non-missing raw feature values. The original feature value is determined by comparing it one by one with the reference values of the same feature in the health reference database. Empirical rank in the health reference distribution , experience rank Refers to the original eigenvalues Insert the values into the health reference feature sequence in ascending order, corresponding to their sorting positions, with values ranging from 1 to... ; This indicates the number of health reference samples in the health reference database.
[0067] In the specific implementation, the non-missing original feature values will be... When inserting a reference sequence with the same feature value into a health reference database, arranged in ascending order, its sorted position after insertion is the empirical rank. If the original feature value is the same as multiple reference values, then the average of the sorted positions of these same reference values is taken; if the original feature value is less than the minimum value of the reference sequence, then... If it is greater than the maximum value of the reference sequence, then take... For example, a certain feature's reference ranking value is... , ;like Then insert into and Between, the empirical rank is ;like Then with two The same, the empirical rank is .
[0068] In one embodiment, when multiple health reference feature values are the same, the average of the sorting positions occupied by the same feature value is taken; when the original feature values are... When the value is less than the minimum value of the health reference characteristic sequence, the empirical rank will be... Set to 1; when the original eigenvalues When the value is greater than the maximum value of the health reference feature sequence, the empirical rank will be... Set as .
[0069] 2) Based on empirical rank Calculate the original eigenvalues The cumulative probability in the healthy reference distribution is used to perform distribution correction through the standard normal distribution quantile function, resulting in the quantile standardized eigenvalues. , represented as:
[0070] ;
[0071] in, It refers to the first The first sample The modality of the first The quantile-normalized eigenvalues of each feature, obtained by empirical quantile mapping, represent the position of the normalization deviation of the original eigenvalue in the healthy reference distribution. This indicates a level higher than the median healthy reference level. This indicates a level below the median healthy reference level; The inverse cumulative distribution function (also called the standard normal quantile function) represents the standard normal distribution. For example, if... Rank of a certain feature The cumulative probability is , This indicates that the characteristic is significantly higher than the median level for health reference. Characterizing the original eigenvalues Subtracting 0.5 from the cumulative probability in the healthy reference distribution can prevent the cumulative probability from directly taking the value of 0 or 1, thereby preventing the standard normal distribution quantile function from outputting an infinite value.
[0072] In one embodiment, for example, the health reference database contains 2000 health reference samples, and the empirical rank corresponding to a certain original feature value is 1000, then its cumulative probability is... After mapping using the standard normal distribution quantile function, the quantile standardized eigenvalue is close to 0, indicating that the original eigenvalue is close to the middle position of the healthy reference distribution. If the empirical rank is close to 2000, the quantile standardized eigenvalue is a large positive value, indicating that the original eigenvalue is higher than most healthy reference eigenvalues.
[0073] 3) For samples with missing values, based on the quantile-normalized feature values that have been observed in the same modality for the current sample, select local nearest neighbor samples from the complete sample pool pre-established during the training phase, and fill the missing positions using the distance-weighted result of the corresponding feature values of the local nearest neighbor samples.
[0074] In the specific implementation, the first The first sample The set of observation feature indexes consists of feature indices that do not contain missing values in each modality. And filter from the complete sample pool the observed feature index set Candidate samples where no missing values exist at the locations of the features to be filled. The covariance matrix between features of the same modality is calculated based on health reference samples from the health reference database, and then the set of observed feature indices is extracted from the covariance matrix. The corresponding covariance submatrix.
[0075] In one embodiment, the complete sample pool consists of both missing samples from the health reference database and missing samples from the training set. The health reference samples provide baseline health information, while the missing samples in the training set supplement actual data variation; together, they serve as a source of candidate samples for in-modal local nearest neighbor imputation. The complete sample pool remains fixed after being determined during the training phase and is not recalculated based on individual samples to be evaluated during the application phase.
[0076] Specifically, for the first The candidate sample, based on the current sample and the first candidate sample. Candidate samples in the observed feature index set The Mahalanobis distance is calculated by combining the quantile-standardized eigenvalue differences with the covariance submatrix. .in, Indicates the candidate sample index. This refers to the current sample and the first... The candidate sample at the th The joint feature distance in each modality. Mahalanobis distance can reduce the impact of strong correlated features repeatedly participating in the distance calculation, allowing nearest neighbor screening to consider the correlation between multiple physiological parameters simultaneously. In one embodiment, when the covariance submatrix is not invertible, the generalized inverse can be used to complete the Mahalanobis distance calculation.
[0077] Specifically, the selection is based on the Mahalanobis distance from smallest to largest. A set of candidate samples is formed to create a local nearest neighbor sample set. ,in, This represents the number of local nearest neighbor samples, for example, it can be 5 or 10. When the Mahalanobis distance of each local nearest neighbor sample is greater than 0, the reciprocal of the Mahalanobis distance is used as the distance weight; when there is a local nearest neighbor sample with a Mahalanobis distance of 0, only the local nearest neighbor samples with a Mahalanobis distance of 0 are averaged to avoid performing the division by 0 operation.
[0078] Specifically, for the first The missing features are imputed using a weighted average based on the distance weights of local nearest neighbor samples, as shown below:
[0079] ;
[0080] in, Indicates the first The first sample The modality of the first The quantile-standardized feature values of each feature after local nearest neighbor imputation represent the standardized feature level after imputation using the information of nearest neighbor samples within the same modality. Indicates the first Distance weights corresponding to local nearest neighbor samples; It refers to the first The first sample The modality of the first The quantile-normalized feature value of the i-th feature after empirical quantile mapping, i.e., the i-th feature... The quantile-normalized feature values of local nearest neighbor samples at the same feature locations. For features without missing values, directly let... .
[0081] In one embodiment, the Mahalanobis distance of local nearest neighbor samples is... season When exists When considering local nearest neighbor samples, let these... Local nearest neighbor samples The remaining local nearest neighbor samples If there are multiple If the local nearest neighbor samples are all equally weighted, the filling result degenerates into a simple average of these zero-distance samples.
[0082] Specifically, the original physical feature values corresponding to the features to be filled are weighted and filled according to the same local nearest neighbor samples and the same distance weight, so as to obtain the completed physical feature values. Complete the physical characteristic values. The original physical dimensions of the corresponding parameters are retained for subsequent calculations (step S202) of impedance phase change, water content ratio, and surface electromyographic fatigue characteristics; quantile-normalized eigenvalues Used for subsequent soft compression of outliers and model input construction.
[0083] 4) Perform hyperbolic tangent soft compression on the quantile-standardized eigenvalues after missing value imputation to obtain standardized imputed compressed eigenvalues. , is represented as:
[0084] ;
[0085] in, It refers to the first The first sample The modality of the first The standardized imputed and compressed feature values corresponding to each feature are: The features after hyperbolic tangent soft compression have a value range of . ; Represents the hyperbolic tangent function; This represents the soft compression boundary adjustment parameter, used to control the numerical range within which significant compression begins to occur; for example, it can be set to 3.
[0086] In practical implementation, when the quantile-normalized eigenvalue is near 0, the hyperbolic tangent soft compression approximates the original numerical change; as the absolute value of the quantile-normalized eigenvalue continues to increase, the output gradually approaches... or This preserves the direction and relative magnitude of abnormal changes, while limiting the impact of extreme feature values generated by instantaneous device anomalies or motion artifacts on model parameter updates.
[0087] Specifically, all standardized imputed compressed eigenvalues in the same mode are arranged in a fixed eigenvalue order to obtain the first... The first sample Standardized imputation compressed feature vectors of each modality ,Right now It is a standardized, filled, compressed feature vector The j-th element.
[0088] It should be noted that the health reference experience distribution, covariance matrix, complete sample pool, and soft compression boundary adjustment parameters are all determined during the training phase. The same information saved during the training phase is used in the application phase and is not recalculated based on a single sample to be evaluated.
[0089] Step S202: Mining physiological coupling features based on impedance phase changes and electromyographic fatigue state:
[0090] Bioelectrical impedance analysis modes mainly reflect tissue water distribution and electrical response, while surface electromyography modes mainly reflect muscle activation, fatigue, and left-right coordination. Using only a single measurement parameter is insufficient to simultaneously describe the relationship between tissue electrical changes and water distribution, and it is also difficult to jointly describe the fatigue state formed by enhanced muscle activation, decreased frequency, and left-right incoordination.
[0091] Specifically, this invention calculates the phase angle-water ratio coupling characteristics based on the resistance and reactance values at different detection frequencies, and calculates the electromyographic fatigue index based on the root mean square value of the quadriceps femoris muscle, the average frequency of the tibialis anterior muscle, and the left-right coordination index. The specific steps are as follows:
[0092] 1) Read low-frequency values from the completed physical characteristic values and high frequency The corresponding resistance, reactance, intracellular and extracellular water content were used to calculate the phase angle-water ratio coupling characteristics based on the direction of high and low frequency impedance changes and the intracellular-extracellular water ratio. , is represented as:
[0093] ;
[0094] in, It refers to the first The phase angle-water ratio coupling characteristics of each sample are used to characterize the coupling state between multi-frequency tissue electrical response changes and intracellular and extracellular water distribution. This indicates a low-frequency range, for example, 5kHz; This indicates a high frequency, for example, 250kHz; Indicates the first The sample at low frequency The reactance value below, Indicates the first Each sample at high frequency The reactance value below; Indicates the first The sample at low frequency The resistance value below, Indicates the first Each sample at high frequency The resistance value below; Indicates the first Extracellular water content of each sample; Indicates the first Intracellular water content of each sample; This represents the two-parameter arctangent function, used to determine the direction of phase change based on the signs of the changes in reactance and resistance, and to avoid the inability to calculate the ordinary ratio when the change in resistance is 0.
[0095] In one embodiment, for example, if the high-frequency reactance difference of a sample is 8Ω and the low-frequency resistance difference is 20Ω, then the phase change is: rad; If the ratio of extracellular water content to intracellular water content is 0.8, then the phase angle-water ratio coupling characteristic... The results contain information on both impedance phase change and moisture distribution ratio, enabling the differentiation between a simple impedance amplitude change and anomalies in moisture distribution occurring simultaneously.
[0096] 2) Obtain the root mean square value of the quadriceps femoris, the average frequency of the tibialis anterior muscle, and the left-right coordination index from the completed physical characteristic values, and calculate the electromyographic fatigue index by combining it with the left-right coordination index range in the health reference database. , is represented as:
[0097] ;
[0098] in, Indicates the first The electromyographic fatigue index of each sample was used to characterize fatigue-related abnormalities resulting from increased muscle activation, decreased frequency, and decreased left-right coordination. The reference center represents the root mean square value of the quadriceps femoris muscle in the health reference database. The reference center represents the average frequency of the tibialis anterior muscle in the health reference database. Both are calculated from the health reference database, for example, by taking the mean of the corresponding features of the health reference samples and fixing it before training. Indicates the first The root mean square value of the quadriceps femoris muscle in each sample is used to reflect the activation intensity of the quadriceps femoris muscle. Indicates the first The average frequency of the tibialis anterior muscle in each sample is used to reflect the changes in the spectral center of the tibialis anterior muscle. Indicates the first The left-right coordination index of each sample; This represents the minimum value of the left-right coordination index in the health reference database. This represents the maximum value of the left-right coordination index in the health reference database. The average frequency of the tibialis anterior muscle used for calculation should be positive, and the maximum value of the left-right coordination index in the health reference database should be greater than the minimum value.
[0099] In practical implementation, when the root mean square value of the quadriceps femoris increases, the average frequency of the tibialis anterior decreases, or the left-right coordination index declines, the electromyographic fatigue index increases. Increased levels enable various surface electromyographic abnormalities to form a unified expression of fatigue state.
[0100] In one embodiment, the first Left-right coordination index of a sample The specific left-right coordination index is calculated by taking the root mean square values of the target muscles on the left and right sides within a set time window (e.g., 5 seconds). The left-right symmetry indices for the quadriceps and tibialis anterior muscles are calculated separately, and then the average of the two indices is taken as the final left-right coordination index, expressed as:
[0101] ;
[0102] in, , They represent the first The root mean square values of the left and right quadriceps muscles of each sample within a set time window; , They represent the first The root mean square values of the left and right tibialis anterior muscles for each sample within a set time window. The closer the index is to 1, the more symmetrical the activation of the muscles on both sides; the closer it is to 0, the greater the difference in activation between the left and right sides.
[0103] In one embodiment, for example, the root mean square value of the quadriceps femoris is 120 μV, the average frequency of the tibialis anterior is 80 Hz, the left-right coordination index is 0.9, and the left-right coordination index in the health reference database ranges from 0.5 to 1.0. , ,but The calculation results indicate that the current sample exhibits a certain degree of fatigue-related incoordination. When the left-right coordination index further decreases to 0.6 while other parameters remain unchanged, the electromyographic fatigue index increases to 1.2, thus highlighting the abnormal changes caused by the decline in left-right coordination.
[0104] 3) Using the phase angle-water ratio coupling features and electromyographic fatigue index from the health reference database as references, the standardized phase angle-water ratio coupling features are obtained by processing them according to the empirical quantile mapping and hyperbolic tangent soft compression method in steps 1) and 4) of step S201. and standardized electromyography fatigue index Normalized phase angle-moisture ratio coupling characteristics and standardized electromyography fatigue index Standardized imputation compresses feature values within a consistent statistical range, preventing newly added features from receiving unreasonable initial weights in subsequent models due to different numerical scales.
[0105] Specifically, the standardized phase angle-moisture ratio is coupled with features. The standardized, filled, compressed eigenvectors spliced to the bioelectrical impedance analysis modes, i.e. Standardized electromyography fatigue index The standardized, filled, compressed feature vector spliced to the surface electromyography modality, i.e. .in, Indicates the first Extended bioelectrical impedance analysis feature vectors for each sample; Indicates the first Extended surface electromyography feature vectors of each sample; This indicates that vector concatenation is performed along the feature direction.
[0106] In one embodiment, the infrared thermal imaging modality and the subjective scale modality do not increase physiological coupling characteristics, respectively making... and ,in, Indicates the first Extended infrared thermal imaging feature vectors of each sample, Indicates the first Extended subjective scale feature vectors for each sample.
[0107] Specifically, the four extended modal feature vectors are combined into an extended multimodal feature set. ,Right now Expanding the multimodal feature set It is the first The set consists of four extended modal feature vectors for each sample. Since the feature dimensions of the four extended modal feature vectors can be different, they are not directly forced to be arranged into equal-width matrices. Instead, they are mapped to a unified latent space in the subsequent graph attention regression network through the corresponding modality projection matrices.
[0108] It should be noted that the phase angle-water ratio coupling feature combines high and low frequency impedance changes and intracellular and extracellular water ratios into a single physiologically meaningful feature, while the electromyographic fatigue index combines muscle activation, frequency changes, and left-right coordination into a single fatigue-related feature. This can increase the ability to express cross-parameter joint anomalies without changing the original modal features.
[0109] In one embodiment, such as Figure 4As shown, the horizontal and vertical axes each represent eight extended multimodal feature names, including total water content (in liters), intracellular / extracellular water ratio (dimensionless), average temperature of the target acupoint region at the knee joint (in degrees Celsius), temperature gradient of the target acupoint region at the knee joint (in degrees Celsius per centimeter), root mean square value of the quadriceps femoris muscle (in microvolts), left-right coordination index (dimensionless), pain intensity (0 to 10), and environmental sensitivity (0 to 10). The color mapping represents the Pearson correlation coefficient (dimensionless), ranging from approximately -1 to +1. The heatmap illustrates the correlations between these multimodal features, demonstrating varying degrees of physiological association between different modalities, and illustrating the basis for using cross-modal correlations for feature selection and subsequent weight determination.
[0110] Step S203: Generation of numerical phenotypic labels based on health reference deviation:
[0111] The extended multimodal feature set includes objective features and subjective ratings corresponding to different physiological functions. To form a continuous monitoring target that reflects an individual's deviation from a healthy reference state, this invention calculates the standardized squared deviation value of each extended feature and determines the fusion weight based on the correlation between the extended features and core physiological reference values. The specific steps are as follows:
[0112] 1) For the temperature cycle index, moisture distribution index, and neuromuscular stability index, determine the corresponding extended feature sets. The numerical phenotypic index is denoted as... , ,in, Indicates the temperature cycling index. Indicates the moisture distribution index. This indicates the neuromuscular stability index.
[0113] Among them, the temperature cycle index corresponds to the environmental sensitivity, pain, and symptom changes in the infrared thermal imaging modality and the subjective scale modality; the water distribution index corresponds to the symptom changes in the bioelectrical impedance analysis modality and the subjective scale modality; and the neuromuscular stability index corresponds to the activity limitation, pain, and symptom changes in the surface electromyography modality and the subjective scale modality.
[0114] Specifically, for the first The first numerical phenotypic indicator will be the first The feature index set consists of feature indices involved in label calculation in each objective modality. Then, based on the mean and standard deviation of the same extended features in the health reference database, the first... Standardized squared deviation of each sample corresponding to the extended feature , is represented as:
[0115] ;
[0116] in, Represents an extended multimodal feature set The Middle The modality of the first One extended eigenvalue; Indicates the first in the health reference database The first numerical phenotypic indicator corresponding to the first The modality of the first The mean of each extended feature; Indicates the first in the health reference database The first numerical phenotypic indicator corresponding to the first The modality of the first Standard deviation of each extended feature; Indicates the first The standardized squared deviation value of the extended feature for each sample. The larger the value, the more significantly the feature deviates from the healthy reference mean; the smaller the value, the closer the feature is to the healthy reference state.
[0117] It should be noted that the squaring process allows abnormal changes that are both above and below the healthy reference mean to be included in the degree of deviation, and makes features that deviate more significantly from the healthy reference mean receive a more noticeable response.
[0118] Specifically, the objective modality deviation is obtained by averaging the standardized squared deviations of the data participating in the calculation of the current numerical phenotypic index within the same objective modality. , is represented as:
[0119] ;
[0120] in, It refers to the first The first sample The first numerical phenotypic indicator corresponding to the first An objective modal deviation is a measure of the average level of the standardized squared deviations of all extended features involved in the calculation of the current index within that modality. The larger the value, the more significant the overall deviation of the modality from the healthy reference state. Represents the set of indicator feature indices The number of features included. Averaging the features within a mode can prevent modes with a large number of features from being over-amplified due to the different number of features in different modes.
[0121] In one embodiment, the set of index features of the objective mode is determined as follows: temperature cycling index : ={Temperature difference between left and right knee joints, temperature gradient of knee joints, temperature difference between left and right ankle joints, temperature gradient of ankle joints}; Moisture distribution index : Neuromuscular stability index : ;in, The standardized phase angle-moisture ratio coupling feature obtained in step S202, The standardized electromyography fatigue index obtained in step S202; the above features are all elements in the extended feature vector, not the original physical quantities. Subjective scoring items are still provided by... Defined separately, not included in objective modal deviation. The modal average.
[0122] 2) Based on the absolute value of the Pearson correlation coefficient between extended features and core physiological reference quantities in the health reference database, calculate the modality fusion weights of each modality for different numerical phenotypic indicators.
[0123] In one embodiment, the core physiological reference quantity is defined as follows: temperature cycling index. Core physiological reference values The average of the absolute values of the temperature difference between the left and right sides of the target areas of the knee and ankle joints was used; moisture distribution index. Core physiological reference values The ratio of extracellular water content to intracellular water content was used; the neuromuscular stability index was also used. Core physiological reference values The left-right coordination index is used. For example, the absolute value of the left-right temperature difference of the knee joint in a healthy reference sample is... The absolute value of the temperature difference between the left and right sides of the ankle joint is ,but If the extracellular water content is The intracellular water content is ,but If the left-right coordination index is ,but .
[0124] In this implementation, the first The health reference sample number The core physiological reference value corresponding to each numerical phenotypic indicator is denoted as , This serves as a unified reference for calculating modal contribution levels. Then, for the... For each modality, the absolute value of the Pearson correlation coefficient between the corresponding extended feature and the core physiological reference value is calculated, and the average value of the extended features involved in the calculation of the current numerical phenotypic index is taken to obtain the modality association score. For example, regarding the temperature cycling index. Let the characteristics of the infrared thermal imaging modality participation index be the left-right temperature difference of the knee joint and the left-right temperature difference of the ankle joint, and its correlation with the healthy reference sample. The Pearson correlation coefficients are respectively and The absolute value is , ,but .
[0125] Specifically, the modal association scores involved in the current digital phenotypic index are normalized to obtain the modal fusion weights. , is represented as:
[0126] ;
[0127] in, It refers to the first The first numerical phenotypic indicator corresponding to the first The modality fusion weights represent the th modality fusion weights. Individual modal deviations in overall deviations The proportion of contribution in The larger the value, the higher the value. The modality pair of the first The greater the label contribution of each numerical phenotypic indicator; It refers to the first The modality and the first Modal association scores among core physiological reference values of digital phenotypic indicators; It refers to the first The modality and the first Modal association scores among core physiological reference values of digital phenotypic indicators; Indicates participation in the A set of modalities calculated from numerical phenotypic indicator labels; This represents the modality index in the modality set. All modality fusion weights are not less than 0, and the sum of the modality fusion weights corresponding to the same numerical phenotypic index is 1.
[0128] 3) From the feature vector of the extended subjective scale Read the first The subjective rating items corresponding to the numerical phenotypic indicators are calculated, and the standardized squared deviation of each subjective rating item relative to the health reference state is expressed as follows:
[0129] ;
[0130] in, This represents the index of subjective rating items; Indicates the first The first sample The first numerical phenotypic indicator corresponding to the first A standardized imputed and compressed subjective score is derived from the modal standardized imputed and compressed feature vector of the subjective scale. ,Right now Read the first from it The first numerical phenotypic indicator corresponding to the first One subjective rating item; Indicates the first in the health reference database The first numerical phenotypic indicator corresponding to the first The average of standardized, filled, compressed subjective rating items, i.e., the average of the same subjective rating items in the health reference database; Indicates the first in the health reference database The first numerical phenotypic indicator corresponding to the first The standard deviation of a standardized, filled, compressed subjective rating item is the standard deviation of the same subjective rating item in the health reference database. Indicates the first The first sample The first numerical phenotypic indicator The standardized squared deviation of each subjective rating item from the health reference status; the larger the value, the more significant the deviation of the subjective symptom from the health reference.
[0131] Specifically, based on the subjective rating items and core physiological reference values in the health reference database. The absolute value of the Pearson correlation coefficient between the items determines the weight of the subjective items. And normalize the weights of all subjective items to a sum of 1.
[0132] In practical implementation, It refers to the first The first numerical phenotypic indicator The subjective item weights corresponding to each subjective rating item, subjective item weights According to the health reference database, Subjective rating items and core physiological reference values The absolute value of the Pearson correlation coefficient was determined, and all subjective items involved in the indicator were normalized so that the sum of the weights was 1. Right now .in, Indicates the first in the health reference database The subjective rating item and the first Pearson correlation coefficients among the core physiological reference values of the numerical phenotypic indicators; Indicates the first in the health reference database The subjective rating item and the first Pearson correlation coefficients among the core physiological reference values of the numerical phenotypic indicators; Indicates participation in the Index of subjective rating items calculated from numerical phenotypic indicator labels.
[0133] Specifically, based on subjective item weights The standardized squared deviations are weighted and fused to obtain the subjective scale modal deviation. , is represented as:
[0134] ;
[0135] in, Indicates the first The first sample The subjective scale modal deviation corresponding to a digital phenotypic index is a weighted fusion result of the standardized squared deviations of the subjective rating items participating in the calculation of the digital phenotypic index relative to the health reference state. The larger the value, the more obvious the deviation of subjective symptoms. Indicates participation in the A set of subjective rating items calculated from numerical phenotypic indicator labels.
[0136] In one embodiment, the set of subjective rating items specifically includes: Temperature Cycling Index. Moisture distribution index: Neuromuscular stability index: .
[0137] 4) The objective modal deviation and the subjective scale modal deviation are weighted and fused according to the modal fusion weights to obtain the comprehensive deviation. , is represented as:
[0138] ;
[0139] in, It refers to the first The first sample The overall deviation of a numerical phenotypic indicator is the result of a weighted fusion of objective modal deviation and subjective scale modal deviation according to modal fusion weights. A larger value indicates a stronger deviation of the physiological function corresponding to that numerical phenotypic indicator from a healthy reference state. When corresponding to the subjective scale modality, Take the subjective scale modal deviation obtained in step 3. ;when When corresponding to objective modes, Take the objective modal deviation obtained in step 1.
[0140] In one embodiment, the participants will be the first The absolute values of the Pearson correlation coefficients between the subjective rating items and the core physiological reference values of each indicator are averaged as the mean. Then, normalize it together with the objective mode to obtain .
[0141] Specifically, based on the comprehensive deviation Perform logistic compression to obtain continuous numeric phenotypic labels. , represented as:
[0142] ;
[0143] in, It refers to the first The first sample Each numeric phenotypic indicator corresponds to a continuous numeric phenotypic label, with a value range from 0 to 1; Indicates the first The compression gain parameter corresponding to each numerical phenotypic index is used to adjust the sensitivity of the continuous numerical phenotypic label to changes in the overall deviation. For example, it can be set to 1.0. This represents the natural exponential function.
[0144] In practical implementation, when the overall deviation... At that time, continuous numeric phenotype labels This indicates that the current sample is close to a healthy reference state; as the overall deviation increases, the continuous numerical phenotypic label gradually approaches 1. Compared with directly using a regular logistic function, the above mapping avoids fixing the label to 0.5 when the overall deviation is 0, thus making the label starting point correspond to the healthy reference state.
[0145] In one embodiment, as an example, let the compression gain parameter be... Regarding the temperature cycling index, if the overall deviation... ,but Regarding the moisture distribution index, if ,but Regarding the neuromuscular stability index, if ,but .
[0146] It should be noted that the temperature cycle index, water distribution index, and neuromuscular stability index are all used to quantify the degree of deviation of the corresponding physiological functions from a healthy reference state; the higher the value, the greater the degree of deviation. Specifically, a higher neuromuscular stability index indicates a greater degree of abnormality in neuromuscular stability, not necessarily a stronger stabilizing ability.
[0147] It should also be noted that this step generates continuous numerical phenotypic labels using health reference statistics, eliminating the need to manually set hard thresholds between normal and abnormal. By fusing modal averaging and correlation weights, the excessive influence of differences in the number of features and weakly correlated features on the labeling results can be avoided, ensuring that the generated continuous numerical phenotypic labels have clear health reference meanings.
[0148] In one embodiment, such as Figure 5As shown, the surface height represents the standardized squared deviation value. The two horizontal axes represent the standardized values of the first and second features, respectively (obtained by sorting the original feature values in a healthy reference database to determine the empirical rank, then mapping using the standard normal quantile function, imputing missing values using local nearest neighbors, and finally performing soft compression using the hyperbolic tangent function). Experimental results show that the standardized squared deviation value increases with the increase of feature deviation from the healthy reference mean, reflecting that the squaring process has an equal amplification effect on features with high and low deviations. In the figure, the horizontal axis represents the standardized value of the first feature (dimensionless); the vertical axis represents the standardized value of the second feature (dimensionless); and the vertical axis represents the standardized squared deviation value (dimensionless).
[0149] In one embodiment, the modal weight matrix is constructed by: centering the feature vectors of each extended modality of the healthy reference sample; performing principal component analysis on the centered extended modal feature vectors; and using the score of the first principal component as the modal comprehensive score of the corresponding modality; constructing a modal comprehensive score correlation matrix based on the correlation between the modal comprehensive scores; and inverting the modal comprehensive score correlation matrix to obtain the accuracy matrix; determining the partial correlation coefficients of any two modalities after controlling for the influence of other modalities based on the accuracy matrix; filtering modal connections using the absolute value of the partial correlation coefficients and the partial correlation strength threshold; arranging the filtered modal weights in a fixed modal order to obtain the modal weight matrix; and setting the self-connected modal weights of each modality to a reserved state; wherein the modal weight matrix remains fixed during the model training and application phases.
[0150] Specifically, the expressions for the partial correlation coefficient and the mode edge weights between different modes are as follows:
[0151] ;
[0152] ;
[0153] In the formula, For the first The modality and the first Partial correlation coefficients between modes; , and The first in the precision matrix Line 1 Column, No. Line 1 Column and number Line 1 Column elements; For the first The modal node and the first Modal edge weights between modal nodes; For indicator functions; This is the threshold for partial correlation strength.
[0154] In one embodiment, the multimodal graph attention regression network includes a modality projection layer, a graph attention encoding layer, a task modality attention layer, and a linear regression layer. Graph attention regression is performed on the extended multimodal feature set using a modality edge weight matrix, including: inputting each extended modality feature vector into the corresponding modality projection matrix through the modality projection layer, mapping extended modality feature vectors of different dimensions to a common latent space to obtain the initial features of each modality node; determining the modality nodes connected by the non-zero modality edge weights corresponding to the current modality node in the modality edge weight matrix as neighboring modality nodes through the graph attention encoding layer; aggregating the node features of neighboring modality nodes based on modality edge weight scaling attention coefficients, iteratively obtaining the final node features of each modality node; calculating task modality attention weights for different numerical phenotypic indicators based on the final node features through the task modality attention layer, and weighting and fusing the final node features to obtain the task feature vectors of the corresponding numerical phenotypic indicators; and mapping each task feature vector to the corresponding numerical phenotypic predicted value through the linear regression layer.
[0155] Specifically, a basic attention score is calculated based on the feature content of the current modal node and its neighboring modal nodes, and the basic attention score is scaled and normalized using the corresponding modal edge weights to obtain the modal edge weight scaled attention coefficient.
[0156] Specifically, the expression for the modal edge weight scaling attention coefficient is:
[0157] ;
[0158] In the formula, For the first The first sample The first in the layer The neighbor modal node pairs the _th The information contribution weight of each modal node; For the first The first sample The first in the layer The neighboring modal node sends to the first The basic attention score for information transmission between modal nodes; For the first The modal node and the first Modal edge weights between modal nodes; For the first The set of neighboring modes corresponding to each modal node.
[0159] In one embodiment, the training method of the multimodal graph attention regression network includes: inputting the extended multimodal feature set corresponding to the training samples into the multimodal graph attention regression network to obtain the predicted values of digital phenotypic indicators for each digital phenotypic indicator; determining the regression error based on the predicted values of digital phenotypic indicators and the corresponding continuous digital phenotypic labels; setting a learnable log-variance parameter for each digital phenotypic indicator and adaptively weighting the regression error according to the corresponding task prediction variance to obtain a task-adaptive loss term; constructing a health reference correlation matrix based on the correlation between the continuous digital phenotypic labels corresponding to the health reference samples, and constructing a prediction correlation matrix based on the correlation between the predicted values of each digital phenotypic indicator in the same training batch; determining a correlation consistency loss term based on the difference between the prediction correlation matrix and the health reference correlation matrix; combining the task-adaptive loss term and the correlation consistency loss term corresponding to each digital phenotypic indicator to obtain the total network training loss; and updating the modality projection parameters, graph attention parameters, task attention parameters, regression layer parameters, and learnable log-variance parameters based on the total network training loss; wherein, health reference statistics, modality edge weight matrix, and health reference correlation matrix do not participate in parameter updates.
[0160] Specifically, the expressions for the task-adaptive loss term and the total network training loss are as follows:
[0161] ;
[0162] ;
[0163] In the formula, For the first The training sample of the th training sample The task-adaptive loss term for a numerical phenotypic metric; This corresponds to the learnable log-variance parameter; and These are continuous null phenotype labels and predicted null phenotype values, respectively. This represents the number of samples in the training batch. A set of numerical phenotypic indicators; and These are the prediction correlation matrix and the health reference correlation matrix, respectively. This is the relevant consistency regularity strength parameter.
[0164] Step S3: Training the multimodal graph attention regression network:
[0165] It should also be noted that the extended multimodal feature set includes information on tissue water content, electrical response, body surface temperature, neuromuscular activity, and subjective symptoms. There are physiological associations between different modalities, but the degree of dependence of different numerical phenotypic indicators on each modality is not the same.
[0166] This invention utilizes cross-modal partial correlations in a health reference database to construct a modal edge weight matrix, treating four modalities as graph nodes. Information transfer between modalities is achieved through a graph attention mechanism involving modal edge weight scaling. Furthermore, task attention aggregation is performed on the temperature cycle index, water distribution index, and neuromuscular stability index, respectively, and joint training is completed using adaptive weighting of task prediction variance and correlation consistency constraints. The specific steps are as follows:
[0167] Step S301: Construction of modal edge weights based on health reference partial correlation:
[0168] Ordinary graph attention networks allow all modal nodes to interact arbitrarily, making it easy to learn spurious associations caused by common changing factors under limited sample conditions.
[0169] This invention utilizes partial correlations in a health reference database after controlling for the influence of other modalities to determine modal connectivity strength, enabling the graph attention network to preferentially transmit information along modal connections with statistical basis in health references. The specific steps are as follows:
[0170] 1) For each modality in the health reference database, the corresponding extended modality feature vector is arranged in the order of the health reference samples, and the modality comprehensive score is obtained through principal component analysis.
[0171] In practical implementation, the extended modal feature vectors of the bioelectrical impedance analysis mode, infrared thermography mode, surface electromyography mode, and subjective scale mode are centered, and then principal component analysis is performed on each mode, retaining the first principal component as the overall statistical variable of the corresponding mode. The health reference sample number The score of the first principal component of each modality is denoted as . , Principal component analysis (PCA) is used to convert extended modal eigenvectors of different dimensions into scalar modal composite scores for which partial correlation analysis can be performed. PCA is only used to construct the side weights of the health reference modality and does not participate in the prediction of the numerical phenotypic characteristics of the samples to be evaluated.
[0172] It should be noted that centralization refers to subtracting the mean of that feature in the healthy reference sample from the extended modality feature vector of each modality, so that the mean of each feature in the healthy reference database is 0.
[0173] Specifically, the modal composite score correlation matrix is calculated based on the modal composite scores of the four modalities. And the correlation matrix of modal comprehensive scores. Inverse the matrix to obtain the precision matrix. In one embodiment, when the modal synthesis score correlation matrix is not invertible, the generalized inverse is used to obtain the accuracy matrix.
[0174] In practical implementation, the modal comprehensive score is based on four modalities. Calculate the Pearson correlation coefficient between the combined scores of any two modalities and form a 4×4 correlation matrix. ,but The Line 1 Column elements are The diagonal elements are 1. It refers to the first The health reference sample number The first mode Principal component scores; It refers to the first The health reference sample number The first mode Principal component scores; Indicating the first in the health reference sample The modality and the first The Pearson correlation coefficient between the composite scores of the modalities ranges from [value missing]. .
[0175] Specifically, the first is calculated based on the precision matrix. The modality and the first Partial correlation coefficient between modes , is represented as:
[0176] ;
[0177] in, This indicates that after controlling for the influence of other modal composite scores, the first... The modality and the first The partial correlation coefficient between two modes characterizes the strength and direction of the net linear association between the two modes after excluding the influence of common changes in other modes. The larger the absolute value of the partial correlation coefficient, the stronger the independent statistical association between the two modes after excluding the influence of common changes in other modes. Representing the precision matrix The Middle Line 1 Column elements; Representing the precision matrix The Middle The diagonal elements corresponding to the modality comprehensive score Representing the precision matrix The Middle The diagonal elements corresponding to the modality composite score are both the reciprocal of the partial variance of the corresponding modality composite score after controlling for the influence of other modalities.
[0178] 2) Modal connections are screened based on the absolute value of the partial correlation coefficient and the partial correlation strength threshold, and modal edge weights are constructed. .
[0179] In practical implementation, for connections between nodes of different modes, the modal edge weights are calculated based on the absolute value of the partial correlation coefficient and the partial correlation strength threshold. , is represented as:
[0180] ;
[0181] in, It refers to the first The modal node and the first The modal edge weights between modal nodes represent the connection strength between two modal nodes in graph attention encoding. The larger the value, the more preferentially the connection participates in information transmission. This indicates an indicator function that takes the value 1 if the condition within the parentheses is true, and 0 otherwise. This represents the partial correlation strength threshold, used to remove weakly correlated modal connections; for example, it can be set to 0.10.
[0182] In one embodiment, to preserve the information of each modal node, the weights of the self-connected modal edges are set to... .
[0183] Specifically, all modal weights are arranged in a fixed modal order to obtain the modal weight matrix. ,Right now It is the modal edge weight matrix The element in the m-th row and n-th column, modal edge weight matrix The dimension is The four rows and columns correspond to the bioelectrical impedance analysis mode, infrared thermography mode, surface electromyography mode, and subjective scale mode, respectively.
[0184] In one embodiment, as an example, the health reference database calculates a partial correlation coefficient of 0.42 between the bioelectrical impedance analysis mode and the surface electromyography mode, and the partial correlation strength threshold is... If the modal edge weight is 0.42, it indicates a retainable net statistical association between tissue water and electrical response and neuromuscular function. If the partial correlation coefficient between the infrared thermal imaging modality and the bioelectrical impedance analysis modality is 0.05, the corresponding modal edge weight is 0, and information is not directly transmitted through this connection during graph attention encoding.
[0185] It should be noted that the modal edge weight matrix Pre-calculated based on a health reference database, the model remains fixed during training and application, thus providing a healthy reference statistical basis for modal connectivity. This also allows subsequent graph attention mechanisms to dynamically adjust the information contribution level within the retained connections based on specific samples, reducing weak correlation interference introduced by fully connected graphs.
[0186] Step S302: Graph attention encoding based on modal edge weight scaling and task adaptive regression:
[0187] Different extended modal feature vectors have different dimensions, and the modal interaction strengths differ among different samples.
[0188] This invention first maps four extended modal feature vectors to a unified latent space, then uses the modal edge weight matrix and node content to jointly calculate graph attention coefficients, and finally performs task attention aggregation for different numerical phenotypic indicators. The specific steps are as follows:
[0189] 1) The first The first sample Extended modal eigenvectors of each modality Input the corresponding modal projection matrix to obtain the initial features of the modal nodes. ,Right now ;in, It refers to the first The first sample The initial features of modal nodes in layer 0 have a dimension of . ; Indicates the first The modal projection matrix corresponding to the i-th modality is a trainable parameter used to project the i-th modality. The extended modal feature vectors of each modality are mapped to a common latent space; This represents the dimension of the public hidden space, for example, it can be 64.
[0190] It should be noted that since each modality uses a modality projection matrix that matches its input dimension, there is no need to pad or truncate the extended modality feature vectors, thus preserving the original feature structure of each modality.
[0191] 2) For the first Layered graph attention encoding calculates a basic attention score based on the feature content of the current modality node and its neighboring modality nodes, and then scales the basic attention score using modality edge weights.
[0192] In practical implementation, the modal edge weight matrix will be used. The Middle The modal nodes corresponding to the non-zero elements in a row form the neighbor modal set. .because Neighbor mode set Including the Each modal node itself.
[0193] Specifically, for the first The modal node and the first Calculate the neighbor modal node, the . Layer-based attention score , represented as:
[0194] ;
[0195] in, It refers to the first The first sample The first in the layer The neighboring modal node sends to the first The basic attention score for information transmission between modal nodes represents the degree of original attention matching between features of two modal nodes in the current sample. The larger the value, the better the attention matching. The modal node pairs the th The more important the information contribution of each modal node; Indicates the first The query feature transformation matrix of the layer is a trainable parameter. Indicates the first The key feature transformation matrix of the layer is a trainable parameter. Indicates the first The attention score vector of a layer is a trainable parameter. This represents a linear rectified activation function with a negative slope, used to retain a small negative slope output when the input is negative, avoiding complete neuron deactivation, while enhancing the sensitivity of attention scores to directional differences; express The transpose of .
[0196] Specifically, the index value of the basic attention score is combined with the modal side weights. Multiply and in the neighbor modal set Internal normalization yields modal edge weight scaling attention coefficients. , represented as:
[0197] ;
[0198] in, It refers to the first The first sample The first in the layer The neighboring modal node sends to the first The basic attention score for information transmission between modal nodes; It refers to the first The modal node and the first Modal edge weights between modal nodes; Indicates the first The first sample The first in the layer The neighbor modal node pairs the _th The information contribution weight of each modal node; This represents the modality index in the neighbor modality set.
[0199] In practical implementation, modal edge weights The larger the value, the greater the attention coefficient obtained by the corresponding modal connection under the same conditions; the basic attention score can still dynamically change the actual contribution inside the connection according to the node characteristics of the current sample.
[0200] Specifically, the features of the next layer modal nodes are obtained by performing weighted aggregation on the neighboring modal nodes based on the modal edge weight scaling attention coefficient. , represented as:
[0201] ;
[0202] in, It refers to the first The first sample The modal node passes through the first... The node features after attention encoding in the layer graph represent the 1st generation after weighted aggregation and nonlinear transformation of neighboring modal nodes. Features of each modal node; Indicates the first The value feature transformation matrix of the layer is a trainable parameter; This represents a modified linear unit activation function, used to introduce nonlinearity and set negative activations to zero, thereby enhancing feature representation capabilities.
[0203] Specifically, execute in sequence Layered graph attention encoding yields the final node features for each modality node. , It refers to the first The first sample Each modal node passes through all The final node features after graph attention encoding. In an implementation that facilitates lightweight deployment, the number of graph attention encoding layers... A value of 2 can be chosen, allowing each modal node to receive information from its direct neighbors and 2-hop neighbors, while avoiding the convergence of characteristics among different modal nodes due to an excessive number of layers.
[0204] 3) Calculate task modality attention weights for temperature cycle index, moisture distribution index and neuromuscular stability index respectively, so that different digital phenotypic indicators can select different modality information from the final node features.
[0205] In specific implementation, for the first Numerical phenotypic indicators, based on final node characteristics Calculate task modal attention weights , represented as:
[0206] ;
[0207] in, Indicates the first The first sample The first numerical phenotypic indicator corresponding to the first The attention weights for the modality task represent the . The modality pair of the first The degree of contribution of each numerical phenotypic indicator to the feature vector of the task; It refers to the first The first sample Each modal node passes through all The final node features after layer graph attention encoding; Indicates the first Trainable task attention vectors corresponding to each numerical phenotypic metric. express transpose; This represents the attention mapping matrix for a trainable task, and is a type of trainable parameter. This represents the total number of modes in this invention. For the same numerical phenotypic metric, the attention weights for all four modalities are not less than 0 and their sum is 1.
[0208] Specifically, the features of the four final nodes are weighted and fused based on the task modality attention weights to obtain the task feature vector. ,Right now .in, It refers to the first The first sample The task feature vector corresponding to each numerical phenotypic indicator.
[0209] In practice, the temperature cycling index can be trained to improve the task attention weight of the infrared thermal imaging modality and the subjective scale modality, the moisture distribution index can improve the task attention weight of the bioelectrical impedance analysis modality, and the neuromuscular stability index can improve the task attention weight of the surface electromyography modality, while retaining supplementary information provided by other related modalities.
[0210] 4) Transfer the task feature vector Enter the first Linear regression layers corresponding to each numerical phenotypic indicator are used to obtain the predicted values of the numerical phenotypic indicators. ,Right now .
[0211] in, It refers to the first The first sample Predicted values of a number phenotypic indicator; Indicates the first The regression mapping vector corresponding to each numerical phenotypic indicator is a trainable parameter. Indicates the first The regression biases corresponding to the numerical phenotypic indicators are trainable parameters.
[0212] It should be noted that this step uses the health reference partial correlation to limit the available modal connections of the graph attention network, then adjusts the information contribution of the retained connections through the sample-related basic attention score, and completes the differential fusion through the task modal attention related to the numerical phenotypic index. This can simultaneously retain statistical prior constraints and sample adaptive ability, and reduce the interference of weakly correlated modal information on the prediction results.
[0213] In one embodiment, such as Figure 6 As shown in the figure, the horizontal axis represents the names of the numerical phenotypic indicators (temperature cycling index, moisture distribution index, and neuromuscular stability index), and the vertical axis represents the attention weight (dimensionless). Different colored bars represent the bioelectrical impedance analysis mode, infrared thermography mode, surface electromyography mode, and subjective scale mode, respectively. Experimental results demonstrate the differentiated attention levels of different numerical phenotypic indicators to the four modes, proving that the model can automatically select the primary relevant mode based on different indicators, reflecting the role of the modality attention mechanism in task adaptive regression.
[0214] Step S303, Multi-task adaptive weighted loss and model training:
[0215] The temperature cycle index, moisture distribution index, and neuromuscular stability index correspond to different degrees of label fluctuation. Using fixed task weights can easily lead to numerical phenotypic indicators with larger error scales dominating model training.
[0216] This invention adjusts the error weights of each numerical phenotypic indicator by using learnable task prediction variance, and constrains the multi-task output structure by utilizing the health reference correlation between numerical phenotypic indicators. Specific steps are as follows: Figure 7 As shown, the overall structure of the multimodal graph attention regression network is illustrated, including: an input layer (expanding the multimodal feature set), a modality projection layer, a graph attention encoding layer (layers 1 and 2), a task modality attention layer, a linear regression layer, and an output layer (predicted values of temperature cycling index, water distribution index, and neuromuscular stability index). The position of the modality edge weight matrix is also shown.
[0217] 1) Input the extended multimodal feature set corresponding to the training samples into the constructed multimodal graph attention regression network to obtain the predicted values of temperature cycle index, water distribution index and neuromuscular stability index, and calculate the regression error with the generated continuous numerical phenotypic labels respectively.
[0218] In practical implementation, the set of numerical phenotypic indicators is denoted as... For the first The training sample and the first The number of numerical phenotypic indicators, with a regression error of , .in, Indicates the first The training sample of the th training sample A series of consecutive numerical phenotypic labels corresponding to numerical phenotypic indicators; Indicates the first The training sample of the th training sample The predicted digital phenotype values output by the multimodal graphical attention regression network corresponding to each digital phenotype indicator.
[0219] 2) Set a learnable log-variance parameter for each numerical phenotypic indicator. And let the corresponding task prediction variance be Using the log-variance parameter ensures that the task prediction variance is always greater than 0, avoiding negative values when directly training the variance parameter.
[0220] Specifically, the regression error of a single numerical phenotypic indicator is adaptively weighted based on the task prediction variance to obtain the task adaptive loss term, which is expressed as:
[0221] ;
[0222] in, Indicates the first The training sample of the th training sample The task-adaptive loss term corresponding to each numerical phenotypic metric; Represents the error weights of the corresponding numerical phenotypic indicators; The larger the value, the higher the uncertainty of the current task prediction, and the smaller the corresponding regression error weight; This is used to limit the continuous increase of task prediction variance and prevent the model from reducing the regression error contribution simply by increasing the task prediction variance.
[0223] In one embodiment, the task prediction variance can be initialized using the variance of each numerical phenotypic label in the training set. For example, when the variance of the temperature cycle index label is 0.09 and the variance of the moisture distribution index label is 0.01, the corresponding correspondence variance parameters can be initialized to... and At this point, the initial regression error weight of the moisture distribution index is approximately nine times that of the initial regression error weight of the temperature cycle index, and the subsequent weights are automatically adjusted through model training.
[0224] 3) Based on the three consecutive numerical phenotypic labels generated in step S203 from the health reference database, calculate the Pearson correlation coefficient between the labels to obtain the health reference correlation matrix. Health Reference Matrix The dimension is It is used to characterize the statistical correlation structure among temperature cycling index, moisture distribution index and neuromuscular stability index under healthy reference conditions.
[0225] In specific implementation, for all health reference samples in the health reference database, three consecutive numeric phenotypic labels are generated according to step S203, resulting in... The label matrix is generated, with three columns corresponding to the temperature cycle index, water distribution index, and neuromuscular stability index, respectively. Then, the Pearson correlation coefficients between these three columns are calculated to obtain a 3×3 health reference correlation matrix. The diagonal elements are 1, and the off-diagonal elements are the Pearson correlation coefficients between the corresponding two numeric phenotypic labels.
[0226] Specifically, in each training batch, the predicted values of the three numerical phenotypes of all samples in the batch are arranged column by column, and the Pearson correlation coefficients between the columns are calculated to obtain the prediction correlation matrix. .
[0227] In practical implementation, within the current training batch, the predicted values of the three numerical phenotypes of all samples in the batch are arranged in sample order to obtain... The prediction matrix is obtained, with three columns corresponding to the temperature cycle index, moisture distribution index, and neuromuscular stability index, respectively. The Pearson correlation coefficients among these three columns are calculated to obtain a 3×3 prediction correlation matrix. .
[0228] Specifically, based on the predicted correlation matrix Health Reference Matrix The differences between them are used to construct a relevant consistency loss term, which is expressed as:
[0229] ;
[0230] in, The relevant consistency loss term represents the predicted correlation matrix. Health Reference Matrix The sum of squares of the differences between them is used to constrain the correlation structure between the multi-task outputs to approximate a healthy reference statistical relationship; Denotes the Frobenius norm; This represents the correlation consistency regularization strength parameter, used to adjust the contribution of correlation structure constraints to the total loss of network training; for example, it can be set to 0.01.
[0231] It should be noted that the correlation consistency loss term does not require the predicted values of the three digit phenotypes to be the same as each other. Instead, it constrains the direction of their correlation changes in the training batch to be close to the healthy reference statistics, thereby reducing the contradictory prediction results generated when optimizing each digit phenotype indicator individually.
[0232] 4) Combine the task-adaptive loss term with the relevant consistency loss term for all numerical phenotypic metrics to obtain the total network training loss. , is represented as: ;in, This indicates the number of training samples contained in a single training batch, for example, it can be 32 or 64; Indicates the sample index within the training batch; The total training loss represents the total training loss of the network, which simultaneously includes task prediction error and multi-index related structural constraints.
[0233] In one embodiment, backpropagation is used to calculate the gradient of the total training loss of the network with respect to the modality projection matrix, graph attention parameters, task attention parameters, regression layer parameters, and learnable log-variance parameters, and the Adam optimizer is used to update the above trainable parameters. The initial learning rate can be 0.001, and the number of training epochs can be 100 to 200. After each training epoch, the mean absolute error of the three numerical phenotypic indicators is calculated using validation samples, and the model parameters corresponding to the minimum mean absolute error are saved.
[0234] It should be noted that the health reference experience distribution, the complete sample pool used for missing value imputation, and the modal edge weight matrix are all relevant. Health Reference Matrix All parameters are determined before model training and do not participate in gradient updates; modal projection matrix, graph attention layer parameters, task attention parameters, regression layer parameters, and learnable log-variance parameters are updated through network training.
[0235] It should also be noted that this step automatically balances the error contributions of different numerical phenotypic indicators by assessing the task prediction variance, and maintains the overall physiological relationship of multiple indicator outputs through relevant consistency constraints. Based on this, it avoids tasks with large label fluctuations from dominating the main optimization direction for a long time, while reducing the probability of unreasonable combinations among multiple numerical phenotypic prediction results.
[0236] It should also be noted that the specific structure of the multimodal graph attention regression network is shown in Table 2 (default number of graph attention encoding layers). ).
[0237] Table 2. Specific Structure of Multimodal Graph Attention Regression Network
[0238] In one embodiment, such as Figure 8As shown, the predicted values of the numerical phenotypes for the temperature cycling index, water distribution index, and neuromuscular stability index are compared with the scatter plots of continuous numerical phenotype labels, and an ideal prediction reference line is plotted. Experimental results show that the predicted values are close to the label values, and the scatter plots are mainly distributed near the diagonal line, indicating that the model has high prediction accuracy for all three numerical phenotype indices. The horizontal axis of the three subplots represents continuous numerical phenotype labels (dimensionless), and the vertical axis represents the predicted numerical phenotype values (dimensionless), corresponding to the temperature cycling index, water distribution index, and neuromuscular stability index, respectively.
[0239] In one embodiment, the digital phenotypic quantification of the multimodal health data of the object to be evaluated includes: based on the health reference empirical distribution, covariance matrix, complete sample pool, and soft compression boundary adjustment parameters saved during the training phase, performing empirical quantile mapping, intramodal local nearest neighbor imputation, and outlier soft compression sequentially on the multimodal health data to be evaluated to obtain the standardized imputation compressed feature vector and the completed physical feature value to be evaluated; calculating the standardized phase angle-water ratio coupling feature and the standardized electromyographic fatigue index to be evaluated based on the completed physical feature value to be evaluated, and combining them with the corresponding standardized imputation compressed feature vector to be evaluated to obtain the extended multimodal feature set to be evaluated; inputting the extended multimodal feature set to be evaluated into the trained multimodal graph attention regression network according to the feature arrangement order saved during the training phase, and performing modal projection, modal weight scaling graph attention encoding, task modal attention aggregation, and linear regression sequentially based on the modal edge weight matrix saved during the training phase to obtain the predicted values of temperature cycle index, water distribution index, and neuromuscular stability index; in the application phase, the health reference statistics, modal edge weight matrix, or model parameters are not re-determined based on individual objects to be evaluated.
[0240] Step S4: Quantitative application of digital phenotypic representation of multimodal health data:
[0241] It should be noted that after completing the training of the multimodal graph attention regression network, the bioelectrical impedance analysis modality, infrared thermography modality, surface electromyography modality, and subjective scale modality of the subject to be evaluated are obtained. Based on the health reference experience distribution, covariance matrix, complete sample pool, and soft compression boundary adjustment parameters saved in step S201, empirical quantile mapping, missing value imputation, and outlier soft compression are performed on the multimodal health data to be evaluated. Following step S202, the standardized phase angle-water ratio coupling feature and standardized electromyography fatigue index are calculated to obtain the extended multimodal feature set to be evaluated.
[0242] The extended multimodal feature set to be evaluated is input into a trained multimodal graph attention regression network. This network sequentially passes through modal projection, modal edge-weight scaling graph attention encoding, task modal attention aggregation, and a linear regression layer to obtain predicted values for the temperature cycle index, water distribution index, and neuromuscular stability index. The larger the predicted values of these three numerical phenotypes, the greater the deviation of the evaluated subject from a healthy reference state in terms of the corresponding physiological function.
[0243] It should be noted that the application phase must continue to use the health reference statistics, feature order, modal weight matrix and model parameters saved in the training phase, and should not re-estimate the health reference distribution or modal connectivity based on a single object to be evaluated, so as to ensure that the digital phenotypic prediction results between different detection times and different objects to be evaluated have a consistent comparison benchmark.
[0244] In one embodiment, as an example, suppose that after a certain subject is input into a trained multimodal graph attention regression network, the following predictions are obtained: temperature cycling index prediction value: 0.35; water distribution index prediction value: 0.08; neuromuscular stability index prediction value: 0.72. This indicates that the neuromuscular stability function of the subject being evaluated deviates most significantly from the healthy reference state, the temperature cycling function deviates to a certain extent, and the water distribution function is close to the healthy reference state.
[0245] According to another embodiment of the present invention, a TCM digital phenotype prediction system based on multimodal health data fusion is also provided. This TCM digital phenotype prediction system includes: a reference construction module, used to collect health reference samples based on multimodal health data from training samples, and to form health reference statistical information corresponding to each modality feature by constructing a health reference database; a feature generation module, used to obtain standardized imputed compressed feature vectors and completed physical feature values based on the health reference statistical information; to construct physiological coupling features based on the completed physical feature values, and to combine the physiological coupling features with the standardized imputed compressed feature vectors to generate an extended multimodal feature set; and to generate a feature based on the degree of deviation of the extended multimodal feature set from the health reference state. The system comprises three modules: a continuous digital phenotypic labeling module and a model training module. The training module constructs a modal edge weight matrix based on cross-modal partial correlations in the extended multimodal feature set corresponding to the health reference samples, and trains a multimodal graphical attention regression network using the extended multimodal feature set corresponding to the training samples and the continuous digital phenotypic labels. The multimodal graphical attention regression network performs graphical attention regression on the extended multimodal feature set using the modal edge weight matrix. The phenotypic quantification module quantifies the digital phenotypic of the multimodal health data of the evaluated object and obtains predicted digital phenotypic values based on the trained multimodal graphical attention regression network. These predicted digital phenotypic values include predicted values for the temperature cycle index, water distribution index, and neuromuscular stability index.
[0246] In one embodiment, an electronic device is provided. For example... Figure 9 As shown, the electronic device includes a processor, a system bus, main memory, and auxiliary memory. The processor communicates with both the main memory and the auxiliary memory via the system bus.
[0247] The processor provides computational and control capabilities. Main memory, or internal memory, provides the environment for the computer program to run. Secondary memory is a non-volatile storage medium that stores the operating system and the computer program. When the processor executes the computer program, it implements the steps described in the above embodiments.
[0248] Those skilled in the art will understand that Figure 9 The structure shown is only a block diagram of a part of the structure related to the present invention and does not constitute a limitation. The specific electronic device may include more or fewer components, or have different component arrangements.
[0249] In addition, the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps in the above embodiments.
[0250] The computer-readable storage medium includes main memory or secondary memory. The main memory may be random access memory (RAM), and the secondary memory may be a non-volatile storage medium such as read-only memory (ROM), flash memory, hard disk, or optical storage.
[0251] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware.
[0252] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for predicting TCM digital phenotypes based on multimodal health data fusion, characterized in that, include: Health reference samples are collected based on the multimodal health data of the training samples, and a health reference database is constructed to form health reference statistical information corresponding to each modality feature. Based on health reference statistics, standardized and filled compressed feature vectors and completed physical feature values are obtained; Physiological coupling features are constructed based on the completed physical feature values, and the physiological coupling features are combined with the standardized imputed and compressed feature vectors to generate an extended multimodal feature set; Continuous numerical phenotypic labels are generated based on the degree of deviation of the extended multimodal feature set from the healthy reference state; A modality edge weight matrix is constructed based on the cross-modal partial correlation relationships in the extended multimodal feature set corresponding to the health reference samples, and a multimodal graph attention regression network is trained using the extended multimodal feature set corresponding to the training samples and continuous numerical phenotypic labels; wherein, the multimodal graph attention regression network is used to perform graph attention regression on the extended multimodal feature set using the modality edge weight matrix; The digital phenotype of the multimodal health data of the subjects to be evaluated is quantified, and the predicted value of the digital phenotype is obtained based on the trained multimodal graph attention regression network.
2. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 1, characterized in that, The methods for obtaining the completed physical feature values include: The original, non-missing feature values are compared with the same features in the health reference database in numerical order to determine the empirical rank of the original feature values in the health reference distribution. The cumulative probability is determined based on the empirical rank, and then mapped to the quantile standardized eigenvalues using the standard normal distribution quantile function. The Mahalanobis distance between the candidate sample and the current sample is calculated based on the covariance matrix of the corresponding modality in the health reference database and the set of observation feature indices. Local nearest neighbor samples are selected based on Mahalanobis distance, and the quantile standardized feature values and original physical feature values at the missing positions are weighted and filled according to the distance weights corresponding to the local nearest neighbor samples, so as to obtain the filled quantile standardized feature values and the filled physical feature values.
3. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 2, characterized in that, The methods for obtaining the standardized, imputed, compressed feature vectors include: Perform hyperbolic tangent soft compression on the filled quantile normalized eigenvalues to obtain normalized filled compressed eigenvalues; The standardized imputed compressed feature values are arranged in a fixed feature order to obtain the standardized imputed compressed feature vector of the corresponding mode; wherein, the complete sample pool, covariance matrix and soft compression boundary adjustment parameters are determined in the training phase and remain fixed in the application phase.
4. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 1, characterized in that, The physiological coupling characteristics include phase angle-water ratio coupling characteristics and electromyographic fatigue index; The construction methods of the phase angle-moisture ratio coupling feature include: From the complete physical characteristic values corresponding to the bioelectrical impedance analysis modes, the resistance values, reactance values, intracellular water content and extracellular water content corresponding to low frequency and high frequency are read. The phase angle-water ratio coupling characteristics are determined based on the direction of high and low frequency impedance changes and the relationship between intracellular and extracellular water distribution. Using the empirical distribution of the phase angle-moisture ratio coupling features corresponding to the health reference samples in the health reference database as a reference, empirical quantile mapping and hyperbolic tangent soft compression are sequentially performed on the phase angle-moisture ratio coupling features corresponding to the training samples and the health reference samples to obtain standardized phase angle-moisture ratio coupling features. The electromyographic fatigue index is constructed in the following ways: The root mean square value of the quadriceps femoris, the average frequency of the tibialis anterior muscle, and the left-right coordination index are read from the completed physical characteristic values corresponding to the surface electromyography mode. Combined with the reference center of the root mean square value of the quadriceps femoris, the reference center of the average frequency of the tibialis anterior muscle, and the range of the left-right coordination index in the health reference database, the electromyography fatigue index is determined.
5. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 4, characterized in that, The methods for generating the extended multimodal feature set include: Using the empirical distribution of the electromyography fatigue index corresponding to the health reference sample in the health reference database as a reference, empirical quantile mapping and hyperbolic tangent soft compression are performed on the electromyography fatigue index corresponding to the training sample and the health reference sample to obtain the standardized electromyography fatigue index. The standardized electromyography fatigue index is then concatenated to the standardized filling and compression feature vector corresponding to the surface electromyography mode to obtain the extended surface electromyography feature vector. The standardized, filled, and compressed feature vectors corresponding to the infrared thermal imaging modality and the subjective scale modality are used as the extended infrared thermal imaging feature vector and the extended subjective scale feature vector, respectively. The extended bioelectrical impedance analysis feature vector, extended infrared thermography feature vector, extended surface electromyography feature vector, and extended subjective scale feature vector are combined to obtain an extended multimodal feature set; wherein, the extended bioelectrical impedance analysis feature vector is obtained by splicing the standardized phase angle-water ratio coupling feature to the standardized filling compression feature vector corresponding to the bioelectrical impedance analysis mode.
6. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 1, characterized in that, Continuous numerical phenotypic labels are generated based on the deviation of the extended multimodal feature set from the healthy reference state, including: The characteristic sets of indicators for temperature cycling index, moisture distribution index and neuromuscular stability index were determined respectively; Based on the mean and standard deviation of the same extended features in the health reference database, the standardized squared deviation of the index features within each objective modality relative to the health reference state is calculated, and the standardized squared deviation of the same objective modality is averaged to obtain the objective modality deviation. The modality fusion weights are determined based on the absolute values of the correlation coefficients between each extended feature and its corresponding core physiological reference quantity. The subjective scale modal deviation is determined based on the standardized squared deviation of the subjective rating items relative to the health reference state and the absolute value of the correlation coefficient between the subjective rating items and the corresponding core physiological reference quantities. The objective modal deviation and the subjective scale modal deviation are fused according to the modal fusion weight to obtain the comprehensive deviation. Logistic compression is then applied to the comprehensive deviation to obtain the continuous digital phenotypic label.
7. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 1, characterized in that, The modal edge weight matrix is constructed in the following ways: The feature vectors of each extended modality of the healthy reference sample are centered, and principal component analysis is performed on the centered extended modality feature vectors. The score of the first principal component is used as the modality comprehensive score of the corresponding modality. A modal composite score correlation matrix is constructed based on the correlation between the composite scores of each modality, and the accuracy matrix is obtained by inverting the modal composite score correlation matrix; the partial correlation coefficients of any two modes after controlling for the influence of other modes are determined based on the accuracy matrix. Modal connections are filtered using the absolute value of the partial correlation coefficient and the partial correlation strength threshold. The filtered modal weights are arranged in a fixed modal order to obtain the modal weight matrix, and the self-connected modal weights of each mode are set to a reserved state. The modal weight matrix remains fixed during the model training and application phases.
8. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 1, characterized in that, The multimodal graph attention regression network includes a modality projection layer, a graph attention encoding layer, a task modality attention layer, and a linear regression layer; Graph attention regression is performed on an extended multimodal feature set using the modality edge weight matrix, including: By inputting the feature vectors of each extended modality into the corresponding modality projection matrix through the modality projection layer, the feature vectors of extended modality with different dimensions are mapped to the common latent space, thus obtaining the initial features of each modality node; The graph attention encoding layer identifies the modal nodes connected by the non-zero modal weights corresponding to the current modal node in the modal edge weight matrix as neighboring modal nodes; the node features of neighboring modal nodes are aggregated based on the modal edge weight scaling attention coefficients, and the final node features of each modal node are obtained iteratively. Through the task modality attention layer, task modality attention weights are calculated based on the features of each final node for different numerical phenotypic indicators, and the features of each final node are weighted and fused to obtain the task feature vector of the corresponding numerical phenotypic indicator. The linear regression layer maps the feature vectors of each task to the corresponding numerical phenotypic predicted values.
9. The method for predicting TCM digital phenotypes based on multimodal health data fusion according to claim 1, characterized in that, The training methods for the multimodal graph attention regression network include: The extended multimodal feature set corresponding to the training samples is input into the multimodal graph attention regression network to obtain the digital phenotype prediction value corresponding to each digital phenotype index. The regression error is determined based on the digital phenotype prediction value and the corresponding continuous digital phenotype label. Learnable log-variance parameters are set for each digital phenotypic indicator, and the regression error is adaptively weighted according to the corresponding task prediction variance to obtain the task adaptive loss term. A health reference correlation matrix is constructed based on the correlation between the continuous digital phenotypic labels corresponding to the health reference samples, and a prediction correlation matrix is constructed based on the correlation between the predicted values of each digital phenotypic in the same training batch. The correlation consistency loss term is determined based on the difference between the prediction correlation matrix and the health reference correlation matrix. The task-adaptive loss term corresponding to each numerical phenotypic indicator is combined with the relevant consistency loss term to obtain the total network training loss. The modality projection parameters, graph attention parameters, task attention parameters, regression layer parameters, and learnable log-variance parameters are updated based on the total network training loss.
10. A TCM digital phenotype prediction system based on multimodal health data fusion, used to implement the TCM digital phenotype prediction method based on multimodal health data fusion as described in any one of claims 1-9, characterized in that, The system includes: The reference construction module is used to collect health reference samples based on the multimodal health data of the training samples, and to form health reference statistical information corresponding to each modality feature by constructing a health reference database. The feature generation module is used to obtain standardized imputed compressed feature vectors and completed physical feature values based on health reference statistical information; construct physiological coupling features based on the completed physical feature values; combine the physiological coupling features with the standardized imputed compressed feature vectors to generate an extended multimodal feature set; and generate continuous numerical phenotypic labels according to the degree of deviation of the extended multimodal feature set from the health reference state. The model training module is used to construct a modality edge weight matrix based on the cross-modal partial correlation in the extended multimodal feature set corresponding to the health reference sample, and to train a multimodal graph attention regression network with the extended multimodal feature set corresponding to the training sample and continuous numerical phenotypic labels; wherein, the multimodal graph attention regression network is used to perform graph attention regression on the extended multimodal feature set using the modality edge weight matrix; The phenotypic quantification module is used to quantify the digital phenotypic data of the multimodal health data of the subject to be evaluated, and to obtain the digital phenotypic prediction value based on the trained multimodal graph attention regression network.
