A bone density report generation platform based on diffusion model text generation technology
By adopting the bidirectional multi-modal attention unit of the diffusion model in the bone density report generation platform, the relationship between modalities is captured and multi-modal unified features are generated, which solves the low efficiency and low efficiency of diagnostic report generation caused by the neglect of modal correlation in the existing technology. The problem of insufficient accuracy is achieved by efficient and accurate bone density data management and report generation.
Patent Information
- Application Number
- CN202410212649.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-02-27
AI Technical Summary
Existing multi-modal bone density analysis models ignore the correlation between modalities, resulting in low efficiency and insufficient accuracy in generating diagnostic reports. They also rely on doctors' professional knowledge and are prone to missed diagnosis and misdiagnosis.
Using text generation technology based on the diffusion model, the relationship between different modalities is captured through the bidirectional multimodal attention unit, and a multimodal unified feature vector is generated for conditional text generation, improving the accuracy and generation of bone density reports. efficiency.
It significantly improves the efficiency of bone density data management and the accuracy of diagnostic results, reduces the time doctors spend writing reports, and reduces the risk of missed diagnosis and misdiagnosis.
Smart Images

Figure CN118072899B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical fields of medical data management, information sharing and cloud computing technology, and in particular to a bone density report generation platform based on diffusion model text generation technology. Background Art
[0002] In modern medicine, doctors need to use multimodal clinical information (such as bone density images, basic patient information, and bone density test data) to make a diagnosis and analysis of the patient's bone disease and give a diagnosis report based on their rich professional knowledge and experience. However, the large number of osteoporosis patients, high bone brittleness, and long healing period of osteoporotic fractures make it difficult to ensure the management efficiency of reading diagnostic report data. On the other hand, writing medical reports is prone to errors for doctors, and the high number of patients makes it very time-consuming and cumbersome for doctors to write reports. The promotion of electronic medical record systems has provided new ideas for bone density data management, but the existing technology still has problems such as low efficiency in reading user data, and the generation of reports still depends on the doctor's professional knowledge and professional skills in image analysis. The large amount of clinical data puts doctors under tremendous pressure, and missed diagnoses and misdiagnoses often occur.
[0003] In recent years, with the rapid development of artificial intelligence technology, the emergence, development and application of multimodal data analysis and generative AI can reduce the time for doctors to diagnose and write reports to a certain extent, and avoid missed diagnosis and misdiagnosis to a certain extent. Among them, multimodal data analysis technology, as an important branch in the field of artificial intelligence, aims to extract the features of data in different modalities and perform multimodal fusion, which can make full use of the medical information of multimodal data; generative AI, as an emerging research direction in the field of artificial intelligence, can generate data according to demand. Its successful application in the field of natural language processing provides new ideas for the automatic generation of medical reports.
[0004] In existing multimodal bone density analysis models, data from different modalities, such as medical images and bone density data, are usually fed into deep learning models to generate modality-specific features for subsequent diagnostic decisions. This often ignores the association between modalities, so there is an urgent need for a multimodal fusion strategy that can comprehensively consider the interrelationships between modalities. At the same time, existing medical report generation is mainly based on image-based generation of simple sentences, ignoring the gap between multimodal medical features and text features, and simply aligning the report with clinical information.
[0005] Therefore, it is necessary to design a high-precision platform that integrates multimodal clinical information for report generation and bone density data management to solve the above problems. Summary of the invention
[0006] The purpose of the present invention is to provide a bone density report generation platform based on diffusion model text generation technology, which can improve the efficiency of bone density data management and the accuracy of bone density data determination results.
[0007] To achieve the above object, the present invention provides the following solutions:
[0008] A bone density report generation platform based on diffusion model text generation technology, including:
[0009] A bone density measurement device, used to obtain a bone density image of a target person and measure bone density data;
[0010] An information collection device, used to input the basic information of the target person, the bone density image and the bone density data;
[0011] The central cloud platform is used to automatically analyze and calculate the bone density data according to the set bone density determination standard, determine the bone density determination result, and generate an electronic bone density report based on the determination result and the bone density image, and store the basic information, the bone density data and the electronic bone density report according to the set sorting method;
[0012] The remote device is used to log in to the central cloud platform, determine the user identity according to the input identity information, log in to the corresponding platform interface, and retrieve or modify the electronic bone density report.
[0013] Optionally, the central cloud platform includes an electronic bone density report generating unit;
[0014] The electronic bone density report generating unit specifically comprises:
[0015] A feature extraction module is used to extract features from the determination results and the bone density image to obtain a feature sequence of a single modality;
[0016] The feature fusion module is used to perform multi-modal fusion on the feature sequence of a single modality to obtain a unified multi-modal feature sequence;
[0017] The report generation module is used to diagnose the disease and generate text according to the multi-modal unified feature sequence to obtain an electronic bone density report.
[0018] Optionally, the feature extraction module includes:
[0019] The text feature vector processing submodule is used to generate the corresponding text feature vector X for the bone density determination results expressed in text form using the pre-trained BERT model Text ;
[0020] The visual feature vector submodule is used to input the bone density image represented in image form into the convolutional neural network, extract the semantic information in the image, and obtain the visual feature vector X Image .
[0021] Optionally, the feature fusion module includes:
[0022] The first operator module: Calculate the Query, Key, and Value matrices of each modality as the input of the bidirectional multimodal attention unit through the following expressions:
[0023]
[0024]
[0025] Where LP(·) denotes the linear projection layer, Norm(·) denotes the normalization layer, n=0, 1 denotes the index of the first and second bidirectional multimodal attention units, respectively; X Text represents the text feature vector; X Image represents the visual feature vector;
[0026] The second operator module: Input the query, key and value matrices of each modality into the bidirectional multimodal attention unit to capture the inter-modal relationship between text and image, and obtain the latent vector of multimodal association and
[0027]
[0028]
[0029] The calculation expression of Attention(·) is as follows:
[0030]
[0031] Among them, the hyperparameter d k is the scaling factor;
[0032] The third operator module: the hidden vector and Input the normalization layer and the multi-layer perceptron MLP and use residual connection to get the output of the bidirectional multimodal attention unit and
[0033] The fourth operator module: the output of the bidirectional multimodal attention unit and As the input of the next bidirectional multimodal attention unit, repeat the above steps until the final latent vector χ is obtained. Text and χImage ;
[0034] The fifth operator module: The final latent vector of the connection obtains the multi-modal unified feature vector χ Text+Image = x Iext +χ Image .
[0035] Optionally, the report generating module includes:
[0036] The diagnostic submodule is used to use the multimodal unified feature vector χ Text+Image As a condition, conditional text generation is performed based on the continuous text diffusion model to obtain the comprehensive bone density diagnosis results;
[0037] The report generation submodule is used to integrate the basic information of the target person, bone density images, bone density data and comprehensive bone density diagnosis results using a structured representation to obtain a complete electronic bone density report.
[0038] Optionally, the diagnosis submodule includes:
[0039] First diagnostic subunit: Generate random Gaussian noise and the conditional vector, i.e., the multimodal unified eigenvector χ Text+Image Splice and get
[0040] Second diagnostic subunit: using a denoising network based on the Transformer architecture Perform the reverse diffusion process, converting the probability It can be calculated by the following formula:
[0041]
[0042] Among them, μ θ (·),σ θ (·) are the expectation and standard deviation predicted by the denoising network, respectively. The intermediate variables of the reverse diffusion process are According to the distribution Sampling obtained, It can be calculated by the following formula:
[0043]
[0044] The third diagnostic subunit: In step 2, since each denoising will destroy the conditional vector in the intermediate variable, the part of the conditional vector position in each intermediate variable in step 2 is replaced by the initial conditional vector χ Text+Image ;
[0045] The fourth diagnostic subunit: After T steps of denoising operations, the final denoising result is obtained take out The result at the non-conditional vector position is the generated word embedding vector A neural network is used to perform a rounding operation on the word embedding vector, mapping the continuous word embedding vector to discrete text to obtain a comprehensive bone density diagnosis result.
[0046] Optionally, the remote device includes:
[0047] The patient display interface is used to retrieve the electronic bone density report based on the input identity information so that the patient can review the diagnosis results;
[0048] The doctor display interface is used to retrieve or modify the electronic bone density report based on the input identity information, so that the doctor can review and modify the diagnosis results as needed.
[0049] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0050] The present invention discloses a bone density report generation platform based on diffusion model text generation technology, which uses a bidirectional multimodal attention unit to capture the internal relations of different modalities and the relations between modalities, and can fully improve the accuracy of bone density diagnosis results; the present invention uses a diffusion model for conditional text generation, and can fully improve the report generation performance; the present invention uses a central cloud platform for data analysis and storage, and uses remote devices for report retrieval and modification, and can significantly improve the efficiency of bone density data management. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0052] Figure 1 A schematic diagram of the framework of a bone density report generation platform based on the diffusion model text generation technology provided by the present invention;
[0053] Figure 2 is a schematic diagram of the bone density determination standard in this embodiment;
[0054] Figure 3 is a schematic diagram of performing multi-modal fusion on a feature sequence of a single modality in this embodiment;
[0055] Figure 4 Schematic diagram of the structure of a bidirectional multimodal attention unit in this embodiment;
[0056] Figure 5This is a schematic diagram of the process of conditional text generation using the diffusion model in this embodiment. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] The purpose of the present invention is to provide a bone density report generation platform based on diffusion model text generation technology, which can improve the efficiency of bone density data management and the accuracy of bone density data determination results.
[0059] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0060] like Figure 1 As shown, the bone density report generation platform based on the diffusion model text generation technology provided by the present invention includes:
[0061] A bone density measurement device, used to obtain a bone density image of a target person and measure bone density data;
[0062] Information collection equipment, used to input basic information, bone density images and bone density data of target persons;
[0063] The central cloud platform is used to automatically analyze and calculate the bone density data according to the set bone density determination standard, determine the bone density determination result, and generate an electronic bone density report based on the determination result and bone density image, and store the basic information, bone density data and electronic bone density report according to the set sorting method;
[0064] The remote device is used to log in to the central cloud platform, determine the user's identity based on the input identity information, log in to the doctor display interface or patient display interface, and retrieve or modify the electronic bone density report.
[0065] In a specific embodiment, based on the input basic information and bone density data of the target person, Figure 2 The bone density determination result is determined by the determination criteria shown, and the determination result in text form is obtained. Among them, the bone density data is obtained based on the measurement of dual-energy X-ray absorptiometry.
[0066] In a specific embodiment, generating an electronic bone density report based on the determination result and the bone density image includes:
[0067] A feature extraction module is used to extract features from the determination results and the bone density image to obtain a feature sequence of a single modality;
[0068] The feature fusion module is used to perform multi-modal fusion on the feature sequence of a single modality to obtain a unified multi-modal feature sequence;
[0069] The report generation module is used to diagnose the disease and generate text according to the multi-modal unified feature sequence to obtain an electronic bone density report.
[0070] In a specific embodiment, the feature extraction module includes:
[0071] Use the pre-trained BERT model to generate the corresponding text feature vector X for the bone density determination results represented in text form Text ;
[0072] The bone density image represented in image form is input into the convolutional neural network to extract the semantic information in the image and obtain the visual feature vector X Image .
[0073] Specifically, the convolutional neural network used for image feature extraction uses the ResNet model to perform a large number of convolution operations, and then adds standard learnable position embedding and dropout operations to each visual representation to obtain a visual feature vector containing position information.
[0074] In a specific embodiment, multimodal fusion is performed on a feature sequence of a single modality, such as Figure 3 As shown, the following steps are included:
[0075] Step 1: Calculate the Query, Key, and Value matrices of each modality as the input of the bidirectional multimodal attention unit by the following expressions:
[0076]
[0077]
[0078] Where LP(·) denotes the linear projection layer, Norm(·) denotes the normalization layer, and n=0, 1 denotes the index of the first and second bidirectional multimodal attention units, respectively;
[0079] Step 2: Input the query, key and value matrix of each modality into the bidirectional multimodal attention unit to capture the inter-modal relationship between text and image. The structural diagram of the bidirectional multimodal attention unit is shown in Figure 4 As shown, the latent vector of multimodal association is obtained and
[0080]
[0081]
[0082] The calculation expression of Attention(·) is as follows:
[0083]
[0084] Among them, the hyperparameter d k is the scaling factor;
[0085] Step 3: Convert the hidden vector and Input the normalization layer and the multi-layer perceptron MLP and use residual connection to get the output of the bidirectional multimodal attention unit and
[0086] Step 4: Take the output of the bidirectional multimodal attention unit and As the input of the next bidirectional multimodal attention unit, repeat steps 1 to 3 to obtain the final latent vector χ Text and χ Image ;
[0087] Step 5: Connect the final latent vector to obtain the multimodal unified feature vector χ Text+Image = x Text +X Image .
[0088] In a specific embodiment, the report generation module includes:
[0089] Use the multimodal unified feature vector χ Text+Image As a condition, conditional text generation is performed based on the continuous text diffusion model to obtain the comprehensive bone density diagnosis results;
[0090] A complete electronic bone density report is obtained by integrating the basic information of the target person, bone density images, bone density data and comprehensive bone density diagnosis results using a structured representation method.
[0091] In a specific embodiment, conditional text generation is performed based on a continuous text diffusion model, such as Figure 5 As shown, the following steps are included:
[0092] Step 1: Generate random Gaussian noise and the conditional vector, i.e., the multimodal unified eigenvector χ Text+Image Splice and get Conditional text generation in a unified feature space;
[0093] Step 2: Use a denoising network based on the Transformer architecture Perform the reverse diffusion process, converting the probability It can be calculated by the following formula:
[0094]
[0095] Among them, μ θ (·),σ θ (·) are the expectation and standard deviation predicted by the denoising network, respectively. The intermediate variables of the reverse diffusion process are According to the distribution Sampling obtained, It can be calculated by the following formula:
[0096]
[0097] Step 3: In step 2, since each denoising will destroy the conditional vector in the intermediate variable, each intermediate variable in step 2 The part of the conditional vector position in is replaced by the initial conditional vector χ Text+Image ;
[0098] Step 4: After T steps of denoising operation, the final denoising result is obtained take out The result at the non-conditional vector position is the generated word embedding vector A neural network is used to perform a rounding operation on the word embedding vector, mapping the continuous word embedding vector to discrete text to obtain a comprehensive bone density diagnosis result.
[0099] In a specific embodiment, the remote device includes:
[0100] A patient display interface, used to retrieve the electronic bone density report according to the input identity information, so that the patient can check the diagnosis result;
[0101] The doctor display interface is used to retrieve or modify the electronic bone density report according to the input identity information, so that the doctor can review and modify the diagnosis result as needed.
[0102] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0103] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A bone density report generation platform based on diffusion model text generation technology, characterized in that: include: A bone density measurement device, used to obtain a bone density image of a target person and measure bone density data; An information collection device, used to input the basic information of the target person, the bone density image and the bone density data; The central cloud platform is used to automatically analyze and calculate the bone density data according to the set bone density determination standard, determine the bone density determination result, and generate an electronic bone density report based on the determination result and the bone density image, and store the basic information, the bone density data and the electronic bone density report according to the set sorting method; A remote device, used to log in to the central cloud platform, determine the user identity according to the input identity information, log in to the corresponding platform interface, and retrieve or modify the electronic bone density report; Wherein, the central cloud platform includes an electronic bone density report generation unit; The electronic bone density report generating unit specifically comprises: A feature extraction module is used to extract features from the determination results and the bone density image to obtain a feature sequence of a single modality; The feature fusion module is used to perform multi-modal fusion on the feature sequence of a single modality to obtain a unified multi-modal feature sequence; The report generation module is used to diagnose the disease and generate text according to the multi-modal unified feature sequence to obtain an electronic bone density report; The feature extraction module comprises: The text feature vector processing submodule is used to generate the corresponding text feature vector X for the bone density determination results expressed in text form using the pre-trained BERT model T ext; The visual feature vector submodule is used to input the bone density image represented in image form into the convolutional neural network, extract the semantic information in the image, and obtain the visual feature vector X I mage; The feature fusion module comprises: The first operator module: Calculate the Query, Key, and Value matrices of each modality as the input of the bidirectional multimodal attention unit through the following expressions: Where LP(·) denotes the linear projection layer, Norm(·) denotes the normalization layer, n=0, 1 denotes the index of the first and second bidirectional multimodal attention units, respectively; x T ext represents the text feature vector; X I mage represents the visual feature vector; The second operator module: Input the query, key and value matrix of each modality into the bidirectional multimodal attention unit to capture the inter-modal relationship between text and image, and obtain the latent vector of multimodal association and The calculation expression of Attention(·) is as follows: Among them, the hyperparameter d k is the scaling factor; The third operator module: transform the hidden vector and Input the normalization layer and the multi-layer perceptron MLP and use residual connection to get the output of the bidirectional multimodal attention unit and The fourth operator module: the output of the bidirectional multimodal attention unit and As the input of the next bidirectional multimodal attention unit, repeat the above steps until the final latent vector χ is obtained. Text and χ Image; The fifth operator module: connect the final latent vector to obtain the multi-modal unified feature vector χ Text+Image =X Text +χ Image ; The report generation module comprises: The diagnostic submodule is used to use the multimodal unified feature vector χ Text+Image As a condition, conditional text generation is performed based on the continuous text diffusion model to obtain the comprehensive bone density diagnosis results; The report generation submodule is used to integrate the basic information of the target person, bone density images, bone density data and comprehensive bone density diagnosis results using a structured representation to obtain a complete electronic bone density report; The diagnosis submodule comprises: First diagnostic subunit: Generate random Gaussian noise and the conditional vector, i.e., the multimodal unified eigenvector χ Text+Image Splice and get Second diagnostic subunit: using a denoising network based on the Transformer architecture θ (z t , t) performs the reverse diffusion process, the conversion probability p θ (z t-1 |z t ) can be calculated by the following formula: Among them, μ θ (·), σ θ (.) are the expectation and standard deviation predicted by the denoising network, respectively. The intermediate variable z in the reverse diffusion process is 0:T According to the distribution p θ (z 0:T ) is sampled, p θ (z 0:T ) can be calculated by the following formula: The third diagnostic subunit: In step 2, since each denoising will destroy the conditional vector in the intermediate variable, the part of the conditional vector position in each intermediate variable in step 2 is replaced by the initial conditional vector χ Text+Image ; The fourth diagnostic subunit: After T steps of denoising operation, the final denoising result Z0 is obtained and the The result at the non-conditional vector position is the generated word embedding vector A neural network is used to perform a rounding operation on the word embedding vector, mapping the continuous word embedding vector to discrete text to obtain a comprehensive bone density diagnosis result.
2. The bone density report generation platform based on diffusion model text generation technology according to claim 1, characterized in that: The remote device comprises: The patient display interface is used to retrieve the electronic bone density report based on the input identity information so that the patient can review the diagnosis results; The doctor display interface is used to retrieve or modify the electronic bone density report based on the input identity information, so that the doctor can review and modify the diagnosis results as needed.
