An image classification method based on extreme learning machine of tracking differentiator

By combining the tracking differentiator with the extreme learning machine and iteratively updating the output weight matrix, the problems of long operation time and low image classification accuracy of the ELM algorithm are solved, achieving higher image classification accuracy and faster training time.

CN114299345BActive Publication Date: 2024-09-03BEIJING INST OF TECH
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202210002299.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-04
Publication Date
2024-09-03
Estimated Expiration
2042-01-04

AI Technical Summary

Technical Problem

The ELM algorithm uses the Moore-Penrose generalized inverse method when solving the output weight matrix, which results in long operation time and low image classification accuracy.

Method used

Combining the tracking differentiator and extreme learning machine algorithms, iteratively updates the output weight matrix, uses different operators and tracking differentiator principles to solve matrix equations, and optimizes the output weight matrix.

Benefits of technology

It improves the accuracy of image classification, shortens model training time, and provides higher training accuracy and better generalization capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0003455268280000021
    Figure BDA0003455268280000021
  • Figure BDA0003455268280000041
    Figure BDA0003455268280000041
  • Figure BDA0003455268280000042
    Figure BDA0003455268280000042
Patent Text Reader

Abstract

The present invention discloses an image classification method based on an extreme learning machine of a tracking differentiator. By combining the tracking differentiator with the extreme learning machine algorithm, different operators and the principle of the tracking differentiator are used to iteratively update the output weight matrix when solving the output weight matrix, and a better solution of the matrix equation is continuously obtained. While retaining the characteristics of the traditional extreme learning machine network such as simple structure and random generation parameters, it can have better training accuracy in image recognition, and the model training consumes less time, which provides new ideas and new ways for the improvement and optimization of machine learning algorithms and image recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image classification based on machine learning algorithm optimization, and in particular relates to an image classification method based on an extreme learning machine of a tracking differentiator. Background Art

[0002] With the continuous development of image recognition technology, machine learning, as a mainstream method for solving artificial intelligence problems, has been widely used in image recognition in various fields and is constantly innovating. Tracking Differentiator (TD) is a common method in control, which can help researchers obtain differential information of a signal. Extreme Learning Machine (ELM) is a single hidden layer feedforward neural network algorithm. Due to its simple structure, random generation of input weights and biases during training, and determination of output weights by solving the minimum norm solution of a linear equation system, the ELM algorithm can have a faster training speed while ensuring learning accuracy compared to many traditional algorithms, and is widely used in the field of image recognition.

[0003] However, the Moore-Penrose generalized inverse method used in the ELM algorithm to solve the output weight matrix has certain defects. This method will result in long calculation time and low image classification accuracy in some cases. Summary of the invention

[0004] In view of this, the present invention provides an image classification method based on an extreme learning machine of a tracking differentiator, which can effectively improve the accuracy of image classification.

[0005] The present invention provides an image classification method based on an extreme learning machine of a tracking differentiator, comprising the following steps:

[0006] Step 1: Preprocess the collected image data to obtain an image dataset. The elements in the image dataset are recorded as: (x, t), where x is the feature vector of the image, x = [x1, x2, ···, x m ] T ∈R, m is the feature dimension; t is the label vector of the image, t=[t1,t2,···,t l ] T ∈R, l is the label dimension; the image dataset is divided into a test set and a training set;

[0007] Step 2: Combine the tracking differentiator with the extreme learning machine algorithm to build an image recognition model based on TD-ELM. The network structure of the image recognition model consists of an m-dimensional input layer, a hidden layer containing n nodes, and an output layer containing l nodes, as shown in formula (1):

[0008]

[0009] Among them, w i =[w i1 ,w i2 ,···,w im ] T represents the input weight vector connecting the i-th hidden layer node and the input layer node, β i =[β i1 ,β i2 ,···,β il ] is the output weight matrix connecting the i-th hidden layer node and the output layer node, b i is the bias matrix of the i-th hidden layer node, g(w,x,b) is the activation function; the input weight matrix and the bias matrix are both randomly generated;

[0010] Step 3: using the training set generated in step 1, solving the output weight matrix using an algorithm based on a tracking differentiator, and completing the training of the image recognition model;

[0011] Step 4: In the application, the feature vector of the image to be classified is input into the image recognition model trained in step 3 to obtain the type of the image to be classified.

[0012] Furthermore, in step 3, the output weight matrix is ​​solved by using an algorithm based on a tracking differentiator to complete the training of the image recognition model, including the following steps:

[0013] Step 3.1, select a training set containing M samples, denoted as: (x i ,t i ),i=1,2,···M, where x i =[x i1 ,x i2 ,···,x im ] T ∈R,t i =[t i1 ,t i2 ,···,t il ] T ∈R; inputting the training set into the image recognition model;

[0014] Step 3.2, set the basic parameters of the tracking differentiator, give the initial value β0, and calculate the required related parameters β1(k), β2(k), y1(k), y2(k);

[0015] Step 3.2: Calculate the parameters β3(k) and y3(k) based on the tracking differentiator, and iteratively update to obtain the output weight matrix β, where β = [β1, β2, ···, β n ] T ;

[0016] Step 3.4: Use the test set to test the image recognition model. If the accuracy of the image recognition model meets the standard, the training of the image recognition model is completed; otherwise, execute step 3.1.

[0017] Furthermore, the feature vectors of the images in the image data set are all normalized.

[0018] Beneficial effects:

[0019] The present invention combines the tracking differentiator with the extreme learning machine algorithm, and uses different operators and the tracking differentiator principle to iteratively update the output weight matrix when solving the output weight matrix, and continuously obtains a better solution to the matrix equation. While retaining the characteristics of the traditional extreme learning machine network such as simple structure and randomly generated parameters, it can have better training accuracy in image recognition, and the model training consumes less time, which provides new ideas and new ways for the improvement and optimization of machine learning algorithms and image recognition. DETAILED DESCRIPTION

[0020] The present invention is described in detail with reference to the following embodiments.

[0021] The present invention provides an image recognition method based on an extreme learning machine with a tracking differentiator. The basic idea is to iteratively solve the output weight matrix in the extreme learning machine by using the tracking differentiator method to complete modeling, train the algorithm model using a training set constructed using images, and classify the image using the image recognition model obtained through training.

[0022] The present invention provides an image recognition method based on an extreme learning machine of a tracking differentiator, and the specific steps are as follows:

[0023] Step 1: Collect and obtain an image data set, perform data preprocessing on the image data to obtain the image feature vector, and determine the image label. The elements in the image data set are recorded as: (x, t), where x is the feature vector of the image, x = [x1, x2, ···, x m ] T ∈R, m is the feature dimension; t is the label vector of the image, t=[t1,t2,···,t l ] T ∈R, l is the label dimension. The image dataset is divided into a test set and a training set according to a certain ratio, and the feature vector of the image is normalized.

[0024] Step 2: Combine the tracking differentiator with the extreme learning machine algorithm to build an image recognition model based on the extreme learning machine of the tracking differentiator. The network structure of the extreme learning machine consists of an m-dimensional input layer, a hidden layer with n nodes, and an output layer with l nodes, as shown in the following formula:

[0025]

[0026] Among them, w i =[w i1 ,w i2 ,···,w im ] T represents the input weight vector connecting the i-th hidden layer node and the input layer node, β i =[β i1 ,β i2 ,···,β il ] is the output weight matrix connecting the i-th hidden layer node and the output layer node, b i is the bias matrix of the i-th hidden layer node, and g(w,x,b) is the activation function. The input weight matrix and bias matrix are both randomly generated.

[0027] Step 3: Use the training set generated in step 1 to complete the training of the image recognition model based on the extreme learning machine of the tracking differentiator.

[0028] For a training set containing M samples (x i ,t i ),i=1,2,···M, where x i =[x i1 ,x i2 ,···,x im ] T ∈R,t i =[t i1 ,t i2 ,···,t il ] T ∈R, in order to facilitate the solution of the model, formula (1) is transformed into formula (2):

[0029] Hβ=T (2)

[0030] Among them, β = [β1, β2,···,β n ] T ; T = [t1, t2, ···, t M ] T ; H is the hidden layer output matrix, expressed as:

[0031]

[0032] Thus, the least square solution of the output weight can be obtained by solving the linear matrix equation (2). In the present invention, a method based on a tracking differentiator is used to solve the output weight matrix.

[0033] The optimization objective y(k) is defined as follows:

[0034] y(k)=||Hβ(k)-T||2+||β(k)||2 (3)

[0035] Step 3.1. Initially, let β0 be β(k) and set the number of cycles to TM.

[0036] And calculate the required parameters according to formulas (4)(5)(6)(7).

[0037] β1(k)=sin[β(k)] (4)

[0038] β2(k)=cos[β(k)] (5)

[0039] y1(k)=sin[y(k)] (6)

[0040] y2(k)=cos[y(k)] (7)

[0041] Step 3.2, set TD related parameters h, r, and calculate β3(k) according to the following formula:

[0042] a0=2hβ2(k)

[0043]

[0044]

[0045]

[0046]

[0047] β3(k)=β2(k)+h×fh

[0048] Step 3.3, calculate y3(k) according to the following formula:

[0049] b0=2hy2(k)

[0050]

[0051]

[0052]

[0053]

[0054] y3(k)=y2(k)+h×fh'

[0055] Step 3.4: Set a suitable parameter λ and repeat this step TM times.

[0056] β(k)←β(k+1)

[0057] Step 4: In the application, the feature vector of the image to be classified is input into the image recognition model based on the extreme learning machine based on the tracking differentiator obtained by training in step 3, and the type of the image to be classified can be obtained.

[0058] This method has been tested on multiple classic image datasets. Experimental results show that this algorithm has higher recognition accuracy and better generalization ability than extreme learning machines, regularized extreme learning machines, and support vector machines. At the same time, compared with several commonly used neural network algorithms, this algorithm greatly reduces the training time while ensuring a good accuracy rate.

[0059] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of 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. An image classification method based on extreme learning machine with tracking differentiator, It is characterized in that The following steps are involved: Step 1: Perform data preprocessing on the collected images to obtain an image dataset. The elements in the image dataset are recorded as: (x, t), where x is the feature vector of the image, x = [x 1 ,x 2 ,···,x m ] T ∈R, m is the feature dimension; t is the label vector of the image, t=[t 1 ,t 2 ,···,t l ] T ∈R, l is the label dimension; the image dataset is divided into a test set and a training set; Step 2: Combine the tracking differentiator with the extreme learning machine algorithm to build an image recognition model based on TD-ELM. The network structure of the image recognition model consists of an m-dimensional input layer, a hidden layer containing n nodes, and an output layer containing l nodes, as shown in formula (1): Among them, w i =[w i1 ,w i2 ,···,w im ] T represents the input weight vector connecting the i-th hidden layer node and the input layer node, β i =[β i1 ,β i2 ,···,β il ] is the output weight matrix connecting the i-th hidden layer node and the output layer node, b i is the bias matrix of the i-th hidden layer node, g(w,x,b) is the activation function; the input weight matrix and bias matrix are both randomly generated; Step 3: using the training set generated in step 1, solving the output weight matrix using an algorithm based on a tracking differentiator, and completing the training of the image recognition model; Step 4: In the application, the feature vector of the image to be classified is input into the image recognition model trained in step 3 to obtain the type of the image to be classified; In step 3, the output weight matrix is ​​solved by using an algorithm based on a tracking differentiator to complete the training of the image recognition model, including the following steps: Step 3.1, select a training set containing M samples, denoted as: (x i ,t i ),i=1,2,···M, where x i =[x i1 ,x i2 ,···,x im ] T ∈R,t i =[t i1 ,t i2 ,···,t il ] T ∈R; inputting the training set into the image recognition model; Step 3.2: Set the basic parameters of the tracking differentiator and give the initial value β 0 , calculate the required correlation parameter β 1 (k), β 2 (k), y 1 (k), y 2 (k); Step 3.3: Calculate the parameter β based on the tracking differentiator 3 (k) and y 3 (k), iteratively update to obtain the output weight matrix β, where β = [β 1 ,β 2 ,···,β n ] T ; Step 3.4: Use the test set to test the image recognition model. If the accuracy of the image recognition model meets the standard, the training of the image recognition model is completed; otherwise, execute step 3.

1.

2. The image classification method according to claim 1, It is characterized in that The feature vectors of the images in the image data set are all normalized.

Citation Information

Patent Citations

  • Target tracking algorithm based on extreme learning machine and boosting multi-kernel learning

    CN106296734A

  • Weighted extreme learning machine video target tracking method based on weighted multi-example learning

    CN106447691A

  • Improved sewage treatment fault diagnosis method integrating weighted extreme learning machine

    CN107688825A

  • Laplace spare deep belief network image classification method

    CN108805167A

  • Hydroelectric generation prediction method based on extreme learning machine

    CN111582534A