<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">APM</journal-id><journal-title-group><journal-title>Advances in Pure Mathematics</journal-title></journal-title-group><issn pub-type="epub">2160-0368</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/apm.2021.112010</article-id><article-id pub-id-type="publisher-id">APM-107249</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Research on Face Recognition Algorithm Based on Robust 2DPCA
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Haijun</surname><given-names>Kuang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Wanzhou</surname><given-names>Ye</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ze</surname><given-names>Zhu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, College of Science, Shanghai University, Shanghai, China</addr-line></aff><pub-date pub-type="epub"><day>05</day><month>02</month><year>2021</year></pub-date><volume>11</volume><issue>02</issue><fpage>149</fpage><lpage>161</lpage><history><date date-type="received"><day>13,</day>	<month>January</month>	<year>2021</year></date><date date-type="rev-recd"><day>19,</day>	<month>February</month>	<year>2021</year>	</date><date date-type="accepted"><day>22,</day>	<month>February</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution-NonCommercial International License (CC BY-NC).http://creativecommons.org/licenses/by-nc/4.0/</license-p></license></permissions><abstract><p>
 
 
  As a new dimension reduction method, the two-dimensional principal component (2DPCA) can be well applied in face recognition, but it is susceptible to outliers. Therefore, this paper proposes a new 2DPCA algorithm based on angel-2DPCA. To reduce the reconstruction error and maximize the variance simultaneously, we choose F norm as the measure and propose the Fp-2DPCA algorithm. Considering that the image has two dimensions, we offer the Fp-2DPCA algorithm based on bilateral. Experiments show that, compared with other algorithms, the Fp-2DPCA algorithm has a better dimensionality reduction effect and better robustness to outliers.
 
</p></abstract><kwd-group><kwd>2DPCA</kwd><kwd> Face Recognition</kwd><kwd> Dimension Reduction</kwd><kwd> F Norm</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Principal component analysis (PCA) [<xref ref-type="bibr" rid="scirp.107249-ref1">1</xref>] is extensively used in dimension reduction, pattern recognition, and computer vision; however, when a principal component analysis is applied to face image representation and recognition. It is necessary to transform each image in the form of a matrix into a one-dimensional vector column by column or row by row, which can’t make full use of the spatial structure information of image pixels and their neighborhood. The concatenation of a two-dimensional matrix into a one-dimensional vector often leads to a too high vector space dimension. Because the covariance matrix size is too large and training samples are relatively small, it is difficult to calculate the covariance matrix accurately. To solve this problem, Yang et al. [<xref ref-type="bibr" rid="scirp.107249-ref2">2</xref>] proposed a two-dimensional principal component analysis method based on two-dimensional images rather than a one-dimensional vector. It has successfully been applied in computer vision and signal processing [<xref ref-type="bibr" rid="scirp.107249-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.107249-ref4">4</xref>].</p><p>PCA only works in the image’s row direction for dimensionality reduction, and the compression ratio is meager. To solve this problem, some methods based on bilateral compression are proposed. Kong et al. [<xref ref-type="bibr" rid="scirp.107249-ref5">5</xref>] presented 2DPCA, which constructs two subspaces to encode the row vector and the column vector of the image matrix, respectively. Zhang et al. [<xref ref-type="bibr" rid="scirp.107249-ref6">6</xref>] proposed a (2D) 2DPCA with both row and column directions. Xu et al. [<xref ref-type="bibr" rid="scirp.107249-ref7">7</xref>] constructed two projection transformation matrices by defining two image covariance matrices. Kim et al. [<xref ref-type="bibr" rid="scirp.107249-ref8">8</xref>] proposed calculating the linear transformation matrix using two covariance matrices in 2DPCA.</p><p>PCA and 2DPCA are both based on the sum of the least square F-norm, equivalent to the least square loss or the square L2 norm. As we all know, the least direct loss is not robust because the edge data points can easily make the solution deviate from the expected answer. Compared with square F-norm, the L1 norm is more vital to outliers. Kwak [<xref ref-type="bibr" rid="scirp.107249-ref9">9</xref>] used the L1 model to measure variance and developed PCA-l1. Then, to better use the spatial structure embedded in the image, 2DPCA-l1 is proposed [<xref ref-type="bibr" rid="scirp.107249-ref10">10</xref>]. One disadvantage of the L1 norm is that it has no rotation invariance, emphasizing learning algorithms [<xref ref-type="bibr" rid="scirp.107249-ref11">11</xref>]. Rotation invariance helps avoid performance degradation. On this basis, due to the rotation invariance of F-norm, some methods based on F-norm are proposed. For the F-norm-based form, minimizing the reconstruction error is not equal to maximizing the variance. Therefore, the above way does not consider the relationship between reconstruction error and disagreement.</p><p>In recent years, to overcome this defect, Gao et al. [<xref ref-type="bibr" rid="scirp.107249-ref12">12</xref>] proposed an angel-2DPCA, which takes F-norm as the distance measure and obtains the optimal projection matrix by minimizing the ratio of reconstruction error variance. Angel-2DPCA [<xref ref-type="bibr" rid="scirp.107249-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.107249-ref13">13</xref>] is not only robust to outliers but also rotation invariant. The experimental results of reference show that angel-2DPCA has high efficiency. However, this method only reduces the column direction dimension and limits the degree of F norm to 1. In this case, we extend angel-2DPCA to Fp-2DPCA. We can prove that the new algorithm can converge to the optimal local solution. Besides, we propose a bilateral Fp-2DPCA to solve the problem of bilateral dimensionality reduction.</p><p>The rest of this paper is organized as follows. The second section introduces the theory of 2DPCA, including 2DPCA and 2DPCA-L1. The third section proposes the Fp-2DPCA algorithm and the bilateral Fp-2DPCA algorithm and proves the algorithm’s convergence. We also discuss the rotation invariance of the algorithm. In Section 4, we perform numerical experiments to evaluate the performance of our algorithm. Finally, the conclusion of this paper is given in the fifth section.</p></sec><sec id="s2"><title>2. Related Theories of 2DPCA</title><sec id="s2_1"><title>2.1. 2DPCA</title><p>2DPCA is the result of expanding to two-dimensional space based on PCA. Still, its basic idea is the same as PCA: to maximize the variance sum of the original data projected to the main components to maintaining the maximum amount of information of the original data as far as possible [<xref ref-type="bibr" rid="scirp.107249-ref14">14</xref>]. For image data, let A = { A i ∈ R m &#215; n , i = 1 , 2 , ⋯ , M } be the training data set, where M is the number of training samples, m and n are the dimensions of a row and column pixels, respectively, and the feature matrix W = [ w 1 , w 2 , ⋯ , w d ] ∈ ℝ n &#215; d , where d is the number of main projection vectors after transformation, then the objective function of 2DPCA is expressed as follows:</p><p>max W T W = I k t r ( ∑ i = 1 M W T ( A i ) T A i W T ) = max W T W = I k ∑ i = 1 M ‖ A i W ‖ F 2 (1)</p><p>t r ( &#183; ) is the trace of the matrix; if there is a n dimensional matrix A, then the trace of the matrix A is equal to the sum of the eigenvalues of A, that is, the sum of the main diagonal elements of the matrix A. Since the F-norm is used in (1), the following equation is satisfied:</p><p>∑ i = 1 M ‖ E i ‖ F 2 + ∑ i = 1 M ‖ A i W ‖ F 2 = ∑ i = 1 M ‖ A i ‖ F 2 (2)</p><p>So (1) is equivalent to:</p><p>min W T W = I ∑ i = 1 M ‖ E i ‖ F 2 (3)</p><p>where I k ∈ R d &#215; d is a k dimensional identity matrix, ‖   ⋅   ‖ F is the F norm of the matrix, E i = A i − A i W W T . Objective functions Equation (1) and Equation (3) show that 2DPCA mainly considers the reconstruction error or variance contribution of image data.</p><p>As shown in the objective function Equation (1), the square F norm is used as the distance measure. Still, the square F norm is not robust because the edge’s observation value will quickly make the solution deviate from the expected answer. There is 2DPCA based on L<sub>1</sub> norm to solve this problem, which can reduce this influence to a certain extent.</p></sec><sec id="s2_2"><title>2.2. 2DPCA-L1</title><p>The objective function of 2DPCA-L1 is as follows：</p><p>max W T W = I ∑ i = 1 M ‖ A i W ‖ L 1 2 (4)</p><p>‖   ⋅   ‖ L 1 is the L<sub>1</sub> norm of the matrix. Compared with the traditional 2DPCA, 2DPCA-L1 is more robust to the data with outliers, but it also has some defects. Firstly, it does not satisfy the rotation invariance:</p><p>∑ i = 1 M ‖ E i ‖ L 1 + ∑ i = 1 M ‖ A i W ‖ L 1 ≠ ∑ i = 1 M ‖ A i ‖ L 1 (5)</p><p>Obviously, the solution of Equation (4) is not the solution of Equation (6); that is to say, it does not consider the reconstruction error. As a result, their robustness has not been greatly improved. It still thinks that every image has the same contribution. The outliers or noises make the samples have sparse distribution, which also affects the robustness of the model. Secondly, it is very difficult to solve the objective function Equation (6). In order to solve these problems, a new robust 2DPCA model is proposed in the third part.</p><p>min W T W = I ∑ i = 1 M ‖ E i ‖ L 1 2 (6)</p></sec></sec><sec id="s3"><title>3. Fp-2DPCA</title><sec id="s3_1"><title>3.1. Objective Function</title><p>It can be seen from the above analysis that the square F norm exaggerates the role of some data (mainly noise) in solving the 2DPCA model. This reduces the robustness of 2DPCA to noise. Therefore, to overcome the limitations of the above methods, we should adopt an appropriate distance measure, which can reduce the influence of outliers in the objective function and characterize the geometric structure of the objective function. F norm and square f norms have the same position in characterizing data dispersion and geometric design in the normative sense. The main difference between them is that, compared with the square F norm, the f norm can make the influence difference of different data smaller. Therefore, if F-norm is selected as the distance measure in 2DPCA, it will have the following two advantages:</p><p>1) It can capture the geometry structure well and has rotation invariance.</p><p>2) It can reduce the role of outliers in solving the optimal projection direction.</p><p>3) It helps to enhance the part of some adjacent data points with different labels.</p><p>Since the relationship between variance and reconstruction error is nonlinear, the maximum variation does not guarantee the minimum reconstruction error. According to the above analysis, we propose a new dimension reduction method, namely Fp-2DPCA. Fp-2DPCA uses F-norm to represent the low dimensional representation and reconstruction errors and integrates them into the criterion function. Specifically, our goal is to find the projection direction, minimize the angle between the projection directions, and reconstruct each data’s error. The objective function of Fp-2DPCA is as follows .</p><p>min W T W = I k ∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ | F p         ( 0 &lt; p &lt; 2 ) (7)</p></sec><sec id="s3_2"><title>3.2. Algorithm</title><sec id="s3_2_1"><title>3.2.1. Unilateral Fp-2DPCA</title><p>Through the simple algebraic operation, we can get the following results:</p><p>∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ F p = ∑ i = 1 M ‖ E i ‖ F 2 ‖ E i ‖ F p − 2 ‖ A i W ‖ F p = ∑ i = 1 M ‖ E i ‖ F 2 ∗ d i = ∑ i = 1 M ‖ A i − A i W W T ‖ F 2 ∗ d i = ∑ i = 1 M t r ( A i T A i − W T A i T A i W ) ∗ d i = ∑ i = 1 M ‖ t r ( G ) − t r ( W T G W ) ‖ (8)</p><p>Among them,</p><p>G = ∑ i = 1 M t r ( A i T A i d i ) ,     d i = ‖ E i ‖ F p − 2 ‖ A i W ‖ F p = ‖ A i − A i W W T ‖ F p − 2 ‖ A i W ‖ F p (9)</p><p>According to Equation (8) and Equation (9), the objective function Equation (7) becomes:</p><p>t r ( G ) − t r ( W T G W ) (10)</p><p>Several theorems are introduced before solving the objective function Equation (10).</p><p>Lemma 1 Cauchy Schwarz inequality: for all sequences of real numbers a i and b i , we have</p><p>( ∑ i = 1 n a i 2 ) ( ∑ i = 1 n b i 2 ) ≥ ( ∑ i = 1 n a i b i ) 2 (11)</p><p>Equality holds if and only if a i = k b i for a non-zero constant k ∈ ℝ .</p><p>Theorem 1 For matrices P, Q of the same order as any two, we can get:</p><p>t r ( P T Q ) ≤ ‖ P ‖ F ‖ Q ‖ F (12)</p><p>If and only if P = l Q , the equal sign holds, and l is any real number.</p><p>Proof of Theorem 1:</p><p>According to the definition of matrix trace, we can get the following results</p><p>t r ( P T Q ) = ( v e c ( P ) ) T v e c ( Q ) (13)</p><p>According to Cauchy Schwarz inequality (Equation (11)), there is a</p><p>( v e c ( P ) ) T v e c ( Q ) ≤ ‖ v e c ( P ) ‖ 2 ‖ v e c ( Q ) ‖ 2 = ‖ v e c ( P ) ‖ F ‖ v e c ( Q ) ‖ F (14)</p><p>v e c ( ⋅ ) is the vectorization of the matrix; that is, let A m &#215; n = ( a 1 , a 2 , ⋅ ⋅ ⋅ , a n ) define the vector (Equation (15)) of m n &#215; 1 , which is the vector that arranges the matrix A in column vectors.</p><p>v e c ( A ) = ( a 1 a 2 ⋮ a n ) (15)</p><p>Therefore, according to Equation (13) and Equation (14), it can be obtained that:</p><p>t r ( P T Q ) ≤ ‖ P ‖ F ‖ Q ‖ F (16)</p><p>And if and only if P = l Q ( l is any real number), the equal sign holds.</p><p>Theorem 2 Let the SVD of H ∈ R m &#215; n be decomposed into H = U Σ V T , where U T U = V T V = I k , Σ ∈ R k &#215; k is a nonsingular diagonal matrix, and its diagonal element λ j ( j = 1 , ⋯ , k ) is the singular value of H, k = r a n k ( H ) . Then W = U V T is the solution of:</p><p>max W T W = I k t r ( W T H ) (17)</p><p>The proof of theorem 2:</p><p>According to the SVD decomposition of H, we can get:</p><p>t r ( W T H ) = t r ( W T U Σ V T ) = t r ( U Σ 1 / 2 Σ 1 / 2 V T W T ) (18)</p><p>According to theorem 1, we can get:</p><p>t r ( W T H ) ≤ ‖ U Σ 1 / 2 ‖ F ‖ Σ 1 / 2 V T W ‖ T F = ‖ Σ 1 / 2 ‖ F ‖ Σ 1 / 2 ‖ F (19)</p><p>The equation holds if and only if:</p><p>Σ 1 / 2 U T = Σ 1 / 2 V T W T (20)</p><p>holds, so the solution is:</p><p>W = U V T (21)</p><p>We consider how to solve the objective function Equation (10), where there are unknown variables d i related to V. Therefore, it has no closed-form solution. We can develop an algorithm to alternately update V (fixed d i ) and d i (fixed V). Specifically, we have two steps to solve the objective function Equation (10). First, update V while revising d i . In this case, the objective function (10) is constant. Therefore, the objective function Equation (10) becomes:</p><p>max W T W = I k t r ( W T H ) (22)</p><p>where H = G W and G are the weighted covariance matrix of the image data.</p><p>Let SVD of H be decomposed into H = U Σ V T , where H = U Σ V T and Σ ∈ R k &#215; k are nonsingular diagonal matrices, and λ j ( j = 1 , ⋯ , k ) is the singular value of H. According to theorem 2, the optimal solution of the objective function Equation (22) is as follows:</p><p>W = U V T (23)</p><p>Secondly, d i is calculated with the updated V. Algorithm CC lists the pseudo-code to solve the objective function (10) namely Fp-2DPCA algorithm (<xref ref-type="table" rid="table1">Table 1</xref>).</p></sec><sec id="s3_2_2"><title>3.2.2. Bilateral Fp-2DPCA</title><p>As discussed in Section 3, compared with the traditional 2DPCA, angel-2DPCA is more robust to outliers. However, angel-2DPCA only reduces dimensions in the row direction of the image. In other words, angel-2DPCA learns the projection matrix through a set of training images, which only reflects the information between image rows and does not consider the information embedded in image columns. Therefore, it needs more dimensions to represent images, so it needs more storage space to store large-scale data sets. Inspired by reference [<xref ref-type="bibr" rid="scirp.107249-ref15">15</xref>], we use projection matrix R on the right and L on the left to overcome the shortcomings of angel-2DPCA.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Algorithm 1 Fp-2DPCA</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Algorithm 1 Fp-2DPCA</th></tr></thead><tr><td align="center" valign="middle" >Input: A i ∈ R m &#215; n ( i = 1 , ⋯ , N ) , k , ∑ i = 1 M A i = 0 , J ( W ( t ) ) = ∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ F p</td></tr><tr><td align="center" valign="middle" >Initialize: W ( t ) ∈ R m &#215; k , ( W t ) T W t = I k , t = 1 , δ = | J ( W ( t ) ) − J ( W ( t − 1 ) ) |</td></tr><tr><td align="center" valign="middle" >While: δ ≥ ε 1. Calculate d i ( t ) for each A i according to Equation (9), Calculate W : W = U V T according to the conclusion of Equation (23),</td></tr><tr><td align="center" valign="middle" >2. Calculate H ( t ) according to Equation (9) and Equation (23),</td></tr><tr><td align="center" valign="middle" >3. SVD decomposition of H ( t ) : H ( t ) = U Σ V T ,</td></tr><tr><td align="center" valign="middle" >4. Calculate W : W = U V T according to the conclusion of Equation (23),</td></tr><tr><td align="center" valign="middle" >5. Update δ ,</td></tr><tr><td align="center" valign="middle" >6. Update t : t = t + 1 .</td></tr><tr><td align="center" valign="middle" >Output: W t + 1 ∈ R n &#215; d</td></tr></tbody></table></table-wrap><p>Specifically, firstly, the dimension of training sample A i ∈ R m &#215; n ( i = 1 , 2 , ⋯ , N ) is reduced to get the right projection matrix R ∈ ℝ n &#215; r . The image A i is projected onto R to reach Y i = A i R ∈ ℝ m &#215; r , called the suitable feature matrix of A i . Then, we use Fp-2DPCA to reduce the training sample Y i T ∈ ℝ r &#215; m ( i = 1 , 2 , ⋯ , N ) dimension and map it to the feature matrix B i T = Y i T L with size r &#215; l . Through the above two processes, the training sample A i is projected to a smaller feature matrix B i :</p><p>B i = L T A i R ,   i = 1 , 2 , ⋯ , N (24)</p><p>We call R right projection matrix, L left the projection matrix, and the corresponding algorithm is called bilateral Fp-2DPCA. Because l &#215; r is much smaller than m &#215; n , bilateral Fp-2DPCA can use fewer dimensions to represent the input image. Experimental results show that, compared with 2DPCA, (2D) 2DPCA, and angle-2DPCA, bilateral Fp-2DPCA can achieve higher performance with fewer dimensions. Algorithm 2 (<xref ref-type="table" rid="table2">Table 2</xref>) gives the specific algorithm steps of bilateral Fp-2DPCA.</p></sec></sec><sec id="s3_3"><title>3.3. Theoretical Analysis</title><sec id="s3_3_1"><title>3.3.1. Convergence Analysis</title><p>Theorem 3 in the iteration of algorithm 1, we can get:</p><p>∑ i = 1 M ‖ A i W ( t + 1 ) ‖ F ≥ ∑ i = 1 M ‖ A i W ( t ) ‖ F (25)</p><p>Proof: in the t + 1 iteration, according to the fourth step of algorithm 1, the following inequality can be obtained:</p><p>∑ i = 1 M t r ( ( W ( t + 1 ) ) T A i T A i W ( t ) ) ‖ A i W ( t ) ‖ F ≥ ∑ i = 1 M t r ( ( W ( t ) ) T A i T A i W ( t ) ) ‖ A i W ( t ) ‖ F (26)</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Algorithm 2 Bilateral Fp-2DPCA</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Algorithm 2 Bilateral Fp-2DPCA</th></tr></thead><tr><td align="center" valign="middle" >Input: A i ∈ R m &#215; n ( i = 1 , ⋯ , N ) , ∑ i = 1 M A i = 0</td></tr><tr><td align="center" valign="middle" >1. Taking A i ( i = 1 , ⋯ , N ) as the input of algorithm 1, the right projection matrix R ∈ ℝ n &#215; r is obtained, and the characteristic matrix Y i = A i R of A i is calculated;</td></tr><tr><td align="center" valign="middle" >2. Taking Y i T ( i = 1 , ⋯ , N ) as the input of algorithm 1, the left projection matrix L ∈ ℝ m &#215; l is obtained, and the characteristic matrix B i T = Y i T L of Y i T is calculated;</td></tr><tr><td align="center" valign="middle" >Output: Output: output left projection matrix L ∈ ℝ m &#215; l , right projection matrix R ∈ ℝ n &#215; r , and characteristic matrix B i = L T A i R ∈ ℝ l &#215; r ,   i = 1 , 2 , ⋯ , N .</td></tr></tbody></table></table-wrap><p>Then, we get:</p><p>∑ i = 1 M t r ( ( W ( t + 1 ) ) T A i T A i W ( t ) ) ‖ A i W ( t ) ‖ F ≥ ∑ i = 1 M ‖ A i W ( t ) ‖ F (27)</p><p>For each i ( i = 1 , ⋯ , M ) , we can get:</p><p>t r ( ( W ( t + 1 ) ) T A i T A i W ( t ) ) = t r ( ( A i W ( t + 1 ) ) T A i W ( t ) ) = ( v e c ( A i W ( t + 1 ) ) ) T v e c ( A i W ( t ) ) (28)</p><p>According to Cauchy Schwarz inequality, we can get:</p><p>( v e c ( A i W ( t + 1 ) ) ) T v e c ( A i W ( t ) ) ≤ ‖ v e c ( A i W ( t + 1 ) ) ‖ 2 ‖ v e c ( A i W ( t ) ) ‖ 2 = ‖ A i W ( t + 1 ) ‖ F ‖ A i W ( t ) ‖ F (29)</p><p>According to Equation (28) and Equation (29), we can get:</p><p>∑ i = 1 M t r ( ( W ( t + 1 ) ) T A i T A i W ( t ) ) ‖ A i W ( t ) ‖ F ≤ ‖ A i W ( t + 1 ) ‖ F ‖ A i W ( t ) ‖ F ‖ A i W ( t ) ‖ F (30)</p><p>According to Equation (27) and Equation (30), we can get:</p><p>∑ i = 1 M ‖ A i W ( t + 1 ) ‖ F ≥ ∑ i = 1 M ‖ A i W ( t ) ‖ F (31)</p><p>Theorem 4 in the iteration of algorithm 1, we can get:</p><p>∑ i = 1 M ‖ A i − A i W ( t + 1 ) ( W ( t + 1 ) ) T ‖ F ≤ ∑ i = 1 M ‖ A i − A i W ( t ) ( W ( t ) ) T ‖ F (32)</p><p>Prove: after calculation, get:</p><p>∑ i = 1 M ‖ A i − A i W ( t + 1 ) ( W ( t + 1 ) ) T ‖ F 2 = ∑ i = 1 M t r ( A i T A i ) − t r ( ( W ( t + 1 ) ) T A i T A i W ( t + 1 ) ) = ∑ i = 1 M t r ( A i T A i ) − ‖ A i W ( t + 1 ) ‖ F (33)</p><p>According to theorem 1, there are:</p><p>∑ i = 1 M ‖ A i W ( t + 1 ) ‖ F ≥ ∑ i = 1 M ‖ A i W ( t ) ‖ F (34)</p><p>So, Equation (34) can get:</p><p>∑ i = 1 M ‖ A i − A i W ( t + 1 ) ( W ( t + 1 ) ) T ‖ F ≤ ∑ i = 1 M ‖ A i − A i W ( t ) ( W ( t ) ) T ‖ F (35)</p><p>Theorem 5 From Theorem 3 and theorem 4, we can get:</p><p>∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ F p | W = W ( t + 1 ) ≤ ∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ F p | W = W ( t ) (36)</p><p>Proof: By Theorem 3 and theorem 4, and 0 &lt; p &lt; 2 , there are</p><p>∑ i = 1 M ‖ A i W ( t + 1 ) ‖ F p ≥ ∑ i = 1 M ‖ A i W ( t ) ‖ F p (37)</p><p>and</p><p>∑ i = 1 M ‖ A i − A i W ( t + 1 ) ( W ( t + 1 ) ) T ‖ F p ≤ ∑ i = 1 M ‖ A i − A i W ( t ) ( W ( t ) ) T ‖ F p (38)</p><p>So, it’s easy to get:</p><p>∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ F p | W = W ( t + 1 ) ≤ ∑ i = 1 M ‖ E i ‖ F p ‖ A i W ‖ F p | W = W ( t ) (39)</p><p>According to the conclusion of Theorem 5, algorithm 1 continuously reduces the function value of an objective function Equation (7) in iteration, so W will continue to approach the optimal solution. Finally, algorithm 1 will converge to the optimal local resolution of the objective function Equation (7). Algorithm 2 is based on Algorithm 1, so algorithm 2 must link to the optimal local solution.</p></sec><sec id="s3_3_2"><title>3.3.2. Analysis of Rotation Invariance</title><p>In this part, we mainly show that Fp-2DPCA has good rotation invariance. Rotation invariance means that the low dimensional representation remains unchanged under the rotation transformation of the sample space.</p><p>Theorem 6 The solution of Fp-2DPCA is rotationally invariant.</p><p>Proof: given any orthogonal matrix Γ ( Γ T Γ = I ) , for each step of algorithm 1 to get the solution W, there is</p><p>‖ E i ‖ F p ‖ A i W ‖ F p = ‖ A i − A i W W T ‖ F p ‖ A i W ‖ F p = ‖ A i − Z i W T ‖ F p ‖ Z i ‖ F p = ‖ ( A i − Z i W T ) Γ T Γ ‖ F p ‖ Z i ‖ F p = ( ∑ j = 1 m ‖ ( A i ( j , : ) Γ T − Z i ( j , : ) W T Γ T ) Γ ‖ 2 2 ) p ‖ Z i ‖ F p = ( ∑ j = 1 m ‖ A i ( j , : ) Γ T − Z i ( j , : ) W T Γ T ‖ 2 2 ) p ‖ Z i ‖ F p (40)</p><p>= ( ∑ j = 1 m ‖ A ˜ i ( j , : ) − Z i ( j , : ) W ˜ T ‖ 2 2 ) p ‖ Z i ‖ F p = ‖ A ˜ i − Z i W ˜ T ‖ F p ‖ Z i ‖ F p</p><p>where W ˜ = Γ W , A ˜ i = A i Γ , so A ˜ i W ˜ = A i Γ T Γ W = A i W . Equation (40) shows that if W is the solution of the objective function, W ˜ is the solution of the objective function under the orthogonal matrix Γ transformation.</p><p>Besides, compared with the existing 2DPCA method based on L<sub>1</sub> norm, this method considers the reconstruction error directly and synthesizes the variance of low dimensional data in the criterion function. Also, it has strong robustness to outliers and is related to the covariance matrix of the image.</p></sec></sec></sec><sec id="s4"><title>4. Numerical Experiment</title><p>In this part, we use four most advanced algorithms, namely 2DPCA [<xref ref-type="bibr" rid="scirp.107249-ref2">2</xref>], 2DPCAL1 [<xref ref-type="bibr" rid="scirp.107249-ref10">10</xref>], angel-2DPCA [<xref ref-type="bibr" rid="scirp.107249-ref12">12</xref>] and (2D)<sup>2</sup>PCA [<xref ref-type="bibr" rid="scirp.107249-ref6">6</xref>] to compare unilateral Fp-2DPCA and bilateral Fp-2DPCA. Our experiment uses two famous face datasets, the ORL database [<xref ref-type="bibr" rid="scirp.107249-ref16">16</xref>], and the Extended Yale Face B database [<xref ref-type="bibr" rid="scirp.107249-ref17">17</xref>].</p><p>Because the feature matrices of different algorithms have different dimensions, we use the same feature size for all methods for a fair comparison. For example, if the column dimension of one-sided dimensionality reduction methods (2DPCA, 2DPCAL1, angel-2DPCA) is r. The row and column dimension reduction results of two-sided dimensionality reduction methods (2D) 2DPCA and Fp-2DPCA) are l ′ and r ′ respectively to make l ′ &#215; r ′ ≈ m &#215; r . For simplification, set l ′ = r ′ . For all algorithms, 1-Nearest neighbor classification (1-NN) is used for variety.</p><p>ORL face database consists of 400 frontal images collected from different lighting conditions, with ten shots per person. In this database, each print is adjusted to 112 &#215; 92 pixels. We randomly selected seven pictures for each person and put the noise in the range of 0 - 255 in the chosen images. The noise location is random, and the ratio of noise pixels to image pixels is 0.05 - 0.15. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows some photos of this database and corresponding pictures with increased noise. In our experiment, we randomly selected seven images for training, and the remaining three ideas were tested</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows the reconstructed images of 2DPCA, L1-2DPCA, (2D) 2PCA, angel-2DPCA, Fp-2DPCA (p = 1) and Fp-2DPCA (p = 0.5) from left to right. The reconstructed image of 2DPCA is still very blurred, L1-2DPCAis slightly better, and angel-2DPCA and Fp-2DPCA are significantly better than the previous methods.</p><p>If the dimension reduction is too low, the reconstructed image will be difficult to recognize, so we choose to reduce columns’ dimension to 30. For (2D) 2DPCA, the dimensions of rows and columns are reduced to 50 (50 &#215; 50 &lt; 112 &#215; 30). Our algorithm selects rows and columns to reduce to 30 (30 &#215; 30 &lt; 50 &#215; 50) to compare the effect. In <xref ref-type="table" rid="table3">Table 3</xref>, we list the average classification accuracy (Acc) and standard deviation (std) obtained by the algorithm on the original dataset</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Recognition accuracy</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Algorithm</th><th align="center" valign="middle" >dim</th><th align="center" valign="middle" >Acc &#177; std% (clean)</th><th align="center" valign="middle" >Acc &#177; std% (noised)</th><th align="center" valign="middle" >Diff%</th></tr></thead><tr><td align="center" valign="middle" >2DPCA</td><td align="center" valign="middle" >112 &#215; 30</td><td align="center" valign="middle" >66.66 &#177; 1.18</td><td align="center" valign="middle" >62.50 &#177; 1.25</td><td align="center" valign="middle" >4.16</td></tr><tr><td align="center" valign="middle" >2DPCA-L1</td><td align="center" valign="middle" >112 &#215; 30</td><td align="center" valign="middle" >67.50 &#177; 1.14</td><td align="center" valign="middle" >64.10 &#177; 1.52</td><td align="center" valign="middle" >3.40</td></tr><tr><td align="center" valign="middle" >（2D) 2PCA</td><td align="center" valign="middle" >50 &#215; 50</td><td align="center" valign="middle" >73.33 &#177; 1.09</td><td align="center" valign="middle" >70.19 &#177; 1.50</td><td align="center" valign="middle" >3.14</td></tr><tr><td align="center" valign="middle" >Angel-2DPCA</td><td align="center" valign="middle" >112 &#215; 30</td><td align="center" valign="middle" >75.83 &#177; 1.01</td><td align="center" valign="middle" >73.22 &#177; 1.29</td><td align="center" valign="middle" >2.61</td></tr><tr><td align="center" valign="middle" >B-Fp-2DPCA (p = 1)</td><td align="center" valign="middle" >30 &#215; 30</td><td align="center" valign="middle" >79.16 &#177; 1.12</td><td align="center" valign="middle" >77.45 &#177; 1.49</td><td align="center" valign="middle" >1.71</td></tr><tr><td align="center" valign="middle" >B-Fp-2DPCA (p = 0.5)</td><td align="center" valign="middle" >30 &#215; 30</td><td align="center" valign="middle" >81.66 &#177; 1.04</td><td align="center" valign="middle" >79.98 &#177; 1.35</td><td align="center" valign="middle" >1.68</td></tr></tbody></table></table-wrap><p>(clean) and noisy dataset (noisy). The last column shows the difference of precision means between the clean data set and noise data set.</p><p>In <xref ref-type="table" rid="table3">Table 3</xref>, the method based on angel-2DPCA is better than 2DPCA and 2DPCA-L1 in both clean data sets and noisy data sets. It may be due to the difference that angel-2DPCA is reduced from square F-norm to F-norm, robust to outliers. Besides, the last column’s values show that the performance of all algorithms is degraded by noise. However, the angle type algorithm has a small decrement. It again supports the robustness of the angle model. On the other hand, among all the comparison algorithms, Fp-2DPCA is the best. It has the highest accuracy and the smallest difference.</p></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, we propose a new 2DPCA model, which considers the reconstruction error and considers the maximum variance, and adopts the f norm, which has good robustness to outliers. We increase the parameter p to make the model have more choices. The experiment shows that the effect of P-value 0.5 is better. We also extend it to the bilateral projection model and propose the bilateral FP-2DPCA. The new Fp-2DPCA reduces the dimension of the original image matrix from both row and column. Experimental results on face data sets show that the proposed method can achieve higher performance with fewer measurements.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Kuang, H.J., Ye, W.Z. and Zhu, Z. (2021) Research on Face Recognition Algorithm Based on Robust 2DPCA. Advances in Pure Mathematics, 11, 149-161. https://doi.org/10.4236/apm.2021.112010</p></sec></body><back><ref-list><title>References</title><ref id="scirp.107249-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Georghiades, A.S., Belhumeur, P.N. and Kriegman, D.J. (2001) From Few to Many: Illumination Cone Models for Face Recognition under Variable Lighting and Pose. IEEE Transactions on Pattern Analysis and Machine Intelligence, 23, 643-660. https://doi.org/10.1109/34.927464</mixed-citation></ref><ref id="scirp.107249-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Samaria, F.S. and Harter, A.C. (1994) Parameterisation of a Stochastic Model for Human Face Identification. Proceedings of the Proceedings of 1994 IEEE Workshop on Applications of Computer Vision, Sarasota, 5-7 December 1994, 138-142. https://doi.org/10.1109/ACV.1994.341300</mixed-citation></ref><ref id="scirp.107249-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Xu, C.M., Jiang, H.B. and Yu, J.J. (2008) Robust Two-Dimensional Principal Component Analysis. Proceedings of the Chinese Control Conference, Kunming, 16-18 July 2008, 452-455. https://doi.org/10.1109/CHICC.2008.4605066</mixed-citation></ref><ref id="scirp.107249-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Min, L. and Song, L. (2012) Face Recognition Based on PCA and 2DPCA with Single Image Sample. Proceedings of the 2012 9th Web Information Systems and Applications Conference, Haikou, 16-18 November 2012, 111-114. https://doi.org/10.1109/WISA.2012.20</mixed-citation></ref><ref id="scirp.107249-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Wang, Y. and Li, Q. (2019) Robust 2DPCA with F-Norm Minimization. IEEE Access, 7, 68083-68090. https://doi.org/10.1109/ACCESS.2019.2918702</mixed-citation></ref><ref id="scirp.107249-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Gao, Q., Ma, L. and Liu, Y. (2018) Angle 2DPCA: A New Formulation for 2DPCA. IEEE Transactions on Systems, Man, and Cybernetics, 48, 1672-1678. https://doi.org/10.1109/TCYB.2017.2712740</mixed-citation></ref><ref id="scirp.107249-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ng, A.Y. (2004) Feature Selection, L1 vs. L2 Regularization, and Rotational Invariance. Proceedings of the 21st International Conference on Machine Learning, Banff, June 2004, 78. https://doi.org/10.1145/1015330.1015435</mixed-citation></ref><ref id="scirp.107249-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Li, X., Pang, Y. and Yuan, Y. (2010) L1-Norm-Based 2DPCA. IEEE Transactions on Systems, Man, and Cybernetics, Part B, 1170-1175. https://doi.org/10.1109/TSMCB.2009.2035629</mixed-citation></ref><ref id="scirp.107249-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Kwak, N. (2008) Principal Component Analysis Based on L1-Norm Maximization. IEEE Transactions on Pattern Analysis and Machine Intelligence, 30, 1672-1680. https://doi.org/10.1109/TPAMI.2008.114</mixed-citation></ref><ref id="scirp.107249-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Kim, Y.G., Song, Y.J., Chang, U.D., Kim, D.-W., Yun, T.-S. and Ahn, J.-H. (2008) Face Recognition Using a Fusion Method Based on Bidirectional 2DPCA. Applied Mathematics and Computation, 205, 601-607. https://doi.org/10.1016/j.amc.2008.05.032</mixed-citation></ref><ref id="scirp.107249-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Xu A., Jin X. and Jiang Y (2006) Complete Two-Dimensional PCA for Face Recognition. 18th International Conference on Pattern Recognition, Hong Kong, 20-24 August 2006, 481-484. https://doi.org/10.1109/ICPR.2006.395</mixed-citation></ref><ref id="scirp.107249-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, D. and Zhou, Z.H. (2005) (2D)&lt;sup&gt;2&lt;/sup&gt;PCA: Two-Directional Two-Dimensional PCA for Efficient Face Representation and Recognition. Neurocomputing, 69, 224-231. https://doi.org/10.1016/j.neucom.2005.06.004</mixed-citation></ref><ref id="scirp.107249-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Kong H., Li, X. and Wang, L. (2005) Generalized 2D Principal Component Analysis. 2005 IEEE International Joint Conference on Neural Networks, Montreal, 31 July-4 August 2005, 108-112. https://doi.org/10.1109/IJCNN.2005.1555814</mixed-citation></ref><ref id="scirp.107249-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Wang, D. and Lu, H. (2012) Object Tracking via 2DPCA and &amp;#8467;&lt;sub&gt;1&lt;/sub&gt;-Regularization. IEEE Signal Processing Letters, 19, 711-714. https://doi.org/10.1109/LSP.2012.2215320</mixed-citation></ref><ref id="scirp.107249-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Jeong, Y.W. and Kim, H.S. (2009) New Speaker Adaptation Method Using 2-D PCA. IEEE Signal Processing Letters, 17, 193-196. https://doi.org/10.1109/LSP.2009.2036696</mixed-citation></ref><ref id="scirp.107249-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Yang, J., Zhang, D., Frangi, A.F. and Yang, J.-Y. (2004) Two-Dimensional PCA: A New Approach to Appearance-Based Face Representation and Recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 26, 131-137. https://doi.org/10.1109/TPAMI.2004.1261097</mixed-citation></ref><ref id="scirp.107249-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Wold, S., Esbensen, K.H. and Geladi, P. (1987) Principal Component Analysis. Chemometrics and Intelligent Laboratory Systems, 2, 37-52. https://doi.org/10.1016/0169-7439(87)80084-9</mixed-citation></ref></ref-list></back></article>