Data recognition model training method, data recognition method, device and equipment

By converting the original MRI data into one-dimensional frequency signals and combining them, the MRI data recognition model is directly trained, which solves the problem of information distortion during image reconstruction, improves recognition accuracy, and avoids misdiagnosis and missed diagnosis.

CN114494484BActive Publication Date: 2024-10-29SHENYANG NEUSOFT INTELLIGENT MEDICAL TECH RES INST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111630162.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-10-29
Estimated Expiration
2041-12-28

Smart Images

  • Figure CN114494484B_ABST
    Figure CN114494484B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a training method, a data recognition method, a device and an apparatus for a data recognition model, the method comprising: obtaining multiple groups of raw nuclear magnetic resonance data, converting the multiple groups of raw nuclear magnetic resonance data into one-dimensional frequency signals, obtaining multiple groups of one-dimensional nuclear magnetic resonance data, combining the one-dimensional nuclear magnetic resonance data in a specified direction for each group of one-dimensional nuclear magnetic resonance data, obtaining combined nuclear magnetic resonance data, and inputting the obtained multiple groups of combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training. By using the raw nuclear magnetic resonance data to train the nuclear magnetic resonance data recognition model, the nuclear magnetic resonance data recognition model can directly recognize the raw nuclear magnetic resonance data, avoid information distortion caused by the image reconstruction process of the raw nuclear magnetic resonance data, fully and effectively utilize the raw nuclear magnetic resonance data, and improve the accuracy of recognizing the nuclear magnetic resonance data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence, and in particular, to a data recognition model training method, a data recognition method, a device and equipment. Background Art

[0002] Magnetic Resonance (MR) technology has made great progress in the past two decades. The number of people examined using MR technology has increased rapidly, and image resolution has continued to rise. Coupled with the widespread application of multi-contrast and multi-dimensional images, doctors have to deal with massive amounts of MRI image data.

[0003] The main diagnostic mode of MR technology is to reconstruct images based on the original nuclear magnetic resonance data (original K-space data), and then identify the reconstructed images. In recent years, artificial intelligence-assisted recognition tools based on MR data training have gradually emerged, but they all require that the collected original K-space data information must undergo a series of data processing and mathematical transformations to transfer to the image space, that is, image reconstruction. However, the form of information expression changes during the image reconstruction process, and may cause information distortion. The information collected in MR technology cannot be fully or effectively utilized in some application scenarios, resulting in a decrease in the recognition accuracy of MR data, which in turn leads to misdiagnosis, missed diagnosis, and other situations. Summary of the invention

[0004] The purpose of the present invention is to provide a data recognition model training method, data recognition method, device and equipment to solve the problem of information distortion of the existing reconstructed image based on the original K-space data, resulting in the problem of misdiagnosis and missed diagnosis.

[0005] According to a first aspect of an embodiment of the present disclosure, the present disclosure provides a method for training a data recognition model, comprising: acquiring multiple groups of raw nuclear magnetic resonance data; the multiple groups of raw nuclear magnetic resonance data are all multi-layer two-dimensional frequency signals; converting the multiple groups of raw nuclear magnetic resonance data into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data; for each group of the one-dimensional nuclear magnetic resonance data, combining the one-dimensional nuclear magnetic resonance data in a specified direction to obtain combined nuclear magnetic resonance data; the combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of the frequency domain and the space domain; and inputting the obtained multiple groups of the combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training.

[0006] Optionally, the step of inputting the obtained multiple groups of combined nuclear magnetic resonance data into nuclear magnetic resonance data recognition for training comprises: inputting the obtained multiple groups of combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training, and when the loss function of the nuclear magnetic resonance data recognition model no longer changes, adjusting the learning rate to half of the current learning rate, and continuing training based on the adjusted learning rate until the number of iterations of the nuclear magnetic resonance data recognition model reaches a predetermined number, and stopping the training.

[0007] Optionally, the step of converting the multiple groups of nuclear magnetic resonance raw data into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data includes: performing phase shift on each group of the nuclear magnetic resonance raw data to obtain the phase-shifted nuclear magnetic resonance raw data; converting the obtained multiple groups of the phase-shifted nuclear magnetic resonance raw data into a one-dimensional frequency signal to obtain the multiple groups of one-dimensional nuclear magnetic resonance data.

[0008] Optionally, the step of converting the obtained multiple groups of phase-shifted nuclear magnetic resonance raw data into one-dimensional frequency signals to obtain the multiple groups of one-dimensional nuclear magnetic resonance data includes: for each group of phase-shifted nuclear magnetic resonance raw data, aggregating the frequency components of each layer of two-dimensional frequency signals in the phase-shifted nuclear magnetic resonance raw data through a multilayer perceptron to obtain one-dimensional nuclear magnetic resonance data.

[0009] Optionally, the calculation formula of the loss function includes:

[0010] FL(p t )=(1-p t ) γ log(p t )

[0011] Among them, FL(p t ) is the loss function, p t is the probability that the identification result is disease positive, and γ is a constant greater than and equal to 0.

[0012] Optionally, the nuclear magnetic resonance data recognition model adopts a multi-layer perceptron MLP network structure, and the MLP network structure includes: an input layer, and three fully-connected layers after the input layer, and the three fully-connected layers all adopt a ReLU activation function; the number of nodes in the three fully-connected layers is respectively a first number, a second number, and a third number, wherein the second number is half of the first number, and the third number is half of the second number.

[0013] Optionally, the MLP network structure further includes: an output layer;

[0014] The output layer is a convolutional neural network CNN, which includes three convolutional layers and two fully connected layers; the CNN is used to measure the relative correlation between different frequencies of the combined nuclear magnetic resonance data in the same layer, and the relative correlation between layers of the combined nuclear magnetic resonance data in different layers, and obtain recognition results of multiple groups of the combined nuclear magnetic resonance data based on the relative correlation.

[0015] According to a second aspect of an embodiment of the present disclosure, the present disclosure provides a data recognition method, comprising: obtaining raw nuclear magnetic resonance data to be recognized; recognizing the raw nuclear magnetic resonance data to be recognized by using a pre-trained magnetic resonance data recognition model to obtain a recognition result; the magnetic resonance data recognition model is trained according to the aforementioned data recognition model training method.

[0016] According to a third aspect of an embodiment of the present disclosure, the present disclosure provides a training device for a data recognition model, comprising: an acquisition module, used to acquire multiple groups of raw nuclear magnetic resonance data; the multiple groups of raw nuclear magnetic resonance data are all multi-layer two-dimensional frequency signals; a conversion module, used to convert the multiple groups of raw nuclear magnetic resonance data into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data; a combination module, used to combine the one-dimensional nuclear magnetic resonance data in a specified direction for each group of the one-dimensional nuclear magnetic resonance data to obtain combined nuclear magnetic resonance data; the combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of the frequency domain and the space domain; a training module, used to input the obtained multiple groups of the combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training.

[0017] According to a fourth aspect of an embodiment of the present disclosure, the present disclosure provides a data identification device, comprising: an acquisition module, used to acquire raw nuclear magnetic resonance data to be identified; an identification module, used to identify the raw nuclear magnetic resonance data to be identified through a pre-trained magnetic resonance data identification model to obtain an identification result; the magnetic resonance data identification model is trained according to the aforementioned data identification model training method.

[0018] According to a fifth aspect of an embodiment of the present disclosure, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the aforementioned data recognition model training method.

[0019] According to the sixth aspect of an embodiment of the present disclosure, the present disclosure provides an electronic device, comprising: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of the aforementioned data recognition model training method.

[0020] According to a seventh aspect of an embodiment of the present disclosure, the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the steps of the aforementioned data identification method when executed by a processing device.

[0021] According to an eighth aspect of an embodiment of the present disclosure, the present disclosure provides an electronic device, comprising: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of the aforementioned data identification method.

[0022] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the present disclosure can obtain multiple groups of nuclear magnetic resonance raw data, and the multiple groups of nuclear magnetic resonance raw data are all multi-layer two-dimensional frequency signals, and the multiple groups of nuclear magnetic resonance raw data are converted into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data. For each group of one-dimensional nuclear magnetic resonance data, the one-dimensional nuclear magnetic resonance data are combined in a specified direction to obtain the combined nuclear magnetic resonance data, and the combined nuclear magnetic resonance data are mixed domain two-dimensional signals of the frequency domain and the space domain, and the obtained multiple groups of combined nuclear magnetic resonance data are input into the nuclear magnetic resonance data recognition model for training. By using the nuclear magnetic resonance raw data to train the nuclear magnetic resonance data recognition model, the nuclear magnetic resonance data recognition model can directly recognize the nuclear magnetic resonance raw data, avoid information distortion caused by the image reconstruction process of the nuclear magnetic resonance raw data, fully and effectively utilize the nuclear magnetic resonance raw data, and improve the accuracy of recognizing the nuclear magnetic resonance data.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0025] Figure 1 It is a general framework diagram of an exemplary embodiment of the present disclosure showing a method of obtaining a recognition result based on original K-space data.

[0026] Figure 2 It is a schematic diagram of the structure of a computer system shown in an exemplary embodiment of the present disclosure.

[0027] Figure 3 It is a flowchart of a method for training a data recognition model shown in an exemplary embodiment of the present disclosure.

[0028] Figure 4 It is a flowchart of another data recognition model training method shown in an exemplary embodiment of the present disclosure.

[0029] Figure 5 FIG. 4 is a schematic diagram of original K-space data shown in an exemplary embodiment of the present disclosure.

[0030] Figure 6 It is a schematic diagram showing an exemplary embodiment of the present disclosure of using raw K-space data to train a nuclear magnetic resonance data recognition model.

[0031] Figure 7 The figure is a flow chart of a data identification method shown in an exemplary embodiment of the present disclosure.

[0032] Figure 8 It is a block diagram of a training device for a data recognition model shown in an exemplary embodiment of the present disclosure.

[0033] Fig. 9 It is a block diagram of a data identification device shown in an exemplary embodiment of the present disclosure.

[0034] Fig.10 It is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.

[0035] Fig.11 is a block diagram of another electronic device according to an exemplary embodiment of the present disclosure.

[0036] Description of Reference Numerals

[0037] 120-terminal; 140-server; 20-data recognition model training device; 201-acquisition module; 203-conversion module; 205-combination module; 205-training module; 30-data recognition device; 301-acquisition module; 303-recognition module; 400-electronic device; 401-processor; 402-memory 403; -multimedia component; 404-input / output (I / O) interface; 405-communication component; 500-electronic device; 522-processor; 532-memory; 526-power supply component; 550-communication component; 558-input / output (I / O) interface. DETAILED DESCRIPTION

[0038] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0039] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0040] The MR system reconstructs images from the original K-space data information to facilitate doctors to read the film with their naked eyes for diagnosis. However, since the information expression form changes during the image reconstruction process and may cause information distortion, the present invention uses the original K-space data combined with a deep learning algorithm to assist in disease identification and classification, skipping the intermediate step of image reconstruction, such as Figure 1 As shown, Figure 1 An exemplary embodiment of the present disclosure shows an overall framework diagram of obtaining recognition results based on original K-space data.

[0041] Obtaining recognition results based on original K-space data can improve recognition accuracy in some application scenarios. Figure 1 The prior art shows the steps of obtaining an MR image from raw K-space data to a reconstructed image, and from MR images to recognition results for doctor reading or deep learning-assisted reading; the method provided in the present disclosure is to directly obtain recognition results from raw K-space data, and can realize artificial intelligence-assisted recognition based on non-reconstructed image data.

[0042] Figure 2 A schematic diagram of the structure of a computer system provided by an exemplary embodiment of the present disclosure is shown. The computer system includes a terminal 120 and a server 140 .

[0043] The terminal 120 and the server 140 are connected to each other via a wired or wireless network.

[0044] The terminal 120 may include at least one of a smart phone, a laptop computer, a desktop computer, a tablet computer, a smart speaker, and a smart robot.

[0045] The terminal 120 includes a display; the display is used to display the result of identifying the original nuclear magnetic resonance data.

[0046] The terminal 120 includes a first memory and a first processor. A first program is stored in the first memory; the first program is called and executed by the first processor to implement the training method or data recognition method of the data recognition model provided in the embodiment of the present disclosure. The first memory may include but is not limited to the following: Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and Electric Erasable Programmable Read-Only Memory (EEPROM).

[0047] The first processor may be composed of one or more integrated circuit chips. Optionally, the first processor may be a general-purpose processor, such as a central processing unit (CPU) or a network processor (NP). Optionally, the first processor may train the nuclear magnetic resonance data recognition model by calling the training method of the data recognition model provided in the embodiment of the present disclosure. Exemplarily, the trained nuclear magnetic resonance data recognition model in the terminal may be obtained by training the terminal; or, may be obtained by training the server, and the terminal obtains it from the server.

[0048] The server 140 includes a second memory and a second processor. A second program is stored in the second memory, and the second program is called by the second processor to implement the training method or data recognition method of the data recognition model provided by the present disclosure. Exemplarily, a nuclear magnetic resonance data recognition model is stored in the second memory, and the nuclear magnetic resonance data recognition model is called by the second processor to realize the recognition of nuclear magnetic resonance raw data. Optionally, the second memory may include but is not limited to the following: RAM, ROM, PROM, EPROM, EEPROM. Optionally, the second processor may be a general-purpose processor, such as a CPU or NP.

[0049] The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this disclosure.

[0050] See also Figure 3 , Figure 3 The present invention is a flowchart of a method for training a data recognition model according to an exemplary embodiment of the present invention. Figure 3 The training method of the data recognition model shown includes the following steps:

[0051] In step S101, multiple sets of raw nuclear magnetic resonance data are acquired.

[0052] The original nuclear magnetic resonance data may be original K-space data, which is original data obtained by MR scanning of the human brain. In the present disclosure, the original nuclear magnetic resonance data is taken as the original K-space data for illustration.

[0053] In step S102, multiple groups of nuclear magnetic resonance raw data are converted into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data.

[0054] Exemplarily, each group of nuclear magnetic resonance raw data in multiple groups of nuclear magnetic resonance raw data is phase-shifted to obtain nuclear magnetic resonance raw data after phase shift. Taking the original K-space data as an example, multiple groups of original K-space data are phase-shifted, and the obtained multiple groups of original K-space data after phase shift are converted into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data. The diversity of the original K-space data can be increased, so that the trained nuclear magnetic resonance data recognition model has stronger generalization ability.

[0055] In step S103, for each set of one-dimensional nuclear magnetic resonance data, the one-dimensional nuclear magnetic resonance data are combined in a specified direction to obtain combined nuclear magnetic resonance data.

[0056] It should be noted that the designated direction is the Z-axis direction, so the combined K-space data is a mixed domain two-dimensional signal of the frequency domain and the spatial domain, which can be expressed as G(z).

[0057] In step S104, the obtained multiple groups of combined nuclear magnetic resonance data are input into a nuclear magnetic resonance data recognition model for training.

[0058] It should be noted that the NMR data recognition model can adopt an MLP network structure. The MLP network structure includes: an input layer, and three fully connected layers after the input layer, and the three fully connected layers all adopt a ReLU activation function.

[0059] Exemplarily, the model can be optimized during the training process, for example, the obtained multiple groups of combined K-space data are input into the nuclear magnetic resonance data recognition model for training, and when the loss function of the nuclear magnetic resonance data recognition model no longer changes, the learning rate is adjusted. The loss function allows the nuclear magnetic resonance data recognition model to increase the weight of samples whose recognition results are uncertain during the training process, so that the nuclear magnetic resonance data recognition model retains as many correct recognition results as possible.

[0060] Through the above steps, a trained nuclear magnetic resonance data recognition model is obtained, and the nuclear magnetic resonance raw data to be recognized is obtained. The trained magnetic resonance data recognition model is used to recognize the nuclear magnetic resonance raw data to obtain a recognition result.

[0061] In summary, the present disclosure discloses a training method for a data recognition model, including obtaining multiple groups of nuclear magnetic resonance raw data, each of which is a multi-layer two-dimensional frequency signal, converting the multiple groups of nuclear magnetic resonance raw data into a one-dimensional frequency signal, obtaining multiple groups of one-dimensional nuclear magnetic resonance data, and for each group of one-dimensional nuclear magnetic resonance data, combining the one-dimensional nuclear magnetic resonance data in a specified direction to obtain combined nuclear magnetic resonance data, wherein the combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of a frequency domain-spatial domain, and inputting the obtained multiple groups of combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training. By using the nuclear magnetic resonance raw data to train the nuclear magnetic resonance data recognition model, the nuclear magnetic resonance data recognition model can directly recognize the nuclear magnetic resonance raw data, avoid information distortion caused by the image reconstruction process of the nuclear magnetic resonance raw data, fully and effectively utilize the nuclear magnetic resonance raw data, and improve the accuracy of recognizing nuclear magnetic resonance data.

[0062] See also Figure 4 , Figure 4 The present invention is a flowchart of another method for training a data recognition model according to an exemplary embodiment of the present invention. Figure 4 The training method of the data recognition model shown includes the following steps:

[0063] Step S201, acquiring multiple sets of raw nuclear magnetic resonance data.

[0064] Taking the above-mentioned original K-space data as an example, the original K-space data are all multi-layer two-dimensional frequency signals, and the frequency signals in the layers are divided into k-space signals in the X-axis direction along different directions. x and k in the Y-axis direction y , the layers are arranged along the direction perpendicular to the plane (Z-axis direction), and the original K-space data can be expressed as S(k x ,k y ,z), such as Figure 5 As shown, Figure 5 The figure is a schematic diagram of raw K-space data according to an exemplary embodiment of the present disclosure. Figure 5 Shown is the raw K-space data of the brain.

[0065] Since the K-space data is a multi-layer two-dimensional frequency signal, it is necessary to convert the multiple sets of NMR raw data into one-dimensional frequency signals to obtain multiple sets of one-dimensional NMR data. The method of converting into one-dimensional NMR data can be shown in the following steps S202 and S203.

[0066] Step S202, performing phase shift on each group of the nuclear magnetic resonance raw data to obtain phase-shifted nuclear magnetic resonance raw data.

[0067] Step S203, converting the obtained multiple sets of phase-shifted nuclear magnetic resonance raw data into one-dimensional frequency signals to obtain the multiple sets of one-dimensional nuclear magnetic resonance data.

[0068] For example, for each set of phase-shifted NMR raw data, the frequency components of each layer of two-dimensional frequency signals in the phase-shifted NMR raw data can be aggregated through a multi-layer perceptron (MLP) to obtain one-dimensional NMR data.

[0069] For example, taking the original K-space data as an example, after performing phase shift on each group of original K-space data (phase shift can increase the diversity of original K-space data, so that the trained MRI data recognition model has stronger generalization ability), the original K-space data after phase shift is obtained, and then the frequency components of each layer of two-dimensional frequency signals in the original K-space data after phase shift are aggregated through the fully connected layer of MLP to obtain one-dimensional MRI data, that is, one-dimensional K-space data, that is, one layer of K-space data corresponds to one one-dimensional feature. Figure 6 As shown, the original K-space data S(k x ,k y ,z) Schematic diagram of input to MLP. Figure 6 The figure is a schematic diagram showing an exemplary embodiment of the present disclosure for training a nuclear magnetic resonance data recognition model using raw K-space data.

[0070] Step S204: for each set of one-dimensional nuclear magnetic resonance data, the one-dimensional nuclear magnetic resonance data are combined in a specified direction to obtain combined nuclear magnetic resonance data.

[0071] The combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of frequency domain and space domain. Taking K space data as an example, the combined K space data is a mixed domain two-dimensional signal G(z) of frequency domain and space domain. Figure 6 As shown, the frequency domain comes from the frequency domain features of MLP, and the spatial domain represents the arrangement of K-space data in the spatial direction (Z-axis direction). The activation function used in the fully connected layer of MLP in the present disclosure is ReLU, and ReLU is a piecewise linear function, so the combined K-space data has local continuity.

[0072] Step S205, inputting the obtained multiple groups of combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training.

[0073] The NMR data recognition model adopts an MLP network structure, for example. The MLP network structure includes: an input layer, and three fully connected layers after the input layer, and the three fully connected layers all use the ReLU activation function. In one embodiment, the number of nodes in the three fully connected layers is 1024, 512, and 256 respectively. The MLP network structure also includes an output layer, and the output layer is a CNN, which includes three convolutional layers and two fully connected layers, such as Figure 6 The two-dimensional CNN (2D-CNN) shown in the figure can use the local continuity of the combined K-space data to obtain the relative correlation between different frequencies of the combined K-space data in the same layer, and the relative correlation between the layers of the combined K-space data in different layers, and obtain the recognition result of the combined K-space data based on the relative correlation.

[0074] For example, the model can be optimized during the training process, for example, the obtained multiple groups of combined K-space data are input into the nuclear magnetic resonance data recognition model for training, and when the loss function of the nuclear magnetic resonance data recognition model no longer changes, the learning rate is adjusted. The adjustment method is shown in step S206.

[0075] Step S206, when the loss function of the nuclear magnetic resonance data recognition model no longer changes, the learning rate is adjusted to half of the current learning rate, and training is continued based on the adjusted learning rate until the number of iterations of the nuclear magnetic resonance data recognition model reaches a predetermined number and then the training is stopped.

[0076] The learning rate is adjusted to half of the current learning rate, and training is continued based on the adjusted learning rate until the number of iterations of the nuclear magnetic resonance data recognition model reaches a predetermined number, and then the training is stopped.

[0077] The loss function can be calculated by FL(p t )=(1-p t ) γ log(p t ), where FL(p t ) is the loss function, p t is the probability that the recognition result is positive for the disease, γ is a constant greater than and equal to 0, and in one embodiment, γ=2. When the loss function no longer changes, it indicates that the recognition accuracy of the nuclear magnetic resonance data recognition model is close to the expectation. At this time, the learning rate is adjusted to half of the current learning rate, and the current learning rate is the initial learning rate. In one embodiment, the initial learning rate is 1e -4, adjust the learning rate to half of the initial learning rate, and then continue training based on the adjusted learning rate until the number of iterations of the NMR data recognition model reaches a predetermined number of times, and then stop training. In one embodiment, the number of iterations may be 300 times. In order to avoid overfitting of the NMR data recognition model, the weight penalty rate may be set to 1e -4 ,The random dropout rate of the fully connected layer of MLP is set to 0.2.,By gradually training the NMR data recognition model, the effectiveness and robustness of the NMR data recognition model are improved.

[0078] Through the loss function, the MRI data recognition model increases the weight of samples whose recognition results are uncertain during the training process, so that the MRI data recognition model retains as many correct recognition results as possible.

[0079] See also Figure 7 , Figure 7 The present invention is a flowchart of a data identification method according to an exemplary embodiment of the present invention. Figure 7 The training method of the data recognition model shown includes the following steps:

[0080] Step S301, obtaining raw NMR data to be identified.

[0081] Exemplarily, the original K-space data is taken as an example for explanation; the original K-space data to be identified of the patient is acquired.

[0082] Step S302: recognizing the original NMR data to be recognized by using a pre-trained NMR data recognition model to obtain a recognition result.

[0083] The patient's original K-space data to be identified is identified through the data recognition model obtained in the aforementioned embodiment to obtain the recognition result of the original K-space data. The recognition result can be used as reference data for MR disease screening and subtype classification, and is a method of auxiliary identification based on MR's original K-space data.

[0084] Among them, the magnetic resonance data recognition model is based on Figure 4 The data recognition model is obtained by training using the training method.

[0085] Figure 8 FIG. 1 is a block diagram of a training device for a data recognition model shown in an exemplary embodiment of the present disclosure. Figure 8 The device 20 includes an acquisition module 201, a conversion module 203, a combination module 205 and a training module 207.

[0086] The acquisition module 201 is used to acquire multiple sets of nuclear magnetic resonance raw data; the multiple sets of nuclear magnetic resonance raw data are all multi-layer two-dimensional frequency signals;

[0087] The conversion module 203 is used to convert the multiple groups of nuclear magnetic resonance raw data into one-dimensional frequency signals to obtain multiple groups of one-dimensional nuclear magnetic resonance data;

[0088] The combining module 205 is used to combine the one-dimensional nuclear magnetic resonance data in a specified direction for each group of the one-dimensional nuclear magnetic resonance data to obtain combined nuclear magnetic resonance data; the combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of the frequency domain and the space domain;

[0089] The training module 207 is used to input the obtained multiple groups of combined nuclear magnetic resonance data into the nuclear magnetic resonance data recognition model for training.

[0090] Optionally, the training module 207 is also used to input the obtained multiple groups of combined nuclear magnetic resonance data into a nuclear magnetic resonance data recognition model for training. When the loss function of the nuclear magnetic resonance data recognition model no longer changes, the learning rate is adjusted to half of the current learning rate, and training is continued based on the adjusted learning rate until the number of iterations of the nuclear magnetic resonance data recognition model reaches a predetermined number and the training is stopped.

[0091] Optionally, the combining module 205 is further used to perform phase shift on each group of the nuclear magnetic resonance raw data to obtain the phase-shifted nuclear magnetic resonance raw data;

[0092] The obtained multiple sets of phase-shifted nuclear magnetic resonance raw data are converted into one-dimensional frequency signals to obtain the multiple sets of one-dimensional nuclear magnetic resonance data.

[0093] Optionally, the combining module 205 is further configured to aggregate frequency components of each layer of two-dimensional frequency signals in each group of the phase-shifted nuclear magnetic resonance raw data through a multi-layer perceptron to obtain one-dimensional nuclear magnetic resonance data.

[0094] Optionally, the calculation formula of the loss function includes:

[0095] FL(p t )=(1-p t ) γ log(p t )

[0096] Among them, FL(p t ) is the loss function, p t is the probability that the identification result is disease positive, and γ is a constant greater than and equal to 0.

[0097] Optionally, the nuclear magnetic resonance data recognition model adopts a multi-layer perceptron MLP network structure, and the MLP network structure includes: an input layer, and three fully-connected layers after the input layer, and the three fully-connected layers all adopt a ReLU activation function; the number of nodes in the three fully-connected layers is respectively a first number, a second number, and a third number, wherein the second number is half of the first number, and the third number is half of the second number.

[0098] Optionally, the MLP network structure further includes: an output layer;

[0099] The output layer is a convolutional neural network CNN, which includes three convolutional layers and two fully connected layers; the CNN is used to measure the relative correlation between different frequencies of the combined nuclear magnetic resonance data in the same layer, and the relative correlation between layers of the combined nuclear magnetic resonance data in different layers, and obtain recognition results of multiple groups of the combined nuclear magnetic resonance data based on the relative correlation.

[0100] Fig. 9 FIG. 1 is a block diagram of a data identification device shown in an exemplary embodiment of the present disclosure. Fig. 9 The device 30 includes an acquisition module 301 and an identification module 303.

[0101] The acquisition module 301 is used to acquire the original nuclear magnetic resonance data to be identified;

[0102] The recognition module 303 is used to recognize the original nuclear magnetic resonance data to be recognized by using a pre-trained magnetic resonance data recognition model to obtain a recognition result; the magnetic resonance data recognition model is trained according to the aforementioned data recognition model training method.

[0103] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0104] Fig.10 FIG. 4 is a block diagram of an electronic device 400 according to an exemplary embodiment. Fig.10 As shown, the electronic device 400 may include: a processor 401 and a memory 402. The electronic device 400 may also include one or more of a multimedia component 403, an input / output (I / O) interface 404, and a communication component 405.

[0105] The processor 401 is used to control the overall operation of the electronic device 400 to complete all or part of the steps in the training method of the data recognition model or the data recognition method. The memory 402 is used to store various types of data to support the operation of the electronic device 400, and these data may include, for example, instructions for any application or method used to operate on the electronic device 400, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 403 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 402 or sent through the communication component 405. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 404 provides an interface between the processor 401 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 405 is used for wired or wireless communication between the electronic device 400 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 405 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0106] In an exemplary embodiment, the electronic device 400 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned data recognition model training method or data recognition method.

[0107] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the training method of the data recognition model or the data recognition method described above are implemented. For example, the computer-readable storage medium may be the memory 402 including the program instructions described above, and the program instructions may be executed by the processor 401 of the electronic device 400 to complete the training method of the data recognition model or the data recognition method described above.

[0108] Fig.11 is a block diagram of another electronic device 500 according to an exemplary embodiment. For example, the electronic device 500 may be provided as a server. Fig.11 The electronic device 500 includes a processor 522, which may be one or more, and a memory 532 for storing a computer program executable by the processor 522. The computer program stored in the memory 532 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 522 may be configured to execute the computer program to perform the above-mentioned data recognition model training method or data recognition method.

[0109] In addition, the electronic device 500 may further include a power supply component 526 and a communication component 550. The power supply component 526 may be configured to perform power management of the electronic device 500, and the communication component 550 may be configured to implement communication of the electronic device 500, for example, wired or wireless communication. In addition, the electronic device 500 may further include an input / output (I / O) interface 558. The electronic device 500 may operate based on an operating system stored in the memory 532, such as Windows Server 2008. TM , Mac OSX TM , Unix TM , LinuxTM etc.

[0110] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by the processor, the steps of the training method of the data recognition model or the data recognition method described above are implemented. For example, the non-transitory computer-readable storage medium may be the memory 532 including the program instructions, and the program instructions may be executed by the processor 522 of the electronic device 500 to complete the training method of the data recognition model or the data recognition method described above.

[0111] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned data recognition model training method or data recognition method when executed by the programmable device.

[0112] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0113] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0114] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A method for training a data recognition model, characterized in that: include: Acquire multiple sets of nuclear magnetic resonance raw data; the multiple sets of nuclear magnetic resonance raw data are all multi-layer two-dimensional frequency signals; Performing phase shift on each group of the nuclear magnetic resonance raw data to obtain phase-shifted nuclear magnetic resonance raw data; For each group of the phase-shifted nuclear magnetic resonance raw data, aggregating the frequency components of each layer of the two-dimensional frequency signal in the phase-shifted nuclear magnetic resonance raw data through a multi-layer perceptron to obtain one-dimensional nuclear magnetic resonance data; For each group of the one-dimensional nuclear magnetic resonance data, the one-dimensional nuclear magnetic resonance data are combined in a specified direction to obtain combined nuclear magnetic resonance data; the specified direction is the Z-axis direction, and the combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of the frequency domain and the spatial domain; The obtained multiple groups of combined nuclear magnetic resonance data are input into a nuclear magnetic resonance data recognition model for training.

2. The method according to claim 1, characterized in that The step of inputting the obtained multiple groups of combined nuclear magnetic resonance data into nuclear magnetic resonance data recognition for training comprises: The obtained multiple groups of combined nuclear magnetic resonance data are input into the nuclear magnetic resonance data recognition model for training. When the loss function of the nuclear magnetic resonance data recognition model no longer changes, the learning rate is adjusted to half of the current learning rate, and training is continued based on the adjusted learning rate until the number of iterations of the nuclear magnetic resonance data recognition model reaches a predetermined number, and the training is stopped.

3. The method according to claim 1, characterized in that The nuclear magnetic resonance data recognition model adopts a multi-layer perceptron MLP network structure, and the MLP network structure includes: an input layer, and three fully connected layers after the input layer, and the three fully connected layers all adopt a ReLU activation function; the number of nodes in the three fully connected layers is a first number, a second number, and a third number, respectively, wherein the second number is half of the first number, and the third number is half of the second number.

4. The method according to claim 3, characterized in that The MLP network structure also includes: an output layer; The output layer is a convolutional neural network CNN, which includes three convolutional layers and two fully connected layers; the CNN is used to measure the relative correlation between different frequencies of the combined nuclear magnetic resonance data in the same layer, and the relative correlation between layers of the combined nuclear magnetic resonance data in different layers, and obtain recognition results of multiple groups of the combined nuclear magnetic resonance data based on the relative correlation.

5. A data identification method, characterized in that: Acquiring raw nuclear magnetic resonance data to be identified; The nuclear magnetic resonance raw data to be identified is identified by using a pre-trained magnetic resonance data identification model to obtain an identification result; the magnetic resonance data identification model is trained according to the method according to any one of claims 1-4.

6. A training device for a data recognition model, characterized in that: include: An acquisition module, used to acquire multiple sets of nuclear magnetic resonance raw data; the multiple sets of nuclear magnetic resonance raw data are all multi-layer two-dimensional frequency signals; A conversion module, used for performing phase shift on each group of the nuclear magnetic resonance raw data to obtain the nuclear magnetic resonance raw data after phase shift; For each group of the phase-shifted nuclear magnetic resonance raw data, aggregating the frequency components of each layer of the two-dimensional frequency signal in the phase-shifted nuclear magnetic resonance raw data through a multi-layer perceptron to obtain one-dimensional nuclear magnetic resonance data; A combining module, for each group of the one-dimensional nuclear magnetic resonance data, combines the one-dimensional nuclear magnetic resonance data in a specified direction to obtain combined nuclear magnetic resonance data; the specified direction is the Z-axis direction, and the combined nuclear magnetic resonance data is a mixed domain two-dimensional signal of the frequency domain and the space domain; The training module is used to input the obtained multiple groups of combined nuclear magnetic resonance data into the nuclear magnetic resonance data recognition model for training.

7. A data identification device, characterized in that: include: An acquisition module, used for acquiring raw nuclear magnetic resonance data to be identified; The recognition module is used to recognize the raw nuclear magnetic resonance data to be recognized by using a pre-trained magnetic resonance data recognition model to obtain a recognition result; the magnetic resonance data recognition model is trained according to the method according to any one of claims 1-4.

8. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method according to any one of claims 1 to 4 are implemented.

9. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 4.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method according to claim 5 are implemented.

11. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to claim 5.

Citation Information

Patent Citations

  • Magnetic resonance image correction method and device, medium and electronic equipment

    CN112557980A

  • Reconstruction method for simultaneous multi-layer imaging signals, storage medium and computer equipment

    CN113470128A

  • Sampling pattern for iterative magnetic resonance image reconstruction

    US20130049752A1

  • KR20190124994A