A face dimensionality reduction method based on extreme learning machine based on discriminative shared neighborhood preservation
Through the extreme learning machine method based on discriminant shared neighborhood preservation, using the Dijkstra algorithm and Rank-order distance, the SGRD-ELM model is constructed, which solves the problems of poor dimensionality reduction effect of face data and difficulty in processing new samples in the existing technology. Efficient nonlinear dimensionality reduction and recognition accuracy improvement are achieved.
Patent Information
- Application Number
- CN202011415767.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-03
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-12-03
AI Technical Summary
Existing technologies cannot effectively reduce the dimensionality of high-dimensional face data. Linear dimensionality reduction methods cannot mine nonlinear structures. Nonlinear dimensionality reduction methods lack explicit mapping expressions and cannot process new samples. The US-ELM algorithm is in the process of mining neighborhood information and considering There are deficiencies in category information.
An extreme learning machine face dimensionality reduction method based on discriminative shared neighborhood preservation is proposed. The geodesic distance is calculated through the Dijkstra algorithm, Rank-order distance and Geodesic Rank-order distance are introduced to construct a sparse neighborhood reconstruction weight matrix, using The SGRD-ELM model performs dimensionality reduction and combines discriminant information and neighbor sharing information to achieve explicit dimensionality reduction.
It improves the accuracy and efficiency of face recognition, solves the sample problem, and enhances the dimensionality reduction performance of nonlinear data. The dimensionality reduction effect is better than traditional methods, and the recognition rate is increased by 10%-14%.
Smart Images

Figure CN114596603B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of biometric feature recognition systems, and in particular relates to an extreme learning machine face dimensionality reduction method based on discriminant shared neighborhood preservation. Background Art
[0002] With the advent of the era of artificial intelligence and big data, people need to verify their identity information in daily life, economic trade, information registration and inspection. Today, identity authentication technology has been widely used in various fields of the country and society. In recent years, with the promotion of electronic banking, online business, online education, smart access control and other models, people have paid more and more attention to the security of identity information. Traditional identity authentication methods (such as passwords, ID cards, etc.) are easy to steal and counterfeit, and can no longer meet people's needs for personal information security. Biometric recognition technology has rapidly emerged in the field of identity authentication due to its advantages of stability, efficiency, singleness and speed, and has become a hot topic for scholars in the era of artificial intelligence. Human biological features used for identification generally include: face, iris, palm print, fingerprint and gait, etc., and face image recognition has become one of the focuses of biometric recognition technology research because of its convenient acquisition, rich information and non-contact advantages. However, face data often presents a complex geometric structure with higher dimensions. Too high a dimension can easily cause a dimensional disaster, resulting in unsatisfactory face recognition results. Therefore, effective dimensionality reduction of face data is of great practical significance.
[0003] Prior art: Generally, data dimensionality reduction can be achieved by projecting the original data into a suitable low-dimensional space using linear or nonlinear transformations, while keeping the geometric relationship of the low-dimensional data unchanged as much as possible. Classic linear dimensionality reduction methods include principal component analysis (PCA), linear discriminant analysis (LDA), independent component analysis (ICA), locality preserving projection (LPP), neighborhood preserving embedding (NPE), sparse preserving projection (SPP), etc. Linear dimensionality reduction methods have explicit mapping expressions and can solve the out-of-sample problem, but the dimensionality reduction effect is not good for data with nonlinear essential structures. To solve this problem, many nonlinear dimensionality reduction algorithms have been proposed, which are mainly divided into kernel function dimensionality reduction methods and manifold learning methods. Representative kernel function dimensionality reduction algorithms include kernel principal component analysis (KPCA), kernel linear discriminant analysis (KLDA), kernel independent component analysis (KICA), Hessian local linear embedding (HLLE), etc. Kernel function dimensionality reduction algorithms require prior knowledge to select the kernel function type, and the dimensionality reduction effects of different kernel functions vary greatly. Local Linear Embedding (LLE) and Isometric Mapping (ISOMAP) are both classic manifold learning methods. They have no explicit mapping expression and cannot solve the out-of-sample problem. When new samples are added, the algorithm parameters need to be retrained, which greatly limits their practical applications.
[0004] In 2014, Huang et al. proposed a nonlinear dimensionality reduction algorithm with explicit expression - Unsupervised Extreme Learning Machine (US-ELM). US-ELM is computationally efficient and has strong generalization ability for new samples, which can effectively solve the out-of-sample problem. In 2016, Peng et al. introduced the idea of manifold learning into the ELM framework and proposed an extreme learning machine algorithm based on graph discriminant information regularization (GELM) and a discriminant manifold extreme learning machine algorithm (DMELM). Compared with the GELM algorithm, the DMELM algorithm adds discriminant information, which makes the latter have better classification performance when processing manifold nonlinear data such as facial features, and also provides a new branch for the improvement of the ELM algorithm.
[0005] The disadvantages of the above prior art are:
[0006] 1. Linear dimensionality reduction technology cannot mine and analyze the potential geometric structure of data. For nonlinear high-dimensional data with low-dimensional manifolds, the dimensionality reduction performance will be greatly reduced.
[0007] 2. Nonlinear dimensionality reduction methods such as kernelized linear dimensionality reduction and manifold learning do not have clear explicit mapping expressions and cannot solve out-of-sample problems. That is, when new samples are added, these nonlinear dimensionality reduction models need to be relearned and optimized.
[0008] 3. The US-ELM algorithm has poor ability to mine neighborhood information of high-dimensional nonlinear data sample points and cannot consider category information.
[0009] To this end, we propose a face dimensionality reduction method based on extreme learning machine with discriminative shared neighborhood preservation to solve the problems mentioned in the above background technology. Summary of the invention
[0010] The purpose of the present invention is to provide a face dimensionality reduction method of an extreme learning machine based on discriminant shared neighborhood preservation to solve the problems raised in the above background technology.
[0011] To achieve the above object, the present invention provides the following technical solution: a face dimensionality reduction method based on extreme learning machine discriminating shared neighborhood preservation, comprising the following steps:
[0012] S1. Image preprocessing: performing scale normalization processing on the face image collected by the face image acquisition module;
[0013] S2, input layer: input the face feature X after scale normalization;
[0014] S3, hidden layer: select nonlinear activation function (sigmoid function), randomly and nonlinearly map the single sample face feature X to N-dimensional feature space, and transform to obtain feature H(X);
[0015] S4, output layer: fixed feature H(X), first, use the classic Dijkstra algorithm to calculate the geodesic distance between sample points, add or subtract the weighted category distance from the geodesic distance, obtain the new geodesic distance based on the discriminant information, and sort it in ascending order;
[0016] Then, the shared neighborhood information between any two sample points is calculated through the Rank-order distance, thereby obtaining the Geodesic Rank-order distance with discriminant information;
[0017] Finally, the SGRD distance is normalized and used to find the neighborhood of the sample point, thereby calculating the sparse neighborhood reconstruction weight matrix W of the sample point SGRD ;
[0018] The dimension m of the output feature t is set to be smaller than the dimension d of the input feature X, and the connection weight β between the hidden layer and the output layer is obtained by solving the system of equations, so that the SGRD-ELM dimension reduction output model is t=H(X)β;
[0019] S5. Sample database: stores face sample data t that has undergone dimensionality reduction processing.
[0020] The implementation of step S3 is as follows:
[0021] Step S31: Set the number of neurons in the hidden layer to L, L∈N + , N + represents a positive integer;
[0022] Step S32: Randomly generate the input weight matrix a of the hidden layer = [a1, a2, ..., a i ] T and hidden layer threshold matrix b = [b1, b2, ..., b i ] T , where i = 1, 2, ... L, a i represents the input weight vector of the i-th hidden layer node, b i represents the threshold of the i-th hidden layer node;
[0023] Step S33 calculates the i-th sample x of the facial feature X i The output vector of the hidden layer is h(x) = [h1(x), h2(x), …, h L (x)]∈R 1×L ;
[0024] where x∈Rd ,h j (x) is the output feature of the i-th hidden layer node, and its expression is: i (x) = g(a i , b i , x), a i ∈R d , b i ∈R, where g(a i , b i , x) is the nonlinear activation function of the hidden layer node, using the sigmoid function, then
[0025]
[0026] Step S34 calculates the face data X output at the hidden layer:
[0027]
[0028] The implementation of step S4 is as follows:
[0029] Step S41, constructing an adjacency graph G:
[0030] First, calculate the Euclidean distance between all sample points in the data set X, that is, calculate the sample point x i With sample point x j The Euclidean distance d between ij =(x i , x j );
[0031] Secondly, the calculated Euclidean distance d between the global sample points ij Put it into the adjacency graph G, where G(i, j) represents the sample point x i To the sample point x j The Euclidean distance of
[0032] Finally, in order to reasonably construct the adjacency graph G, a threshold δ is generally set based on prior knowledge; if G(i, j) is less than the threshold δ, the value of G(i, j) remains unchanged; otherwise, the value of G(i, j) is defined as infinite;
[0033] Step S42: In the adjacency graph G, the geodesic distance between each sample point in the data set X is calculated by the Dijsktra algorithm to obtain the geodesic distance matrix D of all sample points. G ;
[0034] According to the category information of the sample points, the geodesic distance matrix D G D G (i, j) shall be modified accordingly;
[0035] If D GThe two sample points corresponding to (i, j) do not belong to the same category, then D G The value of (i, j) is modified to:
[0036] D G (i, j) = D G (i, j)+σmax(D);
[0037] If D G The two sample points corresponding to (i, j) belong to the same category, then D G The value of (i, j) is modified to:
[0038] D G (i, j) = D G (i, j)-σmin(D);
[0039] Among them, max(D) represents the maximum inter-class distance of different sample points, mmin(D) represents the minimum inter-class distance of the same sample points, and σ is the distance weight parameter, which takes a value between 0 and 1.
[0040] For the modified geodesic distance matrix D G , sort in ascending order;
[0041] Any two sample points x i and x j The calculation function of the Rank-order distance between them is described as:
[0042]
[0043] in, Represents the sample point x i The kth nearest neighbor sample of ; Represents the sample point x j At the sample point x i The position in the neighborhood list of x j is x i The number of nearest neighbors of ;
[0044] If any two sample points x i and x j The smaller the asymmetric Rank-order distance between them, the smaller the i and x j The more similar the neighborhood structures are, the closer their real distances in space are.
[0045] Step S43: Calculate and obtain the symmetrical and normalized Geodesic Rank-order distance SGRD(x i , x j ):
[0046]
[0047] Using SGRD(x i , x j ) Find the neighboring points of the sample point, then the calculation formula for reconstructing the weight matrix W is:
[0048]
[0049] The calculated global reconstruction weight matrix W is subjected to N*N dimensional sparse transformation to obtain the sparse neighborhood reconstruction weight matrix W SGRD , N is the number of samples;
[0050] Step S44, extreme learning machine face dimensionality reduction model based on discriminant shared neighborhood preservation:
[0051] The objective function of SGRD-ELM is:
[0052]
[0053] Among them, the graph Laplacian matrix L based on the discriminant information Geodesic Rank-order SGRD The calculation formula is:
[0054] L SGRD =DW SGRD
[0055] The second term of the objective function is a regularization term based on discriminant information and neighbor sharing information. The function of this term is to make the facial features output by the hidden layer better maintain the original neighbor structure of the original data. λ is the regularization term coefficient, and tr(·) is the trace of the matrix.
[0056] At the same time, the constraint term st(H(X)β) is introduced T H(X)β=I m Solve the problem of trivial solutions in model solving, I is the unit matrix;
[0057] Step S45: Solve the model of step 4-4 using the Lagrange multiplier method to obtain the smallest m eigenvalues and the corresponding eigenvector A, thereby calculating the connection weight β between the hidden layer and the output layer, β = H(X) T A;
[0058] Step 46: When m is less than d, the dimensionality reduction of facial features can be achieved, and the explicit dimensionality reduction model maintained by the manifold is: t = H(X)β.
[0059] Compared with the prior art, the beneficial effects of the present invention are: the present invention provides an extreme learning machine face dimensionality reduction method based on discriminant information and nearest neighbor sharing. The present invention uses the magnetic drum as the magnetic ring pressing core, and achieves close cooperation between the magnetic ring and the magnetic drum during the magnetic ring forming process. Through this scheme, not only the processing of the inner diameter of the magnetic ring and the outer diameter of the magnetic drum can be avoided, but also the process of fixing the magnetic ring and the magnetic drum by structural adhesive is omitted, thereby achieving the purpose of improving production efficiency and reducing production costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 Schematic diagram of the network structure of ELM;
[0061] Figure 2 It is a workflow diagram of the training phase of the present invention;
[0062] Figure 3 It is the workflow diagram of the identification phase of the present invention. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] Embodiment 1: The present invention provides Figure 1-3 A face dimensionality reduction method based on extreme learning machine based on discriminative shared neighborhood preservation. The workflow of the training phase is as follows Figure 2 As shown, the steps are as follows:
[0065] S1. Image preprocessing: performing scale normalization processing on the face image collected by the face image acquisition module;
[0066] S2, input layer: input the face feature X after scale normalization;
[0067] S3, hidden layer: select nonlinear activation function (sigmoid function), randomly and nonlinearly map the single sample face feature X to N-dimensional feature space, and transform to obtain feature H(X);
[0068] S4, output layer: fixed feature H(X), first, use the classic Dijkstra algorithm to calculate the geodesic distance between sample points, add or subtract the weighted category distance from the geodesic distance, obtain the new geodesic distance based on the discriminant information, and sort it in ascending order;
[0069] Then, the shared neighborhood information between any two sample points is calculated through the Rank-order distance, thereby obtaining the Geodesic Rank-order distance with discriminant information;
[0070] Finally, the SGRD distance is normalized and used to find the neighborhood of the sample point, thereby calculating the sparse neighborhood reconstruction weight matrix W of the sample point SGRD ;
[0071] The dimension m of the output feature t is set to be smaller than the dimension d of the input feature X, and the connection weight β between the hidden layer and the output layer is obtained by solving the system of equations, so that the SGRD-ELM dimension reduction output model is t=H(X)β;
[0072] S5. Sample database: stores face sample data t that has undergone dimensionality reduction processing.
[0073] The implementation of step S3 is as follows:
[0074] Step S31: Set the number of neurons in the hidden layer to L, L∈N + , N + represents a positive integer;
[0075] Step S32: Randomly generate the input weight matrix a of the hidden layer = [a1, a2, ..., a i ] T and hidden layer threshold matrix b = [b1, b2, ..., b i ] T , where i = 1, 2, ... L, a i represents the input weight vector of the i-th hidden layer node, b i represents the threshold of the i-th hidden layer node;
[0076] Step S33 calculates the i-th sample x of the facial feature X i The output vector of the hidden layer is h(x) = [h1(x), h2(x), …, h L (x)]∈R 1×L ;
[0077] where x∈R d ,h i (x) is the output feature of the i-th hidden layer node, and its expression is: i (x) = g(a i , b i , x), a i ∈R d , b i ∈R, where g(a i , b i, x) is the nonlinear activation function of the hidden layer node, using the sigmoid function, then
[0078]
[0079] Step S34 calculates the face data X output at the hidden layer:
[0080]
[0081] The implementation of step S4 is as follows:
[0082] Step S41, constructing an adjacency graph G:
[0083] First, calculate the Euclidean distance between all sample points in the data set X, that is, calculate the sample point x i With sample point x j The Euclidean distance d between ij =(x i , x j );
[0084] Secondly, the calculated Euclidean distance d between the global sample points ii Put it into the adjacency graph G, where G(i, j) represents the sample point x i To the sample point x j The Euclidean distance of
[0085] Finally, in order to reasonably construct the adjacency graph G, a threshold δ is generally set based on prior knowledge; if G(i, j) is less than the threshold δ, the value of G(i, j) remains unchanged; otherwise, the value of G(i, j) is defined as infinite;
[0086] Step S42: In the adjacency graph G, the geodesic distance between each sample point in the data set X is calculated by the Dijsktra algorithm to obtain the geodesic distance matrix D of all sample points. G ;
[0087] According to the category information of the sample points, the geodesic distance matrix D G D G (i, j) shall be modified accordingly;
[0088] If D G The two sample points corresponding to (i, j) do not belong to the same category, then D G The value of (i, j) is modified to:
[0089] D G (i, j) = D G (i, j)+σmax(D);
[0090] If D G The two sample points corresponding to (i, j) belong to the same category, then DG The value of (i, j) is modified to:
[0091] D G (i, j) = D G (i, j)-σmin(D);
[0092] Among them, max(D) represents the maximum inter-class distance of different sample points, mmin(D) represents the minimum inter-class distance of the same sample points, and σ is the distance weight parameter, which takes a value between 0 and 1.
[0093] For the modified geodesic distance matrix D G , sort in ascending order;
[0094] Any two sample points x i and x j The calculation function of the Rank-order distance between them is described as:
[0095]
[0096] in, Represents the sample point x i The kth nearest neighbor sample of ; Represents the sample point x j At the sample point x i The position in the neighborhood list of x j is x i The number of nearest neighbors of ;
[0097] If any two sample points x i and x j The smaller the asymmetric Rank-order distance between them, the smaller the i and x j The more similar the neighborhood structures are, the closer their real distances in space are.
[0098] Step S43: Calculate and obtain the symmetrical and normalized Geodesic Rank-order distance SGRD(x i , x j ):
[0099]
[0100] Using SGRD(x i , x j ) Find the neighboring points of the sample point, then the calculation formula for reconstructing the weight matrix W is:
[0101]
[0102] The calculated global reconstruction weight matrix W is subjected to N*N dimensional sparse transformation to obtain the sparse neighborhood reconstruction weight matrix W SGRD , N is the number of samples;
[0103] Step S44, extreme learning machine face dimensionality reduction model based on discriminant shared neighborhood preservation:
[0104] The objective function of SGRD-ELM is:
[0105]
[0106] Among them, the graph Laplacian matrix L based on the discriminant information Geodesic Rank-order SGRD The calculation formula is:
[0107] L SGRD =D-WS GRD
[0108] The second term of the objective function is a regularization term based on discriminant information and neighbor sharing information. The function of this term is to make the facial features output by the hidden layer better maintain the original neighbor structure of the original data. λ is the regularization term coefficient, and tr(·) is the trace of the matrix.
[0109] At the same time, the constraint term st(H(X)β) is introduced T H(x)β=I m Solve the problem of trivial solutions in model solving, I is the unit matrix;
[0110] Step S45: Solve the model of step 4-4 using the Lagrange multiplier method to obtain the smallest Im eigenvalues and the corresponding eigenvector A, thereby calculating the connection weight β between the hidden layer and the output layer, β = H(X) T A;
[0111] Step 46: When m is less than d, the dimensionality reduction of facial features can be achieved, and the explicit dimensionality reduction model maintained by the manifold is: t = H(X)β.
[0112] The workflow of the identification phase is as follows: Figure 3 As shown, the steps are as follows:
[0113] Step 1: Image preprocessing: scale normalization is performed on the face image to be recognized collected by the face image acquisition module;
[0114] Step 2 Input layer: Input the scale-normalized face feature X′ to be identified;
[0115] Step 3 Hidden layer: Randomly initialize the input weight matrix a′ and the hidden layer threshold matrix b′ of the hidden layer, select a nonlinear excitation function (sigmoid function), randomly nonlinearly map the face feature X′ to be identified to the N-dimensional feature space, and transform to obtain the feature H(X);
[0116] Step 4 Output layer: locate the connection weight β between the hidden layer and the output layer obtained in the training phase, and obtain the low-dimensional face feature t′ after dimensionality reduction according to the MP-ELM dimensionality reduction output model t′=H(X')β;
[0117] Step 5: Feature matching and recognition: Use the nearest neighbor classifier method to match and recognize the obtained low-dimensional feature t′ with the database sample t to obtain the recognition result.
[0118] The present invention adopts Supervised Geodesic Rank-order distance as the measure of similarity between sample points, improves the Gaussian manifold regularization term of US-ELM, and proposes a dimensionality reduction method of extreme learning machine (SGRD-ELM) with discriminant information for face feature recognition. The implementation of this method is completed in two stages. The first stage is the training stage, the purpose of which is to save the trained output weights and store the samples that have been processed by dimensionality reduction for the database; the second stage is the recognition stage, which randomly initializes the input weights and thresholds of the samples to be recognized, uses the output weights trained in the training stage to perform feature dimensionality reduction processing, and then matches and recognizes with the database samples to obtain the recognition results.
[0119] 1. The method of introducing intra-class / inter-class parameters to modify the Geodesic Rank-order distance calculation in the present invention should be within the protection scope of the present invention.
[0120] 2. The present invention uses the Supervised Geodesic Rank-order distance as a measure of the similarity between face sample points, which should be within the protection scope of the present invention.
[0121] 3. The Laplacian matrix L of the graph based on the discriminant information Geodesic Rank-order of the present invention SGRD The calculation method should be within the protection scope of the present invention.
[0122] 4. The present invention can accurately fit the manifold neighbor structure of face data, effectively eliminate noise and redundancy of data points outside the manifold, and has the advantages of improving recognition accuracy and reducing sample storage space, and should be within the scope of protection of the present invention.
[0123] The present invention improves the calculation of similarity between face sample points, and on this basis, proposes the SGRD-ELM algorithm. SGRD-ELM not only considers the category information of the sample, but also focuses on mining the shared neighbor information of any two sample points, so that in the dimensionality reduction process, the distance between sample data belonging to the same category is more compact, and the distance between different sample data is farther, and the dimensionality reduction effect is obvious.
[0124] The present invention performs noise-resistant nonlinear explicit dimensionality reduction on facial features. The method can accurately fit the manifold neighbor structure of facial data, effectively eliminate noise and redundancy of data points outside the manifold, and has the advantages of improving recognition accuracy and reducing sample storage space.
[0125] In summary, compared with the prior art, the present invention follows the principle of empirical risk minimization of the ELM algorithm. Aiming at the problem that the US-ELM algorithm mines the neighborhood information difference of high-dimensional nonlinear data sample points and does not consider the category information, this paper adopts the Supervised Geodesic Rank-order distance as the measure of the similarity between sample points. On this basis, the SGRD-ELM algorithm is proposed. SGRD-ELM not only considers the category information of the sample, but also focuses on mining the shared neighbor information of any two sample points, so that in the process of dimensionality reduction, the distance of sample data belonging to the same category is more compact, and the distance of different sample data is farther, and the dimensionality reduction effect is better than US-ELM, and solves the out-of-sample problem that the existing LLE algorithm cannot find an explicit mapping function when facing new face samples; the present invention uses a public face image data set (ORL face image data set) for testing. The ORL face database is collected and sorted by the AT&T laboratory of Cambridge University. The face database has a total of 40 people, each of whom has 10 different grayscale face images. The images are obtained by using a unified face acquisition device at different times, light intensities, and shooting angles. Each face image contains different facial postures, facial shapes, facial expressions, facial decorations and other feature information. When the sample data is reduced to 64 dimensions, the experimental results show that the face recognition rate of the LLE method is increased by an average of 10%-14%, and the face recognition rate of the US-ELM method is increased by an average of 6%-8%.
[0126] Finally, it should be noted that the above is only a preferred embodiment 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, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. 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 face dimensionality reduction method based on extreme learning machine with discriminant shared neighborhood preservation, characterized by: The steps include: S1. Image preprocessing: performing scale normalization processing on the face image collected by the face image acquisition module; S2, input layer: input the face feature X after scale normalization; S3, hidden layer: select nonlinear activation function, randomly and nonlinearly map the single sample face feature X to N-dimensional feature space, and transform the feature ; S4, output layer: fixed features ,First, the classic Dijkstra algorithm is used to calculate the geodesic distance between the sample points, the ,classification distance with weight is added or subtracted from the geodesic distance to obtain ,the new geodesic distance based on the discriminant information, and it is ,sorted in ascending order; Then, the shared neighborhood information between any two sample points is calculated through the Rank-order distance, thereby obtaining the Geodesic Rank-order distance with discriminant information; Finally, the SGRD distance is normalized and used to find the neighborhood of the sample point, thereby calculating the sparse neighborhood reconstruction weight matrix of the sample point. ; Set the dimension m of the output feature t to be smaller than the dimension d of the input feature X, and use the equation system solution method to obtain the connection weights between the hidden layer and the output layer. , thus the SGRD-ELM dimension reduction output model is obtained as ; The implementation is as follows: Step S41, constructing adjacency graph G: First, calculate the Euclidean distance between all sample points in the data set X, that is, calculate the sample point With sample points The Euclidean distance between ; Secondly, the calculated Euclidean distance between global sample points Put it into the adjacency graph G, adjacency graph G Represents the sample point With sample points The Euclidean distance between Finally, in order to reasonably construct the adjacency graph G, a threshold is generally set based on prior knowledge. ;like Less than threshold , The value of remains unchanged; otherwise, The value of is defined as infinite; Step S42: In the adjacency graph G, the geodesic distance between each sample point in the data set X is calculated by the Dijsktra algorithm to obtain the geodesic distance matrix of all sample points. ; According to the category information of the sample points, the geodesic distance matrix In Make corresponding modifications; like The corresponding two sample points do not belong to the same category, then The value is changed to: ; like The corresponding two sample points belong to the same category, then The value is changed to: ; in, Represents the maximum inter-class distance of different sample points, Indicates the minimum inter-class distance of sample points of the same type, is the distance weight parameter, with a value between 0 and 1; The modified geodesic distance matrix , sort in ascending order; Any two sample points and The calculation function of the Rank-order distance between them is described as: ; in, Represents sample points No. Nearest neighbor samples; Represents the sample point At the sample point The position in the neighborhood list of yes The number of nearest neighbors of ; If any two sample points and The smaller the asymmetric Rank-order distance between and The more similar the neighborhood structures are, the closer their real distances in space are. Step S43: Calculate and obtain a symmetric and normalized Geodesic Rank-order distance based on discriminant information ; , use Find the neighboring points of the sample point, and then the calculation formula for reconstructing the weight matrix W is: , the calculated global reconstruction weight matrix W is used as The sparse neighborhood reconstruction weight matrix can be obtained by sparse transformation of , N is the number of samples; Step S44, extreme learning machine face dimensionality reduction model based on discriminant shared neighborhood preservation: The objective function of SGRD-ELM is: , Among them, the graph Laplacian matrix based on the discriminant information Geodesic Rank-order The calculation formula is: , The second term of the objective function is a regular term based on discriminant information and neighbor shared information. The function of this term is to make the facial features output by the hidden layer better maintain the original neighbor structure of the original data. is the regularization coefficient, is the trace of the matrix; At the same time, the constraint term is introduced Solve the problem of trivial solutions in model solving, is the unit matrix; step S45, using the Lagrange multiplier method to solve the model of step 44, the smallest m eigenvalues and the corresponding eigenvector A can be obtained, thereby calculating the connection weights of the hidden layer and the output layer , ; Step 46: When m is less than d, the dimensionality reduction of facial features can be achieved, and the explicit dimensionality reduction model of manifold preservation is: ; S5. Sample database: stores face sample data t that has undergone dimensionality reduction processing.
2. The face dimensionality reduction method based on extreme learning machine with discriminant shared neighborhood preservation according to claim 1, characterized in that: The implementation of step S3 is as follows: Step S31, set the number of neurons in the hidden layer to represents a positive integer; Step S32: Randomly generate the input weight matrix of the hidden layer and the hidden layer threshold matrix ,in, represents the input weight vector of the i-th hidden layer node, represents the threshold of the i-th hidden layer node; Step S33 calculates the i-th sample of the facial feature X The output vector in the hidden layer is ; in , is the output feature of the i-th hidden layer node, and its expression is: ,in, is the nonlinear activation function of the hidden layer nodes, using Function, then ; Step S34 calculates the face data X output at the hidden layer: .
