Physiological age determination method and device
The physiological age prediction model trained through machine learning algorithms, combined with coding and prediction training tasks, solves the problem of low physiological age measurement accuracy in the existing technology and achieves higher-precision physiological age prediction.
Patent Information
- Application Number
- CN202310232826.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing technology, when the methylation clock is used to measure physiological age, due to differences in the growth environment and genetic genes of individuals, the measurement accuracy is not high, and the true physiological condition of the individual cannot be accurately fed back.
A machine learning algorithm is used to train the physiological age prediction model. By combining the coding training task and the prediction training task, the coding unit and the prediction unit are generated. The prediction training task is started based on the results of the coding training task to achieve accurate prediction of physiological age.
The accuracy of physiological age prediction is improved, making the physiological age model have higher accuracy and in-depth prediction capabilities, and can more accurately reflect an individual's physiological condition.
Smart Images

Figure CN118614865A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine learning technology, and more particularly to a method and device for determining physiological age. Background Art
[0002] Chronological age refers to the state of growth and aging of an individual described by time. However, due to various reasons such as differences in external factors in the environment where individuals grow and develop, there may be differences in the physiological conditions of individuals of the same chronological age. Therefore, the true physiological condition of an individual can more intuitively reflect the individual's physical condition. The methylation clock can calculate the individual's physiological age based on the methylation degree of the sites on the genome. That is, the test method used by the methylation clock is to measure the progress of the DNA methylation clock through the weight of the methylation degree of the CpG (cytosine-phosphate-guanine) site on the genome, thereby inferring the individual's physiological age; although it can calculate the individual's physiological age, because most individuals have different growth environments and physical genetic genes, the accuracy of calculating the physiological age is not high, so an effective solution is urgently needed to solve the above problems. Summary of the invention
[0003] In view of this, the embodiments of this specification provide a method for determining physiological age. This specification also relates to a training method for two physiological age prediction models, a physiological age determination device, two physiological age prediction model training devices, a computing device, and a computer-readable storage medium to solve the technical defects existing in the prior art.
[0004] According to a first aspect of an embodiment of this specification, a method for determining physiological age is provided, comprising:
[0005] The target source methylation data of the user is processed through the coding unit in the physiological age prediction model to obtain a coding vector;
[0006] Processing the encoding vector by a prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user;
[0007] The training of the physiological age prediction model is completed by a coding training task and a prediction training task, and the prediction training task is started according to the task execution result of the coding training task.
[0008] Optionally, after the step of processing the coding vector by the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user is performed, the step further includes:
[0009] When it is determined that the user has an age error according to the attribute information and the physiological age of the user, reading reference phenotype information according to the attribute information;
[0010] Based on the reference phenotype information and the user phenotype information of the target user, phenotype explanation information corresponding to the age error is generated.
[0011] Optionally, before the step of processing the encoding vector by the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user is performed, the step further includes:
[0012] Inputting the coding vector as a target source coding vector into a mapping unit in the physiological age prediction model for processing to obtain at least one mapping source coding vector;
[0013] The step of processing the coding vector by a prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user includes:
[0014] The target source coding vector and the at least one mapping source coding vector are processed respectively by a prediction unit in the physiological age prediction model, and the physiological age corresponding to the user is determined according to the processing results.
[0015] Optionally, the processing the target source coding vector and the at least one mapping source coding vector respectively by a prediction unit in the physiological age prediction model, and determining the physiological age corresponding to the user according to the processing results, includes:
[0016] Determining, in the prediction units of the physiological age prediction model, a target source prediction unit associated with the target source coding vector and a mapping source prediction unit associated with each mapping source coding vector;
[0017] Inputting the target source coding vector into the target source prediction unit for processing to obtain a target source age vector, and inputting each mapping source coding vector into the corresponding mapping source prediction unit for processing to obtain at least one mapping source age vector;
[0018] The target source age vector and the at least one mapping source age vector are processed by an age fusion unit in the prediction unit to obtain a physiological age corresponding to the user.
[0019] Optionally, when determining that the user has an age error according to the attribute information and the physiological age of the user, reading reference phenotype information according to the attribute information includes:
[0020] Acquire attribute information of the user, and extract the user's age from the attribute information;
[0021] When it is determined that the age error exists according to the user age and the physiological age, the reference phenotype information is read according to the user age and the user gender in the attribute information.
[0022] Optionally, reading the reference phenotype information according to the user age and the user gender in the attribute information includes:
[0023] Extracting the user age and the user gender from the attribute information, and constructing a user attribute feature based on the user age and the user gender;
[0024] Inputting the user attribute features into phenotypic prediction models corresponding to multiple phenotypic dimensions for processing, and obtaining sub-baseline phenotypic information corresponding to each phenotypic dimension;
[0025] The sub-benchmark phenotypic information corresponding to each phenotypic dimension is integrated to obtain the benchmark phenotypic information.
[0026] Optionally, the task execution process of the encoding training task and the prediction training task includes:
[0027] Acquire first sample data, second sample data, and third sample data;
[0028] Training an initial coding unit in an initial physiological age prediction model by using the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data, as execution of the coding training task;
[0029] When the encoding training task is completed, the initial prediction unit in the initial physiological age prediction model is trained by using the third sample data and the sample physiological age corresponding to the third sample data, as the execution of the prediction training task;
[0030] Based on the trained initial coding unit and the initial prediction unit, the physiological age prediction model including the coding unit and the prediction unit is generated.
[0031] Optionally, the training of an initial coding unit in an initial physiological age prediction model by using the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data, includes:
[0032] Inputting the first sample data and the second sample data into an initial physiological age prediction model, and processing the first sample data and the second sample data respectively by an initial coding unit in the initial physiological age prediction model to obtain a first coding vector and a second coding vector;
[0033] constructing a merged coding vector according to the first coding vector and the second coding vector, and processing the merged coding vector through an initial discriminant unit in the initial physiological age prediction model to obtain a first predicted age difference;
[0034] Determine a first sample age difference according to the first sample data and the second sample data, and calculate a first loss value based on the first sample age difference and the first predicted age difference;
[0035] The initial encoding unit is adjusted based on the first loss value until the encoding unit that satisfies the first stop condition is obtained.
[0036] Optionally, when the encoding training task is completed, training the initial prediction unit in the initial physiological age prediction model by using the third sample data and the sample physiological age corresponding to the third sample data includes:
[0037] When the encoding training task is completed, inputting the third sample data into the encoding unit for processing to obtain a third encoding vector;
[0038] Processing the third coding vector by an initial prediction unit in the initial physiological age prediction model to obtain a first predicted physiological age;
[0039] Calculating a second loss value according to the sample physiological age corresponding to the third sample data and the first predicted physiological age;
[0040] The initial prediction unit is adjusted based on the second loss value until the prediction unit that satisfies the second stop condition is obtained.
[0041] Optionally, when the physiological age prediction model includes the mapping unit and the age fusion unit, the training of the physiological age prediction model includes:
[0042] Acquire fourth sample data, fifth sample data, and sixth sample data;
[0043] Training an initial encoding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data;
[0044] When the initial encoding unit and the initial mapping unit are trained, the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model are trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data;
[0045] Based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, the physiological age prediction model including the coding unit, the mapping unit, the prediction unit and the age fusion unit is generated.
[0046] Optionally, the training of an initial encoding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data, comprises:
[0047] Inputting the fourth sample data and the fifth sample data into an initial physiological age prediction model, and processing the fourth sample data and the fifth sample data respectively by an initial coding unit in the initial physiological age prediction model to obtain a fourth coding vector and a fifth coding vector;
[0048] Processing the fifth coding vector by an initial mapping unit in the initial physiological age prediction model to obtain a coding mapping vector, and constructing a fused coding vector according to the fourth coding vector and the coding mapping vector;
[0049] Processing the fused coding vector by an initial discriminant unit in the initial physiological age prediction model to obtain a second predicted age difference, and determining a second sample age difference according to the fourth sample data and the fifth sample data;
[0050] A third loss value is calculated based on the second sample age difference and the second predicted age difference, and the initial encoding unit and the initial mapping unit are adjusted based on the third loss value until the encoding vector and the mapping unit that meet the third stop condition are obtained.
[0051] Optionally, when the initial encoding unit and the initial mapping unit are trained, the initial prediction unit in the initial physiological age prediction model is trained by the sixth sample data and the sample physiological age corresponding to the sixth sample data, including:
[0052] When the initial encoding unit and the initial mapping unit are trained, the sixth sample data is input into the encoding unit for processing to obtain a sixth encoding vector, and the sixth encoding vector is processed by the mapping unit to obtain a mapping encoding vector;
[0053] Processing the sixth coding vector by an initial target source prediction unit in the initial prediction unit to obtain a predicted target source age, and processing the mapping coding vector by an initial mapping source prediction unit in the initial prediction unit to obtain a predicted mapping source age;
[0054] Calculating a fourth loss value according to the sample physiological age corresponding to the sixth sample data and the predicted target source age, and calculating a fifth loss value according to the sample physiological age corresponding to the sixth sample data and the predicted mapping source age;
[0055] Adjusting the parameters of the initial target source prediction unit based on the fourth loss value until the target source prediction unit that satisfies a fourth stop condition is obtained, and adjusting the parameters of the initial mapping source prediction unit based on the fifth loss value until the mapping source prediction unit that satisfies a fifth stop condition is obtained;
[0056] The prediction unit is determined based on the target source prediction unit and the mapped source prediction unit.
[0057] Optionally, when the initial encoding unit and the initial mapping unit are trained, the initial age fusion unit in the initial physiological age prediction model is trained by the sixth sample data and the sample physiological age corresponding to the sixth sample data, including:
[0058] When the initial encoding unit and the initial mapping unit are trained, the predicted target source age and the predicted mapping source age are input into the initial age fusion unit in the initial physiological age prediction model for processing to obtain a second predicted physiological age;
[0059] Calculating a sixth loss value according to the sample physiological age corresponding to the sixth sample data and the second predicted physiological age;
[0060] The initial age fusion unit is adjusted based on the sixth loss value until the age fusion unit that meets the sixth stop condition is obtained.
[0061] Optionally, the training of a phenotype prediction model corresponding to any phenotype dimension includes:
[0062] Extract phenotype sample pairs in the phenotype sample set;
[0063] Inputting the phenotype sample pair into an initial phenotype prediction model for processing to obtain predicted phenotype information;
[0064] According to the sample phenotype information in the phenotype sample pair and the predicted phenotype information, the initial phenotype prediction model is adjusted until a phenotype prediction model that meets the training stop condition is obtained.
[0065] According to a second aspect of an embodiment of this specification, a method for training a physiological age prediction model is provided, comprising:
[0066] Acquire first sample data, second sample data, and third sample data;
[0067] Training an initial coding unit in an initial physiological age prediction model by using the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data;
[0068] When the initial coding unit is trained, the initial prediction unit in the initial physiological age prediction model is trained by using the third sample data and the sample physiological age corresponding to the third sample data;
[0069] Based on the trained initial coding units and initial prediction units, a physiological age prediction model including coding units and prediction units is generated.
[0070] According to a third aspect of an embodiment of this specification, another method for training a physiological age prediction model is provided, comprising:
[0071] Acquire fourth sample data, fifth sample data, and sixth sample data;
[0072] Training an initial encoding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data;
[0073] When the initial encoding unit and the initial mapping unit are trained, the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model are trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data;
[0074] Based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, a physiological age prediction model including coding unit, mapping unit, prediction unit and age fusion unit is generated.
[0075] According to a fourth aspect of the embodiments of this specification, there is provided a device for determining physiological age, comprising:
[0076] An encoding module, configured to process the target source methylation data of the user through the encoding unit in the physiological age prediction model to obtain an encoding vector;
[0077] A prediction module, configured to process the encoding vector through a prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user;
[0078] The training of the physiological age prediction model is completed by a coding training task and a prediction training task, and the prediction training task is started according to the task execution result of the coding training task.
[0079] According to a fifth aspect of an embodiment of this specification, a training device for a physiological age prediction model is provided, comprising:
[0080] A first acquisition module is configured to acquire first sample data, second sample data and third sample data;
[0081] A first training module is configured to train an initial coding unit in an initial physiological age prediction model through the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data;
[0082] A second training module is configured to train an initial prediction unit in the initial physiological age prediction model by using the third sample data and the sample physiological age corresponding to the third sample data when the initial coding unit training is completed;
[0083] The first generating module is configured to generate a physiological age prediction model including a coding unit and a prediction unit based on the trained initial coding unit and the initial prediction unit.
[0084] According to a sixth aspect of an embodiment of this specification, another training device for a physiological age prediction model is provided, comprising:
[0085] A second acquisition module is configured to acquire fourth sample data, fifth sample data and sixth sample data;
[0086] A third training module is configured to train an initial encoding unit and an initial mapping unit in an initial physiological age prediction model through the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data;
[0087] a fourth training module, configured to train an initial prediction unit and an initial age fusion unit in the initial physiological age prediction model by using the sixth sample data and the sample physiological age corresponding to the sixth sample data when the initial encoding unit and the initial mapping unit are trained;
[0088] The second generation module is configured to generate a physiological age prediction model including a coding unit, a mapping unit, a prediction unit and an age fusion unit based on the trained initial coding unit, the initial mapping unit, the initial prediction unit and the initial age fusion unit.
[0089] According to a seventh aspect of an embodiment of this specification, there is provided a computing device, including:
[0090] Memory and processor;
[0091] The memory is used to store computer-executable instructions, and the processor is used to implement the steps of the physiological age determination method or the physiological age prediction model training method when executing the computer-executable instructions.
[0092] According to an eighth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, which, when executed by a processor, implement the steps of the physiological age determination method or the physiological age prediction model training method.
[0093] The physiological age determination method provided in this implementation can be implemented by a machine learning algorithm in order to accurately measure the physiological age of different users and ensure accuracy. After obtaining the target source methylation data of the user, the target source methylation data can be first input into the trained physiological age prediction model, and the target source methylation data can be encoded by the encoding unit in the physiological age prediction model to obtain a low-dimensional encoding vector, and then the encoding vector is processed by the prediction unit in the physiological age prediction model, so that the user's physiological age can be obtained according to the processing result; and in order to make the physiological age prediction model have higher accuracy, it can be combined with the encoding training task and the prediction training task to complete the training, and the two task trainings have a progressive relationship, that is, the prediction training task is started by the task execution result of the encoding training task, so as to realize the training of a physiological age prediction model with sufficiently high encoding and prediction accuracy, so that it can learn a deeper level of prediction ability, so as to achieve the purpose of accurately predicting the physiological age, and facilitate the downstream business to perform subsequent task processing according to the physiological age. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] Figure 1 is a schematic diagram of a method for determining physiological age provided in an embodiment of this specification;
[0095] Figure 2 is a flow chart of a method for determining physiological age provided in an embodiment of this specification;
[0096] Figure 3a is a schematic diagram of initial coding unit training in a physiological age determination method provided in an embodiment of this specification;
[0097] Figure 3b is a schematic diagram of initial prediction unit training in a physiological age determination method provided in an embodiment of this specification;
[0098] Figure 3c is a schematic diagram of a physiological age prediction model in a physiological age determination method provided in an embodiment of this specification;
[0099] Figure 4a It is a schematic diagram of the training of the initial coding unit and the initial mapping unit in a method for determining physiological age provided in an embodiment of this specification;
[0100] Figure 4b It is a schematic diagram of training an initial prediction unit and an initial age fusion unit in a physiological age determination method provided in an embodiment of this specification;
[0101] Figure 4c is a schematic diagram of a physiological age prediction model in another physiological age determination method provided in an embodiment of this specification;
[0102] Figure 5 It is a schematic diagram of determining phenotypic interpretation information in a method for determining physiological age provided in an embodiment of this specification;
[0103] Figure 6 is a flow chart of a training method for a physiological age prediction model provided in an embodiment of this specification;
[0104] Figure 7 is a flow chart of another method for training a physiological age prediction model provided in an embodiment of this specification;
[0105] Figure 8 is a processing flow chart of a method for determining physiological age provided in an embodiment of this specification;
[0106] Fig. 9 is a processing flow chart of another method for determining physiological age provided in an embodiment of this specification;
[0107] Fig.10 It is a structural schematic diagram of a physiological age determination device provided in an embodiment of this specification;
[0108] Fig.11 It is a structural schematic diagram of a training device for a physiological age prediction model provided in an embodiment of this specification;
[0109] Fig.12 It is a structural schematic diagram of another training device for a physiological age prediction model provided in an embodiment of this specification;
[0110] Fig.13It is a structural block diagram of a computing device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0111] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0112] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0113] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0114] First, the terms involved in one or more embodiments of this specification are explained.
[0115] Physiological age: refers to the level of physiology and its functions reflected when a person reaches a certain chronological age, that is, the degree of physiology and its functions corresponding to a certain chronological age. It is an age measured from a medical and biological perspective. It indicates the degree of growth, maturity or aging of a person, and is the age expression of a person's physical condition. The main factors affecting physiological age are genetic factors, the nature of genetic factors and the results of their function. Generally speaking, physiological age increases with the growth of chronological age, and it will be affected by external factors and produce differences.
[0116] DNA methylation: DNA methylation is a form of chemical modification of DNA that can change genetic expression without changing the DNA sequence. DNA methylation refers to the covalent bonding of a methyl group to the 5th carbon position of cytosine in the genomic CpG dinucleotide under the action of DNA methyltransferase.
[0117] In this specification, a physiological age determination method is provided. This specification also relates to two physiological age prediction model training methods, a physiological age determination device, two physiological age prediction model training devices, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0118] In practical applications, although the methylation clock can predict an individual's physiological age, the evaluation results are seriously affected by genetic differences between individuals and differences in different tissue locations. At the same time, an individual's physiological level is affected by the interaction of all genes in the body, and the methylation age can only be predicted through sites in the region where sequences are considered to be relatively normal. Although the individual's physiological age can be measured, its accuracy is low and it is unable to provide feedback on the individual's true physiological age. Therefore, an effective solution is urgently needed to solve the above problems.
[0119] See also Figure 1 As shown in the schematic diagram, the physiological age determination method provided in this implementation can be implemented by a machine learning algorithm in order to accurately measure the physiological age of different users and ensure accuracy. After obtaining the target source methylation data of the user, the target source methylation data can be first input into the trained physiological age prediction model, and the target source methylation data can be encoded by the encoding unit in the physiological age prediction model to obtain a low-dimensional encoding vector, and then the encoding vector is processed by the prediction unit in the physiological age prediction model, so that the user's physiological age can be obtained according to the processing result; and in order to make the physiological age prediction model have higher accuracy, it can be combined with the encoding training task and the prediction training task to complete the training, and the two task trainings have a progressive relationship, that is, the prediction training task is started by the task execution result of the encoding training task, so as to realize the training of a physiological age prediction model with sufficiently high encoding and prediction accuracy, so that it can learn a deeper level of prediction ability, so as to achieve the purpose of accurately predicting the physiological age, and facilitate the downstream business to perform subsequent task processing according to the physiological age.
[0120] Figure 2 A flowchart of a method for determining physiological age according to an embodiment of the present specification is shown, which specifically includes the following steps:
[0121] Step S202: Process the target source methylation data of the user through the coding unit in the physiological age prediction model to obtain a coding vector.
[0122] Step S204, processing the coding vector through the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user; wherein the training of the physiological age prediction model is completed by a coding training task and a prediction training task, and the prediction training task is started according to the task execution result of the coding training task.
[0123] Specifically, methylation data refers to descriptive data that characterizes the degree of methylation of sites in the genome, which is computer-recognizable data and is used to predict physiological age in combination with a physiological age prediction model. Correspondingly, target source methylation data refers to methylation data corresponding to an organ source, which can be blood methylation data, which is extracted from a user's blood tissue sample; or saliva methylation data, which is extracted from a user's saliva tissue sample; or brain tissue methylation data, which is extracted from a user's brain tissue sample. In actual applications, the target source of methylation data can be selected according to actual needs, and this implementation does not make any restrictions here.
[0124] Correspondingly, the physiological age prediction model specifically refers to a machine learning model including a coding unit and a prediction unit, which is completed through supervised training. When training the physiological age prediction model, two stages of training tasks need to be completed, namely, the coding training task and the prediction training task. The coding training task is first executed to complete the coding unit in the training model; after the coding training task is completed, the prediction training task is started to complete the prediction unit in the training model, so as to train a physiological prediction model including a coding unit and a prediction unit, which is used to accurately predict the user's physiological age.
[0125] Among them, the encoding training task is the task of the encoding unit in the separate training model; the prediction training task is the task of the prediction unit in the separate training model, and the prediction training task is initiated based on the task execution result of the encoding training task. In other words, the prediction training task can only be executed after the encoding training task is completed, so that the encoding unit in the model is trained first, and then the prediction unit in the model is trained, so as to obtain a physiological age prediction model with high enough prediction accuracy, so that the physiological age of the user can be accurately predicted by combining the user's target source methylation data.
[0126] Based on this, when predicting the user's physiological age, in order to achieve higher prediction accuracy and be closer to the actual physiological age, the user's target source methylation data can be obtained first. Since it corresponds to the target source and can present the methylation level information of the genome, this feature can be used to use the pre-trained physiological age prediction model to achieve prediction. In order to enable the physiological age prediction model to learn the characteristics of methylation data and complete the prediction of physiological age based on methylation data, the training can be completed in the training phase using encoding training tasks and prediction training tasks, and the encoding unit and prediction unit can be trained in a progressive training manner, so that the physiological age prediction model has better prediction capabilities.
[0127] Furthermore, the acquired target source methylation data can be input into the coding unit in the physiological age prediction model for processing to obtain a low-dimensional coding vector, and then the coding unit is processed by the prediction unit in the physiological age prediction model to predict the user's physiological age from the vector expression of the coding vector, and output the physiological age prediction model, so that downstream business can be used based on the predicted physiological age; for example, the predicted physiological age can be used to predict diseases, thereby helping users prevent diseases in advance.
[0128] This embodiment describes the above method by taking the target source methylation data as the user's blood methylation data as an example. First, the user's blood methylation data is obtained, where the user is male and 30 years old; secondly, the blood methylation data is input into the trained physiological age prediction model, and the blood methylation data is processed by the encoding unit in the model to obtain the encoding vector corresponding to the blood methylation data; finally, the encoding vector is processed by the prediction unit to output the user's physiological age, and the user's physiological age is determined to be 32 years old, which is convenient for using this information to prevent related diseases.
[0129] The physiological age determination method provided in this implementation can be implemented by a machine learning algorithm in order to accurately measure the physiological age of different users and ensure accuracy. After obtaining the target source methylation data of the user, the target source methylation data can be first input into the trained physiological age prediction model, and the target source methylation data can be encoded by the encoding unit in the physiological age prediction model to obtain a low-dimensional encoding vector, and then the encoding vector is processed by the prediction unit in the physiological age prediction model, so that the user's physiological age can be obtained according to the processing result; and in order to make the physiological age prediction model have higher accuracy, it can be combined with the encoding training task and the prediction training task to complete the training, and the two task trainings have a progressive relationship, that is, the prediction training task is started by the task execution result of the encoding training task, so as to realize the training of a physiological age prediction model with sufficiently high encoding and prediction accuracy, so that it can learn a deeper level of prediction ability, so as to achieve the purpose of accurately predicting the physiological age, and facilitate the downstream business to perform subsequent task processing according to the physiological age.
[0130] Furthermore, in the training stage of the physiological age prediction model, in order to improve the prediction accuracy of the model and learn the relevant features in the methylation data for use in the application stage, the coding training task and the prediction training task can be combined; and in order to enable the coding unit corresponding to the coding training task and the prediction unit corresponding to the prediction training task to have better prediction capabilities, a progressive training method can be adopted, and in the training stage, a comparative learning method is adopted to increase the number of samples, so as to train a physiological age prediction model that meets the use requirements. In this embodiment, the specific implementation method is as follows: Steps 11 to 14.
[0131] Step 11, obtaining first sample data, second sample data and third sample data.
[0132] Step 12, training the initial coding unit in the initial physiological age prediction model through the first sample data and the second sample data, and the first sample age difference determined according to the first sample data and the second sample data, as the execution of the coding training task.
[0133] Specifically, the initial physiological age prediction model specifically refers to a model including an initial prediction unit and an initial coding unit, and the model has not been trained, wherein the initial coding unit and the initial prediction unit are untrained coding units and prediction units. Correspondingly, the first sample data and the second sample data specifically refer to the methylation data used to train the initial coding unit, and the first sample data and the second sample data both correspond to sample labels, and the label is the physiological age of the individual to which the sample data belongs. The third sample data specifically refers to the sample data used to train the initial prediction unit, and the data also has a label. Correspondingly, the first sample age difference specifically refers to the physiological age difference calculated based on the first sample data and the second sample data, which is used to achieve the purpose of expanding the number of samples by combining multiple pairs of sample data in the stage of training the initial coding unit, so that a coding unit that meets the usage requirements can be trained with less data.
[0134] Based on this, in the stage of training the initial coding units in the initial physiological age prediction model, considering that the number of samples contained in the sample set may be small, the coding units trained on this basis may have poor robustness. Therefore, in order to be able to train coding units with better coding capabilities, the method of selecting sample pairs can be used to cross-calculate the age difference, thereby achieving an exponential expansion of the number of samples with a small number of samples, which can be used as samples and labels for training the initial coding units, thereby achieving the training purpose.
[0135] That is to say, a part of the data can be first selected from the sample set as the first sample data and a part of the data as the second sample data, and then they can be paired to form the input of the initial coding unit, and the age difference of the first sample can be calculated for the paired samples as a label to train the initial coding unit; the training of the initial coding unit can be completed through continuous iteration, so that the coding unit has stronger coding ability.
[0136] On this basis, considering that the purpose of training the coding unit is to be able to convert high-dimensional input into low-dimensional features for prediction, and that training needs to be completed with paired samples, it is necessary to combine the discriminant unit to assist in the training of the initial coding unit, and to use contrastive learning and adversarial learning to ensure that the initial coding unit has better coding ability. In this embodiment, the specific implementation method is as follows:
[0137] The first sample data and the second sample data are input into an initial physiological age prediction model, and the first sample data and the second sample data are processed respectively by an initial coding unit in the initial physiological age prediction model to obtain a first coding vector and a second coding vector; a merged coding vector is constructed according to the first coding vector and the second coding vector, and is processed by an initial discrimination unit in the initial physiological age prediction model to obtain a first predicted age difference; a first sample age difference is determined according to the first sample data and the second sample data, and a first loss value is calculated based on the first sample age difference and the first predicted age difference; and the initial coding unit is adjusted based on the first loss value until the coding unit that meets the first stop condition is obtained.
[0138] Specifically, the first coding vector specifically refers to the coding vector obtained after the first sample data is encoded by the initial coding unit; the second coding vector specifically refers to the coding vector obtained after the second sample data is encoded by the initial coding unit; accordingly, the merged coding vector specifically refers to the coding vector obtained by fusing the first coding vector and the second coding vector.
[0139] Correspondingly, the initial discriminant unit specifically refers to a discriminator used to train the initial coding unit. Considering the small number of samples, the first predicted age difference can be predicted by the initial discriminant unit in combination with the fused coding vector, and the first sample age difference can be determined based on the first sample data and the second sample data. The first sample age difference is used as a label to adjust the parameters of the initial discriminant unit and the initial coding unit at the same time, so as to realize the training of the initial coding unit by adversarial learning, and will not be affected by the small number of samples.
[0140] For example, 1000 samples correspond to 1000 labels. If the model is trained with these 1000 sample pairs, it may only be able to iterate 1000 times, and it is impossible to train a model that meets the usage requirements; however, by calculating the sample age difference in pairs, 1000 sample pairs can generate 1 million samples and labels, thereby training a model with higher accuracy. Correspondingly, the first predicted age difference is the predicted age difference obtained after processing the merged coding vector through the initial discriminant model; the first sample age difference specifically refers to the age difference between the individuals corresponding to the first sample data and the second sample data; the first loss value specifically refers to the loss value calculated by the loss function, which is used to adjust the parameters of the initial coding unit and the initial discriminant unit; the first stop condition is the condition for stopping the training of the initial coding unit, such as the loss value comparison condition, the number of iterations condition, etc., and this embodiment does not make any restrictions here.
[0141] Based on this, when performing the coding training task to train the initial coding unit, considering the small number of samples, contrastive learning and adversarial learning can be used to train it; that is: after obtaining the first sample data and the second sample data, the first sample data and the second sample data can be respectively input into the initial coding unit for encoding processing, so as to obtain the first coding unit corresponding to the first sample data, and the second coding unit corresponding to the second sample data.
[0142] Thereafter, in order to be able to adjust the parameters of the initial coding unit, the first coding vector and the second coding vector can be fused first to obtain a merged coding vector. The merged coding vector cannot be directly used to calculate the loss function. Therefore, the initial discriminant unit can be embedded in the initial physiological age prediction model. The age difference is predicted by inputting the merged coding vector into the initial discriminant unit, thereby obtaining the first predicted age difference between the individuals to which the first sample data and the second sample data belong. Thereafter, the first loss value can be calculated based on the actual first sample age difference between the first sample data and the second sample data. The calculated first loss value can be used to adjust the parameters of the initial coding unit and the initial discriminant unit, thereby realizing the training of the initial coding unit by adversarial learning.
[0143] After each parameter adjustment is completed, the adjusted initial coding unit can be compared with the first stop condition. If the condition is not met, a new sample can be selected to repeat the above process for training until the first stop condition is met at a certain training stage. The training of the initial coding unit can be stopped, and the initial coding unit of this stage can be used as the coding unit in the model, so as to train the prediction unit capable of physiological age prediction based on the coding unit, thereby obtaining a physiological age prediction model that meets the use requirements and has higher accuracy.
[0144] In summary, by expanding the number of samples by adopting contrastive learning and training the initial coding unit based on this, it is possible to complete the training with a small number of samples. This can not only achieve the expected effect, but also save the number of samples obtained and effectively reduce the training cost of the coding unit.
[0145] Step 13, when the encoding training task is completed, the initial prediction unit in the initial physiological age prediction model is trained by the third sample data and the sample physiological age corresponding to the third sample data, as the execution of the prediction training task.
[0146] Specifically, after completing the training of the initial coding unit by executing the coding training task as mentioned above, further, since the prediction unit is a model structure that calculates the physiological age based on the coding vector, it is necessary to complete the training of the coding unit first, and then use the trained coding unit to train the initial prediction unit, that is, it is necessary to start the prediction training task after the coding training task is completed, and use the third sample data to train the initial prediction unit.
[0147] Based on this, after the coding unit training is completed, the initial prediction unit can be trained using the third sample and its corresponding label-sample physiological age until the training obtains a prediction unit that meets the usage requirements. After that, a physiological age prediction model including the coding unit and the prediction unit can be obtained for use in the application stage.
[0148] On this basis, when training the initial prediction unit, the specific implementation method is as follows:
[0149] When the encoding training task is completed, the third sample data is input into the encoding unit for processing to obtain a third encoding vector; the third encoding vector is processed by the initial prediction unit in the initial physiological age prediction model to obtain a first predicted physiological age; the second loss value is calculated according to the sample physiological age corresponding to the third sample data and the first predicted physiological age; the initial prediction unit is adjusted based on the second loss value until the prediction unit that meets the second stop condition is obtained.
[0150] Specifically, the third encoding vector specifically refers to the vector expression obtained after encoding the third sample data through the trained encoding unit; correspondingly, the first predicted physiological age specifically refers to the physiological age obtained after processing the third encoding vector through the initial prediction unit, which belongs to the physiological age predicted for the individual to which the third sample data belongs; correspondingly, the sample physiological age specifically refers to the real physiological age corresponding to the individual to which the third sample data belongs, which belongs to the label; correspondingly, the second loss value specifically refers to the loss value calculated by the loss function, which is used to adjust the parameters of the initial prediction unit; the second stopping condition is the condition for stopping the training of the initial prediction unit, such as the loss value comparison condition, the number of iterations condition, etc., and this embodiment does not make any limitation here.
[0151] Based on this, when executing the prediction training task to train the initial prediction unit, in order to train a prediction unit with sufficiently high prediction accuracy, the third sample data can be first encoded using the trained encoding unit to obtain a third encoding vector; the third encoding vector is then input into the initial prediction unit in the initial physiological age prediction model for processing, and the first predicted physiological age corresponding to the third sample data can be obtained according to the processing result; thereafter, the sample physiological age corresponding to the third sample data is read, and the second loss value is calculated in combination with the first predicted physiological age; the initial prediction unit is adjusted using the second loss value, and after each parameter adjustment is completed, the adjusted initial prediction unit can be compared with the second stop condition. If the condition is not met, a new sample can be selected to repeat the above process for training until a certain training stage meets the second stop condition, then the training of the initial prediction unit can be stopped, and the initial prediction unit of this stage can be used as a prediction unit in the model, thereby obtaining a physiological age prediction model that meets the usage requirements and has higher accuracy.
[0152] In summary, by using the trained coding unit to assist in training the initial prediction unit, it is possible to complete the training of the prediction unit alone in this training phase, with higher concentration and better processing capability of the trained prediction unit.
[0153] Step 14: Based on the trained initial coding unit and initial prediction unit, generate the physiological age prediction model including the coding unit and the prediction unit.
[0154] Specifically, after the initial coding unit and the initial prediction unit are trained through the above-mentioned coding training task and prediction training task, a physiological age prediction model including coding units and prediction units can be generated according to the trained initial coding units and initial prediction units for use in the application stage.
[0155] That is to say, during the training stage of the physiological age prediction model, a pre-training model (coding unit) of contrastive learning can be constructed to obtain a low-dimensional embedded vector expression. By constructing sample pairings and performing contrastive task learning, the matrix rank can be reduced, thereby obtaining a more accurate and stable embedded vector expression (coding vector). The embedded vector expression obtained by contrastive learning is then used for downstream physiological age prediction tasks (prediction training tasks). It is possible to train a physiological age prediction model that meets the usage requirements. In other words, during the model training stage, the physiological age prediction model includes three network components, namely, the encoding unit Encoder, the discriminator unit Discriminator, and the prediction unit Predictor, wherein the discriminator unit is used to assist in training the encoding unit during the model training stage.
[0156] The encoding unit is used to map the methylation data to a low-dimensional embedding vector expression, compressing the original methyl chip sequencing data from 450k to 128 dimensions; the discriminant unit encodes the methylation data from the two samples through the encoding unit respectively, and obtains the embedding vector expression of the two sets of sample data. By merging the two vectors and processing them through the discriminant model, the predicted age difference of the individuals belonging to the two samples can be obtained, which is used to adjust the parameters of the encoding unit. The prediction unit predicts the physiological age through the low-dimensional embedding vector.
[0157] For an example, see Figure 3a As shown in the schematic diagram, the first sample data X_A and the second sample data X_B are first input into the initial coding unit for coding processing, so as to obtain the first coding vector h_A corresponding to the first sample data X_A and the second coding vector h_B corresponding to the second sample data X_B; then the coding vectors corresponding to the two sample data are merged to obtain the merged fusion vector h_AB, which is then input into the initial discrimination unit for processing. The initial discrimination unit predicts the first predicted age difference △y1 of the individuals to which the two samples belong, and then calculates the cross entropy loss function based on the sample age difference △y2 between the sample data. The initial discrimination unit and the initial coding unit are adjusted according to the calculated loss value loss1 until a coding unit that meets the stopping condition is obtained.
[0158] After the encoding unit training is completed, see Figure 3b As shown in the schematic diagram, the third sample data X_C can be directly input into the trained coding unit for processing, so as to obtain the coding vector h_C corresponding to the sample, and then the coding vector h_C is input into the initial prediction unit for processing, so as to obtain the predicted physiological age y1 corresponding to the sample, and then the loss value is calculated by combining the sample physiological age y2 and the predicted physiological age y1 corresponding to the sample, and the initial prediction unit is adjusted according to the calculated loss value loss2 until a prediction unit that meets the stop condition is obtained. When the prediction unit and the coding unit are trained, a physiological age prediction model including the prediction unit and the coding unit can be obtained.
[0159] In the application phase, see Figure 3c As shown in the schematic diagram, after obtaining the blood methylation data of user A, the blood methylation data X of user A can be input into the trained physiological age prediction model, and the blood methylation data X is encoded by the encoding unit in the physiological age prediction model to obtain the encoding vector h, and then the encoding vector h is input into the prediction unit for processing to obtain the physiological age y of user A, so as to facilitate the use of this information for the prevention of related diseases.
[0160] In summary, in the model training stage, using different training methods and training rules for different units can ensure that the generated physiological age prediction model has higher prediction accuracy, which is convenient for application in actual scenarios.
[0161] In addition, considering that there may be errors in predicting physiological age through methylation data of a single target source, in order to avoid the amplification effect of the error in subsequent use, the prediction of physiological age can be completed by combining the ages of multiple sources, that is, combining the physiological ages of multiple organs to predict the physiological age of the individual, thereby ensuring higher prediction accuracy; in this process, the target source methylation data can first be encoded into a target source encoding vector, and then mapped to other mapping sources in the vector dimension to obtain the mapping source encoding vector of each mapping source, and finally combined with the encoding vectors of multiple sources through the prediction unit for processing, the user's physiological age can be obtained; in this embodiment, the specific implementation method is as follows:
[0162] The coding vector is input as a target source coding vector into a mapping unit in the physiological age prediction model for processing to obtain at least one mapping source coding vector; the target source coding vector and the at least one mapping source coding vector are processed separately by the prediction unit in the physiological age prediction model, and the physiological age corresponding to the user is determined according to the processing results.
[0163] Specifically, the target source encoding vector specifically refers to the encoding vector obtained after encoding the target source methylation data, and the encoding vector corresponds to the target source, such as blood, skin, brain tissue, etc.; accordingly, the mapping unit specifically refers to a model structure that can map from the target source to the mapping source in the encoding vector dimension, such as mapping from the blood encoding vector to the brain tissue encoding vector; accordingly, the mapping source encoding vector specifically refers to the vector expression corresponding to the mapping source.
[0164] Based on this, in order to improve the prediction accuracy of the physiological age prediction model, at least one mapping unit can be embedded in the physiological age prediction model, so that after obtaining the target source coding vector, the target source coding vector can be mapped to other mapping sources through the mapping unit, and different mapping units correspond to different mapping paths, so that the coding vectors of different organs can be obtained through different mapping units. Thereafter, the coding vectors of each organ are fused and input into the prediction unit for processing, so as to obtain the user's physiological age.
[0165] In summary, in order to improve the accuracy of physiological age prediction, multi-source mapping can be performed in the vector dimension through the mapping unit to obtain the encoding vectors of different mapping sources, and then the encoding vectors of all mapping sources are integrated for prediction processing, so that the physiological age prediction can be completed by combining multi-source features with higher accuracy.
[0166] On this basis, considering that the mapping unit will obtain the encoding vectors of different mapping sources after mapping the target source encoding vector, in order to ensure higher accuracy in predicting the physiological age, the prediction unit corresponding to each mapping source can be combined to predict the physiological age of the organ, and then the physiological age of each organ is combined to complete the prediction of the user's physiological age. In this embodiment, the specific implementation method is as follows:
[0167] In the prediction unit of the physiological age prediction model, a target source prediction unit associated with the target source coding vector and a mapping source prediction unit associated with each mapping source coding vector are determined; the target source coding vector is input into the target source prediction unit for processing to obtain a target source age vector, and each mapping source coding vector is input into the corresponding mapping source prediction unit for processing to obtain at least one mapping source age vector; the target source age vector and the at least one mapping source age vector are processed by the age fusion unit in the prediction unit to obtain the physiological age corresponding to the user.
[0168] Specifically, the target source prediction unit specifically refers to a model structure for predicting the organ physiological age of the organ to which the target source belongs; correspondingly, the mapping source prediction unit specifically refers to a model structure for predicting the organ physiological age of the organ to which the mapping source belongs; the target source age vector specifically refers to the vector expression of the organ physiological age of the organ to which the target source belongs; the mapping source age vector specifically refers to the vector expression of the organ physiological age of the organ to which the mapping source belongs; correspondingly, the age fusion unit specifically refers to a unit for fusing the physiological ages of different organs, so as to obtain the physiological age of the individual according to the fusion result.
[0169] Based on this, in order to use the physiological age prediction model including coding units, prediction units, mapping units and age fusion units to accurately predict the user's physiological age, the target source prediction unit associated with the target source coding vector and the mapping source prediction unit associated with each mapping source coding vector can be first determined in the prediction unit of the physiological age prediction model; that is, the prediction unit that can predict the organ age of the organ to which the target source belongs and the prediction unit that can predict the organ age of the organ to which the mapping source belongs can be determined.
[0170] Secondly, the target source coding vector can be input into the target source prediction unit for processing to obtain the target source age vector, that is, the organ physiological age of the organ to which the target source belongs. At the same time, each mapping source coding vector can be input into the corresponding mapping source prediction unit for processing to obtain at least one mapping source age vector, that is, the organ physiological age of the organ to which each mapping source belongs.
[0171] After obtaining the organ physiological age of each organ, the target source age vector and at least one mapping source age vector can be fused through the age fusion unit in the prediction unit to obtain the user's corresponding physiological age according to the fusion result and output the model.
[0172] This embodiment takes the target source methylation data as the user's blood methylation data as an example to describe the above method. First, the user's blood methylation data is obtained, where the user is male and 30 years old; secondly, the blood methylation data is input into the trained physiological age prediction model, and the blood methylation data is processed by the encoding unit in the model to obtain the blood encoding vector corresponding to the blood methylation data.
[0173] At this time, in order to improve the accuracy of physiological age prediction, the blood coding vector can be input into the mapping unit in the physiological age prediction model for processing, so as to map the blood coding vector to the brain tissue dimension and the immune cell dimension, thereby obtaining the brain tissue coding vector and the immune cell coding vector.
[0174] After obtaining the blood coding vector, brain tissue coding vector and immune cell coding vector, the blood prediction unit, brain prediction unit and immune cell prediction unit can be determined, and then the blood coding vector, brain tissue coding vector and immune cell coding vector are input into the corresponding prediction units in turn for processing. After processing, the blood age S1, brain age S2 and immune cell age S3 are obtained; finally, the blood age S1, brain age S2 and immune cell age S3 are input into the age fusion unit in the physiological age prediction model, and the user's physiological age output by the age fusion unit can be obtained, that is, the user's physiological age is 32 years old, which is convenient for using this information to prevent related diseases.
[0175] In summary, in the stage of predicting physiological age by the model, the physiological age of different organs is predicted and integrated to obtain the physiological age of the user, so as to map the individual's physiological age based on more fine-grained prediction results and ensure that the prediction of physiological age is more accurate.
[0176] Furthermore, in the training stage of the physiological age prediction model, in order to improve the prediction accuracy of the model and at the same time learn the relevant features in the methylation data for use in the application stage; in the training stage, the encoding unit, mapping unit, prediction unit and age fusion unit contained in the physiological age prediction model can be trained separately, so as to assemble a physiological age prediction model with higher prediction accuracy. In this embodiment, the specific implementation method is as follows: steps 21 to 24.
[0177] Step 21, obtaining fourth sample data, fifth sample data and sixth sample data.
[0178] Step 22: training an initial coding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data.
[0179] In this embodiment, the initial physiological age prediction model specifically refers to a model including an initial prediction unit, an initial mapping unit, an initial coding unit, and an initial age fusion unit, and the model has not been trained, wherein the initial prediction unit, the initial mapping unit, the initial coding unit, and the initial age fusion unit are all untrained coding units, mapping units, prediction units, and age fusion units. Correspondingly, the fourth sample data and the fifth sample data specifically refer to the methylation data used to train the initial coding unit and the initial mapping unit, and the fourth sample data and the fifth sample data both correspond to sample labels, which are the physiological age of the individual to which the sample data belongs. The sixth sample data specifically refers to the sample data used to train the initial prediction unit and the initial fusion unit, and the data also has a label. Correspondingly, the second sample age difference specifically refers to the physiological age difference calculated based on the fourth sample data and the fifth sample data, which is used to achieve the purpose of expanding the number of samples in the training initial coding unit stage, so that less data can be used to train a coding unit that meets the use requirements.
[0180] Based on this, in the stage of training the initial coding units and initial mapping units in the initial physiological age prediction model, considering that the number of samples contained in the sample set may be small, the coding units and mapping units trained on this basis may have poor robustness. Therefore, in order to be able to train coding units with better coding capabilities and mapping units with higher mapping accuracy, the method of selecting sample pairs can be used to cross-calculate the age difference, so as to achieve an exponential expansion of the number of samples with a small number of samples, which can be used as samples and labels for training the initial coding vectors and initial mapping units, thereby achieving the training purpose.
[0181] That is to say, a part of the data can be first selected from the sample set as the fourth sample data, and a part of the data can be selected as the fifth sample data, and then they can be paired to form the input of the initial coding unit, and the second sample age difference can be calculated for the paired samples as labels; the sample data is used as input and encoded by the initial coding unit, and then mapped by the mapping unit to obtain various types of coding units, and then the age difference is calculated by the discrimination unit to realize the training of the initial coding unit and the initial mapping unit in combination with the second sample age difference; the training of the initial coding unit and the initial mapping unit can be completed through continuous iteration, so that the coding unit has stronger coding ability and the mapping unit has more accurate mapping ability.
[0182] On this basis, considering that the purpose of training the coding unit is to be able to convert high-dimensional input into low-dimensional features for prediction, and the mapping unit is to be able to map the coding vector of the target source to the mapping source, so as to complete the prediction of the individual physiological age from the dimension of organ physiological age. Therefore, when training the initial coding unit and the initial mapping unit, the contrast learning and adversarial learning methods can be combined with the discriminant unit to ensure that the initial coding unit and the initial mapping unit have better prediction capabilities. In this embodiment, the specific implementation method is as follows:
[0183] The fourth sample data and the fifth sample data are input into an initial physiological age prediction model, and the fourth sample data and the fifth sample data are processed respectively by an initial coding unit in the initial physiological age prediction model to obtain a fourth coding vector and a fifth coding vector; the fifth coding vector is processed by an initial mapping unit in the initial physiological age prediction model to obtain a coding mapping vector, and a fused coding vector is constructed according to the fourth coding vector and the coding mapping vector; the fused coding vector is processed by an initial discrimination unit in the initial physiological age prediction model to obtain a second predicted age difference, and a second sample age difference is determined according to the fourth sample data and the fifth sample data; a third loss value is calculated based on the second sample age difference and the second predicted age difference, and the initial coding unit and the initial mapping unit are adjusted based on the third loss value until the coding vector and the mapping unit that meet the third stop condition are obtained.
[0184] Specifically, the fourth coding vector specifically refers to the coding vector obtained after the fourth sample data is coded by the initial coding unit; the fifth coding vector specifically refers to the coding vector obtained after the fifth sample data is coded by the initial coding unit; correspondingly, the coding mapping vector specifically refers to the coding response obtained after the fifth coding vector is mapped, and the mapping direction can be set according to actual needs, such as mapping from blood to brain tissue, blood to saliva, immune cells to blood, etc., which is not limited in this embodiment. The fused coding vector specifically refers to the coding vector obtained by fusing the fourth coding vector and the coding mapping vector.
[0185] Correspondingly, the initial discriminant unit specifically refers to the discriminator used to train the initial coding unit. Considering the small number of samples, the second predicted age difference can be predicted by the initial discriminant unit in combination with the fusion coding vector, and the second sample age difference can be determined based on the fourth sample data and the fifth sample data. The second sample age difference is used as a label to adjust the parameters of the initial discriminant unit, the initial coding unit and the initial mapping unit at the same time, so as to realize the training of the initial coding unit and the initial mapping unit by adversarial learning, and will not be affected by the small number of samples. For example, 1000 samples correspond to 1000 labels. If the model is trained with these 1000 sample pairs, it may only be able to iterate 1000 times, and it is impossible to train a model that meets the usage requirements; while the sample age difference is calculated in pairs, 1 million samples and labels can be generated through 1000 sample pairs, so as to train a model with higher accuracy. Correspondingly, the second predicted age difference is the predicted age difference obtained after processing the fused coding vector through the initial discriminant model; the second sample age difference specifically refers to the age difference between individuals corresponding to the fourth sample data and the fifth sample data respectively; the third loss value specifically refers to the loss value calculated by the loss function, which is used to adjust the parameters of the initial coding unit, the initial discriminant unit and the initial mapping unit; the second stopping condition is the condition for stopping the training of the initial coding unit and the initial mapping unit, such as the loss value comparison condition, the number of iterations condition, etc., and this embodiment does not make any limitation here.
[0186] Based on this, when training the initial coding unit and the initial mapping unit, considering the small number of samples, contrastive learning and adversarial learning can be used to train them; that is, after obtaining the fourth sample data and the fifth sample data, the fourth sample data and the fifth sample data can be respectively input into the initial coding unit for coding processing, so as to obtain the fourth coding unit corresponding to the fourth sample data and the fifth coding unit corresponding to the fifth sample data. At the same time, in order to be able to train the initial mapping unit, the fifth coding vector can be input into the initial mapping unit for processing, so as to obtain the coding fusion vector according to the mapping result.
[0187] Thereafter, in order to be able to adjust the parameters of the initial coding unit and the initial mapping unit, the fourth coding vector and the coding mapping vector can be fused first to obtain a fused coding vector. The fused coding vector cannot be directly used to calculate the loss function. Therefore, the initial discriminant unit can be embedded in the initial physiological age prediction model. The age difference is predicted by inputting the fused coding vector into the initial discriminant unit to obtain the second predicted age difference between the individuals to which the fourth sample data and the fifth sample data belong. Thereafter, the third loss value can be calculated based on the actual second sample age difference between the fourth sample data and the fifth sample data. The calculated third loss value can be used to adjust the parameters of the initial coding unit, the initial discriminant unit and the initial mapping unit, so as to realize adversarial training to complete the training of the initial coding unit and the training of the initial mapping unit.
[0188] After each parameter adjustment is completed, the adjusted initial coding unit and initial mapping unit can be compared with the third stop condition. If the condition is not met, a new sample can be selected to repeat the above process for training until the third stop condition is met at a certain training stage. The training of the initial coding unit and the initial mapping unit can be stopped, and the initial coding unit of this stage can be used as the coding unit, and the initial mapping unit can be used as the mapping unit in the model, so as to train the prediction unit capable of physiological age prediction based on the coding unit and the mapping unit, thereby obtaining a physiological age prediction model that meets the use requirements and has higher accuracy.
[0189] In summary, by expanding the number of samples by adopting contrastive learning and training the initial coding unit and the initial mapping unit based on this, it is possible to complete the training with a small number of samples. This can not only achieve the expected effect, but also save the number of samples obtained, and effectively reduce the training cost of the coding unit and the mapping unit.
[0190] Step 23, when the initial encoding unit and the initial mapping unit are trained, the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model are trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data.
[0191] Specifically, after the above training completes the initial coding unit and the initial mapping unit, further, since the prediction unit is a model structure that calculates the physiological age of the organ based on the coding vector, and the initial age fusion unit is a model structure that fuses the physiological age of each organ on the basis of the prediction unit to calculate the individual physiological age, it is necessary to first complete the training of the coding unit and the mapping unit, and then use the trained coding unit and mapping unit to train the initial prediction unit and the initial age fusion unit, that is, use the sixth sample data to train the initial prediction unit and the initial age fusion unit.
[0192] Based on this, after the training of the coding unit and the mapping unit is completed, the sixth sample and its corresponding label-sample physiological age can be used to train the initial prediction units corresponding to each mapping source, and the initial age fusion unit can be trained according to the prediction results output by each initial prediction unit until the training obtains prediction units and age fusion units that meet the usage requirements. After that, a physiological age prediction model including coding units, mapping units, prediction units and age fusion units can be obtained for use in the application stage.
[0193] On this basis, the training of the initial prediction unit is implemented as follows:
[0194] When the training of the initial encoding unit and the initial mapping unit is completed, the sixth sample data is input into the encoding unit for processing to obtain a sixth encoding vector, and the sixth encoding vector is processed by the mapping unit to obtain a mapping encoding vector; the sixth encoding vector is processed by the initial target source prediction unit in the initial prediction unit to obtain a predicted target source age, and the mapping encoding vector is processed by the initial mapping source prediction unit in the initial prediction unit to obtain a predicted mapping source age; a fourth loss value is calculated according to the sample physiological age corresponding to the sixth sample data and the predicted target source age, and a fifth loss value is calculated according to the sample physiological age corresponding to the sixth sample data and the predicted mapping source age; the initial target source prediction unit is adjusted based on the fourth loss value until the target source prediction unit that meets the fourth stop condition is obtained, and the initial mapping source prediction unit is adjusted based on the fifth loss value until the mapping source prediction unit that meets the fifth stop condition is obtained; the prediction unit is determined based on the target source prediction unit and the mapping source prediction unit.
[0195] Specifically, the sixth encoding vector specifically refers to the vector expression obtained after encoding the sixth sample data through the trained encoding unit; correspondingly, the mapping encoding vector specifically refers to the encoding vector corresponding to other organs obtained after mapping the sixth encoding vector; the predicted target source age specifically refers to the age obtained by predicting the organ physiological age of the target source to which the sixth sample data belongs; the predicted mapping source age specifically refers to the age obtained by predicting the organ physiological age of the mapping source after mapping the target source to which the sixth sample data belongs; the sample physiological age corresponding to the sixth sample data specifically refers to the real physiological age corresponding to the individual to which the sixth sample data belongs, which belongs to the label; correspondingly, the fourth loss value specifically refers to the loss value calculated by the loss function, which is used to adjust the parameters of the initial target source prediction unit. The fifth loss value specifically refers to the loss value calculated by the loss function, which is used to adjust the parameters of the initial mapping source prediction unit. The fourth stop condition and the fifth stop condition are the stop training conditions, such as the loss value comparison condition, the number of iterations condition, etc., which are not limited in this embodiment.
[0196] Based on this, when training the initial prediction unit, considering that the initial physiological age prediction model contains prediction units from different sources, it is necessary to adjust the parameters of the prediction units from different sources respectively. That is, when the initial coding unit and the initial mapping unit are trained, the sixth sample data can be first input into the coding unit for processing to obtain the sixth coding vector, and the sixth coding vector can be processed by the mapping unit to obtain the mapping coding vector.
[0197] At this time, the coding vector corresponding to the target source and the coding vector corresponding to the mapping source are obtained. In order to predict the physiological age of each organ through the prediction unit, the sixth coding vector can be processed by the initial target source prediction unit in the initial prediction unit to obtain the predicted target source age, and the mapping coding vector can be processed by the initial mapping source prediction unit in the initial prediction unit to obtain the predicted mapping source age; the prediction unit to each source can be used to predict the physiological age of the organ.
[0198] Therefore, in the parameter adjustment stage, it is necessary to adjust the parameters for each prediction unit separately, that is, calculate the fourth loss value according to the sample physiological age corresponding to the sixth sample data and the predicted target source age, and calculate the fifth loss value according to the sample physiological age corresponding to the sixth sample data and the predicted mapping source age; thereafter, adjust the parameters of the initial target source prediction unit based on the fourth loss value. After each parameter adjustment is completed, the adjusted initial target source prediction unit can be compared with the fourth stop condition. If the condition is not met, a new sample can be selected to repeat the above process for training until a target source prediction unit that meets the fourth stop condition is obtained. At the same time, adjust the parameters of the initial mapping source prediction unit based on the fifth loss value. After each parameter adjustment is completed, the adjusted initial mapping source prediction unit can be compared with the fifth stop condition until a mapping source prediction unit that meets the fifth stop condition is obtained; finally, the prediction unit can be determined based on the target source prediction unit and the mapping source prediction unit.
[0199] In summary, by training the prediction units corresponding to each source separately, it can be ensured that the physiological age prediction model can obtain the ages of each organ of the individual in the individual physiological age prediction stage, so as to facilitate the use of the age fusion unit to predict the individual's physiological age and ensure higher accuracy of physiological age prediction.
[0200] On this basis, the training of the initial age fusion unit is implemented as follows:
[0201] When the training of the initial encoding unit and the initial mapping unit is completed, the predicted target source age and the predicted mapping source age are input into the initial age fusion unit in the initial physiological age prediction model for processing to obtain a second predicted physiological age; the sixth loss value is calculated according to the sample physiological age corresponding to the sixth sample data and the second predicted physiological age; and the initial age fusion unit is adjusted based on the sixth loss value until the age fusion unit that meets the sixth stop condition is obtained.
[0202] Specifically, the second predicted physiological age specifically refers to the result obtained by fusing the physiological age of each source through the initial age fusion unit. Correspondingly, the sixth loss value specifically refers to the loss value calculated by the loss function, which is used to adjust the parameters of the initial age fusion unit. The sixth stop condition is the stop training condition, such as the loss value comparison condition, the number of iterations condition, etc., which is not limited in this embodiment.
[0203] Based on this, when the initial coding unit and the initial mapping unit are trained, in order to ensure that the age fusion unit can integrate the physiological ages of multiple organs and accurately complete the prediction of the individual's physiological age, the predicted target source age and the predicted mapping source age can be input into the initial age fusion unit in the initial physiological age prediction model for processing to obtain a second predicted physiological age; at this time, the sixth loss value is calculated according to the sample physiological age and the second predicted physiological age corresponding to the sixth sample data; the initial age fusion unit is adjusted based on the sixth loss value, and after each parameter adjustment is completed, the adjusted initial age fusion unit can be compared with the sixth stop condition. If the condition is not met, a new sample can be selected to repeat the above process for training until a certain training stage meets the sixth stop condition, then the training of the initial age fusion unit can be stopped, and the initial age fusion unit of this stage can be used as an age fusion unit in the model, thereby obtaining a physiological age prediction model that meets the usage requirements and has higher accuracy.
[0204] In summary, when training the age fusion unit, it can be embedded in the training task of the prediction unit, thereby speeding up the model training and quickly completing the training of the physiological age prediction model including the encoding unit, mapping unit, prediction unit and age fusion unit, so as to quickly complete the model deployment.
[0205] Step 24, based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, generate the physiological age prediction model including the coding unit, the mapping unit, the prediction unit and the age fusion unit.
[0206] Specifically, after the above-mentioned training has completed the initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, a physiological age prediction model including a coding unit, a mapping unit, a prediction unit and an age fusion unit can be generated according to the trained units to be used in the application stage.
[0207] That is to say, when training the physiological age prediction model including coding units, mapping units, prediction units and age fusion units, it is actually a training process of comparative learning through multi-source data (multi-organ methylation data). The training of coding units and prediction units is similar to the training process of the physiological age prediction model including coding units and prediction units mentioned above; during the training process, it is necessary to establish a mappable relationship between the embedding vectors of organs, so that the embedding vectors of one group of organs can be mapped to the embedding vectors of another group of organs to predict the independent physiological age of each organ. Finally, through the fusion unit, the predicted physiological ages of multiple groups of organs are fused to obtain the physiological age of the individual.
[0208] In specific implementation, the physiological age prediction model can include five network components in the training stage, namely, the encoding unit Encoder, the mapping unit Transfer, the discriminator unit Discriminator, the prediction unit Predictor and the age fusion unit Fusion. Among them, the discriminator unit is used to assist the training of the encoding unit and the mapping unit in the model training stage.
[0209] Among them, the encoding unit is used to map the methylation data to a low-dimensional embedding vector expression, compressing the original methyl chip sequencing data from 450k to 128 dimensions; the mapping unit is used to establish the mapping relationship between different organs in the embedding vector space, and can map the embedding vector of a group of organs to the embedding vector of another group of space. For example, the embedding vector mapping from brain tissue to blood. The discriminant unit encodes the methylation data from the two samples through the encoding unit respectively, and obtains the embedding vector expression of the two groups of sample data. By merging the two vectors and processing them by the discriminant model, the predicted age difference of the individuals to which the two samples belong can be obtained, which is used to adjust the parameters of the encoding unit. The prediction unit predicts the physiological age of the organ through the low-dimensional embedding vector. The age fusion unit is used to establish a multi-organ fusion network architecture. For the predicted physiological age of multiple organs, the physiological age of the individual can be obtained after fusion by the age fusion unit.
[0210] For an example, see Figure 4a Schematic diagram shown. First, the fourth sample data X_D and the fifth sample data X_E are respectively input into the initial coding unit for coding processing, so as to obtain the fourth coding vector h_D corresponding to the fourth sample data X_D and the fifth coding vector h_E corresponding to the fifth sample data X_E; then, in order to comprehensively predict the physiological age of the individual by combining the physiological ages of multiple organs, the fifth coding vector h_E can be mapped by the initial mapping unit to achieve mapping from blood to brain tissue, and obtain the coding mapping vector h_E*; then, the fourth coding vector h_D and the coding mapping vector h_E* are merged to obtain the fusion coding vector h_DE*, which is then input into the initial discrimination unit for processing, and the initial discrimination unit predicts the second predicted age difference △y3 of the individuals to which the two samples belong, and then the cross entropy loss function is calculated according to the sample age difference △y4 between the sample data, and the initial discrimination unit, the initial mapping unit and the initial coding unit are adjusted by the calculated loss value loss3 until the coding unit and the mapping unit that meet the stop condition are obtained.
[0211] After the encoding unit and mapping unit are trained, see Figure 4bAs shown in the schematic diagram, the sixth sample data X_F can be directly input into the trained coding unit for processing, so as to obtain the coding vector h_F corresponding to the sample, and then the coding vector h_F is input into the trained mapping unit for processing, so as to obtain the coding vector h_G corresponding to the brain tissue organ, and the coding vector h_H corresponding to the immune cell. In order to be able to predict the physiological age of an individual by integrating the physiological age of each organ, the prediction unit of each organ can be trained separately. That is, the coding vector h_F is input into the initial prediction unit corresponding to the blood for processing, so as to obtain the blood predicted physiological age yF corresponding to the sample, and the coding vector h_G is input into the initial prediction unit corresponding to the brain tissue for processing, so as to obtain the brain tissue predicted physiological age yG corresponding to the sample, and the coding vector h_H is input into the initial prediction unit corresponding to the immune cell for processing, so as to obtain the immune cell predicted physiological age yH corresponding to the sample.
[0212] At this time, the loss value can be calculated in combination with the sample blood physiological age yf and the blood predicted physiological age yF corresponding to the sample, and the initial prediction unit corresponding to the blood can be adjusted by the calculated loss value loss4 until a prediction unit that meets the stop condition and can predict the blood physiological age is obtained. At the same time, the loss value is calculated in combination with the sample brain tissue physiological age yg and the brain tissue predicted physiological age yG corresponding to the sample, and the initial prediction unit corresponding to the brain tissue is adjusted by the calculated loss value loss5 until a prediction unit that meets the stop condition and can predict the brain tissue physiological age is obtained. And the loss value is calculated in combination with the sample immune cell physiological age yh and the immune cell predicted physiological age yH corresponding to the sample, and the initial prediction unit corresponding to the immune cell is adjusted by the calculated loss value loss6 until a prediction unit that meets the stop condition and can predict the immune cell physiological age is obtained.
[0213] Furthermore, at this stage, since the physiological age of each organ is obtained, the physiological age predicted by blood yF, the physiological age predicted by brain tissue yG and the physiological age predicted by immune cells yH can also be combined with the sample physiological age y3 corresponding to the sample to train the initial age fusion unit. That is: the physiological age predicted by blood yF, the physiological age predicted by brain tissue yG and the physiological age predicted by immune cells yH are input into the initial age fusion unit for processing, and the predicted physiological age y4 is obtained according to the processing result; at this time, the loss value is calculated in combination with the sample physiological age y3 and the predicted physiological age y4 corresponding to the sample, and the initial prediction unit is adjusted according to the calculated loss value loss7 until an age fusion unit that meets the stopping conditions is obtained. When the prediction unit, the encoding unit, the age fusion unit and the mapping unit are all trained, a physiological age prediction model including the encoding unit, the mapping unit, the prediction unit and the age fusion unit can be obtained.
[0214] In the application phase, see Figure 4c As shown in the schematic diagram, after obtaining the blood methylation data of user B, the blood methylation data Y of user B can be input into the trained physiological age prediction model, and the blood methylation data Y is encoded by the encoding unit in the physiological age prediction model to obtain the encoding vector h1, and the encoding vector h1 is input into the mapping unit at the same time. After the mapping process, the encoding vector h2 corresponding to the brain tissue and the encoding vector h3 corresponding to the immune cells can be obtained.
[0215] At this time, each coding vector can be input into the corresponding prediction unit for prediction processing, and the user's blood physiological age yx, brain tissue physiological age yn, and immune cell physiological age ym can be obtained. Finally, the blood physiological age yx, brain tissue physiological age yn, and immune cell physiological age ym are fused through the age fusion unit to obtain the user's physiological age y, so that the information can be used to prevent related diseases.
[0216] In summary, in order to train a more accurate physiological age prediction model, mapping units and fusion units can be embedded in the model so that the model can predict the physiological age of each organ, thereby integrating the user's physiological age, ensuring a higher prediction accuracy for physiological age and facilitating downstream business use.
[0217] In practical applications, after completing the training of the physiological age prediction model, in order to make the physiological age prediction model have better performance in the application stage, the physiological age prediction model can be verified using a validation set, and deployed if it passes the verification. If the verification fails, new samples can be selected to continue training it until a verified model is obtained and then deployed.
[0218] In addition, after the physiological age prediction model is used to predict the user's physiological age, since the prediction process is completed through machine learning combined with the methylation data of the organ, its interpretability may be low, and the user may not be able to understand the error between the physiological age and the real age. Therefore, in order to improve the ability to fully explain the cause of the age error after the physiological age prediction, the phenotypic interpretation information can be determined in combination with the baseline phenotypic information. In this embodiment, the following steps 31 to 32 are specifically implemented.
[0219] Step 31 : when it is determined that the user has an age error according to the attribute information and the physiological age of the user, reference phenotype information is read according to the attribute information.
[0220] Specifically, the attribute information specifically refers to the user's corresponding physical attributes, including but not limited to information such as chronological age, gender, height, and weight; correspondingly, the age error specifically refers to the error between the physiological age and the chronological age, and the error can be a positive number or a negative number, a positive number represents that the physiological age is greater than the chronological age, and a negative number represents that the physiological age is less than the chronological age. Correspondingly, the reference phenotype information specifically refers to the clinical phenotype of the gender standard corresponding to each age group, such as standard height, standard weight, standard measurements, standard athletic ability, standard heart rate, etc., which are not limited in this embodiment.
[0221] Based on this, considering that physiological age is the result of prediction based on methylation data, and when there is an error between physiological age and chronological age, it may lack interpretability, in order to explain the problem of age error, when it is determined that the user has an age error based on the user's attribute information, the baseline phenotypic information corresponding to the user's attribute information can be read, so as to facilitate the subsequent comparison of the baseline phenotypic information with the user's phenotypic information to determine the cause of the error, thereby improving interpretability.
[0222] Furthermore, when reading the reference phenotypic information, in order to ensure that the reading of the reference phenotypic information is more accurate, it can be compared with the user's phenotypic information to explain the age error. The reading of the reference phenotypic information can be completed in combination with age and gender. In this embodiment, the specific implementation method is as follows:
[0223] Acquire the attribute information of the user, and extract the user age from the attribute information; if it is determined that the age error exists according to the user age and the physiological age, read the reference phenotype information according to the user age and the user gender in the attribute information.
[0224] Specifically, the user age specifically refers to the user's chronological age. Based on this, the user's attribute information is first obtained, and the user's chronological age is read from the attribute information. According to the chronological age and the predicted physiological age, when an age error is determined, in order to explain the age error, the reference phenotypic information corresponding to the information can be read based on the chronological age and gender in the user's attribute information, so that the reference phenotypic information can be compared with the phenotypic information of the user's current stage, and the cause of the age error can be determined to determine the phenotypic explanation information.
[0225] In summary, when reading baseline phenotypic information, one can first determine the age error by combining chronological age and physiological age, and then read the baseline phenotypic information based on gender and age. This allows one to read the standard phenotypic information of the corresponding user from a large category, making it easier to fully explain the age error after subsequent comparison.
[0226] Furthermore, considering that the reference phenotypic information corresponding to different ages and genders is different, in order to be able to quickly explain the cause of the age error after any physiological age is predicted and when there is an age error, the sub-reference phenotypic information of each different phenotype can be output through the phenotypic prediction models corresponding to multiple phenotypic dimensions to be combined as the reference phenotypic information for use. In this embodiment, the specific implementation method is as follows:
[0227] The user age and the user gender are extracted from the attribute information, and user attribute features are constructed based on the user age and the user gender; the user attribute features are input into phenotypic prediction models corresponding to multiple phenotypic dimensions for processing to obtain sub-benchmark phenotypic information corresponding to each phenotypic dimension; the sub-benchmark phenotypic information corresponding to each phenotypic dimension is integrated to obtain the benchmark phenotypic information.
[0228] Specifically, user attribute features refer to vector expressions constructed based on the user's time, age, and gender, which meet the model output requirements corresponding to each phenotypic dimension; correspondingly, phenotypic dimensions refer to dimensions to which different phenotypes belong, such as heart rate phenotypic dimension, height phenotypic dimension, weight phenotypic dimension, etc. Different phenotypic dimensions correspond to different phenotypic prediction models, which are used to predict the baseline phenotype of the corresponding dimension.
[0229] Based on this, when it is determined that there is an age error, the user age and user gender can be first extracted from the attribute information. At this time, the user attribute features can be constructed based on the user age and user gender; then they are input into the phenotypic prediction models corresponding to multiple phenotypic dimensions for processing, and the sub-benchmark phenotypic information corresponding to each phenotypic dimension can be obtained; and in order to explain the age error, the sub-benchmark phenotypic information corresponding to each phenotypic dimension can be integrated to obtain the benchmark phenotypic information for use.
[0230] In summary, by combining the phenotypic prediction model to predict the phenotypic information corresponding to the user attribute information, the baseline phenotype corresponding to the user's age and gender can be quickly and accurately obtained. Based on this, it can be more accurately compared with the user's phenotype, thereby fully explaining the reason for the age error.
[0231] Step 32: Generate phenotypic explanation information corresponding to the age error based on the reference phenotypic information and the user phenotypic information of the target user.
[0232] Specifically, after obtaining the reference phenotype information corresponding to the user attribute information, the user phenotype information of the user can be read again, and the phenotype explanation information corresponding to the age error can be obtained by comparing the user phenotype information with the reference phenotype information, thereby fully explaining the error between the user's physiological age and chronological age. Among them, the phenotype explanation information specifically refers to the descriptive information that explains the reason for the age error, such as the phenotypes corresponding to individuals with accelerated aging include heart rate, weight, fat percentage, etc.
[0233] That is, see Figure 5 As shown in the schematic diagram, after the physiological age of the user is obtained through the physiological age prediction model, when there is an error between the physiological age and the chronological age, the baseline phenotypic information can be obtained through the phenotypic prediction model according to the user's attribute information, and then the baseline phenotypic information is compared with the user's phenotypic information to obtain the phenotypic error. By establishing a corresponding relationship between the age error and the phenotypic error, the phenotypic explanation information of the age error can be obtained to increase the interpretability of the age error.
[0234] For example, user A is 30 years old, male, and his physiological age is 32 years old through the physiological age prediction model. It is determined that there is a 2-year error between the physiological age and the chronological age of user A. At this time, the user age and gender can be input into the phenotypic prediction model corresponding to each phenotypic dimension for processing to obtain the baseline phenotypic information that a 30-year-old male should have {height a, weight b, heart rate c, fat percentage d...}, and at the same time read the user phenotypic information of user A {height a1, weight b1, heart rate c1, fat percentage d1...}; then compare the baseline phenotypic information with the user phenotypic information, and determine that the phenotypic error corresponding to the 2-year age error is {the phenotypes corresponding to individuals with accelerated aging have too high a fat percentage, too slow a heart rate, low athletic ability...}, thereby explaining the 2-year age error.
[0235] In addition, in order to accurately predict the sub-phenotype information of each phenotypic dimension through the phenotypic prediction model, the following methods can be used
[0236] Extract phenotype sample pairs from the phenotype sample set; input the phenotype sample pairs into the initial phenotype prediction model for processing to obtain predicted phenotype information; adjust the parameters of the initial phenotype prediction model according to the sample phenotype information in the phenotype sample pairs and the predicted phenotype information until a phenotype prediction model that meets the training stop condition is obtained.
[0237] Specifically, the phenotype sample pair specifically refers to a sample pair including sample phenotype information and sample attribute information, wherein the sample attribute information is the model input and the sample phenotype information is the label. Correspondingly, the predicted phenotype information is the result obtained after the initial phenotype prediction model is processed by prediction.
[0238] Based on this, when training the phenotypic prediction model corresponding to each phenotypic dimension, phenotypic sample pairs can be extracted from the phenotypic sample set; the phenotypic sample pairs are input into the initial phenotypic prediction model for processing to obtain predicted phenotypic information; thereafter, the initial phenotypic prediction model can be adjusted according to the sample phenotypic information and predicted phenotypic information in the phenotypic sample pairs until a phenotypic prediction model that meets the training stop conditions is obtained.
[0239] In practical applications, the training of the phenotype prediction model corresponding to each phenotype dimension can refer to the same or corresponding description of this embodiment, and this embodiment will not be described in detail here.
[0240] In other words, the phenotypic prediction model contains two network components, the first of which is to use methylation data to predict age, and obtain the age error age difference through chronological age and physiological age; the second part is to construct a separate phenotypic prediction model pheno Models for each phenotype through the two variables of age and gender. It is possible to predict the sub-benchmark phenotypic information corresponding to each phenotypic dimension. That is, the average phenotype of people of the same age group of gender is used as the reference phenotype. At this time, this part can be used to obtain the phenotypic error pheno difference, which is used to represent the phenotypic difference between individuals and groups of the same age and gender. Subsequently, through correlation calculation, the corresponding relationship between age error and phenotypic error can be established, thereby obtaining phenotypic explanation information and realizing the use of clinical phenotypes to explain the error of physiological age.
[0241] In summary, in order to accurately measure the physiological age of different users and ensure accuracy, a machine learning algorithm can be used. After obtaining the target source methylation data of the user, the target source methylation data can be first input into the trained physiological age prediction model, and the target source methylation data can be encoded by the encoding unit in the physiological age prediction model to obtain a low-dimensional encoding vector, and then the encoding vector is processed by the prediction unit in the physiological age prediction model, so that the user's physiological age can be obtained according to the processing result; and in order to make the physiological age prediction model have higher accuracy, it can be combined with the encoding training task and the prediction training task to complete the training, and the two task trainings have a progressive relationship, that is, the prediction training task is started by the task execution result of the encoding training task, so as to realize the training of a physiological age prediction model with sufficiently high encoding and prediction accuracy, so that it can learn a deeper level of prediction ability, so as to achieve the purpose of accurately predicting physiological age, and facilitate downstream businesses to perform subsequent task processing according to the physiological age.
[0242] Corresponding to the above method embodiment, this specification also provides a training method embodiment of a physiological age prediction model, Figure 6is a flow chart of a method for training a physiological age prediction model provided in an embodiment of this specification, such as Figure 6 As shown, the method includes:
[0243] Step S602, obtaining first sample data, second sample data and third sample data;
[0244] Step S604, training an initial coding unit in an initial physiological age prediction model by using the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data;
[0245] Step S606, when the initial coding unit training is completed, the initial prediction unit in the initial physiological age prediction model is trained by using the third sample data and the sample physiological age corresponding to the third sample data;
[0246] Step S608: generating a physiological age prediction model including coding units and prediction units based on the trained initial coding units and initial prediction units.
[0247] It should be noted that in the training method of the physiological age prediction model provided in this embodiment, the physiological age prediction model is composed of a coding unit and a prediction unit. The training process can be found in the description of the model structure in the above embodiment, and this embodiment will not be elaborated in detail here.
[0248] Corresponding to the above method embodiment, this specification also provides another training method embodiment of a physiological age prediction model, Figure 7 is a flowchart of another method for training a physiological age prediction model provided in an embodiment of this specification, such as Figure 7 As shown, the method includes:
[0249] Step S702, obtaining fourth sample data, fifth sample data and sixth sample data;
[0250] Step S704, training an initial coding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data;
[0251] Step S706, when the initial encoding unit and the initial mapping unit are trained, the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model are trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data;
[0252] Step S708, based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, a physiological age prediction model including a coding unit, a mapping unit, a prediction unit and an age fusion unit is generated.
[0253] It should be noted that in the training method of the physiological age prediction model provided in this embodiment, the physiological age prediction model is composed of a coding unit, a mapping unit, a prediction unit and an age fusion unit. The training process can be referred to the description of the model structure in the above embodiment, and this embodiment will not be elaborated in detail here.
[0254] The following combination Figure 8 Taking the application of the physiological age determination method provided in this specification in the age prediction scenario of the physiological age prediction model composed of the coding unit and the prediction unit as an example, the physiological age determination method is further described. Figure 8 A processing flow chart of a method for determining physiological age provided in an embodiment of this specification is shown, which specifically includes the following steps:
[0255] Step S802: Process the target source methylation data of the user through the coding unit in the physiological age prediction model to obtain a coding vector.
[0256] Step S804: Process the coding vector through the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user.
[0257] Among them, the training of the physiological age prediction model is completed by the encoding training task and the prediction training task, and the prediction training task is started according to the task execution result of the encoding training task.
[0258] Step S806: Acquire the attribute information of the user, and extract the user's age from the attribute information.
[0259] Step S808: When it is determined that there is an age error according to the user age and the physiological age, the user age and the user gender are extracted from the attribute information, and user attribute features are constructed based on the user age and the user gender.
[0260] Step S810: Input the user attribute features into the phenotypic prediction models corresponding to the multiple phenotypic dimensions for processing, and obtain the sub-reference phenotypic information corresponding to each phenotypic dimension.
[0261] Step S812: Integrate the sub-reference phenotype information corresponding to each phenotype dimension to obtain reference phenotype information.
[0262] Step S814: Generate phenotypic explanation information corresponding to the age error based on the reference phenotypic information and the user phenotypic information of the target user.
[0263] In summary, by predicting physiological age through a physiological prediction model including a coding unit and a prediction unit, the purpose of accurately predicting physiological age can be achieved; and after the physiological age is predicted, when it is determined that there is an age difference, the reason for the physiological age difference can be explained in combination with phenotypic information, so that it is easier for users to understand the reason for the age difference.
[0264] The following combination Fig. 9 Taking the physiological age determination method provided in this specification as an example, the application of the physiological age prediction model composed of the encoding unit, the mapping unit, the prediction unit and the age fusion unit in the age prediction scenario is further described. Among them, Fig. 9 A processing flow chart of another physiological age determination method provided in an embodiment of this specification is shown, which specifically includes the following steps:
[0265] Step S902: Process the target source methylation data of the user through the coding unit in the physiological age prediction model to obtain a coding vector.
[0266] Step S904: input the coding vector as the target source coding vector into a mapping unit in the physiological age prediction model for processing to obtain at least one mapping source coding vector.
[0267] Step S906, determining a target source prediction unit associated with the target source coding vector and a mapping source prediction unit associated with each mapping source coding vector in the prediction unit of the physiological age prediction model.
[0268] Step S908, input the target source coding vector to the target source prediction unit for processing to obtain a target source age vector, and input each mapping source coding vector to the corresponding mapping source prediction unit for processing to obtain at least one mapping source age vector.
[0269] Step S910: Processing the target source age vector and at least one mapping source age vector through the age fusion unit in the prediction unit to obtain the physiological age corresponding to the user.
[0270] Step S912, obtaining attribute information of the user, and extracting the user's age from the attribute information.
[0271] Step S914: if it is determined that there is an age error based on the user age and the physiological age, the user age and the user gender are extracted from the attribute information, and user attribute features are constructed based on the user age and the user gender.
[0272] Step S916: Input the user attribute features into the phenotype prediction models corresponding to the multiple phenotype dimensions for processing, and obtain the sub-reference phenotype information corresponding to each phenotype dimension.
[0273] Step S918, integrating the sub-reference phenotype information corresponding to each phenotype dimension to obtain reference phenotype information.
[0274] Step S920: Generate phenotypic explanation information corresponding to the age error based on the reference phenotypic information and the user phenotypic information of the target user.
[0275] In summary, by predicting physiological age through a physiological prediction model including a coding unit, a mapping unit, a prediction unit and an age fusion unit, the purpose of accurately predicting physiological age can be achieved; and after the physiological age is predicted, when it is determined that there is an age difference, the reason for the physiological age difference can be explained in combination with phenotypic information, so that it is more convenient for users to understand the reason for the age difference.
[0276] Corresponding to the above method embodiment, this specification also provides an embodiment of a physiological age determination device, Fig.10 FIG. 1 is a schematic diagram showing a structure of a physiological age determination device provided in an embodiment of the present specification. Fig.10 As shown, the device comprises:
[0277] The encoding module 1002 is configured to process the target source methylation data of the user through the encoding unit in the physiological age prediction model to obtain an encoding vector;
[0278] The prediction module 1004 is configured to process the encoding vector through the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user;
[0279] The training of the physiological age prediction model is completed by a coding training task and a prediction training task, and the prediction training task is started according to the task execution result of the coding training task.
[0280] In an optional embodiment, the device further includes:
[0281] The information determination module is configured to determine that when the user has an age error based on the attribute information and the physiological age of the user, read the baseline phenotypic information based on the attribute information; and generate phenotypic interpretation information corresponding to the age error based on the baseline phenotypic information and the user phenotypic information of the target user.
[0282] In an optional embodiment, the device further includes:
[0283] A mapping processing module, configured to input the coding vector as a target source coding vector into a mapping unit in the physiological age prediction model for processing, to obtain at least one mapping source coding vector;
[0284] The prediction module 1004 is further configured to:
[0285] The target source coding vector and the at least one mapping source coding vector are processed respectively by a prediction unit in the physiological age prediction model, and the physiological age corresponding to the user is determined according to the processing results.
[0286] In an optional embodiment, the prediction module 1004 is further configured to:
[0287] In the prediction unit of the physiological age prediction model, a target source prediction unit associated with the target source coding vector and a mapping source prediction unit associated with each mapping source coding vector are determined; the target source coding vector is input into the target source prediction unit for processing to obtain a target source age vector, and each mapping source coding vector is input into the corresponding mapping source prediction unit for processing to obtain at least one mapping source age vector; the target source age vector and the at least one mapping source age vector are processed by the age fusion unit in the prediction unit to obtain the physiological age corresponding to the user.
[0288] In an optional embodiment, the information determination module is further configured to:
[0289] Acquire the attribute information of the user, and extract the user age from the attribute information; if it is determined that the age error exists according to the user age and the physiological age, read the reference phenotype information according to the user age and the user gender in the attribute information.
[0290] In an optional embodiment, the information determination module is further configured to:
[0291] The user age and the user gender are extracted from the attribute information, and user attribute features are constructed based on the user age and the user gender; the user attribute features are input into phenotypic prediction models corresponding to multiple phenotypic dimensions for processing to obtain sub-benchmark phenotypic information corresponding to each phenotypic dimension; the sub-benchmark phenotypic information corresponding to each phenotypic dimension is integrated to obtain the benchmark phenotypic information.
[0292] In an optional embodiment, the device further includes:
[0293] The first prediction model training module is configured to obtain first sample data, second sample data and third sample data; train an initial coding unit in an initial physiological age prediction model through the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data, as the execution of the coding training task; when the coding training task is completed, train an initial prediction unit in the initial physiological age prediction model through the third sample data and the sample physiological age corresponding to the third sample data, as the execution of the prediction training task; based on the trained initial coding unit and the initial prediction unit, generate the physiological age prediction model including the coding unit and the prediction unit.
[0294] In an optional embodiment, the first prediction model training module is further configured to:
[0295] The first sample data and the second sample data are input into an initial physiological age prediction model, and the first sample data and the second sample data are processed respectively by an initial coding unit in the initial physiological age prediction model to obtain a first coding vector and a second coding vector; a merged coding vector is constructed according to the first coding vector and the second coding vector, and is processed by an initial discrimination unit in the initial physiological age prediction model to obtain a first predicted age difference; a first sample age difference is determined according to the first sample data and the second sample data, and a first loss value is calculated based on the first sample age difference and the first predicted age difference; and the initial coding unit is adjusted based on the first loss value until the coding unit that meets the first stop condition is obtained.
[0296] In an optional embodiment, the first prediction model training module is further configured to:
[0297] When the encoding training task is completed, the third sample data is input into the encoding unit for processing to obtain a third encoding vector; the third encoding vector is processed by the initial prediction unit in the initial physiological age prediction model to obtain a first predicted physiological age; the second loss value is calculated according to the sample physiological age corresponding to the third sample data and the first predicted physiological age; the initial prediction unit is adjusted based on the second loss value until the prediction unit that meets the second stop condition is obtained.
[0298] In an optional embodiment, when the physiological age prediction model includes the mapping unit and the age fusion unit, the device further includes:
[0299] The second prediction model training module is configured to obtain fourth sample data, fifth sample data and sixth sample data; train the initial coding unit and the initial mapping unit in the initial physiological age prediction model through the fourth sample data and the fifth sample data, and the second sample age difference determined according to the fourth sample data and the fifth sample data; when the training of the initial coding unit and the initial mapping unit is completed, train the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model through the sixth sample data and the sample physiological age corresponding to the sixth sample data; based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, generate the physiological age prediction model including the coding unit, the mapping unit, the prediction unit and the age fusion unit.
[0300] In an optional embodiment, the second prediction model training module is further configured to:
[0301] The fourth sample data and the fifth sample data are input into an initial physiological age prediction model, and the fourth sample data and the fifth sample data are processed respectively by an initial coding unit in the initial physiological age prediction model to obtain a fourth coding vector and a fifth coding vector; the fifth coding vector is processed by an initial mapping unit in the initial physiological age prediction model to obtain a coding mapping vector, and a fused coding vector is constructed according to the fourth coding vector and the coding mapping vector; the fused coding vector is processed by an initial discrimination unit in the initial physiological age prediction model to obtain a second predicted age difference, and a second sample age difference is determined according to the fourth sample data and the fifth sample data; a third loss value is calculated based on the second sample age difference and the second predicted age difference, and the initial coding unit and the initial mapping unit are adjusted based on the third loss value until the coding vector and the mapping unit that meet the third stop condition are obtained.
[0302] In an optional embodiment, the second prediction model training module is further configured to:
[0303] When the training of the initial encoding unit and the initial mapping unit is completed, the sixth sample data is input into the encoding unit for processing to obtain a sixth encoding vector, and the sixth encoding vector is processed by the mapping unit to obtain a mapping encoding vector; the sixth encoding vector is processed by the initial target source prediction unit in the initial prediction unit to obtain a predicted target source age, and the mapping encoding vector is processed by the initial mapping source prediction unit in the initial prediction unit to obtain a predicted mapping source age; a fourth loss value is calculated according to the sample physiological age corresponding to the sixth sample data and the predicted target source age, and a fifth loss value is calculated according to the sample physiological age corresponding to the sixth sample data and the predicted mapping source age; the initial target source prediction unit is adjusted based on the fourth loss value until the target source prediction unit that meets the fourth stop condition is obtained, and the initial mapping source prediction unit is adjusted based on the fifth loss value until the mapping source prediction unit that meets the fifth stop condition is obtained; the prediction unit is determined based on the target source prediction unit and the mapping source prediction unit.
[0304] In an optional embodiment, the second prediction model training module is further configured to:
[0305] When the training of the initial encoding unit and the initial mapping unit is completed, the predicted target source age and the predicted mapping source age are input into the initial age fusion unit in the initial physiological age prediction model for processing to obtain a second predicted physiological age; the sixth loss value is calculated according to the sample physiological age corresponding to the sixth sample data and the second predicted physiological age; and the initial age fusion unit is adjusted based on the sixth loss value until the age fusion unit that meets the sixth stop condition is obtained.
[0306] In an optional embodiment, the training of the phenotype prediction model corresponding to any phenotype dimension includes:
[0307] Extract phenotype sample pairs from the phenotype sample set; input the phenotype sample pairs into the initial phenotype prediction model for processing to obtain predicted phenotype information; adjust the parameters of the initial phenotype prediction model according to the sample phenotype information in the phenotype sample pairs and the predicted phenotype information until a phenotype prediction model that meets the training stop condition is obtained.
[0308] In summary, in order to accurately measure the physiological age of different users and ensure accuracy, a machine learning algorithm can be used. After obtaining the target source methylation data of the user, the target source methylation data can be first input into the trained physiological age prediction model, and the target source methylation data can be encoded by the encoding unit in the physiological age prediction model to obtain a low-dimensional encoding vector, and then the encoding vector is processed by the prediction unit in the physiological age prediction model, so that the user's physiological age can be obtained according to the processing result; and in order to make the physiological age prediction model have higher accuracy, it can be combined with the encoding training task and the prediction training task to complete the training, and the two task trainings have a progressive relationship, that is, the prediction training task is started by the task execution result of the encoding training task, so as to realize the training of a physiological age prediction model with sufficiently high encoding and prediction accuracy, so that it can learn a deeper level of prediction ability, so as to achieve the purpose of accurately predicting physiological age, and facilitate downstream businesses to perform subsequent task processing according to the physiological age.
[0309] The above is a schematic scheme of a physiological age determination device of this embodiment. It should be noted that the technical scheme of the physiological age determination device and the technical scheme of the above-mentioned physiological age determination method belong to the same concept, and the details not described in detail in the technical scheme of the physiological age determination device can be referred to the description of the technical scheme of the above-mentioned physiological age determination method.
[0310] Corresponding to the above method embodiment, this specification also provides an embodiment of a training device for a physiological age prediction model. Fig.11 FIG. 1 is a schematic diagram showing a structure of a training device for a physiological age prediction model provided in an embodiment of the present specification. Fig.11 As shown, the device comprises:
[0311] A first acquisition module 1102 is configured to acquire first sample data, second sample data, and third sample data;
[0312] A first training module 1104 is configured to train an initial coding unit in an initial physiological age prediction model through the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data;
[0313] The second training module 1106 is configured to train the initial prediction unit in the initial physiological age prediction model by using the third sample data and the sample physiological age corresponding to the third sample data when the initial coding unit training is completed;
[0314] The first generating module 1108 is configured to generate a physiological age prediction model including a coding unit and a prediction unit based on the trained initial coding unit and initial prediction unit.
[0315] The above is a schematic scheme of a training device for a physiological age prediction model of this embodiment. It should be noted that the technical scheme of the training device for the physiological age prediction model and the technical scheme of the training method for the physiological age prediction model described above belong to the same concept, and the details of the technical scheme of the training device for the physiological age prediction model that are not described in detail can all be referred to the description of the technical scheme of the training method for the physiological age prediction model described above.
[0316] Corresponding to the above method embodiment, this specification also provides another embodiment of a training device for a physiological age prediction model. Fig.12 FIG. 2 is a schematic diagram showing the structure of another training device for a physiological age prediction model provided in an embodiment of the present specification. Fig.12 As shown, the device comprises:
[0317] The second acquisition module 1202 is configured to acquire fourth sample data, fifth sample data and sixth sample data;
[0318] The third training module 1204 is configured to train the initial encoding unit and the initial mapping unit in the initial physiological age prediction model through the fourth sample data and the fifth sample data, and the second sample age difference determined according to the fourth sample data and the fifth sample data;
[0319] A fourth training module 1206 is configured to train an initial prediction unit and an initial age fusion unit in the initial physiological age prediction model by using the sixth sample data and the sample physiological age corresponding to the sixth sample data when the initial encoding unit and the initial mapping unit are trained;
[0320] The second generation module 1208 is configured to generate a physiological age prediction model including a coding unit, a mapping unit, a prediction unit and an age fusion unit based on the trained initial coding unit, the initial mapping unit, the initial prediction unit and the initial age fusion unit.
[0321] The above is a schematic scheme of another training device for physiological age prediction model of this embodiment. It should be noted that the technical scheme of the training device for physiological age prediction model and the technical scheme of the training method for physiological age prediction model mentioned above belong to the same concept, and the details not described in detail in the technical scheme of the training device for physiological age prediction model can be referred to the description of the technical scheme of the training method for physiological age prediction model mentioned above.
[0322] Fig.13 The structure block diagram of a computing device 1300 provided according to an embodiment of the present specification is shown. The components of the computing device 1300 include but are not limited to a memory 1310 and a processor 1320. The processor 1320 is connected to the memory 1310 via a bus 1330, and the database 1350 is used to store data.
[0323] The computing device 1300 also includes an access device 1340 that enables the computing device 1300 to communicate via one or more networks 1360. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 1340 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0324] In one embodiment of the present application, the above components of the computing device 1300 and Fig.13 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.13 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0325] The computing device 1300 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 1300 may also be a mobile or stationary server.
[0326] The processor 1320 is used to implement the steps of the physiological age determination method or the physiological age prediction model training method when executing computer executable instructions.
[0327] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned method for determining physiological age or the training method of the physiological age prediction model belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned method for determining physiological age or the training method of the physiological age prediction model.
[0328] An embodiment of the present specification also provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the steps of the physiological age determination method or the physiological age prediction model training method.
[0329] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned method for determining physiological age or the training method of the physiological age prediction model belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned method for determining physiological age or the training method of the physiological age prediction model.
[0330] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0331] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0332] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that this specification is not limited by the order of the actions described, because according to this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this specification.
[0333] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0334] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. A method for determining physiological age, It is characterized in that include: The target source methylation data of the user is processed through the coding unit in the physiological age prediction model to obtain a coding vector; Processing the encoding vector by a prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user; The training of the physiological age prediction model is completed by a coding training task and a prediction training task, and the prediction training task is started according to the task execution result of the coding training task.
2. The method according to claim 1, It is characterized in that After the step of processing the coding vector by the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user is executed, the method further includes: When it is determined that the user has an age error according to the attribute information and the physiological age of the user, reading reference phenotype information according to the attribute information; Based on the reference phenotype information and the user phenotype information of the target user, phenotype explanation information corresponding to the age error is generated.
3. The method according to claim 1, It is characterized in that Before the step of processing the coding vector by the prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user is performed, the method further includes: Inputting the coding vector as a target source coding vector into a mapping unit in the physiological age prediction model for processing to obtain at least one mapping source coding vector; The step of processing the coding vector by a prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user includes: The target source coding vector and the at least one mapping source coding vector are processed respectively by a prediction unit in the physiological age prediction model, and the physiological age corresponding to the user is determined according to the processing results.
4. The method according to claim 3, It is characterized in that The step of processing the target source coding vector and the at least one mapping source coding vector respectively by a prediction unit in the physiological age prediction model, and determining the physiological age corresponding to the user according to the processing results, comprises: Determining, in the prediction units of the physiological age prediction model, a target source prediction unit associated with the target source coding vector and a mapping source prediction unit associated with each mapping source coding vector; Inputting the target source coding vector into the target source prediction unit for processing to obtain a target source age vector, and inputting each mapping source coding vector into the corresponding mapping source prediction unit for processing to obtain at least one mapping source age vector; The target source age vector and the at least one mapping source age vector are processed by an age fusion unit in the prediction unit to obtain a physiological age corresponding to the user.
5. The method according to claim 2, It is characterized in that When it is determined according to the attribute information and the physiological age of the user that the user has an age error, reading reference phenotype information according to the attribute information includes: Acquire attribute information of the user, and extract the user's age from the attribute information; When it is determined that the age error exists according to the user age and the physiological age, the reference phenotype information is read according to the user age and the user gender in the attribute information.
6. The method according to claim 5, It is characterized in that The reading the reference phenotype information according to the user age and the user gender in the attribute information includes: Extracting the user age and the user gender from the attribute information, and constructing a user attribute feature based on the user age and the user gender; Inputting the user attribute features into phenotypic prediction models corresponding to multiple phenotypic dimensions for processing, and obtaining sub-baseline phenotypic information corresponding to each phenotypic dimension; The sub-benchmark phenotypic information corresponding to each phenotypic dimension is integrated to obtain the benchmark phenotypic information.
7. The method according to any one of claims 1 to 6, It is characterized in that The task execution process of the encoding training task and the prediction training task includes: Acquire first sample data, second sample data, and third sample data; Training an initial coding unit in an initial physiological age prediction model by using the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data, as execution of the coding training task; When the encoding training task is completed, the initial prediction unit in the initial physiological age prediction model is trained by using the third sample data and the sample physiological age corresponding to the third sample data, as the execution of the prediction training task; Based on the trained initial coding unit and the initial prediction unit, the physiological age prediction model including the coding unit and the prediction unit is generated.
8. The method according to claim 7, It is characterized in that The training of the initial coding unit in the initial physiological age prediction model by using the first sample data and the second sample data and a first sample age difference determined according to the first sample data and the second sample data includes: Inputting the first sample data and the second sample data into an initial physiological age prediction model, and processing the first sample data and the second sample data respectively by an initial coding unit in the initial physiological age prediction model to obtain a first coding vector and a second coding vector; constructing a merged coding vector according to the first coding vector and the second coding vector, and processing the merged coding vector through an initial discriminant unit in the initial physiological age prediction model to obtain a first predicted age difference; Determine a first sample age difference according to the first sample data and the second sample data, and calculate a first loss value based on the first sample age difference and the first predicted age difference; The initial encoding unit is adjusted based on the first loss value until the encoding unit that satisfies the first stop condition is obtained.
9. The method according to claim 7, It is characterized in that When the encoding training task is completed, the initial prediction unit in the initial physiological age prediction model is trained by using the third sample data and the sample physiological age corresponding to the third sample data, including: When the encoding training task is completed, inputting the third sample data into the encoding unit for processing to obtain a third encoding vector; Processing the third coding vector by an initial prediction unit in the initial physiological age prediction model to obtain a first predicted physiological age; Calculating a second loss value according to the sample physiological age corresponding to the third sample data and the first predicted physiological age; The initial prediction unit is adjusted based on the second loss value until the prediction unit that satisfies the second stop condition is obtained.
10. The method according to claim 4, It is characterized in that In a case where the physiological age prediction model includes the mapping unit and the age fusion unit, the training of the physiological age prediction model includes: Acquire fourth sample data, fifth sample data, and sixth sample data; Training an initial encoding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data; When the initial encoding unit and the initial mapping unit are trained, the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model are trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data; Based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, the physiological age prediction model including the coding unit, the mapping unit, the prediction unit and the age fusion unit is generated.
11. The method according to claim 10, It is characterized in that The training of the initial encoding unit and the initial mapping unit in the initial physiological age prediction model by using the fourth sample data and the fifth sample data and the second sample age difference determined according to the fourth sample data and the fifth sample data includes: Inputting the fourth sample data and the fifth sample data into an initial physiological age prediction model, and processing the fourth sample data and the fifth sample data respectively by an initial coding unit in the initial physiological age prediction model to obtain a fourth coding vector and a fifth coding vector; Processing the fifth coding vector by an initial mapping unit in the initial physiological age prediction model to obtain a coding mapping vector, and constructing a fused coding vector according to the fourth coding vector and the coding mapping vector; Processing the fused coding vector by an initial discriminant unit in the initial physiological age prediction model to obtain a second predicted age difference, and determining a second sample age difference according to the fourth sample data and the fifth sample data; A third loss value is calculated based on the second sample age difference and the second predicted age difference, and the initial encoding unit and the initial mapping unit are adjusted based on the third loss value until the encoding vector and the mapping unit that meet the third stop condition are obtained.
12. The method according to claim 10, It is characterized in that When the initial encoding unit and the initial mapping unit are trained, the initial prediction unit in the initial physiological age prediction model is trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data, including: When the initial encoding unit and the initial mapping unit are trained, the sixth sample data is input into the encoding unit for processing to obtain a sixth encoding vector, and the sixth encoding vector is processed by the mapping unit to obtain a mapping encoding vector; Processing the sixth coding vector by an initial target source prediction unit in the initial prediction unit to obtain a predicted target source age, and processing the mapping coding vector by an initial mapping source prediction unit in the initial prediction unit to obtain a predicted mapping source age; Calculating a fourth loss value according to the sample physiological age corresponding to the sixth sample data and the predicted target source age, and calculating a fifth loss value according to the sample physiological age corresponding to the sixth sample data and the predicted mapping source age; Adjusting the parameters of the initial target source prediction unit based on the fourth loss value until the target source prediction unit that satisfies a fourth stop condition is obtained, and adjusting the parameters of the initial mapping source prediction unit based on the fifth loss value until the mapping source prediction unit that satisfies a fifth stop condition is obtained; The prediction unit is determined based on the target source prediction unit and the mapped source prediction unit.
13. The method according to claim 12, It is characterized in that When the initial encoding unit and the initial mapping unit are trained, the initial age fusion unit in the initial physiological age prediction model is trained by the sixth sample data and the sample physiological age corresponding to the sixth sample data, including: When the initial encoding unit and the initial mapping unit are trained, the predicted target source age and the predicted mapping source age are input into the initial age fusion unit in the initial physiological age prediction model for processing to obtain a second predicted physiological age; Calculating a sixth loss value according to the sample physiological age corresponding to the sixth sample data and the second predicted physiological age; The initial age fusion unit is adjusted based on the sixth loss value until the age fusion unit that meets the sixth stop condition is obtained.
14. The method according to claim 5, It is characterized in that The training of the phenotypic prediction model corresponding to any phenotypic dimension includes: Extract phenotype sample pairs in the phenotype sample set; Inputting the phenotype sample pair into an initial phenotype prediction model for processing to obtain predicted phenotype information; According to the sample phenotype information in the phenotype sample pair and the predicted phenotype information, the initial phenotype prediction model is adjusted until a phenotype prediction model that meets the training stop condition is obtained.
15. A training method for a physiological age prediction model. It is characterized in that include: Acquire first sample data, second sample data, and third sample data; Training an initial coding unit in an initial physiological age prediction model by using the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data; When the initial coding unit is trained, the initial prediction unit in the initial physiological age prediction model is trained by using the third sample data and the sample physiological age corresponding to the third sample data; Based on the trained initial coding units and initial prediction units, a physiological age prediction model including coding units and prediction units is generated.
16. A training method for a physiological age prediction model. It is characterized in that include: Acquire fourth sample data, fifth sample data, and sixth sample data; Training an initial encoding unit and an initial mapping unit in an initial physiological age prediction model by using the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data; When the initial encoding unit and the initial mapping unit are trained, the initial prediction unit and the initial age fusion unit in the initial physiological age prediction model are trained by using the sixth sample data and the sample physiological age corresponding to the sixth sample data; Based on the trained initial coding unit, initial mapping unit, initial prediction unit and initial age fusion unit, a physiological age prediction model including coding unit, mapping unit, prediction unit and age fusion unit is generated.
17. A device for determining physiological age, It is characterized in that include: An encoding module, configured to process the target source methylation data of the user through the encoding unit in the physiological age prediction model to obtain an encoding vector; A prediction module, configured to process the encoding vector through a prediction unit in the physiological age prediction model to obtain the physiological age corresponding to the user; The training of the physiological age prediction model is completed by a coding training task and a prediction training task, and the prediction training task is started according to the task execution result of the coding training task.
18. A training device for a physiological age prediction model, It is characterized in that include: A first acquisition module is configured to acquire first sample data, second sample data and third sample data; A first training module is configured to train an initial coding unit in an initial physiological age prediction model through the first sample data and the second sample data, and a first sample age difference determined according to the first sample data and the second sample data; A second training module is configured to train an initial prediction unit in the initial physiological age prediction model by using the third sample data and the sample physiological age corresponding to the third sample data when the initial coding unit training is completed; The first generating module is configured to generate a physiological age prediction model including a coding unit and a prediction unit based on the trained initial coding unit and the initial prediction unit.
19. A training device for a physiological age prediction model, It is characterized in that include: A second acquisition module is configured to acquire fourth sample data, fifth sample data and sixth sample data; A third training module is configured to train an initial encoding unit and an initial mapping unit in an initial physiological age prediction model through the fourth sample data and the fifth sample data, and a second sample age difference determined according to the fourth sample data and the fifth sample data; a fourth training module, configured to train an initial prediction unit and an initial age fusion unit in the initial physiological age prediction model by using the sixth sample data and the sample physiological age corresponding to the sixth sample data when the initial encoding unit and the initial mapping unit are trained; The second generation module is configured to generate a physiological age prediction model including a coding unit, a mapping unit, a prediction unit and an age fusion unit based on the trained initial coding unit, the initial mapping unit, the initial prediction unit and the initial age fusion unit.
20. A computing device, It is characterized in that It comprises a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the method described in any one of claims 1 to 16.
21. A computer-readable storage medium storing computer instructions, It is characterized in that When the instruction is executed by a processor, the steps of the method described in any one of claims 1 to 16 are implemented.
