Method, program and device for interpreting medical data based on explainable artificial intelligence

The explainable AI method uses dual neural networks to clarify disease detection decisions, addressing the lack of transparency in deep learning models by identifying key features for disease diagnosis.

JP2024533534AActive Publication Date: 2024-09-12MEDICAL AI CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024516646
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-09-20
Filing Date
2022-09-21
Publication Date
2024-09-12
Estimated Expiration
2042-09-21

AI Technical Summary

Technical Problem

Existing deep learning models in medical diagnosis lack transparency, making it difficult to understand the decision-making process and identify features associated with diseases, which is critical for error monitoring and improvement.

Method used

An explainable artificial intelligence method using two neural network models to interpret medical data, where a first model classifies disease presence and a second model generates transformed data to explain the decision-making process, allowing feature identification.

Benefits of technology

The method provides clear explanations for disease detection decisions, enabling understanding of which features are associated with the disease, thereby enhancing error detection and model improvement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024533534000001
    Figure 2024533534000001
Patent Text Reader

Abstract

According to an embodiment of the present disclosure, a method, program and device for interpreting medical data based on explainable artificial intelligence, executed by a computing device, is disclosed, which may include training a first neural network model based on first medical data to predict whether a disease is positive or negative for the first medical data, and training a second neural network model that transforms features of the second medical data using the trained first neural network model to predict whether a disease is positive or negative for the second medical data.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to deep learning technology in the medical field, and more particularly to a method for interpreting the decision-making process of a deep learning model used for disease detection and explaining correlations between medical data and diseases based on the interpretation results.

[0002] [Background technology]

[0003] The biggest limitation of AI is that it cannot reveal the exact decision-making process, i.e., the limitations of the black box. In other words, we do not know the process and reasons related to AI's misjudgments. This limitation is fatal in the medical field because it prevents error monitoring and detection. A lot of research is currently being conducted to overcome this limitation.

[0004] For example, one of the conventional studies uses a sensitivity map to display data regions that are important for detecting disease. However, the sensitivity map has the disadvantage that it only displays regions that are deemed important and cannot explain which features of the region are related to the disease. Another of the conventional studies uses an ensemble technique that integrates modules that explain each feature of the disease to detect the disease. This study can explain which features were involved in the decision to detect the disease. However, since this study uses only pre-determined features as modules, there is a limitation that it is not clear which decision the artificial intelligence will actually make.

[0005] Summary of the Invention [Problem to be solved by the invention]

[0006] The present disclosure has been devised in response to the above-mentioned background art, and aims to provide a method that can explain the reasons for the judgments and decisions of a deep learning model for disease detection, and can interpret which features of medical data are associated with disease based on such explanations.

[0007] However, the problems to be solved by the present disclosure are not limited to those mentioned above, and other problems not mentioned will be clearly understood from the description below.

[0008] [Means for solving the problem]

[0009] In order to achieve the above-mentioned object, an embodiment of the present disclosure discloses a method for interpreting medical data based on explainable artificial intelligence, which is executed by a computing device. The method includes a step of training a first neural network model based on first medical data to predict whether a disease is positive or negative for the first medical data, and a step of training a second neural network model that transforms features of the second medical data using the trained first neural network model so that the disease is predicted whether a disease is positive or negative for the second medical data.

[0010] Alternatively, the second neural network model may include a first sub-neural network model that generates third medical data by transforming features of the second medical data so that the positivity or negativity of the disease is estimated opposite to that of the second medical data, and a second sub-neural network model that generates fourth medical data by transforming features of the third medical data so that the positivity or negativity of the disease is estimated the same as that of the second medical data.

[0011] Alternatively, the step of training a second neural network model using the trained first neural network model to transform features of the second medical data so that the positivity or negativity of the disease for the second medical data is predicted inversely can include the steps of transforming features of the second medical data using the second neural network model and predicting the positivity or negativity of the features for the transformed second medical data using the trained first neural network model, and training the second neural network model based on a loss function having at least one of the transformed second medical data of the features or the predicted positivity or negativity for the transformed second medical data of the features as an input variable.

[0012] Alternatively, the step of transforming features of the second medical data using the second neural network model and estimating the positivity or negativity of the transformed second medical data using the trained neural network model may include the steps of: generating third medical data that is estimated to be positive, opposite to the second medical data, by transforming features of the second medical data that are estimated to be negative based on a first sub-neural network model included in the second neural network model; and generating fourth medical data that corresponds to the second medical data that is estimated to be negative by transforming features of the third medical data based on a second sub-neural network model included in the second neural network model.

[0013] Alternatively, the step of transforming features of the second medical data using the second neural network model and estimating positivity or negativity for the transformed second medical data of the features using the trained neural network model may further include a step of inputting the second medical data estimated to be negative to the second sub-neural network model to generate fifth medical data corresponding to the second medical data estimated to be negative, and a step of inputting the third medical data to the trained first neural network model to generate prediction data indicating the result of estimating positivity or negativity of the disease for the third medical data.

[0014] Alternatively, the loss function may include a first loss function for evaluating whether the first sub-neural network model transforms input features corresponding to a negative result of the disease to generate an output corresponding to a positive result of the disease, a second loss function for evaluating whether the second sub-neural network model transforms output features of the first sub-neural network model to restore the input of the first sub-neural network model, and a third loss function for evaluating whether the second sub-neural network model generates an output that is the same as the input of the first sub-neural network model based on the input of the first sub-neural network model.

[0015] Alternatively, the step of training the second neural network model based on a loss function having as an input variable at least one of the transformed second medical data of the features or a positive or negative prediction result for the transformed second medical data of the features may include training the first sub-neural network model and the second sub-neural network model based on a loss function having as an input variable at least one of the fourth medical data, the fifth medical data, or the prediction data.

[0016] Alternatively, the step of training the first sub-neural network model and the second sub-neural network model based on a loss function having at least one of the fourth medical data, the fifth medical data, or the predicted data as an input variable may include the steps of: calculating a first loss function having the predicted data as an input variable, and training the first sub-neural network model so that a first loss, which is a result of the calculation of the first loss function, is reduced; calculating a second loss function having the fourth medical data as an input variable, and training at least one of the first sub-neural network model or the second sub-neural network model so that a second loss, which is a result of the calculation of the second loss function, is reduced; and calculating a third loss function having the fifth medical data as an input variable, and training the second sub-neural network model so that a third loss, which is a result of the calculation of the third loss function, is reduced.

[0017] Alternatively, the first medical data and the second medical data may include electrocardiogram data, and the disease may include hyperkalemia.

[0018] Alternatively, the characteristic of the second medical data may be based on a morphological difference between the hyperkalemia negative electrocardiogram data and the hyperkalemia positive electrocardiogram data.

[0019] Meanwhile, according to an alternative embodiment of the present disclosure for achieving the above-mentioned object, a method for interpreting medical data based on explainable artificial intelligence, which is executed by a computing device, is disclosed. The method may include the steps of acquiring medical data including electrocardiogram data, and generating output data in which a positive or negative disease is predicted by a first neural network model inversely to the medical data by transforming features of the medical data based on a second neural network model. Here, the second neural network model may be previously trained using a first neural network model trained to predict a positive or negative disease for the medical data.

[0020] Alternatively, the method may further comprise the step of generating a user interface for visually comparing the medical data and the output data.

[0021] In order to achieve the above object, an embodiment of the present disclosure discloses a computer program stored in a computer-readable storage medium. When the computer program is executed by one or more processors, the computer program executes operations for interpreting medical data based on explainable artificial intelligence. Here, the operations may include: training a first neural network model based on first medical data to estimate whether a disease is positive or negative for the first medical data; and training a second neural network model that transforms features of the second medical data using the trained first neural network model to inversely estimate whether a disease is positive or negative for the second medical data.

[0022] In order to achieve the above object, an embodiment of the present disclosure discloses a computing device for interpreting medical data based on explainable artificial intelligence. The device may include a processor including at least one core, a memory including a program code executable by the processor, and a network unit for acquiring medical data. Here, the processor may train a first neural network model based on first medical data to estimate whether a disease is positive or negative for the first medical data, and train a second neural network model using the trained first neural network model to transform features of the second medical data so that the disease is conversely estimated whether a disease is positive or negative for the second medical data.

[0023] Effect of the Invention

[0024] The present disclosure can explain the reasons for the judgments and decisions of deep learning models for disease detection, and can provide a way to interpret which features of medical data are associated with disease using such explanations.

[0025] [Brief description of the drawings]

[0026] [Figure 1] FIG. 1 is a block diagram of a computing device according to one embodiment of the present disclosure.

[0027] [Diagram 2] FIG. 2 is a block diagram illustrating a process of disease positivity or negativity classification using a first neural network model according to one embodiment of the present disclosure.

[0028] [Diagram 3] FIG. 13 is a block diagram illustrating a process for interpreting medical data using a second neural network model according to one embodiment of the present disclosure.

[0029] [Figure 4] 13 is a graph showing a simulation result of a second neural network model trained according to an embodiment of the present disclosure.

[0030] [Diagram 5] 1 is a flowchart illustrating a method for training a neural network model according to an embodiment of the present disclosure.

[0031] [Figure 6] 1 is a flow chart illustrating a method for interpreting medical data using a neural network model according to one embodiment of the present disclosure.

[0032] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0033] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that a person having ordinary skill in the art can easily carry out the present disclosure. The embodiments presented in the present disclosure are provided to enable a person skilled in the art to use or practice the contents of the present disclosure. Thus, various modifications to the embodiments of the present disclosure will be apparent to a person skilled in the art. That is, the present disclosure may be embodied in various different forms and is not limited to the following embodiments.

[0034] Throughout the specification of the present disclosure, the same or similar reference numerals refer to the same or similar components. In addition, in order to clearly describe the present disclosure, reference numerals of parts that are not related to the description of the present disclosure may be omitted from the drawings.

[0035] The term "or" as used in this disclosure is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified in this disclosure or unless otherwise clear from the context, "X uses A or B" should be understood to mean one of the natural inclusive permutations. For example, unless otherwise specified in this disclosure or unless otherwise clear from the context, "X uses A or B" can be interpreted as either X uses A, X uses B, or X uses both A and B.

[0036] The term "and / or" as used in this disclosure must be understood to indicate and include all possible combinations of one or more of the associated listed concepts.

[0037] The terms "comprise" and / or "comprising" as used in this disclosure should be understood to mean the presence of the specified features and / or components. However, the terms "comprise" and / or "comprising" should be understood not to exclude the presence or addition of one or more other features, other components and / or combinations thereof.

[0038] In this disclosure, unless otherwise specified or clear from the context as indicating the singular form, the singular should generally be construed as including "one or more."

[0039] The term "Nth (N is a natural number)" used in this disclosure can be understood as an expression used to distinguish components of the present disclosure from each other based on a certain criterion such as a functional viewpoint, a structural viewpoint, or convenience of explanation. For example, in this disclosure, components performing different functional roles can be distinguished as a first component or a second component. However, components that are substantially the same within the technical idea of ​​the present disclosure but must be distinguished for convenience of explanation can also be distinguished as a first component or a second component.

[0040] The term "acquire" as used in this disclosure may be understood to mean not only receiving data via a wired or wireless communication network for an external device or system, but also generating data in an on-device form.

[0041] Meanwhile, the term "module" or "unit" used in the present disclosure may be understood as a term indicating an independent functional unit that processes computing resources, such as a computer-related entity, firmware, software or a part thereof, hardware or a part thereof, or a combination of software and hardware. Here, a "module" or "unit" may be a unit composed of a single element, or a unit expressed as a combination or set of multiple elements. For example, as a concept of agreement, a "module" or "unit" may indicate a hardware element or a set of hardware elements of a computing device, an application program that performs a specific function of software, a process implemented by the execution of software, or a set of commands for the execution of a program. In addition, as a broad concept, a "module" or "unit" may indicate a computing device itself that constitutes a system, or an application executed by a computing device. However, the above concept is merely an example, and the concept of a "module" or "unit" may be variously defined within a scope that can be understood by a person skilled in the art based on the contents of the present disclosure.

[0042] The term "model" as used in this disclosure may be understood as a system implemented using mathematical concepts and language to solve a particular problem, a set of software units for solving a particular problem, or an abstract model of a process for solving a particular problem. For example, a neural network "model" may refer to a system implemented as a neural network having a problem-solving ability through learning. Here, a neural network may have a problem-solving ability by optimizing parameters connecting nodes or neurons through learning. A neural network "model" may include a single neural network, or may include a neural network set in which multiple neural networks are combined.

[0043] The term "block" used in this disclosure may be understood as a collection of configurations classified according to various criteria such as type, function, etc. Thus, the configurations classified into one "block" may vary depending on the criteria. For example, a neural network "block" may be understood as a collection of neural networks including at least one neural network. Here, the neural networks included in a neural network "block" may be assumed to perform a certain operation to achieve a common purpose that serves as the classification criterion.

[0044] The above explanations of the terms are intended to facilitate understanding of the present disclosure. Therefore, unless the above terms are explicitly described as matters limiting the contents of the present disclosure, care should be taken to ensure that they are not used to limit the technical ideas of the contents of the present disclosure.

[0045] FIG. 1 is a block diagram of a computing device according to one embodiment of the present disclosure.

[0046] The computing device 100 according to an embodiment of the present disclosure may be a hardware device or a part of a hardware device that performs comprehensive data processing and calculations, or may be a software-based computing environment connected via a communication network. For example, the computing device 100 may be a server that performs intensive data processing functions and shares resources, or a client that shares resources by interacting with the server. The computing device 100 may also be a cloud system in which multiple servers and clients interact with each other to comprehensively process data. The above description is merely an example related to the type of the computing device 100, and the type of the computing device 100 may be variously configured within a scope that can be understood by a person skilled in the art based on the contents of the present disclosure.

[0047] Referring to Fig. 1, a computing device 100 according to an embodiment of the present disclosure may include a processor 110, a memory 120, and a network unit 130. However, Fig. 1 is merely an example, and the computing device 100 may include other components for implementing a computer environment. Also, only some of the disclosed components may be included in the computing device 100.

[0048] The processor 110 according to an embodiment of the present disclosure may be understood as a component including hardware and / or software for performing computing operations. For example, the processor 110 may read a computer program to perform data processing for machine learning. The processor 110 may process operations such as input data processing for machine learning, feature extraction for machine learning, and error calculation based on backpropagation. The processor 110 for performing such data processing may include a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), a tensor processing unit (TPU), an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA). The above-mentioned types of the processor 110 are merely examples, and the types of the processor 110 may be variously configured within a scope that can be understood by a person skilled in the art based on the contents of the present disclosure.

[0049] The processor 110 may perform learning on a deep learning model used to interpret the judgment and decision-making process of the artificial intelligence for disease detection based on the medical data. The processor 110 may train the deep learning model based on the medical data to provide a basis for the artificial intelligence's judgment on which features of the medical data affect the onset of a particular disease. For example, the processor 110 may input the medical data into the deep learning model and transform the medical data so that the onset of the disease (i.e., positive or negative) is predicted inversely. If the medical data is medical data of a person who has developed a disease (i.e., a positive person), the processor 110 may use the deep learning model to transform the input medical data so that it is predicted to be medical data of a person who has not developed the disease (i.e., a negative person). If the medical data is medical data of a person who has not developed a disease, the processor 110 may use the deep learning model to transform the input medical data so that it is predicted to be medical data of a person who has developed the disease. The data generated by such conversion may show characteristics opposite to the input based on the presence or absence of a disease. The processor 110 may train the deep learning model by repeatedly performing forward propagation and backpropagation of the deep learning model so that the characteristics opposite to the input shown by the medical data converted by the deep learning model are clearly expressed. The processor 110 may generate evidence that can explain the decision-making and decision-making process of the artificial intelligence for diagnosing a particular disease using the deep learning model trained by such a process.

[0050] The processor 110 may generate a user interface for interpretation of the judgment and decision-making process of the artificial intelligence for disease detection. The processor 110 may generate a user interface for visualization of the judgment basis of the artificial intelligence provided by using the deep learning model trained as described above. For example, the processor 110 may generate a user interface based on graphics so that the medical data converted by the trained deep learning model and the medical data before conversion corresponding to the input of the deep learning model can be compared with each other. The medical data converted by the deep learning model may show characteristics opposite to the input based on the presence or absence of the disease. Therefore, by comparing the medical data converted by the deep learning model with the medical data before conversion, we can easily understand which characteristics of the medical data affect the onset of the disease. In addition, by comparing the medical data converted by the deep learning model with the medical data before conversion, we can easily understand how the artificial intelligence for disease detection interprets the characteristics of the medical data that affect the onset of the disease. To enable the user to easily perform such comparison and understanding, the processor 110 can generate a user interface that graphically represents the medical data converted by the deep learning model and the medical data before conversion.

[0051] The memory 120 according to an embodiment of the present disclosure may be understood as a component including hardware and / or software for storing and managing data processed by the computing device 100. That is, the memory 120 may store any type of data generated or determined by the processor 110 and any type of data received by the network unit 130. For example, the memory 120 may include at least one type of storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card type memory, a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, and an optical disk. The memory 120 may also include a database system that controls and manages data in a predetermined system. The above-mentioned types of the memory 120 are merely examples, and the types of the memory 120 may be variously configured within a range that can be understood by a person skilled in the art based on the contents of the present disclosure.

[0052] The memory 120 may structure and organize and manage data, a combination of data, and program code executable by the processor 110, which are necessary for the processor 110 to perform calculations. For example, the memory 120 may store medical data received via the network unit 130, which will be described later. The memory 120 may store program code for operating a neural network model to receive medical data and perform learning, program code for operating the neural network model to receive medical data and perform inference according to the purpose of use of the computing device 100, and processed data generated by executing the program code.

[0053] The network unit 130 according to an embodiment of the present disclosure may be understood as a component that transmits and receives data via any type of known wired or wireless communication system. For example, the network unit 130 may transmit and receive data using wired or wireless communication systems such as a local area network (LAN), wideband code division multiple access (WCDMA), long term evolution (LTE), wireless broadband internet (WiBro), 5G, ultrawide-band, ZigBee, radio frequency (RF) communication, wireless LAN, wireless fidelity, near field communication (NFC), or Bluetooth. The above-mentioned communication systems are merely examples, and wired or wireless communication systems for transmitting and receiving data by the network unit 130 may be applied in various ways other than the above examples.

[0054] The network unit 130 may receive data necessary for the processor 110 to perform the calculation through wired or wireless communication with any system or any client. The network unit 130 may also transmit data generated by the calculation of the processor 110 through wired or wireless communication with any system or any client. For example, the network unit 130 may receive medical data through communication with a database in a hospital environment, a cloud server performing work such as standardization of medical data, or a computing device. The network unit 130 may transmit output data of the neural network model, and intermediate data and processed data derived in the calculation process of the processor 110 through communication with the above-mentioned database, server, computing device, etc.

[0055] FIG. 2 is a block diagram illustrating a process of disease positive or negative classification using a first neural network model according to one embodiment of the present disclosure.

[0056] 2, a processor 110 of a computing device 100 according to an embodiment of the present disclosure may perform training on a first neural network model 200 for disease detection based on first medical data 10. The processor 110 may train the first neural network model 200 based on the first medical data 10 such that the first neural network model 200 classifies whether a disease is positive or negative. Here, the first medical data 10 may include biosignal-related data whose morphological interpretation is utilized for disease diagnosis.

[0057] For example, the processor 110 can input electrocardiogram data included in the first medical data 10 to the first neural network model 200 to predict whether hyperkalemia is positive or negative for the measurement target of the first medical data 10. The processor 110 can compare the prediction result of whether hyperkalemia is positive or negative for the first medical data 10 with a ground truth (GT) using a loss function. The processor 110 can reconfigure parameters such as weights of the first neural network model 200 based on the comparison result. The processor 110 can repeatedly execute such calculations until the loss function converges, thereby training the first neural network model 200 based on the first medical data 10. The training of the first neural network model 200 can be executed by semi-supervised learning, unsupervised learning, reinforcement learning, etc., in addition to the supervised learning exemplified above.

[0058] Meanwhile, the first neural network model 200 may include a neural network 210 for extracting features from the first medical data 10, and a neural network 220 for classifying positive or negative of a disease based on the extracted features. For example, the neural network 210 for feature extraction of the first neural network model 200 may include a residual neural network. The neural network 210 for feature extraction may be composed of n residual blocks (n is a natural number). Each of the n residual blocks may include a convolution layer, an activation layer, a dropout layer, and a batch normalization layer. The neural network 220 for classification of the first neural network model 200 may average the feature map generated by the neural network 210 for feature extraction channel-wise. The neural network for classification 220 can calculate the probability of a disease being positive or negative through a fully connected layer (FCL) and a softmax activation layer.

[0059] FIG. 3 is a block diagram illustrating a process for interpreting medical data using a second neural network model according to one embodiment of the present disclosure.

[0060] The processor 110 of the computing device 100 according to an embodiment of the present disclosure may perform training of a second neural network model for interpretation of the judgment and decision-making process of the first neural network model 200 for disease detection based on the second medical data 20. The processor 110 may train the second neural network model based on the second medical data 20 such that the second neural network model generates a counter factor for the second medical data 20 based on a task of the first neural network model 200. The processor 110 may train the second neural network model such that the second neural network model generates comparison data that can be used to explain the data interpretation and decision-making process of the first neural network model 200. Here, the processor 110 may use the first neural network model 200 previously trained in the training process of the second neural network model. The second medical data 20 may include biosignal-related data for which morphological interpretation is utilized in disease diagnosis.

[0061] Specifically, referring to FIG. 3, the processor 110 may convert the features of the second medical data 20 based on the first sub-neural network model 310 included in the second neural network model. Here, the feature conversion of the second medical data 20 may be understood as a calculation process of generating new data based on the second medical data 20 so that an opposite result to the prediction result of the first neural network model 200 for the second medical data 20 is derived. The processor 110 may convert the features of the second medical data 20 through the first sub-neural network model 310 so that the positive or negative of a disease is predicted in the opposite way to the second medical data 20, thereby generating the third medical data 30. Here, the first sub-neural network model 310 may include a neural network 311 for extracting features from the second medical data 20, and a neural network 312 for converting the extracted features to generate the third medical data 30 in which the positive or negative of a disease is predicted in the opposite way to the second medical data 20. The neural network 311 for feature extraction of the first sub-neural network model 310 may correspond to the neural network 210 for feature extraction of the first neural network model 200. Therefore, in the learning process of the first sub-neural network model 310, learning of the neural network 311 for feature extraction is not performed, and only learning of the neural network 312 for generating the third medical data 30 can be performed.

[0062] For example, the processor 110 may input electrocardiogram data included in the second medical data 20 to the first sub-neural network model 310. Here, the electrocardiogram data included in the second medical data 20 may be electrocardiogram data of a person who is negative for hyperkalemia. The processor 110 may convert morphological features such as PR interval, QRS duration, T amplitude, etc. of the electrocardiogram data included in the second medical data 20 through the first sub-neural network model 310. Then, the processor 110 may generate the third medical data 30 including electrocardiogram data estimated to be positive for hyperkalemia by converting the morphological features of the second medical data 20 based on the first sub-neural network model 310. That is, the processor 110 may convert the morphological features of the electrocardiogram data that is negative for hyperkalemia using the first sub-neural network model 310 to generate electrocardiogram data that is estimated to be positive for hyperkalemia by the first neural network model 200.

[0063] The processor 110 may convert the features of the third medical data 30 based on the second sub-neural network model 320 included in the second neural network model. Here, the feature conversion of the third medical data 30 may be understood as a calculation process of restoring the third medical data 30 to the second medical data 20 so that the same result as the prediction result of the first neural network model 200 for the second medical data 20 is derived. The processor 110 may convert the features of the third medical data 30 through the second sub-neural network model 320 so that the positive or negative of the disease is estimated to be the same as that of the second medical data 20, thereby generating the fourth medical data 40 corresponding to the second medical data 20. Here, the second sub-neural network model 320 may include a neural network 321 for extracting features from the third medical data 30, and a neural network 322 for converting the extracted features to generate the fourth medical data 40 corresponding to the second medical data 20. The neural network 321 for feature extraction of the second sub-neural network model 320 may correspond to the neural network 210 for feature extraction of the first neural network model 200. Therefore, in the learning process of the second sub-neural network model 320, learning of the neural network 321 for feature extraction is not performed, and only learning of the neural network 322 for generating the fourth medical data 40 can be performed.

[0064] For example, the processor 110 may input the third medical data 30 including the electrocardiogram data generated through the first sub-neural network model 310 to the second sub-neural network model 320. Here, the electrocardiogram data included in the third medical data 30 may be data that is estimated to be positive for hyperkalemia by the first neural network model 200. The processor 110 may convert the morphological features of the electrocardiogram data included in the third medical data 30 based on indicators such as the PR interval, QRS duration, and T amplitude of the electrocardiogram through the second sub-neural network model 320. Then, the processor 110 may generate the fourth medical data 40 that is close to the second medical data 20 by converting the morphological features of the third medical data 30 based on the second sub-neural network model 320. In other words, the processor 110 may perform an operation to restore the third medical data 30 generated by the first sub-neural network model 310 to the second medical data 20 again through the second sub-neural network model 320. That is, the processor 110 can use the second sub-neural network model 320 to transform morphological features of electrocardiogram data that are presumed to be positive for hyperkalemia to generate electrocardiogram data that is negative for hyperkalemia.

[0065] As described above, the processor 110 can convert the domain of the second medical data 20 using the first sub-neural network model 310 and the second sub-neural network model 320. Here, the domain of the second medical data 20 can be understood as a domain classified based on the positivity or negativity of a disease. For example, the processor 110 can convert the second medical data 20 corresponding to the negative domain of a specific disease into the positive domain through the first sub-neural network model 310. The processor 110 can convert the second medical data 20 converted into the positive domain back into the negative domain through the second sub-neural network model 320. Here, the positive domain conversion using the first sub-neural network model 310 and the negative domain conversion using the second sub-neural network model 320 can be understood as a calculation process of converting the style of the second medical data 20 while maintaining the content of the second medical data 20 as much as possible.

[0066] The processor 110 can predict whether the third medical data 30 generated by the first sub-neural network model 310 is positive or negative for a disease based on the first neural network model 200 trained in advance. The processor 110 can input the third medical data 30 to the first neural network model 200 trained in advance to generate prediction data 50 including a result of estimating whether the third medical data 30 is positive or negative for a disease. The processor 110 can confirm whether the third medical data 30 generated by the first sub-neural network model 310 is predicted to be positive or negative for a disease, as opposed to the second medical data 20, through the first neural network model trained in advance. That is, the processor 110 can evaluate the operation result of the first sub-neural network model 310 using the first neural network model trained in advance. In other words, the first neural network model trained in advance 200 can be understood as a model for discriminating the operation result of the first sub-neural network model 310.

[0067] For example, the processor 110 may input the third medical data 30 generated by inputting the second medical data 20 including electrocardiogram data negative for hyperkalemia to the first sub-neural network model 310 to the first neural network model 200. The processor 110 may extract features of the electrocardiogram data included in the third medical data 30 through the feature extraction neural network 210 of the first neural network model 200. Then, the processor 110 may generate prediction data 50 including a probability that hyperkalemia is positive or negative for the third medical data 30 based on the features of the third medical data 30 through the classification neural network 220 of the first neural network model 200. If the first sub-neural network model 310 successfully generates the third medical data 30 according to its task, the first neural network model 200 may output prediction data 50 including a result that the third medical data 30 is estimated to be positive for hyperkalemia. That is, the processor 110 can evaluate, via the first neural network model 200, whether the first sub-neural network model 310 has successfully transformed the features of the second medical data 20 to generate the third medical data 30 which is positive for hyperkalemia as opposed to the second medical data 20.

[0068] The processor 110 can input the second medical data 20 to the second sub-neural network model 320 to generate the fifth medical data 60 corresponding to the second medical data 20. Here, the generation of the fifth medical data 60 can be understood as a calculation process for the second sub-neural network model 320 to evaluate whether the second medical data 20 is positive or negative for a disease and generate corresponding data. The second sub-neural network model 320 can basically perform a task of restoring the second medical data 20 based on the third medical data 30. Therefore, when the second medical data 20 is input to the second sub-neural network model 320, the second sub-neural network model 320 should theoretically generate the fifth medical data 60 corresponding to the second medical data 20. That is, the processor 110 can input the second medical data 20 to the second sub-neural network model 320 to check whether the second sub-neural network model 320 normally performs its task.

[0069] For example, the processor 110 may input the second medical data 20 including electrocardiogram data negative for hyperkalemia to the second sub-neural network model 320. The processor 110 may generate the fifth medical data 60 by converting the morphological features of the electrocardiogram data included in the second medical data 20 through the second sub-neural network model 320. The second sub-neural network model 320 aims to generate data corresponding to the same domain as the second medical data 20 by converting the style while maintaining the content of the input, so the fifth medical data 60 may be the same data as the second medical data 20 negative for hyperkalemia. In other words, if the second sub-neural network model 320 successfully generates the fifth medical data 60 according to its task, it may be understood that the second sub-neural network model 320 outputs the second medical data 20 negative for hyperkalemia as it is.

[0070] 3, the processor 110 may perform learning on the first sub-neural network model 310 based on the first loss function. Here, the first loss function may be a loss function for evaluating whether the first sub-neural network model 310 converts input features to generate an output that is opposite to the input and the positive or negative of the disease. The first loss function may use prediction data 50 including a positive or negative prediction result of the disease for the third medical data 30 and GT (ground truth) as input variables. For example, the first loss function may be expressed as the following Equation 1.

[0071]

number

[0072] where y A is GT (ground truth), JPEG2024533534000003.jpg55 is the predicted probability for positive or negative contained in the prediction data 50. Although Mathematical formula 1 expresses a cross-entropy function as the loss function, the present disclosure is not limited to this function.

[0073] The processor 110 can derive the first loss by calculating a first loss function with the prediction data 50 and GT (ground truth) as input variables. The processor 110 can train the first sub-neural network model 310 so that the first loss is reduced. That is, the processor 110 can reconfigure the parameters of the first sub-neural network model 310 so that the first sub-neural network model 310 reduces the first loss so that the first sub-neural network model 310 deceives the first neural network model 200. For example, when the first sub-neural network model 310 receives electrocardiogram data that is negative for hyperkalemia, the processor 110 can repeatedly calculate the first loss function and reconfigure the parameters of the generating neural network 312 of the first sub-neural network model 310 in a direction in which the first loss is reduced. Here, the parameter reconstruction of the generating neural network 312 of the first sub-neural network model 310 can be understood as a process of training the generating neural network 312 of the first sub-neural network model 310 so that the first neural network model 200 predicts the output of the first sub-neural network model 310 as electrocardiogram data positive for hyperkalemia. Here, since the feature extraction neural network 311 of the first sub-neural network model 310 corresponds to the feature extraction neural network 210 of the first neural network model 200, training of the feature extraction neural network 311 of the first sub-neural network model 310 does not need to be performed in the training process using the first loss function.

[0074] The processor 110 may perform learning for at least one of the first sub-neural network model 310 or the second sub-neural network model 320 based on the second loss function. Here, the second loss function may be a loss function for evaluating whether the second sub-neural network model 320 converts the output features of the first sub-neural network model 310 to restore the input of the first sub-neural network model 310. The second loss function may use, as an input variable, the fourth medical data 40 generated by the second sub-neural network model 320 based on the second medical data 20 and the third medical data 30, which are inputs of the first sub-neural network model 310. That is, the second loss function may be a function for comparing the input of the first sub-neural network model 310 with the output of the second sub-neural network model 320 based on the output of the first sub-neural network model 310. For example, the second loss function may be expressed as the following Equation 2.

[0075]

number

[0076] where x real A 20, x recover A is the fourth medical data 40. Although Equation 2 expresses the mean square error function as the loss function, the present disclosure is not limited to this function.

[0077] The processor 110 can calculate a second loss function using the second medical data 20 and the fourth medical data 40 as input variables to derive the second loss. The processor 110 can train at least one of the first sub-neural network model 310 or the second sub-neural network model 320 so as to reduce the second loss. That is, the processor 110 can reconfigure parameters of at least one of the first sub-neural network model 310 or the second sub-neural network model 320 so as to reduce the second loss in order to restore the fourth medical data 40 to the second medical data 20. For example, when the first sub-neural network model 310 receives electrocardiogram data that is negative for hyperkalemia, the processor 110 can repeatedly calculate the second loss function and reconfigure parameters of the generating neural network 312 of the first sub-neural network model 310 and the generating neural network 322 of the second sub-neural network model 320 so as to reduce the second loss. Here, the reconstruction of the parameters of the generated neural networks 312 and 322 can be understood as a process of training the generated neural networks 312 and 322 so that the second sub-neural network model 320 generates electrocardiogram data with negative hyperkalemia, which is the same as the input of the first sub-neural network model 310. Here, since the feature extraction neural network 311 of the first sub-neural network model 310 and the feature extraction neural network 321 of the second sub-neural network model 320 correspond to the feature extraction neural network 210 of the first neural network model 200, the training of the feature extraction neural networks 311 and 321 may not be performed in the training process using the first loss function. The processor 110 can prevent the output of the second sub-neural network model 320 from being generated that is unrelated to the input of the first sub-neural network model 310 through the training using the second loss function. In other words, the processor 110 can, through learning with the second loss function, ensure that the output of the second sub-neural network model 320 is a form in which only the style is transformed while maintaining the content of the input of the first sub-neural network model 310 to the greatest extent possible.

[0078] The processor 110 may perform learning for the second sub-neural network model 320 based on the third loss function. Here, the third loss function may be a loss function for evaluating whether the second sub-neural network model 320 generates the same output as the input of the first sub-neural network model 310 based on the input of the first sub-neural network model 310. The third loss function may use the fifth medical data 60 generated by the second sub-neural network model 320 based on the second medical data 20 and the third medical data 30, which are inputs of the first sub-neural network model 310, as an input variable. That is, the third loss function may be a function for comparing the input of the first sub-neural network model 310 and the output of the second sub-neural network model 320 based on the input of the first sub-neural network model 310. For example, the third loss function may be expressed as the following Equation 3.

[0079]

number

[0080] where x real A 20, x iden A is the fifth medical data 60. Although Equation 3 expresses the mean square error function as the loss function, the present disclosure is not limited to this function.

[0081] The processor 110 can calculate the third loss function with the second medical data 20 and the fifth medical data 60 as input variables to derive the third loss. The processor 110 can train the second sub-neural network model 320 so that the third loss is reduced. That is, the processor 110 can reconfigure the parameters of the second sub-neural network model 320 so as to reduce the third loss so that the difference between the fifth medical data 60 and the second medical data 20 is minimized. For example, when the second sub-neural network model 320 receives electrocardiogram data that is negative for hyperkalemia, the processor 110 can repeatedly calculate the third loss function and reconfigure the parameters of the generating neural network 322 of the second sub-neural network model 320 so that the third loss is reduced. Here, the reconstruction of the parameters of the generating neural network 322 of the second sub-neural network model 320 can be understood as a process of training the generating neural network 322 of the second sub-neural network model 320 so that the second sub-neural network model 320 generates electrocardiogram data that is negative for hyperkalemia and is the same as the input electrocardiogram data. Here, since the feature extraction neural network 321 of the second sub-neural network model 320 corresponds to the feature extraction neural network 210 of the first neural network model 200, training of the feature extraction neural network 321 of the second sub-neural network model 320 does not need to be performed in the training process using the third loss function. Through training using such a third loss function, the second sub-neural network model 320 can accurately identify the domain of the data to be converted. That is, the processor 110 can train the second sub-neural network model 320 so that the second sub-neural network model 320 generates the same domain as the input of the first sub-neural network model 310 through training using the third loss function.

[0082] Meanwhile, a loss function for training the second neural network model including the first sub-neural network model 310 and the second sub-neural network model 320 can be expressed as a sum of the first loss function, the second loss function, and the third loss function. That is, the processor 110 can train the second neural network model in a direction to reduce the sum of losses derived as the calculation results of each of the above-mentioned loss functions. Through such training, the second neural network model can generate an adverse factor for the input medical data as a basis for explaining which feature of the medical data the first neural network model 200 interpreted to predict the positive or negative of a disease.

[0083] As described above, when the second neural network model is trained to generate an opposite factor for the input medical data, the prediction result of the first neural network model 200 for the medical data and the prediction result of the first neural network model 200 for the output of the second neural network model receiving the medical data may be derived to be the opposite. For example, if the prediction result of the first neural network model 200 trained in advance for the medical data is negative, the prediction result of the first neural network model 200 trained in advance for the output of the second neural network model receiving the medical data may be positive. Therefore, by comparing the input of the second neural network model with the output of the second neural network model, it is possible to easily explain which feature of the medical data the first neural network model 200 judged the positive or negative of the disease based on. That is, the second neural network model can be effectively used to explain the data interpretation and decision-making process of the first neural network model 200.

[0084] FIG. 4 is a graph showing a simulation result of the second neural network model trained according to one embodiment of the present disclosure.

[0085] In order to verify the second neural network model trained according to an embodiment of the present disclosure, nine negative samples were extracted from the electrocardiogram recording of a patient classified as having negative hyperkalemia by moving a window of two seconds at one-second intervals. The nine negative samples were then input to the trained second neural network model and converted into positive samples. FIG. 4 shows the comparison results of the samples. The three graphs superimposed in FIG. 4 are a first graph 81 corresponding to the negative samples, a second graph 82 corresponding to the positive samples generated by the second neural network model, and a third graph 83 corresponding to the samples of a patient actually diagnosed as having positive hyperkalemia.

[0086] Comparing the first graph 81 with the second graph 82, it can be seen that the positive samples generated by the second neural network model have a QRS duration and a PR interval that are 1.14 times and 1.64 times larger on average than the negative samples. In addition, it can be seen that the ratio of positive samples generated by the second neural network model having Tall T is 45.34%, which is a significant increase of more than twice as much as the negative samples. Here, Tall T can be understood as a case where the T amplitude is more than half of the R peak amplitude. In addition, comparing the second graph 82 with the third graph 83, it can be seen that the second graph 82 shows a similar change pattern to the third graph 83.

[0087] From the above results, it can be seen that the second neural network model trained according to an embodiment of the present disclosure can appropriately convert and propose morphological features of an electrocardiogram that affect the positive or negative prediction of hyperkalemia. In other words, by using the second neural network model trained according to an embodiment of the present disclosure, it is possible to explain a criterion for which morphological feature of an electrocardiogram a neural network model for diagnosing a disease (e.g., the first neural network model of the present disclosure) should take into account to predict the positive or negative of hyperkalemia.

[0088] FIG. 5 is a flowchart illustrating a method for training a neural network model according to an embodiment of the present disclosure.

[0089] Referring to FIG. 5, the computing device 100 according to an embodiment of the present disclosure may train a first neural network model to estimate whether a disease is positive or negative for the first medical data based on the first medical data (S110). Here, the first medical data may be biosignal-related data including sequential information such as an electrocardiogram. The disease estimated by the first neural network model may be hyperkalemia. Since hyperkalemia is often asymptomatic up to an extremely dangerous level, it is difficult to diagnose hyperkalemia, especially outside of a hospital. Therefore, attention is being paid to diagnosing hyperkalemia using an electrocardiogram, which is non-invasive and can be obtained in daily life. In response to such a need, the first neural network model may be a model that receives electrocardiogram data and classifies whether or not a subject measured in the electrocardiogram data has hyperkalemia. However, the data and the type of disease are merely examples, and the task of the first neural network model of the present disclosure is not limited to the above examples.

[0090] The computing device 100 can train a second neural network model that transforms the features of the second medical data so that the positive or negative of a disease for the second medical data is predicted using the first neural network model trained in step S110 (S120). Here, the second neural network model can be understood as a model that proposes a basis for explaining the judgment and decision-making process of the first neural network model. The second medical data can be biosignal-related data including sequential information such as an electrocardiogram, like the first medical data. And the disease for the second medical data can be hyperkalemia.

[0091] Specifically, the computing device 100 can transform the features of the second medical data using the second neural network model. The computing device 100 can estimate the positivity or negativity of the transformed second medical data using the first neural network model trained in step S110. Here, the second neural network model can include a first sub-neural network model that generates third medical data by transforming the features of the second medical data so that the positivity or negativity of the disease is estimated opposite to that of the second medical data, and a second sub-neural network model that generates fourth medical data by transforming the features of the third medical data so that the positivity or negativity of the disease is estimated the same as that of the second medical data.

[0092] For example, the computing device 100 may generate third medical data that is estimated to be positive, which is the opposite of the second medical data, by transforming the features of the second medical data that are estimated to be negative based on the first sub-neural network model included in the second neural network model. If the second medical data is electrocardiogram data of a patient diagnosed as negative for hyperkalemia, the computing device 100 may generate third medical data that is electrocardiogram data that is estimated to be positive for hyperkalemia by the first neural network model by transforming the morphological features of the second medical data through the first sub-neural network model included in the second neural network model. That is, the first sub-neural network model may perform an operation to transform the features of data based on a morphological difference between electrocardiogram data that is negative for hyperkalemia and electrocardiogram data that is positive for hyperkalemia.

[0093] The computing device 100 can generate fourth medical data corresponding to the second medical data estimated to be negative by transforming the features of the third medical data based on the second sub-neural network model included in the second neural network model. If the third medical data is electrocardiogram data estimated to be positive for hyperkalemia by the first neural network model, the computing device 100 can generate fourth medical data corresponding to the second medical data by transforming the morphological features of the third medical data through the second sub-neural network model included in the second neural network model. That is, the second sub-neural network model can perform an operation of transforming the features of the data based on the morphological difference between the electrocardiogram data negative for hyperkalemia and the electrocardiogram data positive for hyperkalemia.

[0094] The computing device 100 may input the third medical data to the first neural network model trained in step S110, and generate prediction data indicating a result of estimating whether the third medical data is positive or negative for a disease. If the second medical data is electrocardiogram data of a patient diagnosed as negative for hyperkalemia, the third medical data generated by the first sub-neural network model must be estimated as positive for hyperkalemia by the first neural network model. Therefore, in order to evaluate whether the first sub-neural network model has normally generated the third medical data, the computing device 100 may analyze the third medical data through the first neural network model to confirm whether the third medical data corresponds to data indicating positive for hyperkalemia.

[0095] The computing device 100 can input the second medical data estimated to be negative to the second sub-neural network model to generate fifth medical data corresponding to the second medical data estimated to be negative. If the second medical data is electrocardiogram data of a patient diagnosed as negative for hyperkalemia, the fifth medical data generated by the second sub-neural network model should also be estimated as negative for hyperkalemia by the first neural network model, just like the second medical data. Therefore, to evaluate whether the second sub-neural network model correctly identifies the domain of data, the computing device 100 can check whether the second sub-neural network model generates the same data as the second medical data.

[0096] The computing device 100 can train the second neural network model based on a loss function having as an input variable at least one of the second medical data transformed by the feature or the positive or negative prediction result for the second medical data transformed by the feature. In other words, the computing device 100 can train the first sub-neural network model and the second sub-neural network model included in the second neural network model based on a loss function having as an input variable at least one of the fourth medical data, the fifth medical data, and the prediction data. Here, the loss function can include a first loss function for reflecting whether the first sub-neural network model transforms an input feature corresponding to a negative result of a disease to generate an output corresponding to a positive result of a disease, a second loss function for reflecting whether the second sub-neural network model transforms an output feature of the first sub-neural network model to restore the input of the first sub-neural network model, and a third loss function for reflecting whether the second sub-neural network model generates an output that is the same as the input of the first sub-neural network model based on the input of the first sub-neural network model.

[0097] For example, the computing device 100 can calculate a first loss function using the predicted data as an input variable, and can train the first sub-neural network model so that the first loss, which is the calculation result of the first loss function, is reduced. If the second medical data is electrocardiogram data of a patient diagnosed as negative for hyperkalemia, the computing device 100 can compare the predicted data with ground truth (GT) corresponding to electrocardiogram data positive for hyperkalemia through the first loss function. The computing device 100 can update the neural network parameters of the first sub-neural network model in a direction to minimize the first loss derived as a comparison result. Here, minimizing the first loss can be understood as training the first sub-neural network model so that the first neural network model recognizes the third medical data generated by the first sub-neural network model as electrocardiogram data of a patient diagnosed as positive for hyperkalemia.

[0098] The computing device 100 can calculate a second loss function using the fourth medical data as an input variable, and can train at least one of the first sub-neural network model or the second sub-neural network model so that the second loss, which is a calculation result of the second loss function, is reduced. If the second medical data is electrocardiogram data of a patient diagnosed as negative for hyperkalemia, the computing device 100 can compare the second medical data with the fourth medical data through the first loss function. The computing device 100 can update neural network parameters of at least one of the first sub-neural network model or the second sub-neural network model in a direction that minimizes the second loss derived as a comparison result. Here, minimizing the second loss can be understood as training at least one of the first sub-neural network model or the second sub-neural network model so that the fourth medical data generated by the second sub-neural network model corresponds to data obtained by restoring the second medical data from the third medical data.

[0099] The computing device 100 can calculate a third loss function using the fifth medical data as an input variable, and can train the second sub-neural network model so that the third loss, which is a calculation result of the third loss function, is reduced. If the second medical data is electrocardiogram data of a patient diagnosed as negative for hyperkalemia, the computing device 100 can compare the second medical data with the fifth medical data through the third loss function. The computing device 100 can update the neural network parameters of the second sub-neural network model in a direction to minimize the third loss derived as a comparison result. Here, minimizing the third loss can be understood as training the second sub-neural network model so that the second sub-neural network model can output the same fifth medical data as the second medical data.

[0100] The second neural network model trained as described above has an advantage of being independent of the structure of the first neural network model to be interpreted. That is, the second neural network model according to an embodiment of the present disclosure has an advantage of being flexible enough to interpret any model structure as long as it classifies the positive or negative of a disease. In addition, the second neural network model according to an embodiment of the present disclosure has an advantage of not necessarily requiring paired data for training. In the other two conditions, since there is no need to prepare two electrocardiograms from the same patient to analyze the morphological difference of the electrocardiogram, it is only easy to collect data for training the second neural network model. This is because the second neural network model according to an embodiment of the present disclosure can recognize the morphological difference between both groups in an unpaired data set and generate a counter factor to the input.

[0101] FIG. 6 is a flow chart illustrating a method for interpreting medical data using a neural network model according to one embodiment of the present disclosure.

[0102] 6, a computing device 100 according to an embodiment of the present disclosure may acquire medical data including electrocardiogram data (S210). For example, when the computing device 100 is a server or a client of a cloud system, the computing device 100 may receive electrocardiogram data through communication with a database in a hospital environment or communication with an electrocardiogram measuring device. When the computing device 100 is a database in a hospital environment, the computing device 100 may generate electrocardiogram data through communication with an electrocardiogram measuring device in a hospital environment. Also, when the computing device 100 is an electrocardiogram measuring device, the computing device 100 may perform an electrocardiogram measuring process by itself to generate electrocardiogram data.

[0103] The computing device 100 may generate output data in which the positive or negative of a disease is predicted inversely to the medical data by converting the characteristics of the medical data acquired in step S210 based on the second neural network model (S220). Here, the second neural network model may be pre-trained using the first neural network model trained to predict the positive or negative of a disease for the medical data. The learning process of the second neural network model using the pre-trained first neural network model is the same as that of FIG. 5 described above, and therefore a detailed description will be omitted below. For example, when the computing device 100 acquires electrocardiogram data in which hyperkalemia is determined to be negative, the computing device 100 may input the acquired electrocardiogram data to the second neural network model to convert the morphological characteristics of the electrocardiogram data. Here, the second neural network model may deform the shape of the input electrocardiogram data based on indicators such as the PR interval, QRS duration, T amplitude, etc. of the electrocardiogram so that the data generated as the output is determined to be positive for hyperkalemia. The computing device 100 can generate electrocardiogram data that can be determined as positive for hyperkalemia by feature transformation using the second neural network model, where the electrocardiogram data corresponding to the output of the second neural network model can be electrocardiogram data that can be determined as positive by the first neural network model that classifies hyperkalemia as positive or negative.

[0104] The computing device 100 may generate a user interface for visually comparing the medical data acquired in step S110 with the output data of the second neural network model generated in step S120 (S230). The output data of the second neural network model generated in step S120 may indicate an opposite factor to the medical data acquired in step S110 based on whether the disease is positive or negative. That is, the output data of the second neural network model generated in step S120 may be a basis for explaining the judgment process of the artificial intelligence for classifying the positive or negative of the disease. Therefore, in order to allow the user to easily understand the judgment process of the artificial intelligence by comparing the medical data acquired in step S110 with the output data of the second neural network model generated in step S120, the computing device 100 may generate a user interface for visually comparing both data.

[0105] For example, the computing device 100 may generate a graph-type graphic for each of the medical data acquired in step S110 and the output data of the second neural network model generated in step S120, as shown in Fig. 4. Here, the computing device 100 may implement both data generated in the graph-type graphic in one area of ​​the user interface. To facilitate comparison between the two data, the computing device 100 may superimpose and display the graph-type graphic in one area of ​​the user interface. Here, the computing device 100 may perform an operation of matching scales for clear comparison of the superimposed graphs.

[0106] Meanwhile, the computing device 100 may share a user interface with a client and provide graphics to a user through the client. The computing device 100 may also implement a user interface through its own input / output unit and provide graphics to a user.

[0107] The various embodiments of the present disclosure described above can be combined with additional embodiments and can be modified within the scope that a person skilled in the art can understand from the above detailed description. The embodiments of the present disclosure are illustrative in all respects and should be understood as not being limiting. For example, each component described as a single type can be implemented in a distributed form, and similarly, components described as distributed can be implemented in a combined form. Therefore, all modifications or variations derived from the meaning, scope, and equivalent concept of the claims of the present disclosure should be interpreted as being included in the scope of the present disclosure. [Explanation of symbols]

[0108] 100: Computing equipment 110: Processor 120: Memory 130: Network Department 200: First neural network model 210 : Feature Extraction Neural Network 220: Classification Neural Networks 310: First sub-neural network model 311 : Feature Extraction Neural Network 312: Generative Neural Networks 320: Second sub-neural network model 321 : Feature Extraction Neural Network 322: Generative Neural Networks

Claims

1. 1. A method for interpreting medical data based on explainable artificial intelligence, executed by a computing device including at least one processor, comprising: training a first neural network model based on first medical data to predict whether a disease is positive or negative for the first medical data; Using the trained first neural network model, a second neural network model is trained to transform features of the second medical data so that the positive or negative of the disease for the second medical data is predicted inversely; A method comprising:

2. The second neural network model is a first sub-neural network model for generating third medical data by transforming features of the second medical data so that the positivity or negativity of the disease is predicted inversely to the second medical data; A second sub-neural network model that generates fourth medical data by transforming the features of the third medical data so that the positivity or negativity of the disease is estimated to be the same as that of the second medical data; The method of claim 1 , comprising:

3. The step of training a second neural network model that transforms features of the second medical data so that the positivity or negativity of the disease for the second medical data is predicted inversely using the trained first neural network model, transforming features of the second medical data using the second neural network model and predicting the positivity or negativity of the features for the transformed second medical data using the trained first neural network model; training the second neural network model based on a loss function having as input variables at least one of the second medical data transformed by the feature or a positive or negative prediction result for the second medical data transformed by the feature; The method of claim 1 , comprising:

4. Transforming features of the second medical data using the second neural network model and predicting the positivity or negativity of the features for the transformed second medical data using the trained neural network model, generating third medical data that is predicted to be positive, opposite to the second medical data, by transforming features of the second medical data that are predicted to be negative based on a first sub-neural network model included in the second neural network model; generating fourth medical data corresponding to the second medical data that is presumed to be negative by transforming features of the third medical data based on a second sub-neural network model included in the second neural network model; The method of claim 3 , comprising:

5. Transforming features of the second medical data using the second neural network model and predicting the positivity or negativity of the features for the transformed second medical data using the trained neural network model, inputting the third medical data into the trained first neural network model and generating prediction data indicating a result of estimating whether the disease is positive or negative for the third medical data; The method of claim 4 further comprising:

6. Transforming features of the second medical data using the second neural network model and predicting the positivity or negativity of the features for the transformed second medical data using the trained neural network model, inputting the second medical data presumed to be negative into the second sub-neural network model to generate fifth medical data corresponding to the second medical data presumed to be negative; The method of claim 5 further comprising:

7. The loss function is a first loss function for evaluating whether the first sub-neural network model transforms input features corresponding to a negative for the disease to generate an output corresponding to a positive for the disease; a second loss function for evaluating whether the second sub-neural network model converts the output features of the first sub-neural network model to restore the input features of the first sub-neural network model; a third loss function for evaluating whether the second sub-neural network model generates an output based on an input of the first sub-neural network model that is the same as the input of the first sub-neural network model; The method of claim 6, comprising:

8. The step of training the second neural network model based on a loss function having as input variables at least one of the second medical data transformed by the feature or a positive or negative prediction result for the second medical data transformed by the feature, training the first sub-neural network model and the second sub-neural network model based on a loss function having at least one of the fourth medical data, the fifth medical data, or the prediction data as an input variable; The method of claim 6, comprising:

9. The step of training the first sub-neural network model and the second sub-neural network model based on a loss function having at least one of the fourth medical data, the fifth medical data, and the prediction data as an input variable includes: calculating a first loss function using the prediction data as an input variable, and training the first sub-neural network model so that a first loss, which is a calculation result of the first loss function, is reduced; calculating a second loss function using the fourth medical data as an input variable, and training at least one of the first sub-neural network model and the second sub-neural network model so that a second loss, which is a calculation result of the second loss function, is reduced; calculating a third loss function using the fifth medical data as an input variable, and training the second sub-neural network model so that a third loss, which is a calculation result of the third loss function, is reduced; The method of claim 8 , comprising:

10. the first medical data and the second medical data include electrocardiogram data; 10. The method of claim 1, wherein the disease comprises hyperkaleemia.

11. The method of claim 10, wherein the characteristic of the second medical data is based on a morphological difference between the hyperkalemia negative electrocardiogram data and the hyperkalemia positive electrocardiogram data.

12. 1. A method for interpreting medical data based on explainable artificial intelligence, executed by a computing device including at least one processor, comprising: acquiring medical data including electrocardiogram data; Transforming the features of the medical data based on a second neural network model to generate output data in which the first neural network model predicts a positive or negative disease status inversely to the medical data; Including, The method, wherein the second neural network model was pre-trained using a first neural network model trained to predict disease positivity or negativity for medical data.

13. generating a user interface for visually comparing the medical data with the output data; The method of claim 12 further comprising:

14. A computer program stored on a computer-readable storage medium, comprising: The computer program, when executed by one or more processors, performs operations for interpreting medical data based on explainable artificial intelligence; The operation includes: an operation of training a first neural network model to predict whether a disease is positive or negative for the first medical data based on the first medical data; An operation of training a second neural network model that transforms features of the second medical data using the trained first neural network model so that the positivity or negativity of the disease for the second medical data is predicted inversely; A computer program comprising:

15. A computing device for explainable artificial intelligence based interpretation of medical data, comprising: A processor including at least one core; a memory containing program code executable by the processor; A network unit for acquiring medical data; Including, The processor, training a first neural network model based on the first medical data to predict whether the first medical data is positive or negative for a disease; An apparatus for training a second neural network model using the trained first neural network model to transform features of the second medical data so as to inversely predict the positivity or negativity of the disease for the second medical data.

Citation Information

Patent Citations

  • Classifying apparatus, learning apparatus, classifying method, learning method, control program, and recording medium

    JP2021039757A

  • Electrocardiogram display device, electrocardiogram display method, and program

    JP2021106902A