<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>On Mean-Optimal Robust Linear Discriminant Analysis</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>11/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10402273</idno>
					<idno type="doi">10.1109/ICDM54844.2022.00129</idno>
					<title level='j'>2022 IEEE International Conference on Data Mining (ICDM)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Xiangyu Li</author><author>Hua Wang</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Linear discriminant analysis (LDA) is widely used for dimensionality reduction under supervised learning settings. Traditional LDA objective aims to minimize the ratio of squared Euclidean distances that may not perform optimally on noisy data sets. Multiple robust LDA objectives have been proposed to address this problem, but their implementations have two major limitations. One is that their mean calculations use the squared l2-norm distance to center the data, which is not valid when the objective does not use the Euclidean distance. The second problem is that there is no generalized optimization algorithm to solve different robust LDA objectives. In addition, most existing algorithms can only guarantee the solution to be locally optimal, rather than globally optimal. In this paper, we review multiple robust loss functions and propose a new and generalized robust objective for LDA. Besides, to better remove the mean value within data, our objective uses an optimal way to center the data through learning. As one important algorithmic contribution, we derive an efficient iterative algorithm to optimize the resulting non-smooth and non-convex objective function. We theoretically prove that our solution algorithm guarantees that both the objective and the solution sequences converge to globally optimal solutions at a sub-linear convergence rate. The experimental results demonstrate the effectiveness of our new method, achieving significant improvements compared to the other competing methods.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Dimensionality reduction plays an important role in pattern classification and has been successfully applied to many realworld applications, such as social media, business, computer vision, bioinformatics, etc. <ref type="bibr">[1]</ref>. Among the most widely used supervised dimensionality reduction methods is the Linear Discriminant Analysis (LDA) that aims to find the optimal projection by simultaneously maximizing the between-class variance and minimizing the within-class variance in the projected subspace. The algorithm of solving the traditional LDA objective is to optimize a trace ratio problem that can be transformed into a tractable ratio trace form <ref type="bibr">[2]</ref>. This transformation allows us to easily find a closed-form solution by using the generalized eigenvalue decomposition method <ref type="bibr">[3]</ref>. Unfortunately, this solution often deviates from the original objectives when outlier samples are present, which can result in uncertainties within subsequent classification procedures <ref type="bibr">[2]</ref>. Another problem with this method is that inverting a singular within-class variance matrix can cause the LDA formulation to be ill-conditioned, and in fact this is common when the training data are sampled from highdimensional space or there exist strong-correlated features. The efforts to overcome these issues by optimizing the ratio trace transformation cannot thoroughly solve this singularity problem. Motivated to tackle the original trace ratio problem, many existing works <ref type="bibr">[4]</ref>- <ref type="bibr">[6]</ref> studied how to directly optimize the trace-ratio objective function.</p><p>One major limitation of the traditional LDA is its dependency upon the squared 2 -norm ( <ref type="formula">2</ref>2 ) distance that is highly vulnerable to the presence of outliers or noisy data. This is because the least square criterion can remarkably enlarge the effect of noise on the total loss. Unfortunately, noise appears more or less everywhere in real-world applications. Therefore, it is critical to improve the robustness of the model when random noise or even adversarial attack are present in the data. In contrast to regular noises that are usually small in magnitude and sometimes even invisible to human eyes, adversarial attacks are intentionally constructed by injecting small perturbations into the original data such that the model can be misled to output discouraged results <ref type="bibr">[7]</ref>. A more recently used adversarial attacks for modeling real-world data are the adversarial patch attack that couples the original data with a human-manipulated patch <ref type="bibr">[8]</ref>. The effectiveness of such attacks can be explained in terms of the black-box principle where the attacker knows nothing about the configurations of the studied model.</p><p>To enhance the robustness against noise, many LDA objectives changed to use other distance functions rather than the 2  2 -norm distance. Wang et al. <ref type="bibr">[9]</ref> proposed to measure the two variance matrices using a rotational invariant 1norm. However, the runtime of this method is as high as the intractable memory cost of storing the representations because the greedy learning strategy proceeds one projection vector at a time. Tao et al. <ref type="bibr">[10]</ref> proposed to select the discriminative patterns by using a 2,1 -norm regularization that is a row-sparsity constraint on the transformation matrix. Since this method fails to uncover the most important features in the given tasks and the learned representations are largely governed by the selected number of dimensions. Wen et al. <ref type="bibr">[11]</ref> introduced an orthogonal matrix to connect the original features and transformed features, in which the main information of the original data can persevere in the discriminant subspace. However, their optimization methods easily fall into locally optimal solutions. Zheng et al. <ref type="bibr">[12]</ref> tried to build a 1norm discriminant analysis (L1-LDA) using Bayes error bound optimization, but the implementation of the Bayes error bound is not easy as it requires each class to contain the same number of samples.</p><p>Recently, there are also several efforts that focus on how to develop robust lost functions <ref type="bibr">[13]</ref>- <ref type="bibr">[15]</ref>. Although these methods are able to improve the robustness against noisy data, their implementations are usually limited to two notorious problems. One is that some optimization algorithms just simply guarantee the decrease of the objective value, but not the algorithm convergence by nature. Another problem is that the derived solutions using their methods can easily get stuck in local minima rather than landing exactly on the global minima. Moreover, these loss functions were developed with their particular properties, each of which has its own independent variables to adjust the robustness. Hence, in this paper, we aim to provide a novel and robust objective for LDA that has better generalization with a shared tractable and efficient optimization algorithm.</p><p>We also noticed that most existing robust LDA objectives do not tackle the mean calculation in a correct way. In many cases, the mean of the data is not zero, and using 2 2 -based distance to calculate the mean value is incorrect when the objective depends on other norm based distance <ref type="bibr">[16]</ref>. In this paper, we thus do not only propose a novel generative LDA model that integrates a very broad family of robust loss functions, but also embed the mean calculation into the objective function that can remove the optimal mean automatically during learning time. Since existing optimization algorithms are not able to well handle our generative objective with the non-smooth and non-convex property, as one important algorithmic contribution, we further derive an efficient solution algorithm that can guarantee both the objective and sequence convergences. Through our mathematical analysis, our proposed algorithm is proved to find a globally optimal solution at a sub-linear rate. In our extensive experiments, our proposed method outperforms several competitive dimensionality reduction approaches and has a great advantage of handling various noisy date or adversarial attacks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. FORMULATION AND ALGORITHM</head><p>Given the training dataset of X &#8712; R d&#215;n , we can represent it using a few sub-design matrices X = [X 1 , ..., X c ],</p><p>where</p><p>) corresponds to a collection of data points belonging to the ith class. The traditional binary-class LDA method assumes that, given data points X i = [x i 1 , ..., x i ni ] in the i-th class and data points X j = [x j 1 , ..., x j nj ] in the j-th class, both multivariate probability densities are multivariate Gaussian distributions with arbitrary mean vectors &#956; and a covariance matrix &#931;, that is:</p><p>, and</p><p>, where &#956; i is the mean value of data points in class i, and &#956; is the mean value of the whole data points. Due to the homogeneity assumption that &#931; i = &#931; j = &#931; xx , the ratio of the two densities can be written as:</p><p>.</p><p>(</p><p>Since the logarithms is a monotonically increasing function, Eq. ( <ref type="formula">1</ref>) follows that:</p><p>where &#956; = &#956;i+&#956;j 2</p><p>. Also, assume that given a randomly selected data point x belonging to the i-th class, we have the prior probability:P (x &#8712; X i ) = &#960; i . Using the Baye's theorem, we have the logarithms of the ratio of the posterior probabilities:</p><p>where</p><p>). Since the function L(x) is a linear function of x, the classes i and j can be separated from the linear combination, w T X, of the data matrix X. In other words, the objective of binary-class Linear discriminant analysis (LDA) is to find a projection w that can maximize the squared distance of the two class means, w &#8733; &#931; -1 xx (&#956; i&#956; j ), comparing to the within-class variation of that distance. From this point of view, in multiclass LDA, we define the between-class scatter matrix as</p><p>, where n i is the total number of data points in class i, &#956; i is the mean value of data points in class i, and &#956; is the mean value of the whole data points. The objective of multiclass Linear Discriminant Analysis is to find a transformation matrix W &#8712; R d&#215;m that can minimize the squared distance of data points within the same class and maximize the squared distance of data points between different classes. We can thus represent the objective function of multiclass LDA as:</p><p>(4) Rather than measuring the between-class scatter matrix S w , we also need to measure the total scatter matrix S t = n i=1 (x i&#956;)(x i&#956;) T , given the fact that S t = S w + S b . The objective function in Eq. ( <ref type="formula">4</ref>) can be rewritten as:</p><p>However, this objective is challenging to optimize due to the fact that the numerator is a minimization problem while the denominator is a problem to maximize variance in the projected space, max</p><p>A smart way of solving this challenge is to convert the maximization problem into a minimization problem by using the reconstruction errors <ref type="bibr">[6]</ref>, <ref type="bibr">[17]</ref>. We can therefore change it into:</p><p>The 2 2 -norm used in this objective is known as the Euclidean norm. In many contexts, the 2  2 is undesirable because of the great sensitivity to noisy data or outliers <ref type="bibr">[18]</ref>. In addition, as we discussed in the linear model L(x) in Eq. ( <ref type="formula">3</ref>), this squared error is motivated by the data with a Gaussian prior. However, <ref type="bibr">[19]</ref> proposed that if the linear model changes to build upon a Laplace prior, this method can provide a more robust algorithm and produce lower error rates than previous techniques with a Gaussian prior. With this recognition, it is easy to see that the problem in Eq. ( <ref type="formula">6</ref>) with a Laplace prior distribution reduces to the 1 -norm optimization problem. We also note that the fragile 2  2 -norm distance can be replaced with multiple robust loss functions (for example, Nie adaptive loss function <ref type="bibr">[13]</ref>, Log-cosh loss function, Huber loss function <ref type="bibr">[20]</ref>, Cauchy loss function or Lorentzian function <ref type="bibr">[21]</ref>, or Barron adaptive loss function <ref type="bibr">[14]</ref>, etc., as shown in Table <ref type="table">I</ref>, we propose to combine the LDA objective with such robust loss functions. In the most practical scenarios, optimization algorithms used for solving such robust loss functions confront several intractable challenges as discussed in the introduction section. We thus aim to present a generalized LDA formulation that consists of different loss functions, and meanwhile, this objective can be solved using shared and tractable optimization algorithm. From this point of view, we define a generative loss function L(&#8226;) that can be replaced by a family of loss functions like 2 , 1 , Huber, etc, as listed in out Table <ref type="table">1</ref>, all of which is required to fulfill an important property -Lipschitz continuous gradient. Following intuitions above, Eq. ( <ref type="formula">6</ref>) can be changed into:</p><p>Likewise, the numerator in Eq. ( <ref type="formula">5</ref>) can be changed into:</p><p>We can now view Eq. ( <ref type="formula">7</ref>) as a constrained condition to Eq. <ref type="bibr">(8)</ref>. Specifically, if L = I, this constraint changes back to the Euclidean norm. If L = 0, all data points in this constraint collapse into a single point, which is useless in realworld scenarios. To avoid this collapse problem, we change the formulation to an inequality constraint:</p><p>where c is a positive constant. To obtain a more convenient but equivalent problem, we observe that taking any positive values of c just results in the L being replaced by c 2 L, meaning that the inequality constraint in Eq. ( <ref type="formula">9</ref>) can be simplified into an equality constraint <ref type="bibr">[22]</ref>. We can now write our optimization problem as:</p><p>This constrained minimization problem can be solved by constructing a Lagrange function, which is given by:</p><p>This leads to the optimization problem as below:</p><p>where the new variable &#955; is a multiplier for the constraint.</p><p>It is worth noting that the terms &#956; and &#956; i are often obtained by &#956; i = ni j=1 x i j and &#956; = n i=1 x i . However, the intuition behind this calculation depends on the Euclidean distance, and, as a result, can be invalid when the loss function is built upon some robust norm based distance, such as 1 -norm or 2,1norm, according to <ref type="bibr">[16]</ref>. This is because that the mean of a set of input data depends on the definition of distance. Different distance metrics/loss functions lead to different mean. Also, using different loss functions is equivalent to use to a different distance. At this point, the mean in our method is a variable, but not a fixed value like the traditional one which is defined for the 2 -norm distance, since our objective is designed for representing a family of different robust loss functions. We thus propose a novel generative LDA objective function that can automatically remove the optimal mean from the data over the iterations.</p><p>Learning Eq. ( <ref type="formula">12</ref>) can be difficult in practice as the objective is non-convex and non-smooth, which cannot admit closed form solutions. Rather than minimizing L with respect to the entire parameters simultaneously at each time step, we can think of minimizing L alternatively with respect to a single parameter at a time. For example, if we minimize L with respect to the parameter W , then minimize it with respect to &#956; and so on, repeatedly cycling through all parameters, we are guaranteed to obtain an optimal minimum. This practice is called as Alternating Minimization method (AM). As a result, when applying the AM to the objective in Eq. ( <ref type="formula">12</ref>), we obtain the solution update rule as:</p><p>where k is the time step index, and W, M i , M, &#923; are the sequences of associated variables.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>TABLE I: Types of loss functions</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Loss function</head><p>Formula Gradient</p><p>Huber loss</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Cauchy loss</head><p>L(y, &#375;) = log ( y-&#375; c 0</p><p>Log-cosh loss L(y, &#375;) = log cosh(y -&#375;)) &#8711;L = tanh(y -&#375;) = e 2(y-&#375;) -1 e 2(y-&#375;) +1</p><p>Nie adaptive loss L(y, &#375;) =</p><p>otherwise.</p><p>The matrix factorization in Eq. ( <ref type="formula">13</ref>) is still a non-convex problem due to the constraint on each sequence set. An efficient way that such a constraint can be used in the service of regularizing the optimization function is by adding a proximal regularization term to the update. This method has been used primarily in the context of nonconvex and nonsmooth problems <ref type="bibr">[23]</ref>- <ref type="bibr">[25]</ref>. Using the proximal terms introduced in the alternating linearized minimisation, we denote our regularized optimization problems as:</p><p>where &#8711;L(W k ) means the gradient of Eq. ( <ref type="formula">11</ref>) at the point of W (k) , and &lt; &#8711;L(W (k) ), W -W (k) &gt; means the dot product between the gradient &#8711;L(W (k) ) and the offset (W -W (k) ).</p><p>Another important advantage of this method of adding the proximal term to optimization problem is that the regularization terms can avoid the updated solution being changed to a value that differs significantly from the value of previous solutions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Algorithm</head><p>We now discuss the solution algorithm in more details, with emphasis on its application to a variety of loss functions defined in the generative loss function. Table <ref type="table">I</ref> shows a set of loss functions that can be incorporated into the generative loss function, including, but not limited to the 2 2 -norm, Huber loss function <ref type="bibr">[20]</ref>, Nie adaptive loss function <ref type="bibr">[13]</ref>, Barron adaptive loss function <ref type="bibr">[14]</ref>, etc. Many extensions to this generative loss function are possible, as long as they remain the Lipschitz continuous gradient. To give a sense of how to update the solution given in Eq. ( <ref type="formula">14</ref>), we need to define two notations by simplifying</p><p>The gradient of A i and B with respect to a variable is written as grad(A i ) and grad(B), each of which is derived using the element-wise product. For example, suppose we want to train our objective that incorporates Barron adaptive loss function <ref type="bibr">[14]</ref> with the use of &#955; = 0, the general gradient listed in Table <ref type="table">I</ref> (defined as grad(Y ) in this case) can be written as grad</p><p>, where is the Hadamard division, &#8226; is the Hadamard product.</p><p>Step 1: Updating W (k+1)</p><p>where</p><p>We can easily obtain this solution by finding the nearest orthogonal matrix to the given matrix M (k) , known as the orthogonal Procrustes problem <ref type="bibr">[26]</ref>,</p><p>where P 1 and P 2 are from the singular value decomposition</p><p>where</p><p>. Setting its derivative equal to 0 we have the solution:</p><p>Step 3: Updating &#956; (k+1)</p><p>where</p><p>Setting its derivative equal to 0 we have the solution:</p><p>where</p><p>The solution can be obtained by setting its derivative equal to 0:</p><p>Algorithm 1: Proximal Alternating Linearized Minimization The solution algorithm to solve the generative LDA objective in Eq. ( <ref type="formula">10</ref>) by using the proximal alternating linearized minimisation is summarized in Algorithm 1. It is worth noting that our new solution algorithm guarantees that both the objective and the solution sequences converge to the globally optimal solution at a sub-linear convergence rate. Due to space limitation, the proof of the convergence of Algorithm 1 will be provided in the extended journal version of this paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. EXPERIMENT</head><p>We evaluated the performance our model on several real data benchmarks including COIL20, FERET, USPS, MNIST, and Olivetti. <ref type="bibr">[27]</ref>- <ref type="bibr">[29]</ref>. As our model aims to improve the model robustness against noise, we were motivated to design a few experiments with noisy data, in which block disturbance or Gaussian noise was added into the input data. Several state-of-the-art methods were also implemented for comparison, involving RSLDA <ref type="bibr">[11]</ref>, 2,1 -LDA <ref type="bibr">[30]</ref>, GLDA <ref type="bibr">[31]</ref>, LDA, stacked Restricted Boltzmann machine (RBM) <ref type="bibr">[32]</ref>, and Stacked AutoEncoder (SAE) network <ref type="bibr">[33]</ref>.</p><p>Datasets descriptions. The COIL20 dataset contains 1440 images of 20 subjects, in which each subject has 72 images taken at pose intervals of 5 angle degree. The size of each image is 128 &#215; 128. The FERET dataset contains more than 14, 000 facial images of 1199 individuals. Since the main purpose of our experiment is to test the object recognition against noise attacks, we randomly selected a subset of the FERET dataset for our experiment. This gives rise to 1400 images of 200 individuals, each of which has 7 face images. The size of the image was converted to 60 &#215; 60 pixels. The USPS image dataset is commonly used for handwritten text recognition research. This dataset contains a total of 9, 298 samples and each sample has 16 &#215; 16 greyscale pixels. The MNIST dataset is another large database of handwritten digits that contains 70, 000 samples. Each greyscale image is 28&#215;28, representing the digits 0 -9. The Olivetti (or AT&amp;T) dataset consists of 400 different images of 40 distinct individuals. Each individual has 10 different images taken at different conditions, and each image was resized to 64 &#215; 64 pixels.</p><p>Experimental results and analysis. We compared our model against seven other methods involving RSLDA <ref type="bibr">[11]</ref>,</p><p>2,1 -LDA <ref type="bibr">[30]</ref>, GLDA <ref type="bibr">[31]</ref>, LDA, stacked Restricted Boltzmann machine (RBM) <ref type="bibr">[32]</ref>, and Stacked AutoEncoder (SAE) network <ref type="bibr">[33]</ref>. In this experiment, we demonstrate the robustness of our model on different noisy data sets. The loss function we used in our model is Nie and Barron adaptive loss function, respectively. Our training procedures were implemented using the stratified 6-fold cross-validation that partitions data into k non-overlapping folds to fit the train/test set by preserving the percentages of samples for each class. We repeated the stratified 6-fold cross-validation six times and then reported the mean performance across all folds and all repeats. See Table <ref type="table">II</ref> for a comparison of the performance of our method and seven other models on noisy datasets. Note that the noisy data used in the our tables were formed by adding Gaussian noise.In these cases, the Gaussian noise was randomly distributed with the variance of 0.05. The dimensionality of the above data was reduced to a fixed level that is 19, 25, 9, 9, and 25 for COIL20, FERET, USPS, MNIST, and Olivetti datasets, respectively. The table report the average classification accuracy, precision, and recall scores over 50 runs with their standard deviations. We can see that our model clearly outperforms other competitive methods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. CONCLUSION</head><p>We propose a generative LDA learning method in which multiple robust loss functions can be interchangeable. Also, to solve the singularity problem in a natural way, our objective depends on the trace-ratio formulation that can avoid the inversion of the within-class variance matrix. In addition, our objective automatically center the data by quantifying the optimal mean value during the learning process. We further introduce an effective algorithm to solve the resulting nonconvex and non-smooth problem. Through our mathematical analysis, we conclude that our optimization algorithm can find globally optimal solutions with guaranteed convergences of both the objective value and the solution sequence, and the converging rate is as fast as sub-linearity. The experimental results on several real-world datasets shows that our model consistently outperformed its state of the art counterparts. </p></div></body>
		</text>
</TEI>
