Abnormal tissue growth prediction method and device, electronic equipment and storage medium

Through the combination of temporal feature extraction network and generative model, the problem of small segmentation results and inaccurate local image prediction of the discriminant model in predicting abnormal tissue growth is solved, achieving more accurate prediction of abnormal tissue growth and improving the overall quality of the model. performance.

CN118628448AActive Publication Date: 2024-09-10ZHUHAI LIVZON CYNVENIO DIAGNOSTICS +1

Patent Information

Application Number
CN202410679182.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-10
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

In the prediction of abnormal tissue growth, existing discriminant models have problems such as small segmentation results, local image prediction results that are too close to pre-growth images, and texture distortion regardless of region, making it difficult to accurately distinguish and predict abnormal tissue growth.

Method used

An abnormal tissue growth prediction method that combines a temporal feature extraction network and a generative model is used to obtain the historical sample sequence and target growth duration, extract the time dimension information and embed it into the generative model, and output the post-growth image noise and abnormal tissue segmentation results, using Preset denoising formula for prediction to improve prediction accuracy.

Benefits of technology

It improves the accuracy of abnormal tissue growth prediction, makes full use of the correlation between segmentation results and local image prediction after growth, improves the overall performance and efficiency of the model, and enhances the prediction ability of abnormal tissue growth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628448A
    Figure CN118628448A
Patent Text Reader

Abstract

The invention provides an abnormal tissue growth prediction method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring an abnormal tissue growth prediction model; obtaining a historical sample sequence and a target growth duration, wherein the historical sample sequence is formed by arranging M historical samples obtained by examining the abnormal tissue according to an examination time sequence; executing a time sequence feature extraction operation; inputting the time sequence characteristics of the historical sample sequence and the Mth historical sample added with the noise data into a generative model, and outputting the segmentation result of the image noise after growth and the abnormal tissue after growth; and based on a preset denoising formula, utilizing the Mth historical sample added with the noise data and the grown image noise to obtain a grown image prediction result. Thus, the recurrent neural network for extracting the time dimension information is embedded into the generative model for extracting the space dimension information, the performance of the model is improved, and the prediction result of abnormal tissue growth is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of image processing technology, and in particular to a method, device, electronic device, and storage medium for predicting abnormal tissue growth. Background Art

[0002] In the early clinical screening of diseases caused by abnormal human tissues, regular follow-up of patients is of great significance for improving the accuracy of screening. In particular, through in-depth analysis and calculation of medical imaging data (e.g., computed tomography) during the follow-up process, the automatic prediction of the growth pattern of a single abnormal tissue can be achieved.

[0003] At present, most of the predictions of abnormal tissue growth are based on discriminant models. The discriminant model can predict the pixel-level segmentation results after a single abnormal tissue grows, as well as the local image after a single abnormal growth. However, in practical applications, the discriminant model has the following problems: for nodules with obvious growth, the segmentation results predicted by the model are often too small; the local image prediction results are often too close to the image results before growth, making them difficult to distinguish; in addition, there are problems such as texture distortion in the local image results regardless of the region. Summary of the invention

[0004] The embodiments of the present disclosure provide a method, device, electronic device and storage medium for predicting abnormal tissue growth.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for predicting abnormal tissue growth, the method comprising:

[0006] Acquire an abnormal tissue growth prediction model, wherein the abnormal tissue growth prediction model includes a time series feature extraction network and a generative model;

[0007] Obtain a historical sample sequence and a target growth duration, wherein the historical sample sequence is formed by arranging M historical samples obtained by inspecting abnormal tissues in chronological order of inspection time, where M is a natural number, and the historical samples include inspection images and corresponding abnormal tissue segmentation results;

[0008] Perform the following time series feature extraction operation: according to the order of the historical samples in the historical sample sequence, sequentially input the M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample into the time series feature extraction network, and output the time series features of the historical sample sequence, wherein the inspection time interval between the Mth historical sample and the next historical sample is the target growth duration;

[0009] Input the temporal features of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and output the post-growth image noise and post-growth abnormal tissue segmentation results;

[0010] Based on a preset denoising formula, the Mth historical sample of the noise-added data and the grown image noise are used to obtain a grown image prediction result.

[0011] In some optional implementations, the temporal feature extraction network includes a temporal convolutional neural network and an attention extraction network. The M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are sequentially input into the temporal feature extraction network according to the order of the historical samples in the historical sample sequence, and the temporal features of the historical sample sequence are output, including:

[0012] Inputting the first historical sample in the historical sample sequence and the inspection time interval between the first historical sample and the second historical sample into the temporal feature extraction network, the temporal convolutional neural network and the attention extraction network in the temporal feature extraction network respectively output corresponding temporal features;

[0013] For a positive integer i between 2 and M, the following timing feature update operations are performed in order from 2 to M: the i-th historical sample and the inspection time interval between the i-th historical sample and the i+1-th historical sample are input into the above-mentioned timing feature extraction network, and each timing convolutional neural network and attention extraction network combines the timing features obtained after inputting the i-1-th historical sample into the corresponding network to update the timing features of the corresponding network.

[0014] In some optional embodiments, the generative model is a diffusion model, including a temporal convolutional neural network and an attention extraction network, and the temporal features of the historical sample sequence and the Mth historical sample with added noise data are input into the generative model, and the post-growth image noise and post-growth abnormal tissue segmentation results are output, including:

[0015] Input the Mth historical sample with the added noise data into the input layer of the generative model;

[0016] For each temporal convolutional neural network and attention extraction network in the temporal feature extraction network, the following corresponding input operations are performed: the temporal convolutional neural network or attention extraction network corresponding to the temporal convolutional neural network or attention extraction network in the generative model is determined as a matching neural network; the temporal features corresponding to the historical sample sequence output by the temporal convolutional neural network or attention extraction network are input into the matching neural network;

[0017] The output layer of the above generative model outputs the post-growth image noise and the post-growth abnormal tissue segmentation results.

[0018] In some optional implementations, the above method further includes:

[0019] The inspection image in the Mth historical sample is replaced by the predicted result of the image after growth, and the above-mentioned time series feature extraction operation is performed again.

[0020] In some optional embodiments, the Mth historical sample with added noise data includes an inspection image with added noise data and an abnormal tissue segmentation result with added noise data; and

[0021] The above-mentioned Mth historical sample with added noise data is obtained by the following noise adding operation: determining the current time step; adding noise to the inspection image and abnormal tissue segmentation result of the above-mentioned Mth historical sample according to the noise adding formula of the current time step, respectively, to obtain the inspection image with the above-mentioned noise added data and the abnormal tissue segmentation result with the above-mentioned noise added data.

[0022] In some optional embodiments, the abnormal tissue growth prediction model is trained by the following training operations:

[0023] Acquire multiple training sample sequences, wherein the training sample sequences are N training samples obtained by inspecting the parts of the same object with abnormal tissue at different times and arranged in order of inspection time, N is a positive integer not less than 3, and the training samples include inspection images and corresponding abnormal tissue segmentation results;

[0024] Obtaining a pre-trained abnormal tissue growth prediction model, wherein the pre-trained abnormal tissue growth prediction model includes a pre-trained temporal feature extraction network and a pre-trained generative model;

[0025] For each training sample sequence, the following forward propagation operation is performed: the 1st to N-1th training samples in the training sample sequence and the inspection time interval between the corresponding training sample and the next training sample are sequentially input into the above-mentioned pre-trained temporal feature extraction network to obtain the training sample temporal features of the training sample sequence; the above-mentioned training sample temporal features and the N-1th training sample with added noise data are input into the above-mentioned pre-trained generative model to obtain the image noise after the training sample is grown and the abnormal tissue segmentation result after the training sample is grown; according to the difference between the image noise after the training sample is grown and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the training sample is grown and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, the forward propagation loss function of the training sample sequence is determined;

[0026] According to the forward propagation loss function of the above-mentioned multiple training sample sequences, the parameters of the above-mentioned abnormal tissue growth prediction model before training are adjusted to obtain the abnormal tissue growth prediction model.

[0027] In some optional embodiments, determining the forward propagation loss function of the training sample sequence according to the difference between the image noise after the training growth and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, includes:

[0028] Using a mean square error function, a first loss function is calculated between the noise of the training image after growth and the noise added to the inspection image of the N-1th training sample;

[0029] Using a cross entropy loss function and / or a Dice loss function, a second loss function is calculated between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence;

[0030] According to the first loss function and the second loss function, a forward propagation loss function of the training sample sequence is calculated.

[0031] In some optional implementations, the above-mentioned multiple training sample sequences are obtained through the following sample generation steps:

[0032] Acquire original examination information of at least one object, wherein each original examination information includes multiple groups of original examination data obtained by performing physical examinations on the same object at different times, and the original examination data includes an original examination image and an abnormal tissue segmentation result corresponding to the corresponding original examination image and at least one abnormal tissue center point coordinate;

[0033] For each set of original inspection data in the original inspection information, the following training sample sequence generation operation is performed:

[0034] Resampling the original inspection images and the corresponding abnormal tissue segmentation results in the multiple groups of original inspection data respectively, so that the resampled original inspection images and the resampled abnormal tissue segmentation results in each group of original inspection data after resampling have the same resolution, and determining the coordinates of the resampled abnormal tissue center points corresponding to the coordinates of the center points of each labeled abnormal tissue in each group of original inspection data according to the resolution after resampling;

[0035] Based on each resampled inspection image and the corresponding resampled abnormal tissue segmentation result, the coordinates of the center point of each resampled abnormal tissue are globally rigidly registered to obtain the corresponding registered resampled abnormal tissue center point identifier;

[0036] For each of the above-mentioned registered resampled abnormal tissue center point identifiers, in accordance with the inspection time sequence of each original inspection data, with the coordinates of the resampled abnormal tissue center point corresponding to each group of original inspection data of the registered resampled abnormal tissue center point identifier as the center, respectively, images and segmentation results of preset sizes are intercepted from the resampled images and resampled abnormal tissue segmentation results corresponding to each group of original inspection data, and training samples are generated as the inspection images and corresponding abnormal tissue segmentation results and added to the training sample sequence corresponding to the registered resampled abnormal tissue center point identifier.

[0037] In a second aspect, an embodiment of the present disclosure provides a device for predicting abnormal tissue growth, the device comprising:

[0038] A model acquisition module, used to acquire an abnormal tissue growth prediction model, wherein the abnormal tissue growth prediction model includes a time series feature extraction network and a generative model;

[0039] An input acquisition module is used to obtain a historical sample sequence and a target growth duration. The historical sample sequence is composed of M historical samples obtained by inspecting abnormal tissues and arranged in chronological order of inspection time. M is a natural number. The historical samples include inspection images and corresponding abnormal tissue segmentation results.

[0040] A time series feature extraction module is used to perform the following time series feature extraction operation: according to the order of the historical samples in the above historical sample sequence, the above M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are sequentially input into the above time series feature extraction network, and the time series features of the above historical sample sequence are output, wherein the inspection time interval between the Mth historical sample and the next historical sample is the above target growth time length;

[0041] A generative module, used for inputting the temporal features of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and outputting the post-growth image noise and the post-growth abnormal tissue segmentation results;

[0042] The denoising module is used to obtain the prediction result of the grown image based on a preset denoising formula by using the M-th historical sample of the noise-added data and the grown image noise.

[0043] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner in the first aspect.

[0044] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by one or more processors, implements the method described in any implementation manner in the first aspect.

[0045] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method described in any implementation manner in the first aspect.

[0046] In order to improve the accuracy of abnormal tissue growth prediction, the abnormal tissue growth prediction method, device, electronic device and storage medium provided by the embodiments of the present disclosure first obtain an abnormal tissue growth prediction model, the abnormal tissue growth prediction model includes a time series feature extraction network and a generative model; then obtain a historical sample sequence and a target growth duration, the historical sample sequence is composed of M historical samples obtained by inspecting abnormal tissues and arranged in chronological order of inspection time, M is a natural number, and the historical samples include inspection images and corresponding abnormal tissue segmentation results; then perform the following time series feature extraction operation: according to the order of the historical samples in the historical sample sequence, according to The above M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are input into the above time series feature extraction network, and the time series features of the above historical sample sequence are output, wherein the inspection time interval between the Mth historical sample and the next historical sample is the above target growth duration; then, the time series features of the above historical sample sequence and the above Mth historical sample with added noise data are input into the above generative model, and the post-growth image noise and the post-growth abnormal tissue segmentation result are output; finally, based on the preset denoising formula, the above Mth historical sample with added noise data and the above-mentioned post-growth image noise are used to obtain the post-growth image prediction result.

[0047] In this way, the temporal feature neural network for extracting time dimension information is embedded in the generative model for extracting spatial dimension information, which improves the performance of the abnormal tissue growth prediction model and makes the prediction results of abnormal tissue growth more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Other features, objects and advantages of the present disclosure will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for the purpose of illustrating specific embodiments and are not to be considered as limiting the present disclosure. In the drawings:

[0049] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;

[0050] Figure 2is a flow chart of an embodiment of a method for predicting abnormal tissue growth according to the present disclosure;

[0051] Figure 3 is a schematic structural diagram of an embodiment of an abnormal tissue growth prediction model according to the present disclosure;

[0052] Figure 4A is a flow chart of a training operation for training an abnormal tissue growth prediction model according to the present disclosure;

[0053] Figure 4B is a decomposed flow chart of a step 401 of the abnormal tissue growth prediction method according to the present disclosure;

[0054] Figure 4C is a decomposed flow chart of a step 403 of the abnormal tissue growth prediction method according to the present disclosure;

[0055] Figure 5 is a schematic structural diagram of an embodiment of an abnormal tissue growth prediction device according to the present disclosure;

[0056] Figure 6 It is a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION

[0057] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0058] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0059] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the abnormal tissue growth prediction method, apparatus, electronic device, and storage medium of the present disclosure can be applied.

[0060] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0061] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as image processing applications, voice recognition applications, short video social applications, audio and video conferencing applications, video live broadcast applications, document editing applications, input method applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0062] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the terminal devices listed above. It can be implemented as multiple software or software modules (for example, to provide abnormal tissue growth prediction services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0063] In some cases, the abnormal tissue growth prediction method provided by the present disclosure may be executed by the terminal devices 101, 102, 103, and accordingly, the abnormal tissue growth prediction apparatus may be disposed in the terminal devices 101, 102, 103. In this case, the system architecture 100 may not include the server 105.

[0064] In some cases, the abnormal tissue growth prediction method provided by the present disclosure can be jointly performed by the terminal devices 101, 102, 103 and the server 105. For example, the step of "obtaining an abnormal tissue growth prediction model" can be performed by the terminal devices 101, 102, 103, and the steps of "obtaining a historical sample sequence and a target growth duration" can be performed by the server 105. The present disclosure does not limit this. Accordingly, the abnormal tissue growth prediction device can also be respectively set in the terminal devices 101, 102, 103 and the server 105.

[0065] In some cases, the abnormal tissue growth prediction method provided by the present disclosure may be executed by the server 105 , and accordingly, the abnormal tissue growth prediction device may also be set in the server 105 . In this case, the system architecture 100 may not include the terminal devices 101 , 102 , and 103 .

[0066] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server 105 is software, it can be implemented as multiple software or software modules (for example, for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0067] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0068] Continue to refer Figure 2 , which shows a process 200 of an embodiment of the abnormal tissue growth prediction method according to the present disclosure, the abnormal tissue growth prediction method comprises the following steps:

[0069] Step 201, obtaining an abnormal tissue growth prediction model.

[0070] In this embodiment, the abnormal tissue growth prediction model is a pre-trained model, which may include a temporal feature extraction network and a generative model. The abnormal tissue growth prediction model is used to predict the image noise and abnormal tissue segmentation results after the corresponding growth time based on the inspection information sequence composed of the inspection images and corresponding abnormal tissue segmentation results obtained by inspecting the abnormal tissue at different times in the order of inspection time from early to late and the growth time that is expected to be predicted.

[0071] Among them, the temporal feature extraction network is used to extract the time dimension information of the inspection images and corresponding abnormal tissue segmentation results of the same abnormal tissue at different follow-up times, such as recurrent convolutional neural networks (R-CNN, Recurrent Convolutional Neural Networks,), convolutional long short-term memory networks (ConvLSTM, Convolutional Long Short-Term Memory), gated recurrent units (GRU Gated Recurrent Unit) and other networks that can simultaneously learn spatial and / or temporal features in image sequences. Generative models are used to generate or copy samples in a data set, and can even generate new samples that are similar to but different from the training data, for extracting the spatial dimension information of the inspection images and corresponding abnormal tissue segmentation results, and can be generative models such as diffusion models.

[0072] The generative model has the advantages of high image authenticity and the ability to generate corresponding images according to constraints, making it more suitable for abnormal tissue growth prediction tasks. Combined with the time and space dimension information fully mined by the temporal feature extraction network, the prediction effect of abnormal tissue growth prediction tasks can be further improved.

[0073] Here, obtaining the abnormal tissue growth prediction model may include but is not limited to obtaining the model structure, model parameters and corresponding parameter values ​​of the abnormal tissue growth prediction model.

[0074] Step 202, obtaining a historical sample sequence and a target growth duration.

[0075] In this embodiment, the historical sample sequence is formed by arranging M historical samples obtained by inspecting abnormal tissues in chronological order of inspection time, where M is a natural number.

[0076] For example, a historical sample consisting of medical imaging examinations of the same abnormal tissue (e.g., the same lung nodule) of object A (e.g., a patient or an object) at different times and corresponding examination images and abnormal tissue segmentation results (e.g., obtained by manual annotation or automatic segmentation by abnormal tissue segmentation algorithms, such as various convolutional neural networks or deep neural networks) are obtained. The historical sample sequence of object A can be obtained by arranging one or more historical samples of object A in chronological order of examination time.

[0077] The inspection image may be three-dimensional image data such as CT images, magnetic resonance imaging (MRI), ultrasound, positron emission tomography (PET-CT), etc.

[0078] The abnormal tissue segmentation result may be a pixel-level abnormal tissue segmentation result, for example, a three-dimensional mask image, each voxel in the three-dimensional mask image represents a region in the abnormal tissue under examination, and the difference in the corresponding value of the voxel may be used to characterize the region as abnormal tissue or non-abnormal tissue.

[0079] The target growth duration is the time interval between the time corresponding to the prediction result generated by the abnormal tissue growth prediction model and the inspection time of the latest historical sample in the historical sample sequence (ie, the Mth historical sample in the historical sample sequence).

[0080] It should be noted that there is no specific limitation on the value of M. That is, a historical sample sequence including 1 historical sample can be obtained, or a historical sample sequence including any natural number such as 2 or 3 can be obtained.

[0081] Step 203, performing a time series feature extraction operation.

[0082] Among them, the timing feature extraction operation can be performed as follows: according to the order of the historical samples in the above-mentioned historical sample sequence, each historical sample in the historical sample sequence and the inspection time interval between the corresponding historical sample and the next historical sample are input into the timing feature extraction network in the abnormal tissue growth prediction model obtained in step 201 in turn to output the timing features of the historical sample sequence.

[0083] Here, the time series feature may be a feature in the form of a feature graph.

[0084] Since the Mth historical sample in the historical sample sequence does not have the next historical sample in the historical sample sequence, here, it is agreed that the inspection time interval between the Mth historical sample and the next historical sample is the above-mentioned target growth time. That is to say, in accordance with the inspection time sequence, each input to the timing feature extraction network is a historical sample and the time interval from the inspection time of the historical sample to the inspection time of the next historical sample. As for the last historical sample, the target growth time is input synchronously with the last historical sample. Therefore, after the above M inputs, the timing features finally output by the timing feature extraction network extract the timing features and spatial features corresponding to the M historical samples, which also include the timing features after the target growth time interval starting from the inspection time of the last historical sample.

[0085] For example, when the target growth duration is 80 days, the historical sample sequence includes 3 historical samples, that is, M=3, and these 3 historical samples are arranged in the order of inspection time. The specific inspection time is shown in Table 1 below:

[0086] Historical sample sequence Check time The first historical sample March 15, 2021 The second historical sample May 13, 2021 The third historical sample August 10, 2021

[0087] Table 1

[0088] The first historical sample and the time interval between the inspection time of the first historical sample (March 15, 2021) and the inspection time of the second historical sample (May 13, 2021) of 60 days, the second historical sample and the time interval between the inspection time of the second historical sample (May 13, 2021) and the inspection time of the third historical sample (August 10, 2021) of 90 days, and the third historical sample and the target growth time of 80 days are input into the time series feature extraction network in turn, and the time series features of the historical sample sequence are output.

[0089] For another example, when the target growth duration is 80 days and the historical sample sequence includes only one historical sample, that is, M=1, only this one historical sample and the target growth duration of 80 days need to be input into the time series feature extraction network to output the time series features of the historical sample sequence.

[0090] As a possible implementation, when the timing feature extraction network includes multiple convolutional neural networks, after M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are input into the timing feature extraction network, each convolutional neural network can extract the corresponding timing features, and finally each convolutional neural network in the timing feature extraction network can output the corresponding timing features.

[0091] For details, see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an embodiment of an abnormal tissue growth prediction model according to the present disclosure. Figure 3 As shown, the abnormal tissue growth prediction model 300 includes a time series feature extraction network 301 and a generative model 302. Among them, the time series feature extraction network 301 may include a time series convolutional neural network and an attention extraction network, and the number and arrangement thereof may be set as required. The time series convolutional neural network may be a convolutional network with a recurrent neural network (RNN). The attention extraction network may be a QKV attention mechanism similar to the Transformer attention mechanism, which is used to extract global attention information.

[0092] When M>1, the first historical sample and the inspection time interval between the first historical sample and the second historical sample are first input into the above-mentioned temporal feature extraction network. Each temporal convolutional neural network or attention extraction network integrates the historical samples and the inspection time interval into the network through the embedding layer, and then extracts the temporal features and passes the temporal features to the next historical sample in the time sequence. Each time the subsequent historical samples and time intervals are input into the temporal feature extraction network, each temporal convolutional neural network and attention extraction network will generate new temporal features based on the temporal features obtained by combining the previously input historical samples and the corresponding time intervals, replacing the previous temporal features.

[0093] For example, the temporal feature extraction network includes four sequentially connected networks as shown in Table 2 below: temporal convolutional neural network N1, temporal convolutional neural network N2, attention extraction N3, and temporal convolutional neural network N4. The first historical sample and the inspection time interval between the first historical sample and the second historical sample are first input into network N1, and network N1 outputs temporal feature a1; temporal feature a1 is input into network N2, and network N2 outputs temporal feature b1; temporal feature b1 is input into network N3, and network N3 outputs temporal feature c1; temporal feature c1 is input into network N4, and network N4 outputs temporal feature d1. The input and output of the final four networks are shown in Table 2 below:

[0094]

[0095] Table 2

[0096] Then, the second historical sample and the inspection time interval between the second historical sample and the third historical sample are input into the network N1. The network N1 combines the time series feature a1 output by the network N1 last time, and the network N1 outputs a new time series feature a 1,2 ; Timing characteristics a 1,2 It is input into network N2, and network N2 combines the time series feature b1 output by network N2 last time, and network N2 outputs a new time series feature b 1,2 ; Timing characteristics b 12 It is input into network N3, and network N3 combines the time series feature c1 output by network N3 last time, and network N3 outputs a new time series feature c 1,2 ; Timing characteristics c 1,2 It is input into network N4, and network N4 combines the time series feature d1 output by network N4 last time, and network N4 outputs a new time series feature d 1,2 The final input data and output timing characteristics of the four networks are shown in Table 3:

[0097]

[0098] Table 3

[0099] Similarly, after the 3rd, 4th, and even the Mth historical samples and the target growth duration are input into the time series feature extraction network, the input data and output of the four networks are shown in Table 4 below:

[0100]

[0101] Table 4

[0102] Step 204, input the temporal features of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and output the segmentation results of the post-growth image noise and the post-growth abnormal tissue.

[0103] The time series features of the historical sample sequence finally obtained in step 203 and the above-mentioned Mth historical sample with added noise data are input into the generative model. The generative model can combine the time series features to predict the image noise and segmentation results. Compared with the traditional diffusion model, the generative model in the abnormal tissue growth prediction model has been innovatively adjusted. It changes the prediction target of UNet in the diffusion model and utilizes the correlation between the two tasks of segmentation result prediction and local image prediction after growth. By integrating these two tasks, the generative model uses the same network to jointly predict them, thereby ensuring that the common information required for the two tasks can be effectively extracted by the same network. This collaborative enhancement method not only improves the model's ability to complete a single task, but also optimizes the prediction accuracy and efficiency as a whole.

[0104] As a possible implementation, the generative model may be a diffusion model including a temporal convolutional neural network and an attention extraction network. Part of the temporal convolutional neural network and the attention extraction network of the generative model correspond one-to-one to the networks in the temporal feature extraction network. Figure 3 ,The diffusion model includes the downsampling stage (left part) and the upsampling stage (right part). The partial network structure of the downsampling stage corresponds one-to-one with the structure of the temporal feature extraction network.

[0105] Based on the above situation, the Mth historical sample with the added noise data is first input into the input layer of the generative model. Then, for each temporal convolutional neural network and attention extraction network in the temporal feature extraction network: first, the temporal convolutional neural network or attention extraction network corresponding to the temporal convolutional neural network or attention extraction network in the generative model is determined as a matching neural network, and then the temporal features corresponding to the historical sample sequence output by the temporal convolutional neural network or attention extraction network are input into the matching neural network. Finally, the output layer of the generative model outputs the post-growth image noise and the post-growth abnormal tissue segmentation results.

[0106] For example, see Figure 3When the temporal features are input into the generative model 302, the temporal convolutional neural network 301 in the temporal feature extraction network can input the temporal features generated by it into the temporal convolutional neural network corresponding to it one-to-one; and the attention extraction network in the temporal feature extraction network 301 can input the temporal features generated by it into the attention extraction network corresponding to it one-to-one.

[0107] Specifically, the temporal convolutional neural network in the downsampling stage of the generative model can use a convolutional neural network with an RNN module, combined with the temporal features, image information and / or encoding results of the connected network input, to encode, obtain the output of this network and input it to the next network. The attention extraction network can extract attention information globally, obtain the output of this network and input it to the next network. Each network in the upsampling stage of the generative model can decode according to the input encoding information and attention information, obtain the output of this network and input it to the next network.

[0108] Step 205 , based on a preset denoising formula, using the Mth historical sample with the added noise data and the grown image noise, obtain a grown image prediction result.

[0109] The core idea of ​​the generative model in the abnormal tissue growth prediction model is to convert the data into Gaussian noise by gradually adding noise, and then learn an inverse process to reverse the noise addition operation to generate or restore the data. Therefore, based on the generative model, the preset denoising formula corresponding to the model can be derived. Based on the preset denoising formula, the above-mentioned Mth historical sample of the above-mentioned noise-added data and the above-mentioned post-growth image noise can be used to obtain the post-growth image prediction result.

[0110] For example, the default denoising formula is:

[0111] Post-growth imaging prediction results

[0112] =α×(the inspection image in the Mth historical sample with noise data added-β

[0113] × image noise after growth)+γ

[0114] The values ​​of α, β and γ can be set according to a preset denoising formula and are not limited here.

[0115] Substituting the inspection image and the noise of the grown image in the Mth historical sample into the above formula, the prediction result of the grown image can be calculated.

[0116] As a possible implementation, similar to the traditional diffusion model, the prediction result of the growth image obtained by a single time step iteration may not be very accurate, so multiple time step iterations are required to obtain a more accurate prediction result of the growth image. That is, after step 205, the above method further includes the following steps 206:

[0117] Step 206: Use the predicted result of the grown image to replace the inspection image in the Mth historical sample, and continue to perform the temporal feature extraction operation.

[0118] That is, the inspection image in the Mth historical sample is replaced by the predicted result of the grown image, and then the process returns to step 203 .

[0119] For example, the historical sample sequence before replacement includes {the first historical sample, the second historical sample, the third historical sample}, and the inspection image in the Mth historical sample is replaced by the prediction result of the image after growth to obtain the 3'th historical sample, and the updated historical sample sequence becomes {the first historical sample, the second historical sample, the 3'th historical sample}. Then, the updated historical sample sequence is used to return to step 203.

[0120] Executing step 206 once is equivalent to executing an iterative process of one time step. Executing step 206 multiple times can improve the accuracy of the prediction result of the image after growth. It should be noted that it can be preset to stop the iteration after executing step 206 n times as needed, and there is no limitation here.

[0121] In addition, the Mth historical sample with added noise data includes an inspection image with added noise data and an abnormal tissue segmentation result with added noise data. When multiple time step iterations are required, the Mth historical sample with added noise data is obtained by the following noise adding operation: determining the current time step; adding noise to the inspection image and abnormal tissue segmentation result of the Mth historical sample according to the noise adding formula of the current time step, respectively, to obtain the inspection image with added noise data and the abnormal tissue segmentation result with added noise data.

[0122] The abnormal tissue growth prediction method provided by the above embodiments of the present disclosure can achieve the following technical effects:

[0123] (1) The temporal feature extraction network for extracting time dimension information is embedded in the generative model for extracting spatial dimension information, which improves the performance of the abnormal tissue growth prediction model and makes the prediction results of abnormal tissue growth more accurate.

[0124] (2) The prediction target of the model was adjusted to make full use of the correlation between the two tasks: segmentation result prediction and local image prediction after growth. This enables the generative model to use the same network to perform collaborative predictions on them, thereby improving the prediction accuracy and efficiency of the model in completing the two tasks.

[0125] (3) The spatial and temporal features in the image sequence are extracted by using the temporal feature extraction network to improve the learning efficiency.

[0126] (4) Optionally, by introducing the attention mechanism, the model is allowed to capture the relationship between any two elements in the sequence and weight the key elements, which can effectively improve the accuracy of model prediction.

[0127] (5) Optionally, the accuracy of abnormal tissue growth prediction is improved by repeatedly iterating multiple time steps using a generative model.

[0128] Continue to see Figure 4A , Figure 4A The present invention is a flow chart of a training operation for training an abnormal tissue growth prediction model, wherein the training operation of the abnormal tissue growth prediction model comprises the following steps:

[0129] Step 401: Acquire multiple training sample sequences.

[0130] Each training sample sequence is composed of N training samples obtained by inspecting the parts of the same object (e.g., patient or object) with abnormal tissue (e.g., lungs with pulmonary nodules) at different times, arranged in chronological order of inspection time, N is a positive integer not less than 3, and the training samples include inspection images and corresponding abnormal tissue segmentation results. Here, the abnormal tissue segmentation result can be obtained by manual annotation or segmentation by an abnormal tissue automatic segmentation algorithm, or first by segmentation by an abnormal tissue automatic segmentation algorithm and then by manual annotation. The abnormal tissue segmentation result can be, for example, a three-dimensional mask image.

[0131] As a possible implementation, the above step 401 may include the following: Figure 4B Steps 4011 to 4012 shown:

[0132] Step 4011, obtaining original inspection information of at least one object.

[0133] When a medical imaging examination is performed on each object, a set of original examination data is obtained, and multiple sets of original examination data obtained by multiple examinations constitute the original examination information of the object. In other words, each original examination information may include multiple sets of original examination data obtained by performing medical imaging examinations on the same object at different times.

[0134] The original inspection data includes an original inspection image and an abnormal tissue segmentation result corresponding to the original inspection image and at least one abnormal tissue center point coordinate.

[0135] The original examination image may be, for example, three-dimensional image data of a CT image, magnetic resonance imaging (MRI), ultrasound, or positron emission tomography (PET-CT).

[0136] The abnormal tissue segmentation result corresponding to the original examination image may be a pixel-level segmentation result.

[0137] In practice, an original examination image may include multiple abnormal tissues. The abnormal tissue segmentation result can often only distinguish whether it is an abnormal tissue but cannot distinguish different abnormal tissues. Therefore, different abnormal tissues can be distinguished by setting a center point for each abnormal tissue. The coordinates of the center point of the abnormal tissue can be calculated by an automated algorithm or manually labeled, that is, the coordinates of the center point of an abnormal tissue are used to characterize or correspond to an abnormal tissue.

[0138] As a possible implementation, in order to improve the training effect, the coordinates of the center points of abnormal tissues in the original inspection images whose maximum 2D diameter is too small (e.g., less than 4 mm) or too large (e.g., greater than 30 mm) can be removed. The original inspection data whose inspection time interval between two adjacent groups of original inspection data is too short (e.g., less than 30 days) or too long (e.g., greater than 1500 days) can also be removed to improve the model learning effect.

[0139] Step 4012: For each set of original inspection data in the original inspection information, a training sample sequence generation operation is performed.

[0140] The training sample sequence generation operation may include the following steps 40121 to 40123:

[0141] Step 40121, respectively resample the original inspection images and the corresponding abnormal tissue segmentation results in the multiple groups of original inspection data, so that the resampled original inspection images and the resampled abnormal tissue segmentation results in each group of original inspection data after resampling have the same resolution, and determine the resampled abnormal tissue center point coordinates corresponding to the coordinates of each marked abnormal tissue center point in each group of original inspection data according to the resampled resolution.

[0142] The purpose of resampling is to make each group of original inspection data have the same resolution for subsequent analysis and comparison. In this step, not only the original inspection image needs to be resampled, but also the abnormal tissue segmentation results need to be resampled accordingly. Through resampling, the consistency of the image and segmentation results in spatial scale can be ensured, which facilitates subsequent analysis. In addition, according to the resolution after resampling, the coordinates of the resampled abnormal tissue center point corresponding to the coordinates of each labeled abnormal tissue center point in each group of original inspection data can be determined. This step is conducive to the accuracy of subsequent analysis.

[0143] Step 40122, based on each resampled inspection image and the corresponding resampled abnormal tissue segmentation result, the coordinates of the center points of each resampled abnormal tissue are globally rigidly registered to obtain the corresponding registered resampled abnormal tissue center point identifier.

[0144] Global rigid registration is an image registration method that allows the same structures in different images to be aligned by rotating, translating, and scaling the images. In this step, by performing global rigid registration on the resampled inspection images and abnormal tissue segmentation results, the corresponding registered resampled abnormal tissue center point identification of each resampled abnormal tissue center point coordinate can be obtained. That is, the abnormal tissues in the inspection images and abnormal tissue segmentation results obtained at different times after resampling are matched to the same registered resampled abnormal tissue center point identification. The purpose of this step is to ensure the consistency of the spatial position of the image data acquired at different time points, and provide an accurate reference for subsequent analysis.

[0145] Step 40123, for each of the above-mentioned registered resampled abnormal tissue center point identifiers, in accordance with the inspection time sequence of each original inspection data, with the coordinates of the resampled abnormal tissue center point corresponding to the registered resampled abnormal tissue center point identifier in each group of original inspection data as the center, respectively, in the resampled image and resampled abnormal tissue segmentation result corresponding to each group of original inspection data, images and segmentation results of preset sizes are intercepted, as the inspection images and corresponding abnormal tissue segmentation results, training samples are generated and added to the training sample sequence corresponding to the registered resampled abnormal tissue center point identifier.

[0146] The purpose of this step is to generate training samples. By intercepting the image and segmentation results centered on the registered resampled abnormal tissue center point mark according to the preset size, it can be ensured that the training sample contains the key information of the abnormal tissue. At the same time, adding these training samples to the training sample sequence corresponding to the registered resampled abnormal tissue center point mark can provide sufficient data support for the subsequent abnormal tissue growth prediction model. Optionally, considering the common size of abnormal tissue, the preset size of the image can be an image block of 32*32*32 pixels.

[0147] At this point, through step 4011 to step 4012, multiple training sample sequences are generated.

[0148] As a possible implementation, since the training sample sequence is similar to the historical sample sequence except that the number of samples included is not less than 3, when obtaining the historical sample sequence in step 202, a method similar to step 4012 can be used to process multiple groups of original inspection data of the target object to obtain a historical sample sequence corresponding to one of the abnormal tissues, which will not be elaborated here.

[0149] Step 402: Obtain a pre-trained abnormal tissue growth prediction model.

[0150] The structure of the abnormal tissue growth prediction model before and after training remains unchanged, but the model parameter values ​​are different. The abnormal tissue growth prediction model before training may also include a pre-trained temporal feature extraction network and a pre-trained generative model.

[0151] Step 403: For each training sample sequence, perform a forward propagation operation:

[0152] Here the forward propagation operation may include Figure 4C Steps 4031 to 4033 shown:

[0153] Step 4031, input the 1st to N-1th training samples in the training sample sequence and the inspection time interval between the corresponding training sample and the next training sample into the above-mentioned pre-trained timing feature extraction network in turn to obtain the training sample timing features of the training sample sequence.

[0154] For example, when the training sample sequence includes 4 training samples, that is, N=4, and the 4 training samples are arranged in the order of inspection time, the specific inspection time is shown in the following Table 5:

[0155] Training sample sequence Check time The first training sample March 15, 2020 The second training sample May 13, 2020 The third training sample August 10, 2020 The fourth training sample October 5, 2020

[0156] Table 5

[0157] The first training sample and the time interval between the inspection time of the first training sample (March 15, 2020) and the inspection time of the second training sample (May 13, 2020) of 60 days, the second training sample and the time interval between the inspection time of the second training sample (May 13, 2020) and the inspection time of the third training sample (August 10, 2020) of 90 days, and the third training sample and the time interval between the inspection time of the third training sample (August 10, 2020) and the inspection time of the fourth training sample (October 5, 2020) of 57 days are input into the pre-training time series feature extraction network, and the training sample time series features of the training sample sequence are output.

[0158] Specifically, the structure and execution process of the time series extraction network are similar to the above step 203, and will not be described in detail here.

[0159] Step 4032, input the above training sample time series features and the N-1th training sample with added noise data into the above pre-training generative model to obtain the image noise after the training sample grows and the abnormal tissue segmentation results after the training sample grows.

[0160] This step is similar to step 204 and will not be described in detail here.

[0161] Step 4033, determining the forward propagation loss function of the training sample sequence according to the difference between the image noise after the above training sample is grown and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the above training sample is grown and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence.

[0162] Traditional diffusion models can only predict the generated image noise. For image noise, the mean square error loss function is generally used to calculate the difference between the image noise after the training sample grows and the noise added to the N-1th training sample. However, the mean square error loss function is not suitable for learning segmentation tasks.

[0163] This embodiment changes the prediction target of UNet in the diffusion model so that it can predict both the image noise after generation and the abnormal tissue segmentation result after growth. And considering that the mean square error loss function is not suitable for learning the segmentation task, when calculating the difference between the abnormal tissue segmentation result after growth of the training sample and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, other loss functions such as cross entropy, weighted cross entropy, BCELOSS (Binary Cross Entropy), Focal Loss, Dice Loss, IoU Loss, Jaccard coefficient, Tversky coefficient, Lovasz-Softmax Loss, BCE Loss+Dice Loss, Focal Loss+Dice Loss, etc. can be used for calculation.

[0164] As a possible implementation, step 4033 may first use a mean square error function to calculate a first loss function between the noise of the training growth image and the noise added to the inspection image of the N-1th training sample; then use a cross entropy loss function and / or a Dice loss function to calculate a second loss function between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence; finally, according to the first loss function and the second loss function, calculate the forward propagation loss function of the training sample sequence. For example, the sum of the first loss function and the second loss function may be used as the forward propagation loss function of the training sample sequence.

[0165] In this way, we can not only utilize the mean square error loss function of the traditional diffusion model, but also introduce other loss functions at the same time, making the training process more comprehensive and refined, taking into account both the training effect of the noise prediction task and the training effect of the segmentation result prediction task, so that the common information required by the network for the two tasks can be extracted by the same network, thereby synergistically enhancing the ability to complete the two tasks.

[0166] Step 404: adjusting the parameters of the abnormal tissue growth prediction model before training according to the forward propagation loss function of the plurality of training sample sequences to obtain the abnormal tissue growth prediction model.

[0167] Considering that the parameters of the abnormal tissue growth prediction model before training are adjusted for the forward propagation loss function of each training sample sequence, the training efficiency may be reduced. After calculating the forward propagation loss function of multiple training sample sequences, the parameters of the abnormal tissue growth prediction model before training can be adjusted once, and after multiple adjustments, the final abnormal tissue growth prediction model can be obtained.

[0168] In summary, in the traditional diffusion model training, UNet is used to predict the segmentation result after adding noise. In the test phase, starting from Gaussian noise, a specific formula is used to gradually remove noise. However, this method is limited by the mean square error loss function and is not an ideal choice for segmentation tasks.

[0169] In order to overcome this limitation, the abnormal tissue growth prediction model adds noise in the forward process of the diffusion model and lets UNet directly predict the original segmentation results. In the testing phase, the formula for gradual denoising is re-derived based on the changes made during the training process.

[0170] This innovation enables the training of segmentation tasks to be applied to loss functions that are more suitable for segmentation tasks, such as the cross entropy loss function and the Dice loss function. Such adjustments not only optimize the training process, but also improve the performance of segmentation tasks. The abnormal tissue growth prediction model fully utilizes the correlation between the two tasks of segmentation result prediction and local image prediction after growth. The two tasks are jointly predicted through the same generative model, ensuring that the network can extract the common information required for the two tasks. This collaborative enhancement method not only improves the model's ability to complete a single task, but also promotes mutual promotion between the two tasks, thereby achieving overall performance improvement.

[0171] After the experiment, we first obtained 1919 training sample sequences from the original examination data of lung nodules, and then divided them into training set, validation set and test set in the ratio of 7:1:2 for model training, validation and testing.

[0172] Using two test sets (the first test set is a test set divided proportionally from the 1919 groups of training sample sequences, and the second part is a growth data set extracted from the first test set with the standard that the volume of abnormal tissue in the last training sample increases by more than 50% compared with the abnormal tissue in the penultimate training sample), the performance of the abnormal tissue growth prediction model after the above training was tested to measure the network's predictive performance for nodule volume changes.

[0173] For the segmentation results of abnormal tissue after growth, the Dice index (also known as Dice coefficient, -Dice coefficient, a similarity metric used to evaluate the quality of image segmentation) measures the similarity between the predicted abnormal tissue segmentation result after growth and the segmentation result after actual growth (the last training sample in the training sample sequence). The results of the test on the first and second test sets are recorded as dice and dice growth, respectively.

[0174] For the prediction results of the growth images, the segmentation results of each training sample are first taken as the mask of the region of interest, and then the mask is applied to the image prediction results and the real nodule image after growth, and the SSIM values ​​(Structural Similarity Index Measure, an indicator used to measure the visual similarity between two images) of the two are calculated. The results of the test on the first part and the second part of the test set are recorded as SSIM and SSIM growth respectively.

[0175] The specific results are shown in Table 6 below:

[0176] Dice Dice growth SSIM SSIM growth 0.710 0.662 0.971 0.960

[0177] Table 6

[0178] The test results in Table 6 show that the trained abnormal tissue growth prediction model has good prediction effects in both abnormal tissue growth and obvious growth.

[0179] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an abnormal tissue growth prediction device. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0180] like Figure 5 As shown, the abnormal tissue growth prediction device 500 of this embodiment includes: a model acquisition module 501, an input acquisition module 502, a time series feature extraction module 503, a generation module 504 and a denoising module 505.

[0181] The model acquisition module 501 is used to acquire an abnormal tissue growth prediction model, wherein the abnormal tissue growth prediction model includes a time series feature extraction network and a generative model;

[0182] An input acquisition module 502 is used to acquire a historical sample sequence and a target growth duration. The historical sample sequence is formed by arranging M historical samples obtained by inspecting abnormal tissues in chronological order of inspection time, where M is a natural number and the historical samples include inspection images and corresponding abnormal tissue segmentation results.

[0183] The time series feature extraction module 503 is used to perform the following time series feature extraction operation: according to the order of the historical samples in the historical sample sequence, the M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are sequentially input into the time series feature extraction network, and the time series feature of the historical sample sequence is output, wherein the inspection time interval between the Mth historical sample and the next historical sample is the target growth time length;

[0184] A generative module 504, used for inputting the temporal features of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and outputting the post-growth image noise and the post-growth abnormal tissue segmentation result;

[0185] The denoising module 505 is used to obtain a prediction result of the grown image based on a preset denoising formula by using the Mth historical sample of the noise-added data and the grown image noise.

[0186] In this embodiment, the specific processing of the abnormal tissue growth prediction device 500 and the technical effects thereof can be referred to respectively. Figure 2 The relevant descriptions of step 201, step 202, step 203, step 204 and step 205 in the corresponding embodiment are not repeated here.

[0187] In some optional implementations, the temporal feature extraction network includes a temporal convolutional neural network and an attention extraction network, and the temporal feature extraction module 503 includes:

[0188] The first extraction unit 5031 is used to input the first historical sample in the historical sample sequence and the inspection time interval between the first historical sample and the second historical sample into the time series feature extraction network, and the time series convolutional neural network and the attention extraction network in the time series feature extraction network respectively output corresponding time series features;

[0189] The subsequent extraction unit 5032 is used to perform the following timing feature update operations in sequence for a positive integer i between 2 and M in the order from 2 to M: the i-th historical sample and the inspection time interval between the i-th historical sample and the i+1-th historical sample are input into the above-mentioned timing feature extraction network, and each timing convolutional neural network and attention extraction network combines the timing features obtained after inputting the i-1-th historical sample into the corresponding network to update the timing features of the corresponding network.

[0190] In some optional implementations, the generative model is a diffusion model, including a temporal convolutional neural network and an attention extraction network, and the generative module 504 includes:

[0191] A first input unit 5041 is used to input the M-th historical sample with the added noise data into the input layer of the generative model;

[0192] The second input unit 5042 is used to perform the following corresponding input operations for each time series convolutional neural network and attention extraction network in the above-mentioned time series feature extraction network: determine the time series convolutional neural network or attention extraction network corresponding to the time series convolutional neural network or attention extraction network in the above-mentioned generative model as a matching neural network; input the time series features corresponding to the above-mentioned historical sample sequence output by the time series convolutional neural network or attention extraction network into the above-mentioned matching neural network;

[0193] The output unit 5043 is generated, and is used for the output layer of the above-mentioned generative model to output the post-growth image noise and the post-growth abnormal tissue segmentation result.

[0194] In some optional implementations, the apparatus 400 further includes:

[0195] The iteration module 506 is used to replace the inspection image in the Mth historical sample with the prediction result of the image after growth, and return to perform the time series feature extraction operation.

[0196] In some optional embodiments, the Mth historical sample with added noise data includes an inspection image with added noise data and an abnormal tissue segmentation result with added noise data; and

[0197] The above-mentioned Mth historical sample with added noise data is obtained by the following noise adding operation: determining the current time step; adding noise to the inspection image and abnormal tissue segmentation result of the above-mentioned Mth historical sample according to the noise adding formula of the current time step, respectively, to obtain the inspection image with the above-mentioned noise added data and the abnormal tissue segmentation result with the above-mentioned noise added data.

[0198] In some optional embodiments, the abnormal tissue growth prediction model is trained by the following training operations:

[0199] Acquire multiple training sample sequences, wherein the training sample sequences are N training samples obtained by inspecting the parts of the same object with abnormal tissue at different times and arranged in order of inspection time, N is a positive integer not less than 3, and the training samples include inspection images and corresponding abnormal tissue segmentation results;

[0200] Obtaining a pre-trained abnormal tissue growth prediction model, wherein the pre-trained abnormal tissue growth prediction model includes a pre-trained temporal feature extraction network and a pre-trained generative model;

[0201] For each training sample sequence, the following forward propagation operation is performed: the 1st to N-1th training samples in the training sample sequence and the inspection time interval between the corresponding training sample and the next training sample are sequentially input into the above-mentioned pre-trained temporal feature extraction network to obtain the training sample temporal features of the training sample sequence; the above-mentioned training sample temporal features and the N-1th training sample with added noise data are input into the above-mentioned pre-trained generative model to obtain the image noise after the training sample is grown and the abnormal tissue segmentation result after the training sample is grown; according to the difference between the image noise after the training sample is grown and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the training sample is grown and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, the forward propagation loss function of the training sample sequence is determined;

[0202] According to the forward propagation loss function of the above-mentioned multiple training sample sequences, the parameters of the above-mentioned abnormal tissue growth prediction model before training are adjusted to obtain the abnormal tissue growth prediction model.

[0203] In some optional embodiments, determining the forward propagation loss function of the training sample sequence according to the difference between the image noise after the training growth and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, includes:

[0204] Using a mean square error function, a first loss function is calculated between the noise of the training image after growth and the noise added to the inspection image of the N-1th training sample;

[0205] Using a cross entropy loss function and / or a Dice loss function, a second loss function is calculated between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence;

[0206] According to the first loss function and the second loss function, a forward propagation loss function of the training sample sequence is calculated.

[0207] In some optional implementations, the above-mentioned multiple training sample sequences are obtained through the following sample generation steps:

[0208] Acquire original examination information of at least one object, wherein each original examination information includes multiple groups of original examination data obtained by performing physical examinations on the same object at different times, and the original examination data includes an original examination image and an abnormal tissue segmentation result corresponding to the corresponding original examination image and at least one abnormal tissue center point coordinate;

[0209] For each set of original inspection data in the original inspection information, the following training sample sequence generation operation is performed:

[0210] Resampling the original inspection images and the corresponding abnormal tissue segmentation results in the multiple groups of original inspection data respectively, so that the resampled original inspection images and the resampled abnormal tissue segmentation results in each group of original inspection data after resampling have the same resolution, and determining the coordinates of the resampled abnormal tissue center points corresponding to the coordinates of the center points of each labeled abnormal tissue in each group of original inspection data according to the resolution after resampling;

[0211] Based on each resampled inspection image and the corresponding resampled abnormal tissue segmentation result, the coordinates of the center point of each resampled abnormal tissue are globally rigidly registered to obtain the corresponding registered resampled abnormal tissue center point identifier;

[0212] For each of the above-mentioned registered resampled abnormal tissue center point identifiers, in accordance with the inspection time sequence of each original inspection data, with the coordinates of the resampled abnormal tissue center point corresponding to each group of original inspection data of the registered resampled abnormal tissue center point identifier as the center, respectively, images and segmentation results of preset sizes are intercepted from the resampled images and resampled abnormal tissue segmentation results corresponding to each group of original inspection data, and training samples are generated as the inspection images and corresponding abnormal tissue segmentation results and added to the training sample sequence corresponding to the registered resampled abnormal tissue center point identifier.

[0213] It should be noted that the implementation details and technical effects of each module and unit in the abnormal tissue growth prediction device provided in the embodiments of the present disclosure can be referred to the description of other embodiments in the present disclosure, and will not be repeated here.

[0214] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 suitable for implementing the electronic device of the present disclosure. Figure 6 The computer system 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0215] like Figure 6 As shown, the computer system 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603. Various programs and data required for the operation of the computer system 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0216] Typically, the following devices may be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication devices 609 may allow the computer system 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The computer system 600 of an electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0217] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0218] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0219] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0220] The computer readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device implements the following Figure 2 The illustrated embodiment and its alternative implementations illustrate a method for predicting abnormal tissue growth.

[0221] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0222] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0223] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit or module does not limit the unit itself in some cases. For example, the model acquisition module may also be described as a module "for inputting the temporal characteristics of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and outputting the post-growth image noise and the post-growth abnormal tissue segmentation result".

[0224] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A method for predicting abnormal tissue growth, It is characterized in that include: Acquire an abnormal tissue growth prediction model, wherein the abnormal tissue growth prediction model includes a time series feature extraction network and a generative model; Obtain a historical sample sequence and a target growth duration, wherein the historical sample sequence is formed by arranging M historical samples obtained by inspecting abnormal tissues in chronological order of inspection time, where M is a natural number, and the historical samples include inspection images and corresponding abnormal tissue segmentation results; Perform the following time series feature extraction operation: according to the order of the historical samples in the historical sample sequence, sequentially input the M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample into the time series feature extraction network, and output the time series features of the historical sample sequence, wherein the inspection time interval between the Mth historical sample and the next historical sample is the target growth duration; Input the temporal features of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and output the segmentation results of the post-growth image noise and the post-growth abnormal tissue; Based on a preset denoising formula, the Mth historical sample of the noise-added data and the grown image noise are used to obtain a grown image prediction result.

2. The method according to claim 1, It is characterized in that The temporal feature extraction network includes a temporal convolutional neural network and an attention extraction network. According to the order of the historical samples in the historical sample sequence, the M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are sequentially input into the temporal feature extraction network, and the temporal features of the historical sample sequence are output, including: Inputting the first historical sample in the historical sample sequence and the inspection time interval between the first historical sample and the second historical sample into the temporal feature extraction network, wherein the temporal convolutional neural network and the attention extraction network in the temporal feature extraction network respectively output corresponding temporal features; For a positive integer i between 2 and M, the following timing feature update operations are performed in sequence from 2 to M: the i-th historical sample and the inspection time interval between the i-th historical sample and the i+1-th historical sample are input into the timing feature extraction network, and each timing convolutional neural network and attention extraction network combines the timing features obtained after inputting the i-1-th historical sample into the corresponding network to update the timing features of the corresponding network.

3. The method according to claim 2, It is characterized in that The generative model is a diffusion model, including a temporal convolutional neural network and an attention extraction network. The temporal features of the historical sample sequence and the Mth historical sample with added noise data are input into the generative model, and the post-growth image noise and post-growth abnormal tissue segmentation results are output, including: Inputting the Mth historical sample of the noise-added data into the input layer of the generative model; For each temporal convolutional neural network and attention extraction network in the temporal feature extraction network, the following corresponding input operations are performed: the temporal convolutional neural network or attention extraction network corresponding to the temporal convolutional neural network or attention extraction network in the generative model is determined as a matching neural network; the temporal features corresponding to the historical sample sequence output by the temporal convolutional neural network or attention extraction network are input into the matching neural network; The output layer of the generative model outputs the post-growth image noise and the post-growth abnormal tissue segmentation results.

4. The method according to claim 1, It is characterized in that The method further comprises: The inspection image in the Mth historical sample is replaced by the predicted result of the grown image, and the temporal feature extraction operation is returned to be performed.

5. The method according to claim 4, It is characterized in that The Mth historical sample of the noise-added data includes an inspection image of the noise-added data and an abnormal tissue segmentation result of the noise-added data; and The Mth historical sample of the noise-added data is obtained by the following noise-adding operation: determining a current time step; According to the noise adding formula of the current time step, noise is added to the inspection image and abnormal tissue segmentation result of the Mth historical sample respectively to obtain the inspection image of the noise added data and the abnormal tissue segmentation result of the noise added data.

6. The method according to claim 1, It is characterized in that The abnormal tissue growth prediction model is trained by the following training operations: Acquire multiple training sample sequences, wherein the training sample sequences are N training samples obtained by inspecting the parts of the same object with abnormal tissue at different times and arranged in order of inspection time, N is a positive integer not less than 3, and the training samples include inspection images and corresponding abnormal tissue segmentation results; Acquire a pre-trained abnormal tissue growth prediction model, wherein the pre-trained abnormal tissue growth prediction model includes a pre-trained temporal feature extraction network and a pre-trained generative model; For each training sample sequence, the following forward propagation operation is performed: the 1st to N-1th training samples in the training sample sequence and the inspection time interval between the corresponding training sample and the next training sample are sequentially input into the pre-trained temporal feature extraction network to obtain the training sample temporal features of the training sample sequence; the training sample temporal features and the N-1th training sample with added noise data are input into the pre-trained generative model to obtain the image noise after the training sample grows and the abnormal tissue segmentation result after the training sample grows; according to the difference between the image noise after the training sample grows and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the training sample grows and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, the forward propagation loss function of the training sample sequence is determined; According to the forward propagation loss functions of the multiple training sample sequences, the parameters of the abnormal tissue growth prediction model before training are adjusted to obtain the abnormal tissue growth prediction model.

7. The method according to claim 6, It is characterized in that Determining the forward propagation loss function of the training sample sequence according to the difference between the image noise after the training growth and the noise added to the N-1th training sample, and the difference between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence, comprises: Using a mean square error function, a first loss function is calculated between the noise of the training image after growth and the noise added to the inspection image of the N-1th training sample; Using a cross entropy loss function and / or a Dice loss function, a second loss function is calculated between the abnormal tissue segmentation result after the training growth and the abnormal tissue segmentation result of the Nth training sample in the training sample sequence; According to the first loss function and the second loss function, a forward propagation loss function of the training sample sequence is calculated.

8. The method according to claim 6, It is characterized in that The multiple training sample sequences are obtained through the following sample generation steps: Acquire original examination information of at least one object, wherein each original examination information includes multiple groups of original examination data obtained by performing physical examinations on the same object at different times, and the original examination data includes an original examination image and an abnormal tissue segmentation result corresponding to the corresponding original examination image and at least one abnormal tissue center point coordinate; For each set of original inspection data in the original inspection information, the following training sample sequence generation operation is performed: Resampling the original inspection images and the corresponding abnormal tissue segmentation results in the multiple groups of original inspection data respectively, so that the resampled original inspection images and the resampled abnormal tissue segmentation results in each group of original inspection data after resampling have the same resolution, and determining the coordinates of the resampled abnormal tissue center points corresponding to the coordinates of the center points of each labeled abnormal tissue in each group of original inspection data according to the resolution after resampling; Based on each resampled inspection image and the corresponding resampled abnormal tissue segmentation result, the coordinates of the center point of each resampled abnormal tissue are globally rigidly registered to obtain the corresponding registered resampled abnormal tissue center point identifier; For each of the registered resampled abnormal tissue center point identifiers, in accordance with the inspection time sequence of each original inspection data, with the coordinates of the resampled abnormal tissue center point corresponding to each group of original inspection data of the registered resampled abnormal tissue center point identifier as the center, images and segmentation results of preset sizes are respectively intercepted from the resampled images and resampled abnormal tissue segmentation results corresponding to each group of original inspection data, and training samples are generated as the inspection images and corresponding abnormal tissue segmentation results and added to the training sample sequence corresponding to the registered resampled abnormal tissue center point identifier.

9. A device for predicting abnormal tissue growth, It is characterized in that include: A model acquisition module, used to acquire an abnormal tissue growth prediction model, wherein the abnormal tissue growth prediction model includes a time series feature extraction network and a generative model; An input acquisition module is used to acquire a historical sample sequence and a target growth duration, wherein the historical sample sequence is formed by arranging M historical samples obtained by inspecting abnormal tissues in chronological order of inspection time, where M is a natural number, and the historical samples include inspection images and corresponding abnormal tissue segmentation results; A time series feature extraction module is used to perform the following time series feature extraction operation: according to the order of the historical samples in the historical sample sequence, the M historical samples and the inspection time interval between the corresponding historical sample and the next historical sample are sequentially input into the time series feature extraction network, and the time series feature of the historical sample sequence is output, wherein the inspection time interval between the Mth historical sample and the next historical sample is the target growth duration; A generative module, used for inputting the temporal characteristics of the historical sample sequence and the Mth historical sample with added noise data into the generative model, and outputting the post-growth image noise and the post-growth abnormal tissue segmentation result; The denoising module is used to obtain the prediction result of the grown image based on a preset denoising formula by using the Mth historical sample of the noise-added data and the grown image noise.

10. An electronic device, It is characterized in that include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, wherein when the computer program is executed by one or more processors, the method according to any one of claims 1 to 8 is implemented.

12. A computer program product, It is characterized in that The method comprises a computer program / instruction, which implements the method according to any one of claims 1 to 8 when executed by a processor.

Citation Information

Patent Citations

  • Ultrasonic knife tissue cutting prediction system and method based on recurrent neural network

    CN115293242A

  • DC cell in-vitro culture screening method and device and computer readable medium

    CN116416616A

Cited By

  • Video virtual fitting method based on time sequence enhanced diffusion model

    CN119398865A