A forest fire recognition method based on multi-view robust bilateral twin vector machine
By converting the objective function of MvGSVM into a standard SVM type problem and introducing bilateral constraints and L1-norm distance metric, a new iterative algorithm is designed to solve the problem of structural risk and noise impact of multi-view support vector machines in forest fire recognition. Improved robustness and computational efficiency are achieved.
Patent Information
- Application Number
- CN202011237777.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-09
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-11-09
AI Technical Summary
Existing multi-view support vector machine methods, such as MvGSVM, are difficult to maintain structural risk minimization in forest fire identification, and are easily affected by outliers and noise, leading to bias in classification results.
A robust bilateral twin vector machine method based on multiple perspectives is proposed. By converting the objective function of MvGSVM into a standard SVM type problem, introducing bilateral constraints and L1-norm distance metric, a new iterative algorithm is designed to improve the robustness of the model. properties, and develop a fast version MvFRDTSVM to reduce computational costs.
It minimizes structural risks, improves the generalization performance of multi-view learning, enhances model robustness, and significantly improves classification accuracy and calculation speed, especially in the presence of noise.
Smart Images

Figure CN112348087B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of algorithm improvement, and in particular to a forest fire recognition method based on a multi-view robust bilateral twin vector machine. Background Art
[0002] Support vector machine (SVM) has made outstanding contributions to pattern recognition and data mining in the past few decades. It has been widely used, such as text classification, face recognition and bioinformatics. Despite its obvious advantages in classification tasks, conventional SVM still requires high computational complexity and cannot solve the "exclusive OR" (XOR) problem. In response to this, Mangasarian and Wild proposed a simple and effective classifier called generalized eigenvalue proximal SVM (GEPSVM). The purpose of GEPSVM is to find two non-parallel hyperplanes. By solving a pair of generalized eigenvalue problems, GEPSVM can achieve faster computational speed and can classify complex data sets better than SVM.
[0003] Based on the outstanding performance advantages of GEPSVM, improved algorithms have emerged after GEPSVM. For example, Jayadeva et al. proposed a fuzzy multi-category GEPSVM. It is worth noting that there is another very effective improvement of GEPSVM, called Twin SVM (TWSVM). TWSVM has a similar idea to GEPSVM and can effectively solve the XOR problem. However, the difference is that TWSVM obtains the best solution by solving two small-scale QPP problems: on the one hand, TWSVM not only has better classification performance than SVM, but also has smaller computational complexity; on the other hand, compared with GEPSVM, TWSVM has better performance and can allow some error samples during training to promote the promotion of the model.
[0004] Multi-view learning (MVL) is a popular learning mechanism that outperforms single-view methods in generalization performance in many learning tasks by combining multiple feature datasets that provide complementary information. MVL arises from the fact that there are actually multiple types of data, and traditional naive methods only use cascade strategies to process such data, that is, converting multi-view data into new single-view data by connecting heterogeneous feature spaces into homogeneous feature spaces. In fact, each view contains unique statistical properties, but the cascade strategy ignores the intrinsic connection between different perspectives. Many research works have shown that multi-view learning has greater learning advantages than cascade strategies and single-view methods, which are used for different tasks, such as clustering, transfer learning, dimensionality reduction, and classification. Currently, the exploration of multi-view classification methods based on support vector machines is an ascending process, and most of these methods belong to the co-regularization style based on the consensus principle of multi-view learning. In the co-regularization style algorithm, the consistency between different views is taken into account in the co-regularization term, which is minimized together with the loss function. Earlier work can be traced back to 2005, namely SVM-2K proposed by Farquhar et al., which combined the maximum margin and co-adjustment framework to improve performance. Multi-view Twin Support Vector Machine (MvTSVM) is the first attempt to combine the best-fit classifier with multi-view learning. Some relatively new improved algorithms include multi-view non-parallel SVM (MvNPSVM), multi-view least squares TSVM (MvLSTSVM), multi-view privileged SVM (MvPSVM), multi-view GEPSVM (MvGSVM), and improved multi-view GEPSVM (MvIGSVM). Among the above methods, the recently proposed multi-view method MvGSVM effectively combines two views with GEPSVM and is considered to be a more similar and effective method and is the research basis of most of these works. However, MvGSVM is a multi-view extension of GEPSVM, which is incompatible with standard SVM and cannot guarantee to minimize structural risk. In addition, since the squared L2-norm distance metric is used, the model in MvGSVM may be susceptible to outliers or noise present in real datasets, and the deviation of the hyperplane normal vector will affect the classification results.
[0005] Therefore, people need a forest fire recognition method based on multi-view robust bilateral twin vector machine to solve the above problems. Summary of the invention
[0006] The purpose of the present invention is to provide a forest fire recognition method based on a multi-view robust bilateral twin vector machine to solve the problems raised in the above background technology.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: a forest fire recognition method based on a multi-view robust bilateral twin vector machine, characterized in that it includes the following steps:
[0008] S11: Define the dataset: positive dataset and negative dataset;
[0009] S12: Convert the MvGSVM formulation for the positive class in the MvGSVM objective function to a novel SVM-type problem;
[0010] S13: Introduce bilateral constraints to improve the robustness of the model;
[0011] S14: Solve the problem that MvGSVM easily generates outlier-oriented hyperplanes;
[0012] S21: Design a new iterative algorithm for deriving the best-fitting hyperplane1;
[0013] S22: Algorithm 1 iterative solution;
[0014] S31: Design a fast version of MvRDTSVM (MvFRDTSVM), iterative algorithm 2;
[0015] S32: Iterative solution of Algorithm 2.
[0016] Further, in step S11: define the positive class data set of the first perspective as The negative class dataset of the first perspective is The positive dataset of the second perspective is defined as The negative class dataset of the second perspective is Among them, d represents the dimension, n 1 +n 2 =n, n represents the number of samples, each perspective contains two hyperplanes, and the two hyperplanes of the first perspective are view1:x 1 T w 1 +b 1 =0,x 1 T u 1 +p 1 =0, where s 1 =[u 1 p 1 ] T ; The two hyperplanes of the second perspective are view2:x 2 T w 2 +b 2 =0,x 2 T u 2 +p2 =0, where s 2 =[u 2 p 2 ] T , the x 1 and x 2 Represent the samples of the first and second perspectives respectively. Since the multi-view proximal support vector machine MvGSVM based on generalized eigenvalues is a multi-view extension of the generalized eigenvalue support vector machine GEPSVM, but MvGSVM does not have the expression of a typical SVM, it is necessary to minimize the structural risk.
[0017] Further, in step S12: the MvGSVM formula for the positive class in the MvGSVM objective function is converted into a novel SVM type problem: define the loss function 1: ξ 1 =max(e+M B1 z 1 ,0), loss function 2: ξ 2 =max(e+M B2 z 2 ,0), where M A1 =[A 1 e],M A2 =[A 2 e],M B1 =[B 1 e],M B1 =[B 2 e],z 1 =[w 1 b 1 ] T , z 2 =[w 2 b 2 ] T , according to the formula
[0018]
[0019]
[0020] By minimizing the sum of the two loss functions, the structural risk of the standard SVM is minimized, and a method for converting MvGSVM to SVM is proposed. The model of MvGSVM is in the form of a quotient: The SVM model is in a constrained form: min A, stB ≥ e. The quotient form is converted into a constrained form. Since the hyperplane closest to the positive samples must be found in the feature space, and this hyperplane is far away from the negative samples, the quotient form of the model is stricter than the constrained form. Therefore, the SVM model introduces slack variables, which can allow the existence of some erroneous samples and improve the generalization performance.
[0021] Furthermore, in step S13: In the above formula for minimizing the sum of the two loss functions, the negative class samples of one of the two views are forced to be located only on the left side of the positive hyperplane of the view. In order to allow the negative class samples to be distributed on both sides of the positive fitting hyperplane, a bilateral strategy needs to be introduced: the following absolute value operation is used to measure the distance:
[0022]
[0023] The L2,s-norm is used instead of the L2,1-norm or L1-norm to minimize the intra-class discreteness, thereby improving the robustness of the model. In the present invention, robustness refers to the characteristic of a control system maintaining generalization performance under certain (structure, size) parameter perturbations.
[0024] Further, in step S14: the MvGSVM algorithm uses the squared L2-norm to measure the distance of the model. Since the L2-norm is very sensitive to outliers, MvGSVM easily generates a hyperplane oriented to outliers. An outlier refers to one or more values in the data that are significantly different. To solve this problem, the L1-norm characteristic can measure the absolute distance from the positive fitting hyperplane of each view to the positive classification point instead of the square distance. The L2-norm refers to the square root of the sum of the squares of the elements of the vector, and the L1-norm refers to the sum of the absolute values of the elements in the vector. The following problem is constructed:
[0025]
[0026] According to the measurement distance The first objective function of the above-constructed problem to find the best positive hyperplane model is:
[0027]
[0028]
[0029] Among them, c>0 controls the empirical error. Similarly, the second objective function is:
[0030]
[0031]
[0032] A new iterative algorithm is designed to solve the problem of non-convex and smooth in two objective functions.
[0033] Furthermore, in step S21: design a new iterative algorithm 1 for deriving the best fitting hyperplane: let z=[z 1 T z 2T ] T , ξ=[ξ 1 T ξ 2 T ] T , diag(·) represents the diagonal function, and the first objective function can be simplified to:
[0034]
[0035] st|M B z|+ξ≥e,ξ≥0.
[0036] Among them, |M B z|=diag(sign(M B z))(M B z), sign(a) represents the discriminant function. When a≥0, the output result is 1, otherwise the output result is -1. A,i and n A,i Represents the matrix M A and N A The i-th row vector of , the simplified first objective function is rewritten as follows:
[0037]
[0038] stdiag(sign(M B z))(M B z)+ξ≥e,ξ≥0,
[0039] Construct a diagonal matrix D A and P A , respectively define the diagonal elements d A,ii and p A,ii , d A,ii =1 / |m A,i z|,p A,ii =1 / |n A,i z|, transform the first objective function into the following form:
[0040]
[0041] stF(M B z)+ξ≥e,ξ≥0,
[0042] Where F = diag(sign(M B z)), from the above formula we can see that the diagonal matrix D A , P A And F depends on z, which solves the problem of non-convexity and non-smoothness of the objective function.
[0043] Furthermore, in step S22: the iterative solution steps of Algorithm 1 are: first, input the training data set A 1 , A 2 , B 1 and B 2 , initialize z, set t = 1, give parameters ε, δ and c; secondly, construct the diagonal matrix D A (t) , P A (t) and F (t) , according to the formula
[0044]
[0045] F (t) (M B z)+ξ≥e,ξ≥0
[0046] Calculate z (t+1) ; Finally, let t = t + 1, repeat the above steps until convergence and output the hyperplane parameter z. The second step above is convex optimization, and the result can be obtained by the following formula:
[0047]
[0048] Among them, α≥0 and β≥0 are Lagrange multipliers. The KKT condition satisfied by the second step in Algorithm 1 is:
[0049] M A T D A (t) M A z+2εz+δN A T P A (t) N A z B T Fα=0, (1);
[0050] ce-α-β=0,α≥0,β≥0, (2);
[0051] α T (F (t) (M B z)+ξ-e)=0,β T ξ=0, (3)
[0052] F (t) (M B z)+ξ-e≥0,ξ≥0, (4);
[0053] According to condition (1), we can get z = K -1M B T F (t) α, where K = M A T D A (t) M A +δN A T P A (t) N A +2εI, according to the obtained results and KKT conditions, the Wolfe dual of the problem can be obtained in the second step of Algorithm 1:
[0054]
[0055] st0≤α≤ce,
[0056] After getting the Lagrange multiplier vector α, we can update the hyperplane parameter z (t+1) , the solution of the second objective function is the same as the above process.
[0057] Further, in step S31: design a fast version of MvRDTSVM, MvFRDTSVM, expressed as:
[0058]
[0059]
[0060] Here, c>0 controls the empirical error and the problem of finding the negative fitting hyperplane of two views is expressed as:
[0061]
[0062]
[0063] Putting it into simple form: st|M B z|+ξ=e, the equivalent formula is: stF(M B z)+ξ=e, where D ξ represents a diagonal matrix, D ξ The diagonal elements of ξ,ii , d ξ,ii =1 / |ξ i |, In the fast version, the inequality constraints are changed to equality constraints, which improves the calculation speed of MvRDTSVM, uses the L1 norm instead of the squared L2 norm to measure the loss of the model, and reduces the sensitivity to outliers.
[0064] Further, in step S32: the iterative solution steps of Algorithm 2 are as follows: First, input the training set A 1 , A 2 , B 1 and B 2 , initialize z, set t = 1, give the model parameters ε, δ and c, and then construct the matrix D A (t) , P A (t) , D ξ (t) and F (t) , according to the formula
[0065]
[0066] F (t) (M B z)+ξ=e
[0067] Calculate z (t+1) Finally, let t = t + 1, repeat the above steps until convergence, output the hyperplane parameter z, substitute the constraint into the objective function and set its derivative to zero, and get z (t+1) =c(L+cM B T F (t) D ξ (t) F (t) M B ) -1 M B T F (t) D ξ (t) e, where L = M A T D A (t) M A +δN A T P A (t) N A +2εI, because every element of the diagonal matrix is either 1 or -1, so F (t) D ξ (t) F (t) =D ξ (t) , we can conclude that z (t+1) =c(L+cM B T D ξ (t) M B ) -1 (M BT F (t) D ξ (t) e), so the hyperplane parameters (w 1 , b 1 ) and (w 2 , b 2 ) from z (t+1) Separate until Algorithm 2 converges, and the solution of the second objective function can be obtained by the same method.
[0068] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0069] 1. This paper proposes a new multi-view learning method, namely multi-view learning with robust bilateral twin SVM (MvRDTSVM). This method first transforms the eigenvalue problem of MvGSVM into a minimization problem with inequality constraints, thereby sharing a similar representation to the standard SVM. It minimizes the structural risk and improves the generalization performance of multi-view learning by relaxing the margin between categories.
[0070] 2. In many classification tasks, samples of one category are often surrounded by samples of other categories, which hinders the derivation of the best classification. To solve this problem, a bilateral strategy is further adopted to relax the constraints in the proposed model. Finally, the present invention replaces the L1 norm distance metric as the loss function and regularization term, and uses the absolute value instead of the square operation, which enhances the robustness of the proposed model.
[0071] 3. In order to solve the problem that the formulated objective function becomes not only non-convex but also non-smooth, the present invention designs a new effective iterative algorithm to solve the complex optimization problem, and proves its convergence theoretically; since the iterative process needs to solve a series of QPPs, which will increase the computational cost, a fast version of MvRDTSVM (MvFRDTSVM) is further developed. Each iteration only needs to solve a system of linear equations instead of solving the QPP problem, which greatly improves the calculation speed and reduces the computational cost of MvRDTSVM. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0073] Figure 1 It is a step diagram of a forest fire recognition method based on a multi-view robust bilateral twin vector machine of the present invention;
[0074] Figure 2 It is a flowchart of the steps of solving the iterative algorithm 1 designed by the present invention;
[0075] Figure 3 It is a flow chart of the steps of solving the iterative algorithm 2 designed by the present invention. DETAILED DESCRIPTION
[0076] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0077] See also Figure 1-3 The present invention provides a technical solution: a forest fire recognition method based on a multi-view robust bilateral twin vector machine, characterized in that it includes the following steps:
[0078] S11: Define the dataset: positive dataset and negative dataset;
[0079] S12: Convert the MvGSVM formulation for the positive class in the MvGSVM objective function to a novel SVM-type problem;
[0080] S13: Introduce bilateral constraints to improve the robustness of the model;
[0081] S14: Solve the problem that MvGSVM easily generates outlier-oriented hyperplanes;
[0082] S21: Design a new iterative algorithm for deriving the best-fitting hyperplane1;
[0083] S22: Algorithm 1 iterative solution;
[0084] S31: Design a fast version of MvRDTSVM (MvFRDTSVM), iterative algorithm 2;
[0085] S32: Iterative solution of Algorithm 2.
[0086] In step S11: define the positive class data set of the first perspective as The negative class dataset of the first perspective is The positive dataset of the second perspective is defined as The negative class dataset of the second perspective is Among them, d represents the dimension, n 1 +n 2 =n, n represents the number of samples, each view contains two hyperplanes, the two hyperplanes of the first view are view1:x 1 T w 1 +b 1 =0,x 1 T u 1 +p 1 =0, where s 1=[u 1 p 1 ] T ; The two hyperplanes of the second perspective are view2:x 2 T w 2 +b 2 =0,x 2 T u 2 +p 2 =0, where s 2 =[u 2 p 2 ] T , x 1 and x 2 Represent the samples of the first and second perspectives respectively. Since the multi-view proximal support vector machine MvGSVM based on generalized eigenvalues is a multi-view extension of the generalized eigenvalue support vector machine GEPSVM, but MvGSVM does not have the expression of a typical SVM, it is necessary to minimize the structural risk.
[0087] In step S12: To minimize the standard SVM structural risk, the MvGSVM formula for the positive class in the MvGSVM objective function is converted to a novel SVM type problem: Define the loss function 1: ξ 1 =max(e+M B1 z 1 ,0), loss function 2: ξ 2 =max(e+M B2 z 2 ,0), where M A1 =[A 1 e],M A2 =[A 2 e],M B1 =[B 1 e],M B1 =[B 2 e],z 1 =[w 1 b 1 ] T , z 2 =[w 2 b 2 ] T , according to the formula
[0088]
[0089]
[0090] Minimize the sum of the two loss functions and propose a method to convert MvGSVM into SVM type. The model of MvGSVM is in the form of quotient: The SVM model is in a constrained form: min A, stB ≥ e. The quotient form is converted into a constrained form. Since the hyperplane closest to the positive samples must be found in the feature space, and this hyperplane is far away from the negative samples, the quotient form of the model is stricter than the constrained form. Therefore, the SVM model introduces slack variables to allow the existence of some erroneous samples, which is convenient for improving generalization performance.
[0091] In step S13: In the above formula for minimizing the sum of the two loss functions, the negative class samples of one of the two views are forced to be located only on the left side of the positive hyperplane of the view. In order to allow the negative class samples to be distributed on both sides of the positive fitting hyperplane, a bilateral strategy needs to be introduced: the distance is measured using the following absolute value operation:
[0092]
[0093] Using L2,s-norm instead of L2,1-norm or L1-norm to minimize the intra-class dispersion can further improve the robustness of the model.
[0094] In step S14: the MvGSVM algorithm uses the squared L2-norm to measure the distance of the model. Since the L2-norm is very sensitive to outliers, MvGSVM easily generates a hyperplane oriented to outliers. An outlier refers to one or more values in the data that are significantly different. To solve this problem, the L1-norm characteristic can measure the absolute distance from the positive fitting hyperplane of each view to the positive classification point instead of the square distance. The L2-norm refers to the square root of the sum of the squares of the elements of the vector, and the L1-norm refers to the sum of the absolute values of the elements in the vector. The following problem is constructed:
[0095]
[0096] According to the measurement distance The first objective function of the above-constructed problem to find the best positive hyperplane model is:
[0097]
[0098]
[0099] Among them, c>0 controls the empirical error. Similarly, the second objective function is:
[0100]
[0101]
[0102] A new iterative algorithm is designed to solve the problem of non-convex and smooth in two objective functions.
[0103] In step S21: design a new iterative algorithm for deriving the best fitting hyperplane 1: let z=[z 1 T z 2 T ] T , ξ=[ξ 1 T ξ 2 T ] T , diag(·) represents the diagonal function, and the first objective function can be simplified to:
[0104]
[0105] st|M B z|+ξ≥e,ξ≥0.
[0106] Among them, |M B z|=diag(sign(M B z))(M B z), sign(a) represents the discriminant function. When a≥0, the output result is 1, otherwise the output result is -1. A,i and n A,i Represents the matrix M A and N A The i-th row vector of , the simplified first objective function is rewritten as follows:
[0107]
[0108] stdiag(sign(M B z))(M B z)+ξ≥e,ξ≥0,
[0109] Construct a diagonal matrix D A and P A , respectively define the diagonal elements d A,ii and p A,ii , d A,ii =1 / |m A,i z|,p A,ii =1 / |n A,i z|, transform the first objective function into the following form:
[0110]
[0111] stF(M B z)+ξ≥e,ξ≥0,
[0112] Where F = diag(sign(M B z)), from the above formula we can see that the diagonal matrix D A , P A And F depends on z, which is used to solve the problem of non-convexity and non-smoothness of the objective function.
[0113] In step S22: The iterative solution steps of Algorithm 1 are: First, input the training data set A 1 , A 2 , B 1 and B 2 , initialize z, set t = 1, give parameters ε, δ and c; secondly, construct the diagonal matrix D A (t) , P A (t) and F (t) , according to the formula
[0114]
[0115] F (t) (M B z)+ξ≥e,ξ≥0
[0116] Calculate z (t+1) ; Finally, let t = t + 1, repeat the above steps until convergence and output the hyperplane parameter z. The second step above is convex optimization, and the result can be obtained by the following formula:
[0117]
[0118] Among them, α≥0 and β≥0 are Lagrange multipliers. The KKT condition satisfied by the second step in Algorithm 1 is:
[0119] M A T D A (t) M A z+2εz+δN A T P A (t) N A z B T Fα=0, (1);
[0120] ce-α-β=0,α≥0,β≥0, (2);
[0121] α T (F (t) (M B z)+ξ-e)=0,β T ξ=0, (3)
[0122] F (t) (M B z)+ξ-e≥0,ξ≥0, (4);
[0123] According to condition (1), we can get z = K -1 M B T F (t) α, where K = M A T D A (t) M A +δN A T P A (t) N A +2εI, according to the obtained results and KKT conditions, the Wolfe dual of the problem can be obtained in the second step of Algorithm 1:
[0124]
[0125] st0≤α≤ce,
[0126] The Lagrange multiplier vector α can be used to update the hyperplane parameter z (t+1) , the solution of the second objective function is the same as the above process.
[0127] In step S31: design a fast version of MvRDTSVM, MvFRDTSVM, which is expressed as:
[0128]
[0129]
[0130] Here, c>0 controls the empirical error and the problem of finding the negative fitting hyperplane of two views is expressed as:
[0131]
[0132]
[0133] Putting it into simple form: st|M B z|+ξ=e, the equivalent formula is: stF(M B z)+ξ=e, where D ξ represents a diagonal matrix, D ξ The diagonal elements of ξ,ii , d ξ,ii =1 / |ξ i|, In the fast version, the inequality constraints are changed to equality constraints to improve the calculation speed of MvRDTSVM, and the L1 norm is used instead of the squared L2 norm to measure the loss of the model to reduce the sensitivity to outliers.
[0134] In step S32: The iterative solution steps of Algorithm 2 are as follows: First, input the training set A 1 , A 2 , B 1 and B 2 , initialize z, set t = 1, give the model parameters ε, δ and c, and then construct the matrix D A (t) , P A (t) , D ξ (t) and F (t) , according to the formula
[0135]
[0136] F (t) (M B z)+ξ=e
[0137] Calculate z (t+1) Finally, let t = t + 1, repeat the above steps until convergence, output the hyperplane parameter z, substitute the constraint into the objective function and set its derivative to zero, and get z (t+1) =c(L+cM B T F (t) D ξ (t) F (t) M B ) -1 M B T F (t) D ξ (t) e, where L = M A T D A (t) M A +δN A T P A (t) N A +2εI, because every element of the diagonal matrix is either 1 or -1, so F (t) D ξ (t) F (t) =D ξ (t) , we can conclude that z (t+1) =c(L+cMB T D ξ (t) M B ) -1 (M B T F (t) D ξ (t) e), so the hyperplane parameters (w 1 , b 1 ) and (w 2 , b 2 ) from z (t+1) Separate until Algorithm 2 converges, and the solution of the second objective function can be obtained by the same method.
[0138] Embodiment 1: In order to verify the generalization performance of a proposed new multi-view learning method (multi-view learning method of robust bilateral twin SVM (MvRDTSVM)) and its advantages in the field of forest fire recognition, the present invention conducts comparative experiments on the forest fire database (SmokeImg): the comparative methods include four single-view methods: TMSVM, WLSTSVM, L1-GEPSVM and L1-TWSVM, and the single-view TWSVM is divided into view Figure 1 (TWSVM1) and video Figure 2 (TWSVM2), and four multi-view methods: MvTSVM, MvGSVM, MvIGSVM, and MvNPSVM. 150 real images of black smoke and 150 real images of non-black smoke are selected in the SmokeImg database to evaluate the classification performance of MvRDTSVM and MvFRDTSVM, taking the original RGB metric as the first view and the SIFT features extracted from them as the second view.
[0139] First, the single-view and multi-view learning methods are implemented on the original dataset and the average classification accuracy is recorded. Then, experiments are conducted on the noisy SmokeImg to test the robustness of each method. The experimental results are shown in Tables 1 and 2:
[0140] Table 1:
[0141]
[0142] Table 2:
[0143]
[0144] In the table, SmokeImage Test represents the average accuracy, Std represents the standard deviation, and Time(s) represents the calculation time. It can be seen that in most cases, the accuracy of the multi-view methods MvTSVM, MvNPSVM, MvGSVM, MvIGSVM, MvRDTSVM and MvFRDTSVM is higher than that of the single-view methods TWSVM, WLSTSVM, L1-GEPSVM and L1-TWSVM; it can be seen that the multi-view learning mechanism effectively captures the complementary information between multiple features; secondly, L1-GEPSVM, L1-TWSVM can obtain better accuracy than TWSVM and WLSTSVM, indicating that the application of L1-norm distance is conducive to improving the robustness against outliers in the learning hyperplane; compared with MvT Compared with SVM, MvGSVM, and MvIGSVM, the performance advantages of MvRDTSVM and MvFRDTSVM are very obvious, indicating that the classification accuracy can be significantly improved by using the robust L1-norm and bilateral strategy application and SVM type conversion; for each method, in most cases, when the image contains noise, the performance will deteriorate. Even so, MvRDTSVM and MvFRDTSVM have the best accuracy. Similarly, it can be seen that in terms of performance, the impact of noise on the two methods is very limited. With or without noise, MvRDTSVM and MvFRDTSVM are the two best methods for classification; finally, MvFRDTSVM has exactly the same results as MvRDTSVM, but requires less computational time.
[0145] Finally, it should be noted that the above description is only a preferred example of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A forest fire recognition method based on a multi-view robust bilateral twin vector machine, characterized in that: The following steps are involved: S11: Define the dataset: positive dataset and negative dataset; S12: Convert the MvGSVM formula for the positive class in the MvGSVM objective function to an SVM type problem; S13: Introduce bilateral constraints to improve the robustness of the model; S14: Solve the problem that MvGSVM easily generates outlier-oriented hyperplanes; S21: Design an iterative algorithm for deriving the best-fitting hyperplane1; S22: Algorithm 1 iterative solution; S31: Design a fast version of MvRDTSVM, MvFRDTSVM, i.e. iterative algorithm 2; S32: Algorithm 2 iterative solution; 150 real images of black smoke and 150 real images of non-black smoke were selected from the SmokeImg forest fire database to evaluate the classification performance of MvRDTSVM and MvFRDTSVM. First, single-view and multi-view learning methods were implemented on the original dataset and the average classification accuracy was recorded. Then, experiments were conducted on the noisy SmokeImg to test the robustness of each method. In step S11: define the positive class data set of the first perspective as , the negative class dataset of the first perspective is , define the positive data set of the second perspective as , the negative class dataset of the second perspective is , where d represents the dimension, n1+n2=n, and n represents the number of samples. Each perspective contains two hyperplanes. The two hyperplanes of the first perspective are ,in, ; The two hyperplanes of the second perspective are ,in, , x1 and x2 represent samples of the first and second viewing angles, respectively; In step S12: To minimize the standard SVM structural risk, the MvGSVM formula for the positive class in the MvGSVM objective function is converted into an SVM type problem: Define loss function 1: , loss function 2: ,in, , , , , , , according to the formula , and Minimize the sum of two loss functions; In step S13: In the above formula for minimizing the sum of the two loss functions, the negative class samples of one of the two views are forced to be located only on the left side of the positive hyperplane of the view. In order to allow the negative class samples to be distributed on both sides of the positive fitting hyperplane, a bilateral strategy needs to be introduced: the distance is measured using the following absolute value operation: , and , The L2,s-norm is used instead of the L2,1-norm or L1-norm to minimize the intra-class dispersion; In step S21: design an iterative algorithm for deriving the best fitting hyperplane 1: let , , , , , Representing the diagonal function, the first objective function can be simplified to: , in, , , , represents the discriminant function, when The output result is 1, otherwise the output result is -1. and Represents the matrix M A and N A The i-th row vector of , the simplified first objective function is rewritten as follows: , , Construct a diagonal matrix D A and P A , respectively define the diagonal elements and , , , transform the first objective function into the following form: , , in , it can be seen from the above formula that the diagonal matrix D A , P A And F depends on z.
2. The forest fire recognition method based on multi-view robust bilateral twin vector machine according to claim 1, characterized in that: In step S14: the MvGSVM algorithm uses the squared L2-norm to measure the distance of the model. Based on the L1-norm feature, it can measure the absolute distance from the positive fitting hyperplane of each view to the positive classification point instead of the squared distance, and constructs the following problem: , According to the measurement distance The first objective function of the above-constructed problem to find the best positive hyperplane model is: , , Among them, c>0 controls the empirical error. Similarly, the second objective function is: , , An iterative algorithm is designed to solve the problem with two non-convex and smooth objective functions.
3. The forest fire recognition method based on multi-view robust bilateral twin vector machine according to claim 1, characterized in that: In step S22: The iterative solution steps of Algorithm 1 are: First, input the training data sets A1, A2, B1 and B2, initialize z, set t=1, and give the parameters and c, and then construct the diagonal matrix D A (t) , P A (t) and F (t) , according to the formula , Calculate z (t+1) , finally let t=t+1, repeat the above steps until convergence and output the hyperplane parameter z.
4. The method for forest fire recognition based on multi-view robust bilateral twin vector machine according to claim 3, characterized in that: In step S31: design a fast version of MvRDTSVM, MvFRDTSVM, which is expressed as: , Here, c>0 controls the empirical error and the problem of finding the negative fitting hyperplane of two views is expressed as: , , Putting it into simple form: , , the equivalent formula is: , ,in represents a diagonal matrix, The diagonal elements of , .
5. The method for forest fire recognition based on multi-view robust bilateral twin vector machine according to claim 4, characterized in that: In step S32: The iterative solution steps of Algorithm 2 are as follows: First, input the training sets A1, A2, B1 and B2, initialize z, set t=1, and give the model parameters and c, and then construct the matrix D A (t) , P A (t) , D ξ (t) and F (t) , according to the formula , Calculate z (t+1) Finally, let t=t+1, repeat the above steps until convergence, output the hyperplane parameter z, substitute the constraint into the objective function and set its derivative to zero, and we get ,in, , because every element of a diagonal matrix is either 1 or -1, so , it can be concluded that , so the hyperplane parameters (w1, b1) and (w2, b2) can be changed from z (t+1) Separate until Algorithm 2 converges, and the solution of the second objective function can be obtained by the same method.
Citation Information
Patent Citations
Method for improving robustness of TWSVM algorithm based on capped-l1 norm
CN108846437A
Multi-view robustness image recognition method based on Lp + s norm
CN109934290A
Logging lithology identification method based on improved multi-classification twin support vector machine
CN110516733A
Forest smoke and fire real-time monitoring system and method based on robust multi-view
CN111898565A
Face recognition and construction method and system based on non-linear non-negative matrix decomposition, and storage medium
WO2020010602A1
