Explanatable osteoporosis prediction method and system based on conventional CT examination data of patient

Through feature extraction of conventional CT examination data and LightGBM model training, combined with SHAP analysis, the problem of low instrument penetration and uninterpretable models in osteoporosis diagnosis is solved, and high-accuracy and low-cost osteoporosis risk assessment is achieved. Evaluate.

CN118787374AInactive Publication Date: 2024-10-18DALIAN UNIV

Patent Information

Application Number
CN202410769013.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the diagnosis of osteoporosis with existing technology, the popularity of instruments relying on dual-energy X-ray absorption method is low, and the model prediction results based on CT examination lack interpretability and accuracy, which increases medical costs and patient waiting time. .

Method used

By performing feature extraction and LightGBM algorithm model training on patients' routine CT examination data, combined with SHAP analysis tools, we build multi-dimensional feature sets and decision tree models to optimize prediction performance and provide detailed feature contribution explanations to achieve osteoporosis risk assessment. Interpretable predictions.

Benefits of technology

It reduces patient consultation time and costs, improves the accuracy of early diagnosis of osteoporosis, provides credible prediction results and detailed explanations, and avoids the radiation risk of additional examinations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118787374A_ABST
    Figure CN118787374A_ABST
Patent Text Reader

Abstract

The invention discloses an interpretable osteoporosis prediction method and system based on conventional CT examination data of a patient, and relates to the technical field of bone mineral density prediction. According to the method, a multi-dimensional feature set is constructed by integrating basic information such as age and gender of a patient and CT values of key areas extracted from L1-L4 vertebra CT images. The characteristics not only can reflect the bone health condition of the patient, but also can reveal the potential osteoporosis risk. According to the invention, the patient can obtain an accurate and explainable osteoporosis risk assessment without receiving extra examination with radiation risk. An osteoporosis prediction framework based on traditional CT examination data not only can provide an efficient prediction result, but also can help doctors to better understand and explain disease conditions of patients, and provides important reference for clinical diagnosis and treatment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bone density prediction, and in particular to an interpretable osteoporosis prediction method and system based on conventional CT examination data of patients. Background Art

[0002] Osteoporosis (OP) is the most common bone disease in the world. It is a metabolic bone disease characterized by low bone mass and destruction of bone tissue microarchitecture, which leads to increased bone fragility and increased susceptibility to fractures.

[0003] The harm of osteoporosis is that it increases the risk and frequency of fractures, especially in vulnerable areas such as the spine, hips and wrists. These fractures may cause severe pain, functional limitations and changes in body shape, such as hunchback. In addition, osteoporosis and its related fractures will also reduce the patient's quality of life, change medical treatment options and increase the cost of rehabilitation.

[0004] The World Health Organization recommends dual-energy X-ray absorptiometry (DXA) as the gold standard for the diagnosis of osteoporosis, and a T value of ≤2.5SD is considered osteoporosis. However, the instruments required for DXA are less popular in primary hospitals. In my country, conventional CT instruments are widely used in various hospitals, and are easy and quick to use. They have become a widely used and irreplaceable imaging examination method in clinical medicine.

[0005] Many studies at home and abroad have shown that there is a positive correlation between the vertebral CT values ​​in routine CT values ​​and the T values ​​measured by DXA. However, no clear standard has been established to accurately measure the relationship between the two.

[0006] In recent years, with the rapid development of artificial intelligence, a variety of machine learning and deep learning methods have been widely used in the field of medical imaging, which can assist doctors in diagnosing and treating diseases to a certain extent. However, there are certain limitations in the selection of patient data, the reliability of model results, and the interpretation of model results.

[0007] FRAX (Fracture Risk Assessment Tool) is a software tool that uses clinical risk factors to assess the absolute risk of osteoporotic fractures for each individual. Based on femoral neck bone mineral density (BMD) and fracture risk factors, the software can predict the possibility of a patient suffering a fracture within 10 years through a series of large-sample evidence-based medicine raw data. The fracture sites include the percentage of hip fractures, and the percentage of fractures in major parts of the body can also be calculated. The tool takes into account factors such as age, gender, bone density, fracture history, family history, bad living habits, and other diseases, and uses a linear fitting method to calculate the possibility of osteoporosis in the future. However, this method is not simple enough to fit, resulting in a low accuracy rate.

[0008] The paper Application of machine learning to identify clinically meaningful risk group for osteoporosis in individuals under the recommended age for dual-energy X-ray absorptiometry constructed XGBoost to predict whether men and women have osteoporosis, with AUCs of 0.73 and 0.79, respectively. SHAP was used to evaluate the top 20 important features, but some of the selected features are not easily available clinically, which will lead to increased medical costs.

[0009] The literature Opportunistic osteoporosis screening in multi-detector CT images using deep convolutional neural networks built a model from CT images to bone density values ​​and osteoporosis prediction, which has a good effect. However, in the lumbar segmentation module, its segmentation effect is not very ideal in some cases. In addition, the complexity of the model may lead to an increase in computational costs in clinical applications.

[0010] Patent document CN 116504395 B discloses an osteoporosis prediction method, system and storage medium based on artificial intelligence. The patent constructs a method for predicting osteoporosis from the patient's age, gender, smoking history, drinking history, region, bone density, and fracture frequency data. It first uses a global sample set for preliminary training, and then uses a partial global sample set and a personalized sample set for secondary training to ensure patient data privacy. However, the patient's bone density data in this method needs to be tested in advance as a model input.

[0011] Patent document CN 116433620 A discloses a method and system for predicting bone density and intelligent screening for osteoporosis based on CT images. It constructs a deep learning model for predicting bone density values ​​based on lumbar CT images, and then obtains the screening results for osteoporosis based on the latest osteoporosis diagnostic criteria based on lumbar bone density. This method has a good auxiliary diagnosis effect, but in terms of data, it does not focus on patient demographic data related to osteoporosis prediction. In addition, the model output results are not interpretable. Summary of the invention

[0012] The purpose of the present invention is to propose an interpretable osteoporosis prediction method and system based on patients' routine CT examination data, which effectively reduces the patients' medical treatment time and cost, and can assist clinicians in screening and diagnosing osteoporosis only through traditional CT examinations.

[0013] According to a first aspect of an embodiment of the present disclosure, there is provided an interpretable osteoporosis prediction method based on conventional CT examination data of a patient, comprising the following steps:

[0014] The existing patients' L1-L4 vertebral CT images were divided and the CT values ​​of the region of interest (ROI) were extracted. The age and gender of the patients were used as additional clinical features to form a multi-dimensional feature set together with the CT values.

[0015] An osteoporosis prediction model is constructed based on the LightGBM algorithm, and the osteoporosis prediction model is trained using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by constructing multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error;

[0016] Based on experience, different feature selection schemes for predicting bone density are provided and input into the osteoporosis prediction model. The best feature selection scheme is obtained through the prediction results of the model.

[0017] Quantify the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results;

[0018] Acquire new patient CT values ​​and clinical characteristics, obtain osteoporosis risk prediction results through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

[0019] According to a second aspect of an embodiment of the present disclosure, there is provided an interpretable osteoporosis prediction system based on conventional CT examination data of a patient, comprising:

[0020] Feature set construction module: divide the existing patients' L1-L4 vertebral CT images and extract the CT values ​​of the region of interest (ROI). The patient's age and gender are used as additional clinical features to form a multi-dimensional feature set together with the CT values.

[0021] Model building module: build an osteoporosis prediction model based on the LightGBM algorithm, and train the osteoporosis prediction model using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by building multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error;

[0022] Feature selection module: Provide different feature selection schemes for predicting bone density based on experience, input them into the osteoporosis prediction model, and obtain the best feature selection scheme through the prediction results of the model;

[0023] The contribution explanation module quantifies the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results;

[0024] Prediction module: Obtain new patient CT values ​​and clinical characteristics, obtain the prediction results of osteoporosis risk through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

[0025] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device comprising a memory, a processor and a computer program stored and running on the memory, wherein when the processor executes the program, an interpretable osteoporosis prediction method based on routine CT examination data of a patient is implemented.

[0026] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for predicting osteoporosis that can be interpreted based on routine CT examination data of patients is implemented.

[0027] Compared with the prior art, the above technical solution adopted by the present invention has the following advantages: the present invention can assist clinicians in screening and diagnosing osteoporosis in patients only through traditional CT examination data and patient demographic data, thereby reducing the medical treatment time and cost of patients. The present invention explains the prediction results generated by the model, and the visual conclusion explanation graphics make the model prediction results more credible. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0029] Figure 1 This is a schematic diagram of the core process of the interpretable osteoporosis prediction method based on patients' routine CT examination data;

[0030] Figure 2 A flowchart for the application of an interpretable osteoporosis prediction system based on routine CT examination data of patients;

[0031] Figure 3 A diagram showing the predicted interface for one of the patients;

[0032] Figure 4 Predict the interface display diagram for another patient;

[0033] Figure 5 Schematic diagram for sorting important features. Specific implementation methods

[0035] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0036] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0037] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0038] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and systems according to various embodiments of the present disclosure. It should be noted that each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code may include one or more executable instructions for implementing the logical functions specified in each embodiment. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the flowchart and / or block diagram, and the combination of boxes in the flowchart and / or block diagram can be implemented using a dedicated hardware-based system that performs a specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0039] The present invention utilizes the patient's routine CT examination data to improve the accuracy of early diagnosis of osteoporosis and provide doctors and patients with interpretable prediction results. This method constructs a multidimensional feature set by integrating the patient's basic information such as age and gender, as well as the key area CT values ​​extracted from the L1-L4 vertebral CT images. These features can not only reflect the patient's bone health status, but also reveal the potential risk of osteoporosis. Through the present invention, patients can obtain an accurate and interpretable osteoporosis risk assessment without undergoing additional examinations with radiation risks.

[0040] Embodiment 1:

[0041] like Figure 1 As shown, this embodiment provides an interpretable osteoporosis prediction method based on conventional CT examination data of patients, aiming to improve the accuracy of early diagnosis of osteoporosis and enhance the interpretability of the model by comprehensively analyzing the CT image data and clinical information of patients. The method includes the following steps:

[0042] 1) Data preparation and feature extraction: The L1-L4 vertebral CT images of existing patients were divided and the CT values ​​of the region of interest (ROI) were extracted. The age and gender of the patients were used as additional clinical features to form a multi-dimensional feature set together with the CT values.

[0043] The specific implementation is as follows:

[0044] Measurement of CT value: The CT value of lumbar 3D CT was obtained by PACS: For each vertebra, the following region of interest (ROI) was drawn and the CT value was obtained: the CT value of the upper part of the vertebra was recorded as Lu; the CT value of the middle part of the vertebra was recorded as Lm; the CT value of the lower part of the vertebra was recorded as L-1; the CT value of the right side of the vertebra containing cortical bone was recorded as rt; the CT value of the left side of the vertebra containing cortical bone was recorded as lt; the CT value of the right side of the vertebra without cortical bone was recorded as rf; the CT value of the left side of the vertebra without cortical bone was recorded as lf;

[0045] Determine the basis for osteoporosis diagnosis: The World Health Organization recommends dual-energy X-ray absorptiometry (DXA) as the gold standard for osteoporosis diagnosis and discrimination, and a T value of ≤2.5SD is considered osteoporosis. For each patient's L1-L4 vertebrae, four samples were taken respectively; according to the T value measured by DXA, patients with a T value of less than or equal to -2.5 were marked as osteoporotic patients, and the label was recorded as 1; patients with a T value greater than -2.5 were marked as non-osteoporotic patients, and the label was recorded as 0;

[0046] Dataset construction: Based on the CT values ​​of the 7 regions of interest of each vertebra, an additional L_avg was added, representing the average of Lu, Lm, and Ll; then, the patient's age and gender were used as additional clinical features to form a multidimensional feature set together with the CT value; and the data were randomly divided into training and test datasets in an 8:2 ratio.

[0047] Data normalization: The construction of the data set involves multiple features, including CT values ​​of L1-L4 vertebrae, age, and gender. These features have different dimensions and numerical ranges. To avoid the model being overly sensitive to certain features during training and ignoring other equally important features, Z-Score normalization is used to normalize the multi-dimensional feature set and transform the data into a distribution with a mean of 0 and a standard deviation of 1. The formula is:

[0048]

[0049] Where μ is the mean of the original data and δ is the standard deviation of the original data.

[0050] 2) Model construction and training: An osteoporosis prediction model is constructed based on the LightGBM algorithm, and the osteoporosis prediction model is trained using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by constructing multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error;

[0051] LightGBM is an efficient machine learning algorithm based on the gradient boosting framework. It performs well in dealing with various data science problems and problems in the field of medical health. This method builds and trains the model based on LightGBM. The process includes: input feature processing and iterative construction of decision tree

[0052] a) Input feature processing: When constructing decision tree nodes, LightGBM uses a decision tree construction method with a histogram. This method discretizes the feature values ​​into a histogram and selects the best split point based on the histogram information. The advantage of this strategy is that it can reduce the traversal of all feature values, thereby significantly improving the training speed.

[0053] When building an osteoporosis prediction model based on the LightGBM algorithm, the input space X is defined, including age, gender, and CT values ​​of different parts of the vertebrae, expressed as {x1, …, x n}, for each feature x i , the LightGBM algorithm builds a histogram and gradually optimizes it during the training process. Specifically: Initialize the histogram: For each feature, build an initial histogram based on the distribution of the data. Find the best split point: In the process of building the tree, the algorithm uses the histogram to quickly find possible split points. The histogram can tell us how many data points there are in a specific range of values, thereby helping the algorithm evaluate the quality of the split point.

[0054] b) Iterative construction of decision tree: LightGBM is based on gradient-based one-side sampling (GOSS). X = {x1, ..., x n} for each x i is a vector with s dimensions in space X. At each iteration of gradient boosting, the negative gradient of the loss function with respect to the model output is denoted as {g1,…,g n}.

[0055] Let O represent the training data set of a fixed node on the decision tree; at this node, the information gain of feature j at the split point d is defined as:

[0056]

[0057] Where n represents the number of samples; Represents the sum of the sample gradient values ​​whose value is less than or equal to d; Represents the sum of the gradient values ​​of samples whose values ​​are greater than d.

[0058] The steps of GOSS sampling are as follows: first, the gradient value of each data sample in the training data set is calculated, and the samples are sorted in descending order according to the absolute value of the gradient; then, the samples with larger gradients in the front a% are retained, and the remaining samples with smaller gradients are randomly sampled at a ratio of b%; in order to maintain the consistency of data distribution, a constant multiple is introduced for the sampled smaller gradient samples. To amplify the information gain, we finally get:

[0059]

[0060] Specifically, the osteoporosis prediction model is constructed based on the LightGBM algorithm, including: for a given input space X, first bucket its features into a discretized histogram, initialize the model, and create a tree with only one leaf node. Use the gradient boosting method to iteratively build a series of trees to gradually improve the model performance. The iterative process is divided into:

[0061] a. Calculate the gradient: According to the prediction results of the current model, calculate the gradient of the loss function for each sample {g1, ..., g n};

[0062] b. Sample sampling: Use GOSS to sample samples, retain samples with larger gradients, and accelerate training;

[0063] c. Feature selection: based on information gain Select the best features and split points to minimize the loss function;

[0064] d. Tree growth: Grow a layer of a tree based on the selected features and split points, and then continue iterating;

[0065] e. Regularization: Regularization is used to control the complexity of the tree and avoid overfitting.

[0066] After completing the set number of iterations, an osteoporosis prediction model consisting of multiple trees is generated.

[0067] 3) Feature selection: Based on experience, different feature selection schemes for predicting bone density are provided and input into the osteoporosis prediction model. The best feature selection scheme is obtained through the prediction results of the model;

[0068] Specifically, doctors provide different feature selection schemes for predicting bone density based on experience, as shown below:

[0069]

[0070] The above six feature selection schemes are evaluated, and the evaluation indicators are specificity, sensitivity, precision, recall, accuracy, F1-score and area under the ROC curve (AUC). The experimental results show that the best feature selection scheme is age, gender, Lu, Lm, Ll, rt, lt, rf, lf.

[0071] 4) Model interpretation and analysis: quantify the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results;

[0072] In order to make the prediction results of the model more transparent and explainable, this paper introduces the SHAP (SHapleyAdditive exPlanations) analysis tool. SHAP is a framework for explaining the predictions of machine learning models, which aims to assign the contribution of each feature to the prediction results, thereby providing interpretability of model predictions.

[0073] For a vector x = {age, gender, Lu, Lm, Ll, rt, lt, rf, lf} with M input features, the osteoporosis prediction model outputs f(x) representing the probability or prediction score of the patient suffering from osteoporosis; the process is:

[0074]

[0075] The function g(x′) transforms the input and obtains a new input vector x′ t The output f(x) is decomposed into two parts: the basic model output bias φ0: it represents the basic osteoporosis risk predicted by the model without considering any input features; it reflects the basic risk when age, gender and CT value are not considered; feature contribution term: by i Apply weight φ i And add them together, the resulting term represents the impact of each feature on the model's prediction of osteoporosis; through the above process, the contribution of each feature to the prediction result is quantified, and the model is interpreted and analyzed.

[0076] 5) System integration and application: Obtain new patient CT values ​​and clinical characteristics, obtain osteoporosis risk prediction results through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

[0077] The present invention only uses traditional CT image data and patient demographic data to assist clinicians in screening and diagnosing osteoporosis in patients. Labeling traditional CT image data can avoid the problem of unreliable prediction results due to inconsistent bone density to a certain extent. Combining the ensemble learning algorithm and the SHAP framework, a prediction method with high accuracy, interpretable lines, high efficiency and low memory usage is designed. On the basis of ensuring the prediction effect, the computational cost of clinical application is effectively controlled, so that the method can be better implemented and applied in actual scenarios.

[0078] Based on the osteoporosis examination and diagnosis data of a certain hospital, this experiment was designed to analyze its beneficial effects.

[0079] Scenario 1: A patient is admitted to the endocrinology or physical examination department and needs osteoporosis screening or diagnosis, such as Figure 3 As shown;

[0080] Scenario 2: A patient is admitted to the spine surgery department and needs to be diagnosed with osteoporosis and undergo spinal surgery. Figure 4 As shown;

[0081] The traditional diagnostic process usually requires both traditional CT examination and dual-energy X-ray detection, which not only increases medical costs, but also may prolong patients' waiting time and increase the risk of radiation exposure.

[0082] The following contains information about two patients

[0083]

[0084]

[0085] like Figure 5 As shown in the figure, from top to bottom, the important features judged by SHAP are sorted. Each point in the figure is a sample. Red and blue represent the high and low values ​​of a certain attribute. The position on the horizontal axis represents the size of SHAP, that is, whether a certain feature tends to be predicted as positive or negative. For example, most of the red feature points in Lm in the first row are on the right, and the redder and to the right, it means that samples with high feature values ​​tend to be predicted as positive, and vice versa.

[0086] Embodiment 2:

[0087] This embodiment provides an interpretable osteoporosis prediction system based on conventional CT examination data of patients, including:

[0088] Feature set construction module: divide the existing patients' L1-L4 vertebrae CT images and extract the CT values ​​of the region of interest (ROI). The patient's age and gender are used as additional clinical features to form a multi-dimensional feature set together with the CT values.

[0089] Model building module: build an osteoporosis prediction model based on the LightGBM algorithm, and train the osteoporosis prediction model using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by building multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error;

[0090] Feature selection module: Provide different feature selection schemes for predicting bone density based on experience, input them into the osteoporosis prediction model, and obtain the best feature selection scheme through the prediction results of the model;

[0091] The contribution explanation module quantifies the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results;

[0092] Prediction module: Obtain new patient CT values ​​and clinical characteristics, obtain the prediction results of osteoporosis risk through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

[0093] When integrating and applying the above system, the client should also provide platform modules and loading modules.

[0094] 1) Platform module: SpringBoot is used to integrate the mainstream framework as the backend framework, Thymeleaf is used as the template engine for the front end, combined with HTML, XML, JavaScript, CSS and template layout, and MySQL is used as the database for data persistence. Login, registration, statistics, osteoporosis prediction and query prediction record functions are realized.

[0095] 2) Loading module: Use joblib to save and load models, and use the Flask framework for network communication. Specifically, after receiving the request encapsulated by the platform module, the module interface parses the request, extracts the patient's characteristics, uses the model loaded into the memory at startup to make predictions, obtains the prediction results, performs interpretable analysis through the SHAP framework, combines the prediction results with the interpretable analysis report, and returns the results to the platform module accordingly.

[0096] like Figure 2As shown, when using this system, you first need to register and log in. The homepage will display various statistical information, including the number of predicted records, the age distribution of osteoporosis patients predicted by the system, the gender ratio and other information. When the user wants to make a prediction, he needs to fill in the form, including various features. After clicking submit, the system uses ajax to asynchronously transmit the request to the loading module, and displays the waiting animation on the page. After receiving the response from the loading module, the prediction results are displayed and saved in the MySQL database. When the user clicks on the predicted record, the system will query the database and display all the predicted records, including feature information and prediction results.

[0097] Embodiment three:

[0098] An electronic device, comprising a memory, a processor and a computer program stored and running on the memory, wherein the processor implements the above-mentioned interpretable osteoporosis prediction method based on conventional CT examination data of patients when executing the program, comprising:

[0099] The existing patients' L1-L4 vertebral CT images were divided and the CT values ​​of the regions of interest (ROIs) were extracted. The age and gender of the patients were used as additional clinical features to form a multi-dimensional feature set together with the CT values.

[0100] An osteoporosis prediction model is constructed based on the LightGBM algorithm, and the osteoporosis prediction model is trained using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by constructing multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error;

[0101] Based on experience, different feature selection schemes for predicting bone density are provided and input into the osteoporosis prediction model. The best feature selection scheme is obtained through the prediction results of the model.

[0102] Quantify the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results;

[0103] Acquire new patient CT values ​​and clinical characteristics, obtain osteoporosis risk prediction results through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

[0104] Embodiment 4:

[0105] A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the program implements the above-mentioned interpretable osteoporosis prediction method based on conventional CT examination data of a patient, comprising:

[0106] The existing patients' L1-L4 vertebral CT images were divided and the CT values ​​of the regions of interest (ROIs) were extracted. The age and gender of the patients were used as additional clinical features to form a multi-dimensional feature set together with the CT values.

[0107] An osteoporosis prediction model is constructed based on the LightGBM algorithm, and the osteoporosis prediction model is trained using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by constructing multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error;

[0108] Based on experience, different feature selection schemes for predicting bone density are provided and input into the osteoporosis prediction model. The best feature selection scheme is obtained through the prediction results of the model.

[0109] Quantify the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results;

[0110] Acquire new patient CT values ​​and clinical characteristics, obtain osteoporosis risk prediction results through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

[0111] The present invention uses a CT scan to obtain multiple data points for model prediction, which avoids the problem of unreliable prediction results caused by inconsistent bone density to a certain extent. In terms of model input features, demographic data and CT examination data that are easy to obtain and have an important impact on the results are introduced and selected. The two types of features are used together as model input to improve the accuracy of model prediction. Combining the integrated learning LightGBM algorithm and the SHAP framework, the prediction algorithm model not only has high accuracy and interpretability, but also has the advantages of high efficiency and low memory usage.

[0112] Those skilled in the art should understand that the modules or steps of the present disclosure can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present disclosure is not limited to any specific combination of hardware and software.

[0113] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0114] Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.

Claims

1. An interpretable osteoporosis prediction method based on routine CT examination data of patients, characterized in that: The following steps are involved: The existing patients' L1-L4 vertebral CT images were divided and the CT values ​​of the regions of interest (ROIs) were extracted. The age and gender of the patients were used as additional clinical features to form a multi-dimensional feature set together with the CT values. An osteoporosis prediction model is constructed based on the LightGBM algorithm, and the osteoporosis prediction model is trained using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by constructing multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error; Based on experience, different feature selection schemes for predicting bone density are provided and input into the osteoporosis prediction model. The best feature selection scheme is obtained through the prediction results of the model. Quantify the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results; Acquire new patient CT values ​​and clinical characteristics, obtain osteoporosis risk prediction results through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

2. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 1, characterized in that: The multi-dimensional feature set is obtained in the following manner: The CT values ​​of lumbar 3D CT were obtained by PACS: for each vertebra, the following regions of interest (ROIs) were drawn and the CT values ​​were obtained: the CT value of the upper part of the vertebra, recorded as Lu; the CT value of the middle part of the vertebra, recorded as Lm; the CT value of the lower part of the vertebra, recorded as L-1; the CT value of the right side of the vertebra containing cortical bone, recorded as rt; the CT value of the left side of the vertebra containing cortical bone, recorded as lt; the CT value of the right side of the vertebra without cortical bone, recorded as rf; the CT value of the left side of the vertebra without cortical bone, recorded as lf; Determine the basis for osteoporosis discrimination: For each patient's L1-L4 vertebrae, take them as 4 samples respectively; according to the T value measured by DXA, those with T value less than or equal to v2.5 are marked as osteoporotic patients, and the label is recorded as 1; those with T value greater than -2.5 are marked as non-osteoporotic patients, and the label is recorded as 0; Dataset construction: Based on the CT values ​​of the 7 regions of interest of each vertebra, an additional L_avg is added, which represents the average of Lu, Lm and L-1; then, the patient's age and gender are used as additional clinical features to form a multi-dimensional feature set together with the CT value; Data normalization: Z-Score standardization is used to normalize the multi-dimensional feature set.

3. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 1, characterized in that: When building an osteoporosis prediction model based on the LightGBM algorithm, the input space X is defined, including age, gender, and CT values ​​of different parts of the vertebrae, expressed as {x1,…,x n }, for each feature x i , the LightGBM algorithm constructs a histogram and obtains the best splitting point based on the histogram.

4. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 3, characterized in that: When constructing a decision tree, let O represent the training data set of a fixed node on the decision tree; at this node, the information gain of feature j at the split point d is defined as: Where n represents the number of samples; Represents the sum of the sample gradient values ​​whose value is less than or equal to d; Represents the sum of the gradient values ​​of samples whose values ​​are greater than d.

5. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 4, characterized in that: The LightGBM algorithm is implemented based on the unilateral sampling method of gradient: first, the gradient value of each data sample in the training data set is calculated, and the samples are sorted in descending order according to the absolute value of the gradient; then the a% of the samples with larger gradients are retained, and the remaining samples with smaller gradients are randomly sampled at a ratio of b%; in order to maintain the consistency of data distribution, a constant multiple is introduced for the sampled smaller gradient samples To amplify the information gain, we finally get:

6. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 5, characterized in that: The osteoporosis prediction model is constructed based on the LightGBM algorithm, specifically: Calculate the gradient: According to the prediction results of the current osteoporosis prediction model, the gradient of the loss function for each sample {g1,…,g n }; Sample sampling: Use the gradient unilateral sampling method to sample samples, retain samples with larger gradients, and accelerate training; Feature selection: based on information gain Select the best features and split points to minimize the loss function; Tree growth: Grow a layer of a tree based on the selected features and split points, and then continue iterating; Regularization: Regularization is used to control the complexity of the tree and avoid overfitting; After completing the set number of iterations, an osteoporosis prediction model consisting of multiple trees is generated.

7. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 1, characterized in that: The best feature selection schemes include age, gender, Lu, Lm, Ll, rt, lt, rf, and lf.

8. The interpretable osteoporosis prediction method based on conventional CT examination data of patients according to claim 7, characterized in that: The contribution of each feature in the feature selection scheme to the prediction result is quantified based on the SHAP analysis tool. Specifically, for a vector x = {age, gender, Lu, Lm, Ll, rt, lt, rf, f} with an input feature number of M, the osteoporosis prediction model outputs f(x) representing the probability or prediction score of the patient suffering from osteoporosis. The process is as follows: The function g(x′) transforms the input and obtains a new input vector x′ i The output f(x) is decomposed into two parts: the basic model output bias φ0: it represents the basic osteoporosis risk predicted by the model without considering any input features; it reflects the basic risk when age, gender and CT value are not considered; feature contribution term: by i Apply weight φ i And add them together, the resulting term represents the impact of each feature on the model's prediction of osteoporosis; through the above process, the contribution of each feature to the prediction result is quantified, and the model is interpreted and analyzed.

9. An interpretable osteoporosis prediction system based on routine CT examination data of patients, characterized in that: include: Feature set construction module: divide the existing patients' L1-L4 vertebrae CT images and extract the CT values ​​of the region of interest (ROI). The patient's age and gender are used as additional clinical features to form a multi-dimensional feature set together with the CT values. Model building module: build an osteoporosis prediction model based on the LightGBM algorithm, and train the osteoporosis prediction model using a multi-dimensional feature set; the LightGBM algorithm improves the prediction performance of the model by building multiple decision trees and gradually optimizing them. During this process, the LightGBM algorithm automatically adjusts the structure and parameters of the decision tree to minimize the prediction error; Feature selection module: Provide different feature selection schemes for predicting bone density based on experience, input them into the osteoporosis prediction model, and obtain the best feature selection scheme through the prediction results of the model; The contribution explanation module quantifies the contribution of each feature in the feature selection scheme to the prediction results based on the SHAP analysis tool, thereby revealing which features play a key role in the prediction results; Prediction module: Obtain new patient CT values ​​and clinical characteristics, obtain the prediction results of osteoporosis risk through osteoporosis prediction model and SHAP analysis tool, and provide detailed feature contribution explanation.

Citation Information

Patent Citations

  • Modeling method for lupus nephritis prediction model of lupus erythematosus patient

    CN111986814A

  • Method and system for disease prediction model building based on glycometabolism data

    CN113257422A

  • Visual interactive sepsis early-stage intelligent early warning method

    CN115049069A

  • Malignant pleural effusion auxiliary diagnosis system based on interpretable machine learning algorithm

    CN115099331A

  • Systems and methods for prediction of osteoporotic fracture risk

    US20190336097A1

Cited By

  • Method for realizing osteoporosis screening of patients with spinal deformations by utilizing spiral CT (Computed Tomography) images

    CN120093336A

  • Method for screening osteoporosis in patients with spinal deformity using spiral CT images

    CN120093336B

  • Method for constructing skeleton prediction model based on ROI-HU database and application

    CN120125505A

  • A method and application of constructing a bone prediction model based on ROI-HU database

    CN120125505B

  • Osteoporosis diagnosis method based on image recognition

    CN120495295A