Cardiac-potential data generation device, program, and training device

The electrocardiogram data generation device improves ECG data accuracy by transforming pulse wave data into higher-order ECG data using a trained machine learning model, effectively mitigating time discrepancies and enhancing data fidelity.

WO2026244671A1PCT designated stage Publication Date: 2026-11-26NT T INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2025/018229
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing methods for generating electrocardiogram (ECG) data from pulse wave data suffer from inaccuracies due to time discrepancies, leading to decreased accuracy in the generated ECG data.

Method used

An electrocardiogram data generation device that includes an input data acquisition unit, an inference unit, and a generation unit, utilizing a trained machine learning model to transform pulse wave data into higher-order ECG data through a velocity model, followed by a transformation to first-order ECG data, thereby improving accuracy.

Benefits of technology

The proposed method enhances the accuracy of generated ECG data by effectively addressing time discrepancies, enabling the generation of ECG data with higher fidelity using pulse wave data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025018229_26112026_PF_FP_ABST
    Figure JP2025018229_26112026_PF_FP_ABST
Patent Text Reader

Abstract

A cardiac-potential data generation device according to one embodiment of the present invention comprises an input data acquisition unit, an inference unit, and a generation unit. The input data acquisition unit acquires pulse-wave data relating to a pulse wave of a living body, and noise that is a tensor of second or higher order generated by sampling a normal distribution. The inference unit inputs the noise and the pulse-wave data to a trained model to output a vector for causing the noise to transition to cardiac-potential data of higher order than first-order cardiac-potential data, which is time-series data on the cardiac potential of the living body based on the pulse-wave data, and infers high-order cardiac-potential data on the basis of the noise and the vector. The generation unit generates first-order cardiac-potential data by performing first conversion on the high-order cardiac-potential data.
Need to check novelty before this filing date? Find Prior Art

Description

ECG data generation device, program, and training device

[0001] This invention relates to an electrocardiogram data generation device, a program, and a training device.

[0002] Electrocardiogram (ECG) data is an important source of information for understanding the internal state of an organism and is widely used in the diagnosis of cardiovascular diseases and the estimation of emotional states. However, measuring ECG requires expensive specialized equipment and supervision by experts, making measurement difficult. Therefore, as an alternative to ECG measurement, photoplethysmography (POV) measurement using wearable devices has become common. This method indirectly monitors cardiac activity by shining light on the wrist or other area to measure the pulse wave. However, while pulse wave measurement is easy, it does not contain as much information as ECG and is not generally used for the diagnosis of cardiovascular diseases or the estimation of emotional states. Therefore, machine learning techniques are beginning to be proposed to generate ECG data, which contains more information, from the easily measured pulse wave.

[0003] Shome, D., Sarkar, P. and Etemad, A. Region-Disentangled Diffusion Model for High-Fidelity PPG-to-ECG Translation. Proceedings of the AAAI Conference on Artificial Intelligence. 38, 13, 15009-15019. 2024.

[0004] However, as described in Non-Patent Document 1, time discrepancies have a significant impact on measuring the error between electrocardiogram data generated based on pulse wave data and electrocardiogram data from training data. This may lead to a decrease in the accuracy of the generated electrocardiogram data.

[0005] This invention was made in view of the above circumstances, and its purpose is to provide an electrocardiogram data generation device capable of generating electrocardiogram data based on pulse wave data with high accuracy.

[0006] To achieve the above objective, one embodiment of the electrocardiogram data generation device according to this invention comprises an input data acquisition unit, an inference unit, and a generation unit. The input data acquisition unit acquires pulse wave data, which is time-series data relating to the pulse wave of a living organism, and noise, which is a tensor of the second order or higher generated by sampling a normal distribution. The inference unit inputs the noise and pulse wave data into a trained model, outputs a vector that transitions the noise to electrocardiogram data of a higher order than first-order electrocardiogram data, which is time-series data relating to the electrocardiogram of a living organism based on the pulse wave data, and infers the higher-order electrocardiogram data based on the noise and vector. The generation unit generates first-order electrocardiogram data by applying a first transformation to the higher-order electrocardiogram data.

[0007] In other words, according to one aspect of this invention, the accuracy of electrocardiogram data generated based on pulse wave data can be improved.

[0008] Figure 1 is a diagram illustrating the functional configuration of an electrocardiogram data generation device and training device according to an embodiment. Figure 2 is a diagram illustrating the processing procedure of the generation process performed by the electrocardiogram data generation device according to the first embodiment. Figure 3 is a block diagram illustrating the data flow related to the processing of the electrocardiogram data generation device according to the first embodiment. Figure 4 is a diagram illustrating the error between the target electrocardiogram data, which is the training data, and the generated electrocardiogram data. Figure 5 is a diagram illustrating the processing procedure of the training process performed by the training device according to the second embodiment. Figure 6 is a diagram illustrating the relationship between the training data and the second-order electrocardiogram data in the second embodiment. Figure 7 is a diagram illustrating an example of the hardware configuration of an electrocardiogram data generation device and training device according to an embodiment.

[0009] Embodiments relating to this invention will be described below with reference to the drawings. In the following description, components having substantially the same function and configuration will be denoted by the same reference numerals, and redundant explanations will be given only when necessary. In the following embodiments, higher-order electrocardiogram data will be described as electrocardiogram data that is a second-order tensor, but the invention is also applicable to electrocardiogram data that is a third-order or higher tensor.

[0010] (Definition of terms) ECG data x 1: The first-order cardiac potential data obtained by measurement is denoted as x 1 . Here, the real-valued d-dimensional distribution followed by the cardiac potential data is π 1 ⊂ R d . For example, when cardiac potential is acquired at 100 Hz for 4 seconds, d=400.

[0011] Noise x 0 : The noise follows an arbitrary distribution π on R HxW 0 and is data x represented by a second-order tensor 0 . As an example, an arbitrary distribution on R HxW is represented by a second-order tensor with height H and width W. Further, if the distribution π 0 is an H×W-dimensional multivariate normal distribution, the noise x 0 is Gaussian noise.

[0012] Pulse wave data c : The pulse wave data obtained by measurement as teacher data is denoted as c. The pulse wave data c also follows the distribution of pulse waves on R, similarly to the noise x 0 d .

[0013] Velocity model v θ : The velocity model is an arbitrary model that takes the noise x 0 and the pulse wave data c as arguments and estimates the difference between the noise x 0 and the higher-order cardiac potential data x 1 ’, and is denoted as v θ . As an example, the velocity model v θ is a vector field that outputs a vector related to the path connecting the noise x 0 and the higher-order cardiac potential data x 1 ’. As a specific example, when the distribution π 0 is a prior distribution and the distribution π 1 is a posterior distribution, the output of the velocity model v θ is a vector for transitioning the noise x 0 , which is a sample from the prior distribution, to the higher-order cardiac potential data x 1 ’, which is a sample from the posterior distribution. The velocity model v θ is, for example, a machine learning model characterized by a parameter θ including a weighting factor and / or bias. ​​

[0014] The following data and models related to the electrocardiogram data generation device 10 include: * The following notation is used, and data and models related to the training device 20 are included: * Write it without adding a space.

[0015] (First Embodiment) Figure 1 is a diagram showing an example of the functional configuration of the electrocardiogram data generation system 100 according to the first embodiment. As shown in Figure 1, the electrocardiogram data generation system 100 is a computer network system including an electrocardiogram data generation device 10, a training device 20, and a storage device 30 that are connected to each other via wired or wireless communication. The electrocardiogram data generation device 10 is a computer that acquires pulse wave data and noise from a living organism, inputs the pulse wave data and noise into a trained machine learning model (velocity model) to output a vector, and generates first-order electrocardiogram data from the pulse wave data, noise, and vector. The training device 20 is a computer that trains the machine learning model, and its details will be described later. The storage device 30 is a storage device that can be accessed from the electrocardiogram data generation device 10 and the training device 20. The storage device 30 stores the trained machine learning model used as a velocity model in the electrocardiogram data generation device 10. The electrocardiogram generation device 10 and the training device 20 may be physical servers or virtual servers instantiated on the cloud. Similarly, the storage device 30 may be a database built on the storage of a physically existing server, or it may be a database on the cloud.

[0016] The electrocardiogram data generation device 10 comprises an input data acquisition unit 11, an inference unit 12, and a generation unit 13.

[0017] The input data acquisition unit 11 acquires pulse wave data c * and noise x 0 * Obtain pulse wave data c. * This is, for example, time-series data of a biological pulse wave. Noise x 0 * This is data represented by a second-order tensor generated, for example, by sampling a multivariate normal distribution of H x W dimensions.

[0018] The inference unit 12 uses the velocity model v θ * Noise x 0 * and pulse wave data c * By inputting this, a vector is output, and noise x 0 * And based on the vector, the second-order electrocardiogram data x 1 * The inference unit 12 infers the velocity model v, which is a trained machine learning model stored in the memory device 30. θ * Noise x 0 * and pulse wave data c * It takes input and receives the output vector. Second-order electrocardiogram data x 1 * ' is pulse wave data c * First-order electrocardiogram data x is time-series data of the biological electrocardiogram based on the following: 1 * This data is represented by a tensor with a higher rank than the first one. Second-order electrocardiogram data x 1 * 'For example, the electrocardiogram data x of the first floor 1 * This data has been transformed, which involves increasing the rank of the tensor. Transformations include, for example, frequency transformations (from a first-order tensor to a second-order tensor) and polar coordinate transformations.

[0019] The generation unit 13 generates the electrocardiogram data x from the second floor. 1 * By applying a predetermined transformation to ', the first-floor electrocardiogram data x 1 * This generates the following. The predetermined transformation is, for example, the first-order electrocardiogram data x 1 * ECG data from the second floor x 1 * This is the inverse transformation of the transformation to [the specified state].

[0020] (Example of operation) Next, an example of operation of the electrocardiogram data generation device 10 will be explained. The example of operation is pulse wave data c *This is an example of generating first-order electrocardiogram data based on the following. Figure 2 is a diagram showing the flow of the electrocardiogram data generation process performed by the electrocardiogram data generation device 10. The generation process is a process of generating first-order electrocardiogram data from noise via higher-order electrocardiogram data based on pulse wave data. Figure 3 is a block diagram showing the data flow related to the processing of the electrocardiogram data generation device 10.

[0021] The generation process described below is merely an example, and each process can be modified as appropriate. Furthermore, steps in the generation process described below can be omitted, replaced, or added as appropriate, depending on the embodiment.

[0022] As shown in Figure 2, the input data acquisition unit 11 receives pulse wave data c * and noise x 0 * Obtain the pulse wave data (step S11). * This is time-series data collected by a wearable device, for example, using a method such as photoplethysmography, and the input data acquisition unit 11 acquires it from the wearable device, for example. The input data acquisition unit 11 removes noise x by sampling a multivariate normal distribution, for example. 0 * The input data acquisition unit 11 may also acquire the acquired pulse wave data c. * Various preprocessing steps may be performed on the data. Preprocessing includes, for example, data cleansing to remove outliers and noise, and normalization to standardize the range of the signals. Preprocessing should preferably be performed using existing algorithms.

[0023] When step S11 is performed, the inference unit 12 uses the pulse wave data c acquired in step S11. * and noise x 0 * The output vector and noise x based on this 0 * Based on this, higher-order electrocardiogram data x 1,i Infer the velocity model v (step S12). θ *is preferably a machine learning model whose parameters θ have been trained by the training device 20 described later. The inference unit 12 ideally uses pulse wave data c * and noise x 0 * to cause the velocity model v θ * to output a vector at time t=0, thereby adding the vector to the noise x 0 * to generate second-order electrocardiogram potential data x 1 * '. The inference unit 12 can generate desired data from the noise x 0 * , for example, by using a flow-based generative model to generate second-order electrocardiogram potential data x 1 * '. Specifically, the second-order electrocardiogram potential data x * 1 ' is defined as follows, where x * 0 is the noise, v θ * is the velocity model, t is the time, c * is the pulse wave data, and x * 0 is the data point at time t on the estimated path from the noise x * 1 to the second-order electrocardiogram potential data x * t ', as represented by the following equation (1).

[0024] As an example, equation (1) is transformed into the following equation (2) by using the Euler method with a step size of 1.

[0025] The ordinary differential equation in equation (1) may be solved using any method without being limited to the Euler method. For example, the ordinary differential equation in equation (1) may be solved using the Euler method with a step size of 2 or more, the Runge-Kutta method, or the like.

[0026] Furthermore, the pulse wave c *As a way to adjust for the influence of λ, equation (1) may be transformed into the following equation (3) where λ is the weight.

[0027] The weight λ is, for example, a real number between 0 and 1. By transforming equation (1) into equation (3) and arbitrarily adjusting the value of weight λ, the pulse wave data c can be obtained compared to equation (2). * It is possible to adjust the effects of [the effect].

[0028] By transforming equation (1) into equations (2) and (3), noise x * 0 and pulse wave data c * The velocity model v takes the inputs and θ * The output vector is used, and by adding the vector at t=0 to the noise, the computational cost is reduced, and the second-order electrocardiogram data x 1 * It is possible to find '.

[0029] When step S12 is performed, the generation unit 13 generates first-order electrocardiogram data by performing a transformation on the second-order electrocardiogram data inferred in step S12 (step S13). The generation unit 13 generates first-order electrocardiogram data by, for example, performing the inverse transformation of the transformation from first-order electrocardiogram data to second-order electrocardiogram data performed in the training device 20 described later on the second-order electrocardiogram data. The first-order electrocardiogram data is, for example, time-series data.

[0030] When step S13 is performed, the electrocardiogram data generation process of the electrocardiogram data generation device 10 according to the first embodiment is completed.

[0031] Note that the inference unit 12 is not limited to using equation (1). For example, the velocity model v can be set such that the estimation error is zero. θ * When using this, the inference unit 12 will 1 * '=x * 0 +v θ * (x * 0 ,t,c * Using the formula, the second-order electrocardiogram data x1 * ' may be inferred. By using the aforementioned formula, the second-order electrocardiogram data x can be obtained from formula (1). 1 * It is possible to reduce the computational cost required for the inference of '.

[0032] (Effects and Actions) Figure 4 illustrates the error between the target electrocardiogram data, which is the training data, and the generated electrocardiogram data. Figure 4 shows, from left to right, three data sets: the average value of the target electrocardiogram data, the target electrocardiogram data, and the electrocardiogram data 12 ms after the target electrocardiogram. The top panel shows the first-order electrocardiogram data. In the first-order electrocardiogram data, the horizontal axis is time and the vertical axis is signal intensity. The middle panel shows the second-order electrocardiogram data obtained by frequency-transforming the first-order electrocardiogram data from the top panel. In the frequency-transformed second-order electrocardiogram data, the horizontal axis is time, the vertical axis is frequency, and the color represents amplitude. The bottom panel shows the second-order electrocardiogram data obtained by polar coordinate transformation of the first-order electrocardiogram data from the top panel. In the polar coordinate-transformed second-order electrocardiogram data, the horizontal and vertical axes are time, and the color represents the likelihood of co-occurrence. If the dimension d of the first-order electrocardiogram data is 400, the second-order electrocardiogram data transformed into polar coordinates is, for example, a 400x400px image data that visualizes the likelihood of co-occurrence between electrocardiograms at time on the horizontal axis and electrocardiograms at time on the vertical axis. To the human eye, the target electrocardiogram data in the center of the upper row and the electrocardiogram data shifted by 12 ms on the right side of the upper row appear similar. However, when calculating the error in the first-order electrocardiogram data between the average value of the target electrocardiogram data on the left side of the upper row and the target electrocardiogram data in the center of the upper row, and the error between the target electrocardiogram data in the center of the upper row and the electrocardiogram data 12 ms later on the right side of the upper row using the error function (MAE: Mean Absolute Error) used in Non-Patent Literature 1, it is found that the error between the average value of the target electrocardiogram data and the target electrocardiogram data is smaller. Therefore, by using a velocity model trained with first-order electrocardiogram data as training data, it is possible to generate a straight line as first-order electrocardiogram data, as shown by the average value of the target electrocardiogram data. On the other hand, in the second-order electrocardiogram data obtained by transforming the first-order electrocardiogram data shown above, the error of the electrocardiogram data shifted by 12 ms is small. Therefore, by using second-order electrocardiogram data, it becomes easier to generate first-order electrocardiogram data that, rather than a straight line of electrocardiogram data, is judged by the human eye to contain useful information similar to that of the target electrocardiogram data.

[0033] Furthermore, in step S12, the inference unit 12 uses a velocity model trained to output electrocardiogram data that is a tensor of order three or higher, and the generation unit 13 uses an inverse transform to convert first-order electrocardiogram data into electrocardiogram data that is a tensor of order three or higher, thereby making the first embodiment applicable to tensors of order three or higher as well.

[0034] According to the first embodiment, it is possible to improve the accuracy of first-order electrocardiogram data generated based on pulse wave data.

[0035] (Second Embodiment) As shown in Figure 1, the training device 20 is a computer that acquires first-order electrocardiogram data and pulse wave data from a living organism, converts the first-order electrocardiogram data into higher-order electrocardiogram data, and updates the parameters of the untrained machine learning model to train the untrained machine learning model. Note that the training device 20 does not need to be separate from the electrocardiogram data generation device 10 and may be incorporated into the electrocardiogram data generation device 10.

[0036] The training device 20 includes a training data acquisition unit 21, a conversion unit 22, and a training unit 23.

[0037] The training data acquisition unit 21 acquires the first-order electrocardiogram data x of the living organism. 1 The pair of pulse wave data c and noise x, which is a tensor sampled two or more times from a normal distribution. 0 Obtain the first floor electrocardiogram data x 1 The pair of pulse wave data c is, for example, a pair of data measured in approximately the same time series from the same living organism. Noise x 0 This is data represented by a tensor of order 2 or higher, generated by sampling an H x W dimensional multivariate normal distribution. Noise x 0 This is, for example, a tensor of the same order as the higher-order electrocardiogram data converted by the conversion unit 22 described later.

[0038] The conversion unit 22 converts first-order electrocardiogram data into second-order electrocardiogram data, which is a second-order tensor. The conversion unit 22 performs a transformation on the first-order electrocardiogram data that increases the order of the tensor. The transformation includes, for example, frequency transformation and polar coordinate transformation.

[0039] The training unit 23 trains a machine learning model (velocity model) to minimize the expected value of the difference between noise and a vector that transitions noise to second-order electrocardiogram data, based on second-order electrocardiogram data and pulse wave data. The velocity model, for example, takes noise and pulse wave data as input and outputs a vector that transitions noise to second-order electrocardiogram data. The velocity model is a flow-based generative model, including, for example, a Continuous Normalizing Flow (CNF) model. The training unit 23, for example, stores the trained velocity model in the storage device 30.

[0040] (Example of Operation) Next, an example of the operation of the training device 20 will be described. The example of operation is one in which a velocity model is trained based on pulse wave data and electrocardiogram data. Figure 5 is a diagram showing the flow of the velocity model training process performed by the training device 20. The training process is a process of updating the parameters of the velocity model until the termination condition is met in order to minimize the objective function.

[0041] The training process described below is merely an example, and each process can be modified as appropriate. Furthermore, the generation process described below can be modified by omitting, substituting, or adding steps as appropriate, depending on the embodiment.

[0042] As shown in Figure 5, the training data acquisition unit 21 acquires pairs of first-order electrocardiogram data and pulse wave data from a living organism (step S21). The training data acquisition unit 21 acquires, for example, N pairs of first-order electrocardiogram data and pulse wave data (x 1,i , c i ) N i=1 Obtain the result. N is any natural number.

[0043] When step S21 is performed, the conversion unit 22 converts the first-order electrocardiogram data acquired in step S21 into second-order electrocardiogram data, which is a second-order tensor (step S22). The conversion unit 22 is a model that converts, for example, d-dimensional first-order tensor data into a second-order tensor of arbitrary height H and width W. As an example, the conversion unit 22 converts first-order electrocardiogram data x1 ⊂R d ECG data from the second floor x 1 '⊂R HxW It is converted to a specific format. For example, the conversion unit 22 may use frequency conversion or polar coordinate conversion. As a specific algorithm, existing conversion algorithms such as STFT (short-time Fourier transform) or GASF (Gramian Angular Simulation Field) may be used. In addition, any neural network g:R d →R HxW You can also use this to convert a d-dimensional first-order tensor to a second-order tensor.

[0044] When step S22 is performed, the training data acquisition unit 21 samples noise, which is a second-order tensor, from a normal distribution (step S23). For example, the training data 21 samples noise from a standard normal distribution. The training data acquisition unit 21 samples noise, which is a tensor of the same order as the higher-order electrocardiogram data transformed in step S22.

[0045] Once step S23 is performed, the training unit 23 samples the time (step S24).

[0046] When step S24 is performed, the training unit 23 calculates the objective function and updates the parameters based on the pulse wave data acquired in step S21, the second-order electrocardiogram data transformed in step S22, and the noise sampled in step S23 (step S25). The training unit 23 trains the velocity model using a technique called flow matching, for example.

[0047] Figure 6 illustrates the relationship between training data and second-order electrocardiogram data in the second embodiment. The training data is pulse wave data and noise data acquired by the training data acquisition unit 21 for use in training. As shown in Figure 6, the training unit 23 processes the noise x 0,i The electrocardiogram data from the second floor x 1,i Train the velocity model to transition to '. Noise x 0,i This is the distribution π at time t=0.0 It is the source of the distribution π. 0 The distribution is normal. The second-order electrocardiogram data x 1,i ' is the distribution π at time t=1 1 It is the source of the distribution π. 1 This is, for example, an unknown distribution. The solid arrow represents the noise x at time 0. 0,i From the second-order electrocardiogram data x at time 1 1,i This shows the transition rate up to '. Assuming constant velocity, this transition rate is x 1,i '-x 0,i This is expressed as follows: When the transition rate is constant, the transition path is noise x 0,i and the electrocardiogram data from the second floor x 1,i This is a straight line connecting ' and . The dashed arrow indicates the data x during the transition at any time t within the closed interval [0,1]. t,i 'Electrocardiogram data from the second floor x 1,i This shows the transition rate up to '. This transition rate is represented by the rate model v θ (x t,i ,t,c i It is estimated by ). If t is any time in the closed interval [0,1], then the noise x at time t is 0,i ECG data from the second floor x 1,i Data point x at time t on the transition path to ' t,i ' is expressed by the following equation (4).

[0048] Equation (4) is given by noise x 0,i and the electrocardiogram data from the second floor x 1,i This represents an internal division point along the straight line connecting and . Equation (4) may also be called the dispersion intersection. Equation (4) and velocity model v θ Using this, the objective function L is expressed by the following equation (5).

[0049] θ is a parameter of the velocity model. E t,i This is the expected value of the i-th training data at time t. The training unit 23 trains the parameters to minimize equation (5). The term in parentheses in the former corresponds to the solid arrow shown in Figure 6, and the velocity model v θThe term corresponds to the dashed arrow. Therefore, equation (5) represents the error between the solid arrow and the dashed arrow. Velocity model v in equation (5) θ Pulse wave data c i By including pulse wave data c i Second-order electrocardiogram data x conditioned by 1,i It is possible to train the generation of '.

[0050] The training unit 23 minimizes the objective function in equation (5) using any optimization method, including, for example, gradient descent, stochastic gradient descent, and Adam (Adaptive Moment Estimation). As an example, when the training unit 23 optimizes using gradient descent, the update of the parameter θ is expressed by the following equation (6), where s is the number of steps in the gradient descent and γ is the learning rate.

[0051] The learning rate γ is a hyperparameter. The training unit 23 has a distribution π at time t=0. 0 Noise x is a second-order tensor sampled from 0,i The point is represented by the higher-order electrocardiogram data x at time t=1. 1,i The training process is executed so that a vector is output that causes a constant velocity transition to the point '. Once this vector is estimated, the unknown distribution π 1 It is possible to generate any second-order electrocardiogram data as shown above.

[0052] When step S25 is performed, the training unit 23 determines whether or not the termination condition is met (step S26). The termination condition may be, for example, that the objective function is less than or equal to a predetermined value or that the number of steps exceeds a predetermined value. If the termination condition is not met (step S25: No), the process from step S23 to step S25 is repeated. As an example, the termination condition may be set to the number of steps s exceeding the number of pairs of first-order electrocardiogram data and pulse wave data, N-1.

[0053] If the termination condition is met (step S25: Yes), the training unit 23 saves the speed model with the parameters trained in step S25 to a storage device (step S27). The storage device to which the speed model is saved is, for example, a storage device to which the electrocardiogram data generation device 10 of the first embodiment can be connected by wire or wirelessly. As an example, the training unit 23 saves the speed model to the storage device 30.

[0054] When step S27 is performed, the training process of the speed model of the training device 20 according to the second embodiment is completed.

[0055] The conversion unit 22 may also convert first-order electrocardiogram data into electrocardiogram data that is a tensor of three or more orders. For example, the conversion unit 22 applies multiple different conversion processes in parallel to the input first-order electrocardiogram data to convert first-order electrocardiogram data into second-order electrocardiogram data, and then superimposes the output multiple second-order electrocardiogram data to output electrocardiogram data that is a tensor of three or more orders, such as a color image.

[0056] Furthermore, the conversion unit 22 may convert the pulse wave data, which is time-series data, into a tensor of the second order or higher. If the conversion unit 22 converts the pulse wave data into a tensor of the second order or higher in step S22, the training unit 23 trains the velocity model in step S23 based on the pulse wave data, which is a tensor of the second order or higher converted in step S22. In the first embodiment, when a trained velocity model is used based on pulse wave data, which is a tensor of the second order or higher, the electrocardiogram data generation device 10 converts the pulse wave data, which is time-series data acquired in step S11, into a tensor of the second order or higher, and in step S12 inputs the tensor of the second order or higher and noise to the trained velocity model, thereby causing the trained velocity model to output a vector.

[0057] Furthermore, the noise is not limited to being sampled at each step. For example, in step S21, the training data acquisition unit 21 may acquire multiple noises, and in step S23, the acquired noise may be used.

[0058] Furthermore, the processing of the training unit 23 is not limited to the above. For example, in step S21, the training data acquisition unit 21 detects the peak of the pulse wave data, and in the repeated training process from step S23 to step S25, the training unit 23 trains the velocity model by probabilistically using pulse wave data and pulse wave data with masked peaks.

[0059] Furthermore, the transition path is not limited to a straight line; any path can be selected. For example, the transition path is noise x 0,i and the electrocardiogram data from the second floor x 1,i 'Space R connecting to HxW The shortest geodesic line shown above is also acceptable.

[0060] (Effects and Actions) According to the second embodiment, it is possible to train a velocity model capable of generating higher-order electrocardiogram data of the second order or higher, and consequently, it is possible to improve the accuracy of first-order electrocardiogram data generated based on pulse wave data.

[0061] (Hardware Configuration) Next, an example of the hardware configuration of the electrocardiogram data generation device 10 according to the above embodiment and modified example will be described with reference to the block diagram in Figure 7. The training device 20 also has the same hardware configuration as the electrocardiogram data generation device 10.

[0062] As shown in Figure 7, the electrocardiogram data generation device 10 includes, for example, a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a display 104, a communication interface 105, and storage 106.

[0063] The CPU 101 is an integrated circuit capable of executing various programs and controls the overall operation of the electrocardiogram data generation device 10. The ROM 102 is, for example, a non-volatile semiconductor memory and is used as a workspace for the CPU 101. The display 104 is, for example, a liquid crystal display or a touch panel display and displays various information. The communication interface 105 is an input / output component for communicating information with the outside world, such as USB, HDMI®, or a network interface. The storage 106 is a non-volatile storage device. The storage 106 stores the system software of the electrocardiogram data generation device 10 and machine learning models trained by the training device 20. The CPU 101 may also be called a "processor".

[0064] In the above embodiment, the CPU 101 of the electrocardiogram data generation device 10 may be other circuits (or processors). The electrocardiogram data generation device 10 may, for example, include a GPU (Graphics Processing Unit), an NPU (Neural network Processing Unit), an MPU (Micro Processing Unit), etc., instead of a CPU. Each of the processes described in each embodiment may be implemented by dedicated hardware. The processing of the electrocardiogram data generation device 10 may be a mixture of processes executed by software and processes executed by hardware, or it may be one or the other.

[0065] Furthermore, the functions of the elements disclosed herein may be implemented using circuits or processing circuits that include general-purpose processors, special-purpose processors, integrated circuits, ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), conventional circuits, and / or combinations thereof, which are programmed using one or more programs stored in one or more memories, or otherwise configured to perform the disclosed functions. A processor is considered a processing circuit or circuit because it includes transistors and other circuits. A processor may also be a programmed processor that executes programs stored in memory. In this disclosure, a circuit, unit, or means is hardware that performs the enumerated functions, or hardware programmed to perform the enumerated functions. Hardware may be any hardware disclosed herein that is programmed or configured to perform the enumerated functions.

[0066] Furthermore, there is memory for storing computer programs that include computer instructions. These computer instructions provide logic and routines that enable hardware (e.g., a processing circuit or circuit) to perform the methods disclosed herein. This computer program can be implemented in commonly known forms, such as computer-readable storage media, computer program products, memory devices, recording media such as CD-ROMs and DVDs, and / or memory in FPGAs and ASICs.

[0067] It should be noted that this invention is not limited to the above embodiments, and in the implementation stage, the components can be modified and materialized without departing from the gist of the invention. Furthermore, various inventions can be formed by appropriately combining the multiple components disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiments. Moreover, components from different embodiments may be appropriately combined.

[0068] 10...Electrocardiogram data generation device 11...Input data acquisition unit 12...Inference unit 13...Generation unit 20...Training device 21...Training data acquisition unit 22...Conversion unit 23...Training unit 30...Storage device 100...Electrocardiogram data generation system 101...CPU 102...ROM 103...RAM 104...Display 105...Communication interface 106...Storage

Claims

1. An electrocardiogram data generation device comprising: an input data acquisition unit that acquires pulse wave data relating to the pulse wave of a living organism and noise which is a tensor of the second order or higher generated by sampling a normal distribution; an inference unit that inputs the noise and the pulse wave data into a trained model, outputs a vector that transitions the noise to electrocardiogram data of a higher order than first-order electrocardiogram data which is time-series data of the electrocardiogram of the living organism based on the pulse wave data, and infers the higher-order electrocardiogram data based on the noise and the vector; and a generation unit that generates first-order electrocardiogram data by applying a first transformation to the higher-order electrocardiogram data.

2. The electrocardiogram data generation device according to claim 1, wherein the trained model is a model that takes the noise and the pulse wave data as input and outputs the vector, and is trained to minimize the expected value of the difference with the vector.

3. The electrocardiogram data generation device according to claim 2, wherein the inference unit causes the trained model to output a vector that causes a straight line connecting the noise and the higher-order electrocardiogram data to transition at a constant velocity.

4. The electrocardiogram data generation device according to claim 1, wherein the higher-order electrocardiogram data is data obtained by applying a second transformation to the first-order electrocardiogram data, which involves an increase in the rank of the tensor, and the first transformation is the inverse transformation of the second transformation.

5. A training device comprising: a training data acquisition unit that acquires a pair of first-order electrocardiogram data and pulse wave data of a living organism and noise which is a second-order or higher tensor sampled from a normal distribution; a conversion unit that converts the first-order electrocardiogram data into higher-order electrocardiogram data which is a second-order or higher tensor; and a training unit that trains a machine learning model to minimize the expected value of the difference between the noise and a vector that transitions the noise into the higher-order electrocardiogram data, based on the higher-order electrocardiogram data and the pulse wave data.

6. An electrocardiogram data generation program that causes a computer to perform the following functions: a function to cause a computer to acquire pulse wave data relating to the pulse wave of a living organism and noise which is a tensor of the second order or higher generated by sampling a normal distribution; a function to cause a trained model to output a vector that transitions the noise to higher-order electrocardiogram data, which is a time-series data of the electrocardiogram of the living organism based on the pulse wave data, and to infer the higher-order electrocardiogram data based on the noise and the vector; and a function to generate the first-order electrocardiogram data by applying a first transformation to the higher-order electrocardiogram data.