A method for detecting kidney stones in CT images based on improved Alex network

By combining the improved Alex network with the Firefly Swarm Optimization ELM network, and using batch normalization technology and the Firefly Swarm algorithm, the problem of insufficient kidney stone detection accuracy and speed in the existing technology is solved, and more efficient kidney stone detection is achieved.

CN118396988BActive Publication Date: 2024-10-22HUAQIAO UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410824677.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-22
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

When using neural networks to detect kidney stones in the existing technology, the accuracy and speed are insufficient, making it difficult to meet the diagnostic needs.

Method used

The improved Alex network is combined with the firefly swarm to optimize the ELM network, and the batch normalization technology and the firefly swarm algorithm are used to accelerate the training process and improve the feature extraction and classification accuracy of the model.

Benefits of technology

It improves the accuracy and speed of kidney stone detection, enhances the generalization ability and training efficiency of the model, reduces redundant features, and improves classification accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396988B_ABST
    Figure CN118396988B_ABST
Patent Text Reader

Abstract

The invention discloses a CT image kidney stone detection method based on an improved Alex network, and relates to the technical field of hospital image processing, characterized in that it comprises the following steps: constructing a CT image kidney stone detection model, the CT image kidney stone detection model comprises a feature extraction module and a classifier connected in sequence; the feature extraction module adopts the Alex network, the classifier adopts a firefly swarm optimization ELM network, the firefly swarm optimization ELM network adopts a firefly swarm algorithm to accelerate the operation process of the ELM network; the CT image kidney stone detection model is trained using a batch normalization technique; and the input CT image is subjected to kidney stone detection using the trained CT image kidney stone detection model. The present invention adopts batch normalization to improve the training speed of AlexNet, adopts a firefly swarm optimization algorithm to optimize the initial parameters of the ELM network, improves the convergence speed and performance of the training, and finally improves the speed and accuracy of kidney stone detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a CT image kidney stone detection method based on an improved Alex network. Background Art

[0002] The most accurate imaging tool for diagnosing and directing treatment of kidney stones is computed tomography (CT) or non-contrast CT (NCCT). The size, location, density of the crystals and the distance between the skin and the stone can be accurately measured with this method. This method can also detect vascular calcification, which is associated with kidney stones. Hypertension, osteoporosis, diabetes, cardiovascular disease and obesity are all associated with kidney stones. Therefore, if CT scans are used regularly to diagnose kidney stones, they can provide more important information to help with disease management, and even small stones may be visible.

[0003] Since emergency rooms admit patients frequently and the diagnosis of kidney stones requires time-consuming imaging examinations, the use of machine learning technology and artificial intelligence can help diagnose kidney stones faster and save costs. Despite the emergence of new diagnostic methods, artificial intelligence and machine learning methods still help with diagnosis and treatment. Artificial intelligence systems are being used for medical prediction, diagnosis, risk assessment, and auxiliary treatment decisions, including ANN, fuzzy logic, support vector machines, decision trees, and genetic algorithms, which can help patients detect diseases faster, reduce the consequences of untimely diagnosis, shorten patients' hospital stays, and reduce patients' costs. Using data mining methods such as artificial intelligence tools, doctors can diagnose patients faster and more accurately through personal medical records. Various technologies are used in this process to create this system. The most commonly used neural network training algorithm is the back propagation (BP) network, but operator errors may introduce noise into magnetic resonance images, which may lead to major errors in image processing, classification, and disease characterization. In addition, Verma et al. deployed KNN segmentation algorithm and support vector machine (SVM) to identify kidney stones, and Nithya et al. used multi-kernel k-means clustering technology to predict kidney disease in ultrasound images, but both the accuracy and speed need to be improved. Summary of the invention

[0004] The purpose of the present invention is to solve the problem of insufficient accuracy and speed when using neural networks for kidney stone detection in the prior art, and to further improve accuracy and sensitivity by combining metaheuristic algorithms and deep learning.

[0005] The technical solution adopted by the present invention to solve the technical problem is: to provide a CT image kidney stone detection method based on an improved Alex network, characterized in that it includes the following steps:

[0006] A CT image kidney stone detection model is constructed, wherein the CT image kidney stone detection model comprises a feature extraction module and a classifier connected in sequence; the feature extraction module uses an Alex network to extract features from an input CT image and output feature information to the classifier; the classifier uses a firefly swarm optimized ELM network to obtain a prediction result according to the feature information, and the firefly swarm optimized ELM network uses a firefly swarm algorithm to accelerate the calculation process of the ELM network;

[0007] Using batch normalization techniques to train a CT image kidney stone detection model;

[0008] The trained CT image kidney stone detection model is used to detect kidney stones in the input CT image.

[0009] Preferably, in the use of batch normalization technology to train the CT image kidney stone detection model, batch normalization conversion is performed on the training of the Alex network using layer activation.

[0010] Preferably, in the method of using batch normalization technology to train the CT image kidney stone detection model, the training of the firefly swarm optimized ELM network includes the following steps:

[0011] Random feature mapping, using a nonlinear mapping function to randomly initialize the hidden layer of the ELM network and perform feature mapping on the input feature information;

[0012] The weight parameters are solved by combining the feature mapping results of the training data and the true labels. The weight parameters are used to predict the input feature information to obtain the prediction results.

[0013] Preferably, the nonlinear mapping function is randomly generated and is expressed as:

[0014] h(x)=[ h 1 x ,…, h i x , …,h N x ] ;

[0015] Among them, x represents the input feature information, N represents the dimension of the input feature information, Represents the nonlinear mapping function for the i-th dimension of the input feature information, expressed as:

[0016] ;

[0017] in, and They are all randomly generated hidden node parameters, ai is a d-dimensional real vector, and bi is a real number.

[0018] Preferably, the weight parameter is expressed as:

[0019] ;

[0020] in, represents the optimal weight parameter, is the pseudo-inverse operator; Represents the feature mapping result matrix of the training data, Represents the true label matrix of the training data, respectively:

[0021] ;

[0022] ;

[0023] Among them, L represents the number of features obtained through feature mapping, and m represents the dimension of the label vector.

[0024] Preferably, when training the firefly swarm optimized ELM network, the firefly swarm algorithm is used to control the hidden node parameter a in the random feature map. i and b i Search edges, including strong edges and weak edge , expressed as:

[0025] ;

[0026] ;

[0027] ;

[0028] in, represents the updated strong edge, represents the updated weak edge, and Respectively represent the number of iterations and the maximum iteration value, sf represents the scale factor, and Represents the maximum and minimum values ​​of the scale factor respectively.

[0029] Preferably, during the training of the firefly swarm optimized ELM network, different numbers of normalization layers are added after the convolutional layers and pooling layers of the firefly swarm optimized ELM network, and the optimal number of normalization layers is determined according to the training results.

[0030] Preferably, in the training of the CT image kidney stone detection model using batch normalization technology, the objective function used in the training is:

[0031] ;

[0032] in is the number of training samples, and They represent the output of the ELM network and the true label of the image respectively, w represents the weight parameter of the ELM network, and b represents the bias parameter of the ELM network.

[0033] Preferably, the method of performing kidney stone detection on an input CT image using a trained CT image kidney stone detection model comprises the following steps:

[0034] The feature extractor receives the input CT image and performs feature extraction, and outputs feature information x to the classifier;

[0035] The classifier receives feature information x and obtains prediction information , predictive information Indicates the probability of the presence of kidney stones.

[0036] The present invention has the following beneficial effects:

[0037] (1) The present invention uses batch normalization to improve the training speed of the Alex network, thereby enhancing the independence from the initial parameter values, overcoming the internal covariate shift problem, and improving the network generalization;

[0038] (2) The present invention combines the Alex network with the ELM network and uses them for binary classification, using ELM to improve the efficiency of Alexnet to solve the problem of Alex network's dependence on the early fully connected layer;

[0039] (3) The present invention uses an improved firefly swarm optimization algorithm to optimize the initial parameters of the ELM network, improve the convergence speed and performance of training; to select the most useful features, reduce redundant features, and improve the generalization ability of the model; to select the optimal number of hidden layer nodes and regularization parameters to improve classification accuracy.

[0040] (4) The ELM network of the present invention adds a normalization layer after the convolution layer and the pooling layer. Through continuous experiments, a normalization layer number with a higher classification accuracy is determined, thereby improving the training efficiency and generalization ability of the network and simplifying the design of the network structure.

[0041] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments, but the present invention is not limited to the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A method step diagram of an embodiment of the present invention;

[0043] Figure 2 4 is a network structure diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0044] See also Figure 1 FIG. 1 is a diagram showing steps of a method according to an embodiment of the present invention, comprising the following steps:

[0045] S101, constructing a CT image kidney stone detection model;

[0046] S102, training a CT image kidney stone detection model using batch normalization technology;

[0047] S103, using the trained CT image kidney stone detection model to perform kidney stone detection on the input CT image.

[0048] The CT image kidney stone detection model is shown in Figure 2 As shown, it includes a feature extraction module and a classifier connected in sequence; the feature extraction module adopts Alex network (AlexNet) to extract features of the input CT image and output feature information to the classifier; the classifier adopts firefly swarm optimization ELM network to obtain prediction results according to the feature information, and the firefly swarm optimization ELM network adopts firefly swarm algorithm to accelerate the operation process of the ELM network.

[0049] Specifically, the batch normalization technology is used to train the CT image kidney stone detection model. For the training of the Alex network, the layer activation is used for batch normalization conversion to improve the training speed, which is specifically expressed as follows:

[0050] ;

[0051] ;

[0052] ;

[0053] in, represents the average value, represents the standard deviation, represents the normalized i-th sample, represents the jth sample used to calculate the mean and standard deviation, It is a small constant used to prevent the denominator from being zero, thereby avoiding numerical instability or division by zero errors, and to ensure the robustness of the calculation process when performing normalization operations. Represents the normalized result. Since the main purpose is not to normalize the activation state, the subsequent transformation is used to achieve this goal:

[0054] ;

[0055] in, represents the value obtained after normalization. and Represents two mini-batch tunable parameters.

[0056] Specifically, the batch normalization technique is used to train the CT image kidney stone detection model, and the training of the firefly swarm optimized ELM network includes the following steps:

[0057] Random feature mapping, using a nonlinear mapping function to randomly initialize the hidden layer of the ELM network and perform feature mapping on the input feature information;

[0058] The weight parameters are solved by combining the feature mapping results of the training data and the true labels. The weight parameters are used to predict the input feature information to obtain the prediction results.

[0059] Specifically, the random feature mapping uses a randomly generated nonlinear mapping function, which is expressed as:

[0060] h(x)=[ h 1 x ,…, h i x , …,h N x ] ;

[0061] Among them, x represents the input feature information, N represents the dimension of the input feature information, Represents the nonlinear mapping function for the i-th dimension of the input feature information, expressed as:

[0062] ;

[0063] in, and They are all randomly generated hidden node parameters, ai is a d-dimensional real vector, and bi is a real number.

[0064] Specifically, the weight parameter solution is expressed as:

[0065] ;

[0066] in, represents the optimal weight parameter, is the pseudo-inverse operator; Represents the feature mapping result matrix of the training data, Represents the true label matrix of the training data, respectively:

[0067] ;

[0068] ;

[0069] Among them, L represents the number of features obtained through feature mapping, and m represents the dimension of the label vector.

[0070] Specifically, the firefly swarm optimization ELM network training adopts the firefly swarm algorithm to control the hidden node parameter a in the random feature map. i and b i Search edges, including strong edges and weak edge , expressed as:

[0071] ;

[0072] ;

[0073] ;

[0074] in, represents the updated strong edge, represents the updated weak edge, and Respectively represent the number of iterations and the maximum iteration value, sf represents the scale factor, and Represents the maximum and minimum values ​​of the scale factor respectively.

[0075] The firefly swarm algorithm adopted in the present invention is an improved firefly swarm algorithm (IFSO). A proportional factor is introduced into the original firefly swarm optimization algorithm, so that the algorithm is updated from a random item between 0 and 1 to a self-learning parameter. The original random item will cause edge blur and increase the difficulty of recognition, while the self-learning parameter may increase the accuracy of recognition.

[0076] Specifically, for the training of the firefly swarm optimized ELM network, different numbers of normalization layers are added after the convolutional layer and pooling layer of the firefly swarm optimized ELM network during the training process, and the optimal number of normalization layers is determined according to the training results. The number of layers finally determined by the embodiment of the present invention is six.

[0077] Specifically, the batch normalization technique is used to train the CT image kidney stone detection model, and the objective function used in the training is:

[0078] ;

[0079] in is the number of training samples, and They represent the output of the ELM network and the true label of the image, w represents the weight parameter of the ELM network, and b represents the bias parameter of the ELM network. The network characteristics of the training process are shown in Table 1:

[0080] Table 1 Network characteristics

[0081]

[0082] Table 1 shows the network characteristics including the number of samples, computation time, and batch size. The training process involved 10,000 samples. The larger the sample size, the more representative the results. The training took 2 hours and 30 minutes with a batch size of 32, which can speed up the convergence and update the weights frequently, but may result in unstable gradients and slower training.

[0083] Specifically, the method of using the trained CT image kidney stone detection model to perform kidney stone detection on an input CT image includes the following steps:

[0084] The feature extractor receives the input CT image and performs feature extraction, and outputs feature information x to the classifier;

[0085] The classifier receives feature information x and obtains prediction information , predictive information Indicates the probability of the presence of kidney stones.

[0086] The present invention adopts batch normalization to improve the training speed of AlexNet; adopts firefly swarm optimization algorithm to optimize the initial parameters of ELM network, and improves the convergence speed and performance of training.

[0087] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for detecting kidney stones in CT images based on an improved Alex network, characterized in that: The following steps are involved: A CT image kidney stone detection model is constructed, wherein the CT image kidney stone detection model comprises a feature extraction module and a classifier connected in sequence; the feature extraction module uses an Alex network to extract features from an input CT image and output feature information to the classifier; the classifier uses a firefly swarm to optimize an ELM network and obtains a prediction result according to the feature information, and the firefly swarm optimized ELM network uses a firefly swarm algorithm to accelerate the calculation process of the ELM network; Using batch normalization techniques to train a CT image kidney stone detection model; Use the trained CT image kidney stone detection model to detect kidney stones on the input CT image; In the method of using batch normalization technology to train the CT image kidney stone detection model, the training of the firefly swarm optimized ELM network includes the following steps: Random feature mapping, using a nonlinear mapping function to randomly initialize the hidden layer of the ELM network and perform feature mapping on the input feature information; The weight parameters are solved by combining the feature mapping results of the training data and the true labels. The weight parameters are used to predict the input feature information to obtain the prediction results. The nonlinear mapping function is randomly generated and is expressed as: h(x)=[h1(x),…,h i (x),…,h N (x)]; Among them, x represents the input feature information, N represents the dimension of the input feature information, and h i (x) represents the nonlinear mapping function for the i-th dimension of the input feature information, expressed as: h i (x)=G(a i ,b i ,x); Among them, a i ∈R d and b i ∈R are all randomly generated hidden node parameters, a i is a d-dimensional real vector, b i is a real number; When training the firefly swarm optimized ELM network, the firefly swarm algorithm is used to control the hidden node parameters a in the random feature map. i and b i The search edge, including the strong edge c1 and the weak edge c2, is expressed as: in, represents the updated strong edge, represents the updated weak edge, N I and N max Respectively represent the number of iterations and the maximum iteration value, sf represents the scale factor, and sf Represents the maximum and minimum values ​​of the scale factor respectively.

2. The method for detecting kidney stones in CT images based on an improved Alex network according to claim 1, characterized in that: In the method of using batch normalization technology to train the CT image kidney stone detection model, batch normalization conversion is performed on the training of the Alex network using layer activation.

3. The method for detecting kidney stones in CT images based on an improved Alex network according to claim 1, characterized in that: The weight parameter is expressed as: Where β=[β1,…,β L ] T represents the optimal weight parameter, is a pseudo-inverse operator; H represents the feature mapping result matrix of the training data, and Tr represents the true label matrix of the training data, which are respectively expressed as: Among them, L represents the number of features obtained through feature mapping, and m represents the dimension of the label vector.

4. The method for detecting kidney stones in CT images based on an improved Alex network according to claim 1, characterized in that: During the training of the firefly swarm optimized ELM network, different numbers of normalization layers are added after the convolutional layer and the pooling layer of the firefly swarm optimized ELM network, and the optimal number of normalization layers is determined according to the training results.

5. The method for detecting kidney stones in CT images based on an improved Alex network according to claim 1, characterized in that: In the batch normalization technique used to train the CT image kidney stone detection model, the objective function used in the training is: Where M is the number of training samples, D j and Y j They represent the output of the ELM network and the true label of the image respectively, w represents the weight parameter of the ELM network, and b represents the bias parameter of the ELM network.

6. The method for detecting kidney stones in CT images based on an improved Alex network according to claim 1, characterized in that: The method of using the trained CT image kidney stone detection model to perform kidney stone detection on the input CT image comprises the following steps: The feature extractor receives the input CT image and performs feature extraction, and outputs feature information x to the classifier; The classifier receives feature information x and obtains prediction information f L (x) = h(x)β, prediction information f L (x) represents the probability of the presence of kidney stones.