Breast function prediction method and device based on multi-modal feature fusion and medium
Through multi-modal feature fusion and transfer learning technology, combined with CT images and clinical text data, the problems of irregular shape, unstable position and low contrast of lesions in breast MRI images are solved, improving the accuracy and personalization of breast function prediction. ability to help doctors more accurately identify benign and malignant lesions.
Patent Information
- Application Number
- CN202410945832.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The lesions in breast MRI images have irregular shapes, unstable positions, a small proportion of the image, and low contrast, which results in insufficient accuracy of existing computer diagnoses, especially the difficulty in segmenting and classifying benign and malignant lesions.
A breast function prediction method based on multi-modal feature fusion is used to find the breast function attenuation function through preprocessing of CT images and clinical text data, an adaptive module, and a feature extraction module to fuse CT, clinical text and breast function features, using ResNeXt-50 The model is fine-tuned and combined with transfer learning and multi-modal feature fusion to improve prediction performance.
It improves the accuracy and personalized ability of breast function prediction, enhances the ability to distinguish benign and malignant breast lesions, provides more accurate prediction results, and assists doctors in formulating treatment plans.
Smart Images

Figure CN118824518A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of imaging segmentation and classification, and in particular to a breast function prediction method, device and storage medium based on multimodal feature fusion. Background Art
[0002] Breast cancer has become one of the most common cancers in the world. Currently, the Breast Imaging Reporting and Data System (BI-RADS) grading relies on ultrasound technology, and the four types of breast lesions are divided into 4A, 4B and 4C, reflecting the increased likelihood of low malignancy (2%-10%), intermediate malignancy (10%-50%) and high malignancy (50%-95%), respectively. Due to the partial overlap of benign and malignant lesions in the four BI-RADS categories, the probability of a lesion being malignant is between 2% and 95%, resulting in some benign lesions being over-evaluated and aggressively treated, while some malignant lesions are underestimated and the optimal treatment is delayed. Therefore, clarifying the benign and malignant nature of the four BI-RADS categories of breast lesions is of great significance for accurate diagnosis and follow-up treatment.
[0003] Breast magnetic resonance imaging (MRI) breaks the traditional single morphology diagnostic model and allows for both quantitative and qualitative analysis of lesions. However, manual reading of MRI is very time-consuming, and computer-assisted early diagnosis of breast lesions is of great significance.
[0004] However, computer diagnosis of MRI has the following problems: (1) lesions are usually irregular in shape and not fixed in position; (2) lesions only occupy 0.01%-4.63% of the entire image, resulting in serious class imbalance problems; (3) lesions have low contrast with normal tissues, making them difficult to identify. Therefore, completing this task is very challenging.
[0005] Deep learning is one of the most effective methods for medical image analysis. However, due to the problems existing in breast MRI images, there is still much room for improvement in the accuracy of diagnosis. There are many works dedicated to solving problems like the above. In order to solve the problems caused by irregular shapes and non-fixed positions, some existing technologies attempt to capture multi-scale information of images through kernels of different sizes and resolutions. In order to solve the class imbalance problem, some existing technologies use attention mechanisms to enhance the recognition ability of small targets. In order to solve the problem of low contrast between lesions and normal tissues, some existing technologies use boundary perception mechanisms to characterize fuzzy lesion boundaries. The above methods have been successfully applied to organ and lesion image analysis. However, they cannot be directly applied to the reading of breast MRI images.
[0006] This is mainly because breast lesions only account for 0.01%-4.63% of the image. Existing methods for solving the class imbalance problem are only effective when the lesions account for more than 10% of the image. They often treat lesions as noise when reading breast MRI images. This makes the problems of irregular lesion shapes, non-fixed positions, and low contrast even more serious.
[0007] In clinical practice, doctors first determine the location of the lesion and then perform pathological examination to distinguish whether the lesion is benign or malignant. In addition, the benign or malignant nature of the lesion can be manifested in different forms. For example, in the case of breast lesions, round or oval lesions are usually benign, while irregularly shaped lesions may be malignant. This shows that the segmentation result is closely related to the accuracy of benign and malignant discrimination. Inspired by this, a method that considers segmentation and classification tasks simultaneously to promote each other is a promising solution to achieve positive results. Summary of the invention
[0008] The present invention proposes a breast function prediction method, device and storage medium based on multimodal feature fusion, which can solve at least one of the technical problems in the background technology.
[0009] To achieve the above object, the present invention adopts the following technical solutions:
[0010] A method for predicting breast function based on multimodal feature fusion, wherein a computer device performs the following steps:
[0011] The following steps are included:
[0012] S1. First, preprocess the CT images and clinical text data;
[0013] S2. Secondly, an adaptive module is designed to find the breast function attenuation function that is most suitable for IPF patients;
[0014] S3. Use the feature extraction module to comprehensively extract features. Input the processed data into the feature extraction module and the attenuation function. The feature extraction module includes three submodules: CT feature extraction, clinical text feature extraction, and breast function feature extraction. Use the multimodal feature prediction network to comprehensively evaluate breast function.
[0015] S4. Finally, the feature extraction module is adjusted and the pre-trained model is fine-tuned to improve the prediction performance of the model, which is then used to evaluate the experimental results.
[0016] Furthermore, the S1 specifically includes:
[0017] S11, the dataset contains breast CT scans and related clinical text information of patients; CT images of patients were collected at 0 weeks, and multiple follow-ups were performed over the course of 1 to 2 years; related clinical text information includes patient ID, percentage, age, FVC, gender, and week number, where the percentage represents the FVC of each patient relative to the typical FVC level of the same age and gender population, and the week number refers to the relative week number from the baseline CT scan;
[0018] S12, preprocessing the obtained CT data set. First, a series of preprocessing is performed on the breast CT images, including window width and window position adjustment, median filter noise reduction, image size adjustment, resampling, and normalization processing; then, the breast area is segmented using a threshold segmentation method and morphological operations; finally, a series of data enhancement operations are implemented, including random rotation, random translation, random cropping, random scaling, horizontal flipping, vertical flipping, brightness adjustment, and contrast adjustment to improve the robustness of the model;
[0019] S13: First, convert the age information into a standardized numerical value: calculate the difference between the sample age and the average age of the training data set, and then divide it by the standard deviation; second, encode the gender information into a numerical value, with males corresponding to a numerical value of 0 and females corresponding to a numerical value of 1.
[0020] Further, step S2 comprises,
[0021] S21, predicting breast indicators, first introduces a variety of formulas for predicting patient FVC, then adaptively searches for the optimal FVC attenuation formula and generates parameter labels; FVC(t) represents the FVC value at time t;
[0022] S22: Then the following representative attenuation models were identified;
[0023] (1) Linear attenuation:
[0024] FVC(t)=FVC(0)-b*t
[0025] This model is applicable to some IPF patients whose disease progression is characterized by a uniform and continuous FVC decline; in this case, the decline rate is constant and is not affected by time; this corresponds to patients whose disease progression is relatively stable and who do not experience sharp deterioration or obvious remission phases;
[0026] (2) Exponential decay:
[0027] FVC(t)=a*e -b*t +c
[0028] This model indicates that the disease progresses rapidly at the beginning, but the rate of progression gradually slows down over time; this corresponds to patients whose lesions expand rapidly at the beginning of the disease, but the growth rate of the lesion area gradually decreases as the disease progresses;
[0029] (3) Logarithmic attenuation:
[0030] FVC(t)=a*lgt+b
[0031] This model represents that patients may not have a significant decline in FVC early in the disease, but the decline accelerates over time; this model matches patients who show relative stability in the early stages of the disease, but then rapidly progress in the later stages;
[0032] (4) Power decay:
[0033] FVC(t)=a*t b+c
[0034] The model shows that the relationship between the decline of FVC and time is nonlinear; this is applicable to patients whose disease progression is not uniformly accelerated or decelerated, but is affected by multiple factors and shows a complex progression pattern over certain periods of time; where t represents the number of weeks, and a, b and c are model parameters to be determined, and FVC(0) represents the FVC value measured initially;
[0035] S23: Use the least squares method to fit the above model, with the goal of minimizing the sum of squared errors between the predicted values and the observed values.
[0036] Further, step S3 includes,
[0037] S31: The overall flow chart of the adaptive breast function prediction model consists of three key steps: (1) introducing multiple unique formulas for patient FVC prediction, adaptively searching for the optimal FVC attenuation formula and generating parameter labels; (2) using the network architecture ResNeXt-50 to extract deep features from pre-segmented CT images and fuse breast function features and clinical text features; (3) fine-tuning the pre-trained model to optimize the performance and prediction ability of the model;
[0038] S32: After segmenting the breast region, extract relevant breast function features from the CT image and clinical text information; these features include breast volume V, the time of the first FVC measurement, and the time since the first FVC measurement; breast volume is one of the key indicators for evaluating breast structure and function. By calculating the volume of pixels in the breast region, the patient's breast-related information is obtained, and the calculation formula is as follows:
[0039] V=V pixel *N
[0040] V pixel =X spacing *Y spacing *Z spacing
[0041] Among them, V represents the volume of a single pixel, Xspacing, Yspacing, and Zspacing represent the intervals between pixels in the three directions in the CT image, respectively, and N represents the number of pixels in the breast area. At the same time, the preprocessed clinical text features, the extracted breast function features, and the CT image features extracted using ResNeXt-50 are spliced to create a comprehensive feature set that considers imaging and clinical information.
[0042] Furthermore, in step S31, the network architecture adopts ResNeXt-50. The ResNeXt-50 model introduces residual connections, and adds input data to output data through skip connections, which helps to solve the gradient vanishing problem in deep networks, so that the model can better learn the high-level feature representation of the image;
[0043] The overall network layer structure of ResNeXt-50 includes 5 convolutional layers; first, it passes through the 7×7 convolution of the conv1 layer, and then downsamples by the 3×3 convolution kernel in the conv2 layer, and then repeatedly stacks the Block structure of the residual network, with the number of stacks being 3, 4, 6, and 3 respectively, and then downsamples through global average pooling, connected by a fully connected layer, and finally outputs the classification result through activation of the Softmax layer; the number of groups C of the stacked residual neural network in the middle, that is, the cardinality is 32, and the number of channels in each group is 4.
[0044] Further, step S4 specifically includes:
[0045] S41: In the process of fine-tuning and training the model, first, the pre-trained ResNeXt-50 model is used to connect the extracted CT image features with the clinical text features and breast function features to form a comprehensive feature set, and a fully connected layer and a dropout layer are added to enable regression prediction capabilities; then, the training data and test data are divided according to a 5-fold cross-validation, a data loader is created to load CT images and related clinical information, and 2D data enhancement technology is applied to increase data diversity;
[0046] S42: The Adam optimization algorithm is used for training, and the L1 loss function is used to measure the difference between the predicted value and the true FVC value. In each training round, the weight of the model is updated through forward propagation, backpropagation and parameter optimization. The model is fine-tuned and trained using the fitted pseudo-labels and training set data, and the model performance and predictive ability are optimized through iteration. At the end of each round, the performance of the model on the validation set is evaluated, and the model parameters with the best score are saved. The whole process is repeated on each fold of the training set and test set to optimize the performance and predictive ability of the model.
[0047] S43: Multiple evaluation indicators are used to comprehensively evaluate the performance of the breast function prediction method combining transfer learning and multimodal feature fusion;
[0048] The modified version of the Laplace loglikelihood, LLLm, is used to evaluate the model's confidence in its decisions and the accuracy of its predictions, reflecting the certainty and reliability of each prediction result.
[0049] To calculate the LLLm metric, according to the reference method of the Kaggle competition, for each true FVC measurement, the measurement of FVC and confidence is calculated according to the following formula:
[0050] σ clipped =max(σ,70)
[0051] Δ=min(|FVC true -FVC predicted |,1000)
[0052]
[0053] Among them, Δ is used to avoid the adverse penalty caused by large errors, and the errors exceeding 1000ml are truncated to 0; σclipped clips the confidence to a maximum value of 70ml to reflect the uncertainty of the approximate measurement of FVC; the LLLm indicator is calculated based on the weekly prediction results, and the indicators of all weeks are averaged to obtain the final evaluation score; the calculation result of LLLm is always a negative value, and the lower the value, the better performance.
[0054] Further, step S42 specifically includes:
[0055] To compare the performance of zero-based training and using a pre-trained model in breast function prediction in IPF patients, two experimental settings were performed for each model: training with randomly initialized weights (zero-based training) and initialization with a pre-trained model and fine-tuning to fit the task (pre-trained model); the rest of the training parameters, including learning rate, batch size, and optimizer, were kept consistent to ensure a fair comparison.
[0056] Furthermore, in step S43, in addition to the LLLm indicator, the root mean square error and the mean absolute error are also used as auxiliary indicators to provide a measure of the accuracy of the prediction results.
[0057] On the other hand, the present invention further discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.
[0058] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0059] It can be seen from the above technical scheme that the present invention proposes a breast function prediction method based on transfer learning and multimodal feature fusion. The present invention effectively overcomes the error problem that may be introduced by the prior hypothesis by designing an adaptive module to find the optimal breast function attenuation formula, and provides a selection basis for using linear prior assumptions; then, using the transfer learning technology, the features and parameters learned in the previous task are applied to the breast function prediction task, which solves the problem of insufficient data volume and improves the learning efficiency and model stability; finally, by introducing the strategy of multimodal feature fusion, the effective combination of CT images, clinical text features and breast function features is achieved, making full use of the complementarity between different information sources and further improving the prediction performance. The prediction experiment of different modal data shows that the prediction ability of the model with clinical text features is better than that of the model using only CT images, and the model using CT images + clinical text features + breast function features has the best prediction effect, which verifies the effectiveness of the breast function features extracted in this study.
[0060] Specifically, the prediction experiments of different modal data show that the prediction ability of the model with clinical text features is better than that of the model using only CT images, and the model using CT images + clinical text features + breast function features has the best prediction effect, which verifies the effectiveness of the breast function features extracted in this study. The experimental results of 15 different feature extraction networks show that the proposed method has the best performance in terms of LLLm, RMSE and MAE evaluation indicators, with ResNeXt-50, where LLLm is -6.706 5, RMSE is 184.5, and MAE is 146.2, which represents the highest prediction accuracy and certainty of prediction results. In contrast, EfficientNet-b7 performs poorly in all indicators, which may be due to its relatively large model size, which is prone to overfitting problems when the data set size is small. These results reveal that the proposed method has good consistency and generalizability on the one hand, and on the other hand, it also suggests that in the task of breast function prediction, lighter models may be more suitable for processing smaller data sets, while more complex models may require larger data sets to avoid overfitting. It can be clearly observed from the experimental results of zero-based training and pre-trained models that the performance of the pre-trained model is better than that of the zero-based training model, whether using LLLm, RMSE or MAE evaluation indicators. This shows that the features learned by the pre-trained model on large-scale general image data can be applied to the field of medical images through transfer learning. The results of this study have important practical application value in the monitoring and evaluation of breast function. By providing more accurate prediction results, the method of this study can assist doctors and clinical medical teams in formulating more effective treatment plans, monitoring disease progression, and taking timely intervention measures.
[0061] This method has the following advantages and contributions: (1) A breast function prediction method combining transfer learning and multimodal feature fusion is designed, which can comprehensively evaluate the degree of breast function attenuation of patients and has higher prediction accuracy than the first place in the Kaggle competition; (2) The designed adaptive module can generate a personalized prediction model for each patient, thereby enhancing the personalized prediction ability; (3) The model accuracy is improved by extracting and selecting breast function features, and its effectiveness is proved by ablation experiments; (4) The effectiveness of the pre-trained model in breast function prediction is verified, which can improve the model prediction accuracy; (5) This study verifies the prediction effect of this method under the mainstream convolutional neural network feature extraction model, further proving its effectiveness and feasibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 The data set for the embodiment of the present invention includes breast CT scans of 176 groups of patients;
[0063] Figure 2 is a schematic diagram of a flow chart of an embodiment of the present invention;
[0064] Figure 3 Schematic diagram of the prediction process of an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0066] like Figure 1 and Figure 2 As shown, the breast function prediction method based on multimodal feature fusion described in this embodiment includes the following steps:
[0067] Step 1: Preprocess CT images and clinical text data.
[0068] S11, The dataset used in this study comes from the Open Source Imaging Consortium (OSIC) Progress Competition. The applicable laws, regulations, and privacy protection policies are strictly followed when using the dataset. The dataset contains breast CT scans of 176 patients ( Figure 1 ) and related clinical text information (Table 1). Patient CT images were collected at week 0, and multiple follow-up visits were performed over the course of 1 to 2 years. Related clinical text information includes patient ID, percentage, age, FVC, sex, and week number, where the percentage represents each patient's FVC relative to the typical FVC level in the same age and sex population, and the week number refers to the relative week number from the baseline CT scan (which may be negative).
[0069] S12, preprocessing the obtained CT data set. First, a series of preprocessing is performed on the breast CT images, including window width and window position adjustment (window width: 1600hu, window position: -600hu), median filtering denoising, image size adjustment (512mm×512mm), resampling (1mm×1mm×1mm), and normalization. Then, the breast area is segmented using threshold segmentation and morphological operations. Finally, a series of data enhancement operations (including random rotation, random translation, random cropping, random scaling, horizontal flipping, vertical flipping, brightness adjustment, and contrast adjustment) are implemented to improve the robustness of the model.
[0070] S13: First, convert the age information into a standardized value: calculate the difference between the sample age and the average age of the training data set, and then divide it by the standard deviation; second, encode the gender information into a value, with male corresponding to value 0 and female corresponding to value 1;
[0071] Step 2: Design an adaptive module to find the breast function attenuation function that is most suitable for IPF patients.
[0072] S21, predicting breast indicators, first introduces a variety of unique formulas for predicting patient FVC, then adaptively searches for the optimal FVC decay formula and generates parameter labels. FVC(t) represents the FVC value at time t. The FVC decay model is designed to capture the physiological changes of IPF (idiopathic pulmonary fibrosis, IPF) patients. This process not only needs to consider the actual medical background and biological mechanisms, but also ensure that the mathematical properties of the model are consistent with the actual physiological process. The theoretical basis for model selection is (1) Physiological and pathological considerations: The FVC decay trend may be due to the combined effects of multiple physiological and pathological mechanisms. Therefore, the choice of model should reflect the impact of these mechanisms on FVC. For example, linear decay may imply the stable progression of the disease, while nonlinear models may reflect the complex physiological interactions of the disease or the transition of the disease stage. (2) Experience of historical research: Linear models have been verified in previous studies and are considered to be a reliable way to describe the FVC decay trend. (3) Stability and reliability of mathematical models: Models should have good mathematical properties, which means that they can obtain stable and reliable parameter estimates in statistical methods such as least squares. (4) Model generalization ability: Since IPF patients may have a variety of different FVC decay trends, the selected model should have sufficient flexibility and generalization ability to capture these possible trend changes.
[0073] S22: Then the following representative attenuation models were identified.
[0074] (1) Linear attenuation:
[0075] FVC(t)=FVC(0)-b*t
[0076] This model is applicable to some IPF patients whose disease progression is characterized by a uniform and continuous decline in FVC. In this case, the rate of decline is constant and is not affected by time. This may correspond to patients whose disease progression is relatively stable and who do not experience sharp deterioration or clear remission phases.
[0077] (2) Exponential decay:
[0078] FVC(t)=a*e -b*t +c
[0079] This model indicates that the disease progresses rapidly at first, but then the rate of progression slows down over time. This may correspond to patients who have a rapid expansion of lesions at the beginning of the disease, but the rate of growth of the lesion area decreases as the disease progresses.
[0080] (3) Logarithmic attenuation:
[0081] FVC(t)=a*lgt+b
[0082] This model represents that patients may not have a significant decline in FVC early in the disease, but the decline accelerates over time. This model may match patients who show relative stability in the early stages of the disease, but then rapidly progress in the later stages.
[0083] (4) Power decay:
[0084] FVC(t)=a*t b+c
[0085] The model shows that the relationship between the decline of FVC and time is nonlinear. This may be applicable to patients whose disease progression is not uniformly accelerated or decelerated, but is affected by multiple factors and shows a complex progression pattern over certain periods of time. Where t represents the number of weeks, and a, b, and c are model parameters to be determined, and FVC(0) represents the initial measured FVC value.
[0086] S23: Use the least squares method to fit the above model, with the goal of minimizing the sum of squared errors between the predicted values and the observed values.
[0087] Step 3: The feature extraction module includes three submodules: CT feature extraction, clinical text feature extraction, and breast function feature extraction, to comprehensively extract features. A multimodal feature prediction network is used to comprehensively evaluate breast function.
[0088] S31: Prediction process Figure 3 As shown in the figure, the overall flowchart of the adaptive breast function prediction model consists of three key steps: (1) introducing multiple unique formulas for patient FVC prediction, adaptively searching for the optimal FVC attenuation formula and generating parameter labels; (2) using ResNeXt-50 to extract deep features from pre-segmented CT images and fuse breast function features and clinical text features; (3) fine-tuning the pre-trained model to optimize the performance and predictive ability of the model.
[0089] The network architecture uses ResNeXt-50, as shown in Table 2: Due to the outstanding performance of ResNet and its variant structures in deep feature extraction, this study uses ResNeXt-50 as the feature extraction network [25-26]. The ResNeXt-50 model introduces residual connections, which add input data to output data through jump connections, which helps to solve the gradient vanishing problem in deep networks and enables the model to better learn high-level feature representations of images. The ResNeXt-50 network layer structure is shown in Table 2, which generally includes 5 convolutional layers. First, the 7×7 convolution of the conv1 layer is performed, and then the 3×3 convolution kernel in the conv2 layer is downsampled, and then the Block structure of the residual network is repeatedly stacked, with the number of stacks being 3, 4, 6, and 3 respectively. Then, the global average pooling is downsampled, the fully connected layer is connected, and finally the classification result is output through the Softmax layer activation. The number of groups C (cardinality) of the intermediate stacked residual neural network is 32, and the number of channels in each group is 4.
[0090] S32: After segmenting the breast region, relevant breast function features are extracted from the CT image and clinical text information. These features include breast volume (V), the time of the first FVC measurement, and the time since the first FVC measurement. Breast volume is one of the key indicators for evaluating breast structure and function. By calculating the volume of pixels in the breast region, the patient's breast-related information can be obtained. The calculation formula is as follows:
[0091] V=V pixel *N
[0092] V pixel =X spacing *Y spacing *Z spacing
[0093] Among them, V represents the volume of a single pixel, Xspacing, Yspacing, and Zspacing represent the spacing between pixels in the three directions in the CT image, and N represents the number of pixels in the breast area. At the same time, the preprocessed clinical text features, the extracted breast function features, and the CT image features extracted using ResNeXt-50 are spliced to create a comprehensive feature set that considers imaging and clinical information. This comprehensive consideration can help capture the combined impact of CT images and clinical information on the prediction of breast function decline.
[0094] Step 4: Finally, fine-tune the pre-trained model to improve the model's predictive performance and then evaluate the experimental results.
[0095] S41: During the fine-tuning and training of the model, first, the pre-trained ResNeXt-50 model was used to connect the extracted CT image features with the clinical text features and breast function features to form a comprehensive feature set, and fully connected layers and dropout layers were added to enable regression prediction capabilities. Then, the training data and test data were divided according to a 5-fold cross-validation, a data loader was created to load CT images and related clinical information, and 2D data enhancement technology was applied to increase data diversity.
[0096] S42: The training adopts the Adam optimization algorithm, and the L1 loss function is used to measure the difference between the predicted value and the true FVC value. In each training round, the weights of the model are updated through forward propagation, backpropagation and parameter optimization. The model is fine-tuned and trained using the fitted pseudo-labels and training set data, and the model performance and predictive ability are optimized through iteration. At the end of each round, the performance of the model on the validation set is evaluated, and the model parameters with the best score are saved. The whole process is repeated on the training set and test set of each fold to optimize the performance and predictive ability of the model. In order to compare the performance of zero-based training and using pre-trained models in breast function prediction in IPF patients, two experimental settings were performed for each model: training with randomly initialized weights (zero-based training) and initialization with a pre-trained model and fine-tuning to adapt to the task (pre-trained model). The rest of the training parameters, such as learning rate, batch size, and optimizer, were kept consistent to ensure the fairness of the comparison.
[0097] S43: Multiple evaluation indicators are used to comprehensively evaluate the performance of the breast function prediction method combining transfer learning and multimodal feature fusion. The modified version of the Laplace loglikelihood (LLLm) indicator is used to evaluate the model's confidence in its decision and the accuracy of the prediction, reflecting the certainty and reliability of each prediction result. To calculate the LLLm indicator, according to the reference method of the Kaggle competition, for each real FVC measurement, the measurement values of FVC and confidence are calculated according to the following formula:
[0098] σ clipped =max(σ,70)
[0099] Δ=min(|FVC true -FVC predicted |,1000)
[0100]
[0101] Among them, Δ is used to avoid the adverse penalty caused by large errors, and errors exceeding 1,000 ml are truncated to 0. σclipped clips the confidence level to a maximum value of 70 ml to reflect the uncertainty in the approximate measurement of FVC. The LLLm indicator is calculated based on the weekly prediction results, and the indicators of all weeks are averaged to obtain the final evaluation score. The calculation result of LLLm is always a negative value, and the lower the value, the better performance. In addition to the LLLm indicator, the root mean squared error (RMSE) and mean absolute error (MAE) are also used as auxiliary indicators to provide a measure of the accuracy of the prediction results.
[0102] The experimental results of 15 different feature extraction networks in the embodiment of the present invention show that the proposed method has the best performance in terms of LLLm, RMSE and MAE evaluation indicators, ResNeXt-50, among which LLLm is -6.706 5, RMSE is 184.5, and MAE is 146.2, which represents that it has the highest prediction accuracy and certainty of prediction results. In contrast, EfficientNet-b7 performs poorly in all indicators, which may be due to its relatively large model size, which is prone to overfitting problems when the data set size is small. These results reveal that the proposed method has good consistency and generalizability on the one hand, and on the other hand, it also implies that in the task of breast function prediction, lighter models may be more suitable for processing smaller data sets, and more complex models may require larger data sets to avoid overfitting. It can be clearly observed from the experimental results of zero-based training and pre-trained models that the performance of the pre-trained model is better than that of the zero-based training model, whether using LLLm, RMSE or MAE evaluation indicators. This shows that the features learned by the pre-trained model on large-scale general image data can be applied to the field of medical images through transfer learning.
[0103] On the other hand, the present invention further discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.
[0104] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0105] In another embodiment provided by the present application, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute any of the breast function prediction methods based on multimodal feature fusion in the above embodiments.
[0106] It is understandable that the system, device and storage medium provided in the embodiments of the present invention correspond to the method provided in the embodiments of the present invention, and the explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the above methods.
[0107] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0108] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0109] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0110] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A breast function prediction method based on multimodal feature fusion, characterized in that: The following steps are included: S1. First, preprocess the CT images and clinical text data; S2. Secondly, an adaptive module is designed to find the breast function attenuation function that is most suitable for IPF patients; S3. Use the feature extraction module to comprehensively extract features. Input the processed data into the feature extraction module and the attenuation function. The feature extraction module includes three submodules: CT feature extraction, clinical text feature extraction, and breast function feature extraction. Use the multimodal feature prediction network to comprehensively evaluate breast function. S4. Finally, the feature extraction module is adjusted and the pre-trained model is fine-tuned to improve the prediction performance of the model, which is then used to evaluate the experimental results.
2. The breast function prediction method based on multimodal feature fusion according to claim 1, characterized in that: The S1 specifically includes: S11, the dataset contains breast CT scans and related clinical text information of patients; CT images of patients were collected at 0 weeks, and multiple follow-ups were performed over the course of 1 to 2 years; related clinical text information includes patient ID, percentage, age, FVC, gender, and week number, where the percentage represents the FVC of each patient relative to the typical FVC level of the same age and gender population, and the week number refers to the relative week number from the baseline CT scan; S12, preprocessing the obtained CT data set. First, a series of preprocessing is performed on the breast CT images, including window width and window position adjustment, median filter noise reduction, image size adjustment, resampling, and normalization processing; then, the breast area is segmented using a threshold segmentation method and morphological operations; finally, a series of data enhancement operations are implemented, including random rotation, random translation, random cropping, random scaling, horizontal flipping, vertical flipping, brightness adjustment, and contrast adjustment to improve the robustness of the model; S13: First, convert the age information into a standardized value: calculate the difference between the sample age and the average age of the training data set, and then divide it by the standard deviation; second, encode the gender information into a value, with males corresponding to value 0 and females corresponding to value 1.
3. The breast function prediction method based on multimodal feature fusion according to claim 2, characterized in that: Step S2 comprises, S21, predicting breast indicators, first introduces a variety of formulas for predicting patient FVC, then adaptively searches for the optimal FVC attenuation formula and generates parameter labels; FVC(t) represents the FVC value at time t; S22: Then the following representative attenuation models were identified; (1) Linear attenuation: FVC(t)=FVC(0)-b*t This model is applicable to some IPF patients whose disease progression is characterized by a uniform and continuous decline in FVC; in this case, the decline rate is constant and is not affected by time; this corresponds to patients whose disease progression is relatively stable and who do not experience sharp deterioration or obvious remission phases; (2) Exponential decay: FVC(t)=a*e -b*t +c This model indicates that the disease progresses rapidly at the beginning, but the rate of progression gradually slows down over time; this corresponds to patients whose lesions expand rapidly at the beginning of the disease, but the growth rate of the lesion area gradually decreases as the disease progresses; (3) Logarithmic attenuation: FVC(t)=a*lgt+b This model represents that patients may not have a significant decline in FVC early in the disease, but the decline accelerates over time; this model matches patients who show relative stability in the early stages of the disease, but then rapidly progress in the later stages; (4) Power decay: FVC(t)=a*t b+c The model shows that the relationship between the decline of FVC and time is nonlinear; this is applicable to patients whose disease progression is not uniformly accelerated or decelerated, but is affected by multiple factors and shows a complex progression pattern over certain periods of time; where t represents the number of weeks, and a, b and c are model parameters to be determined, and FVC(0) represents the FVC value measured initially; S23: Use the least squares method to fit the above model, with the goal of minimizing the sum of squared errors between the predicted values and the observed values.
4. The method for predicting breast function based on multimodal feature fusion according to claim 3, characterized in that: Step S3 comprises, S31: The overall flow chart of the adaptive breast function prediction model consists of three key steps: (1) introducing multiple unique formulas for patient FVC prediction, adaptively searching for the optimal FVC attenuation formula and generating parameter labels; (2) using the network architecture ResNeXt-50 to extract deep features from pre-segmented CT images and fuse breast function features and clinical text features; (3) fine-tuning the pre-trained model to optimize the performance and prediction ability of the model; S32: After segmenting the breast region, extract relevant breast function features from the CT image and clinical text information; these features include breast volume V, the time of the first FVC measurement, and the time since the first FVC measurement; breast volume is one of the key indicators for evaluating breast structure and function. By calculating the volume of pixels in the breast region, the patient's breast-related information is obtained, and the calculation formula is as follows: V=V pixel *N V pixel =X spacing *Y spacing *Z spacing Among them, V represents the volume of a single pixel, Xspacing, Yspacing, and Zspacing represent the intervals between pixels in the three directions in the CT image, respectively, and N represents the number of pixels in the breast area. At the same time, the preprocessed clinical text features, the extracted breast function features, and the CT image features extracted using ResNeXt-50 are spliced to create a comprehensive feature set that considers imaging and clinical information.
5. The method for predicting breast function based on multimodal feature fusion according to claim 4, characterized in that: In step S31, the network architecture adopts ResNeXt-50. The ResNeXt-50 model introduces residual connections, which add input data to output data through skip connections, which helps to solve the gradient vanishing problem in deep networks and enables the model to better learn high-level feature representations of images. The overall network layer structure of ResNeXt-50 includes 5 convolutional layers; first, it passes through the 7×7 convolution of the conv1 layer, and then downsamples by the 3×3 convolution kernel in the conv2 layer, and then repeatedly stacks the Block structure of the residual network, with the number of stacks being 3, 4, 6, and 3 respectively, and then downsamples through global average pooling, connected by a fully connected layer, and finally outputs the classification result through activation of the Softmax layer; the number of groups C of the stacked residual neural network in the middle, that is, the cardinality is 32, and the number of channels in each group is 4.
6. The method for predicting breast function based on multimodal feature fusion according to claim 4, characterized in that: Step S4 specifically includes: S41: In the process of fine-tuning and training the model, first, the pre-trained ResNeXt-50 model is used to connect the extracted CT image features with the clinical text features and breast function features to form a comprehensive feature set, and a fully connected layer and a dropout layer are added to enable regression prediction capabilities; then, the training data and test data are divided according to a 5-fold cross-validation, a data loader is created to load CT images and related clinical information, and 2D data enhancement technology is applied to increase data diversity; S42: The Adam optimization algorithm is used for training, and the L1 loss function is used to measure the difference between the predicted value and the true FVC value. In each training round, the weight of the model is updated through forward propagation, back propagation and parameter optimization. Fine-tune and train the model using the fitted pseudo-labels and training set data, optimizing the model performance and predictive ability through iterations; at the end of each round, evaluate the performance of the model on the validation set and save the model parameters with the best score; the whole process is repeated on each fold of the training set and test set to optimize the model performance and predictive ability; S43: Multiple evaluation indicators are used to comprehensively evaluate the performance of the breast function prediction method combining transfer learning and multimodal feature fusion; The modified version of the Laplace loglikelihood, LLLm, is used to evaluate the model's confidence in its decisions and the accuracy of its predictions, reflecting the certainty and reliability of each prediction result. To calculate the LLLm metric, according to the reference method of the Kaggle competition, for each true FVC measurement, the measurement of FVC and confidence is calculated according to the following formula: s clipped =max(σ,70) Δ=min(|FVC true -FVC predicted |,1000) Among them, Δ is used to avoid the adverse penalty caused by large errors, and the errors exceeding 1000ml are truncated to 0; σclipped clips the confidence to a maximum value of 70ml to reflect the uncertainty of the approximate measurement of FVC; the LLLm indicator is calculated based on the weekly prediction results, and the indicators of all weeks are averaged to obtain the final evaluation score; the calculation result of LLLm is always a negative value, and the lower the value, the better performance.
7. The method for predicting breast function based on multimodal feature fusion according to claim 6, characterized in that: Step S42 specifically includes: To compare the performance of zero-based training and using a pre-trained model in breast function prediction in IPF patients, two experimental settings were performed for each model: training with randomly initialized weights (zero-based training) and initialization with a pre-trained model and fine-tuning to fit the task (pre-trained model); the rest of the training parameters, including learning rate, batch size, and optimizer, were kept consistent to ensure a fair comparison.
8. The method for predicting breast function based on multimodal feature fusion according to claim 6, characterized in that: In step S43, in addition to the LLLm indicator, the root mean square error and the mean absolute error are also used as auxiliary indicators to provide a measure of the accuracy of the prediction results.
9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 8.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Hepatocellular carcinoma differentiation evaluation method based on multi-modal image contribution degree fusion
CN111598864A
Pancreatic cancer diagnosis method and system, medium and electronic equipment
CN116416225A
Lung function attenuation prediction system and device based on adaptive deep learning
CN116779170A
Cited By
Mammary gland optical image processing method and device, storage medium and electronic equipment
CN119090895A
Disease prevention and management system based on image recognition and big data
CN119786022A
Lung interstitial image analysis method and system based on clinical prior guidance feature fusion
CN121482029A
Breast focus progress trend prediction method based on multimode data fusion
CN121885161A
A breast lesion progression trend prediction method based on multi-mode data fusion
CN121885161B
