L1-norm principal component analysis explained
L1-norm principal component analysis (L1-PCA) is a general method for multivariate data analysis.[1] L1-PCA is often preferred over standard L2-norm principal component analysis (PCA) when the analyzed data may contain outliers (faulty values or corruptions).[2] [3] [4]
Both L1-PCA and standard PCA seek a collection of orthogonal directions (principal components) that define a subspace wherein data representation is maximized according to the selected criterion.[5] [6] [7] Standard PCA quantifies data representation as the aggregate of the L2-norm of the data point projections into the subspace, or equivalently the aggregate Euclidean distance of the original points from their subspace-projected representations.L1-PCA uses instead the aggregate of the L1-norm of the data point projections into the subspace.[8] In PCA and L1-PCA, the number of principal components (PCs) is lower than the rank of the analyzed matrix, which coincides with the dimensionality of the space defined by the original data points.Therefore, PCA or L1-PCA are commonly employed for dimensionality reduction for the purpose of data denoising or compression.Among the advantages of standard PCA that contributed to its high popularity are low-cost computational implementation by means of singular-value decomposition (SVD)[9] and statistical optimality when the data set is generated by a true multivariate normal data source.
However, in modern big data sets, data often include corrupted, faulty points, commonly referred to as outliers.[10] Standard PCA is known to be sensitive to outliers, even when they appear as a small fraction of the processed data.[11] The reason is that the L2-norm formulation of L2-PCA places squared emphasis on the magnitude of each coordinate of each data point, ultimately overemphasizing peripheral points, such as outliers. On the other hand, following an L1-norm formulation, L1-PCA places linear emphasis on the coordinates of each data point, effectively restraining outliers.[12]
Formulation
consisting of
-dimensional data points. Define
. For integer
such that
, L1-PCA is formulated as:
For
, simplifies to finding the L1-norm principal component (L1-PC) of
by
returns the sum of the absolute entries of its argument and L2-norm
returns the sum of the squared entries of its argument. If one substitutes
in by the Frobenius/L2-norm
, then the problem becomes standard PCA and it is solved by the matrix
that contains the
dominant singular vectors of
(i.e., the singular vectors that correspond to the
highest
singular values).
The maximization metric in can be expanded as
Solution
For any matrix
with
, define
as the nearest (in the L2-norm sense) matrix to
that has orthonormal columns. That is, defineProcrustes Theorem
[13] [14] states that if
has SVD
, then
.
Markopoulos, Karystinos, and Pados showed that, if
is the exact solution to the binary nuclear-norm maximization (BNM) problem then is the exact solution to L1-PCA in . The
nuclear-norm
in returns the summation of the singular values of its matrix argument and can be calculated by means of standard SVD. Moreover, it holds that, given the solution to L1-PCA,
, the solution to BNM can be obtained as where
returns the
-sign matrix of its matrix argument (with no loss of generality, we can consider
). In addition, it follows that
. BNM in is a
combinatorial problem over antipodal binary variables. Therefore, its exact solution can be found through exhaustive evaluation of all
elements of its feasibility set, with
asymptotic cost
. Therefore, L1-PCA can also be solved, through BNM, with cost
(exponential in the product of the number of data points with the number of the sought-after components). It turns out that L1-PCA can be solved optimally (exactly) with polynomial complexity in
for fixed data dimension
,
.
For the special case of
(single L1-PC of
), BNM takes the binary-quadratic-maximization (BQM) form The transition from to for
holds true, since the unique singular value of
is equal to
\|Xb\|2=\sqrt{b\topX\topXb}
, for every
. Then, if
is the solution to BQM in, it holds that is the exact L1-PC of
, as defined in . In addition, it holds that
and
.
Algorithms
Exact solution of exponential complexity
As shown above, the exact solution to L1-PCA can be obtained by the following two-step process: 1. Solve the problem in to obtain
. 2. Apply SVD on
to obtain
.
BNM in can be solved by exhaustive search over the domain of
with cost
. Exact solution of polynomial complexity
Also, L1-PCA can be solved optimally with cost
, when
is constant with respect to
(always true for finite data dimension
).
[15] Approximate efficient solvers
In 2008, Kwak proposed an iterative algorithm for the approximate solution of L1-PCA for
. This iterative method was later generalized for
components.
[16] Another approximate efficient solver was proposed by McCoy and Tropp
[17] by means of semi-definite programming (SDP). Most recently, L1-PCA (and BNM in) were solved efficiently by means of bit-flipping iterations (L1-BF algorithm).
L1-BF algorithm
1 function L1BF(
,
): 2 Initialize
and
lL\leftarrow\{1,2,\ldots,NK\}
3 Set
and
\omega\leftarrow\|XB(0)\|*
4 Until termination (or
iterations) 5
,
6 For
7
,
8
// flip bit 9
// calculated by SVD or faster (see) 10 if
11
,
12
13 end 14 if
// no bit was flipped 15 if
16 terminate 17 else 18
lL\leftarrow\{1,2,\ldots,NK\}
The computational cost of L1-BF is
lO(NDmin\{N,D\}+N2K2(K2+r))
.
[8] Complex data
L1-PCA has also been generalized to process complex data. For complex L1-PCA, two efficient algorithms were proposed in 2018.[18]
Tensor data
L1-PCA has also been extended for the analysis of tensor data, in the form of L1-Tucker, the L1-norm robust analogous of standard Tucker decomposition.[19] Two algorithms for the solution of L1-Tucker are L1-HOSVD and L1-HOOI.[19] [20] [21]
Code
MATLAB code for L1-PCA is available at MathWorks.[22]
Notes and References
- Markopoulos. Panos P.. Karystinos. George N.. Pados. Dimitris A.. Optimal Algorithms for L1-subspace Signal Processing. IEEE Transactions on Signal Processing. October 2014. 62. 19. 5046–5058. 10.1109/TSP.2014.2338077. 1405.6785. 2014ITSP...62.5046M. 1494171.
- Barrodale. I.. L1 Approximation and the Analysis of Data. Applied Statistics. 1968. 17. 1. 51–57. 10.2307/2985267. 2985267.
- Book: Barnett. Vic. Lewis. Toby. Outliers in statistical data. 1994. Wiley. Chichester [u.a.]. 978-0471930945. 3..
- Book: Kanade. T.. Ke. Qifa. 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05) . Robust L₁ Norm Factorization in the Presence of Outliers and Missing Data by Alternative Convex Programming . 1. 739–746. June 2005. 10.1109/CVPR.2005.309. IEEE. 978-0-7695-2372-9. 10.1.1.63.4605. 17144854.
- Book: Jolliffe. I.T.. Principal component analysis. 2004. Springer. New York. 978-0387954424. 2nd. registration.
- Book: Bishop. Christopher M.. Pattern recognition and machine learning. 2007. Springer. New York. 978-0-387-31073-2. Corr. printing..
- Pearson. Karl. On Lines and Planes of Closest Fit to Systems of Points in Space. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science. 8 June 2010. 2. 11. 559–572. 10.1080/14786440109462720. 125037489 .
- Markopoulos. Panos P.. Kundu. Sandipan. Chamadia. Shubham. Pados. Dimitris A.. Efficient L1-Norm Principal-Component Analysis via Bit Flipping. IEEE Transactions on Signal Processing. 15 August 2017. 65. 16. 4252–4264. 10.1109/TSP.2017.2708023. 1610.01959. 2017ITSP...65.4252M. 7931130.
- Golub. Gene H.. Some Modified Matrix Eigenvalue Problems. SIAM Review. April 1973. 15. 2. 318–334. 10.1137/1015032. 10.1.1.454.9868.
- Book: Barnett. Vic. Lewis. Toby. Outliers in statistical data. 1994. Wiley. Chichester [u.a.]. 978-0471930945. 3..
- Candès. Emmanuel J.. Li. Xiaodong. Ma. Yi. Wright. John. Robust principal component analysis?. Journal of the ACM. 1 May 2011. 58. 3. 1–37. 10.1145/1970392.1970395. 0912.3599. 7128002.
- Kwak. N.. Principal Component Analysis Based on L1-Norm Maximization. IEEE Transactions on Pattern Analysis and Machine Intelligence. September 2008. 30. 9. 1672–1680. 10.1109/TPAMI.2008.114. 18617723. 10.1.1.333.1176. 11882870.
- Eldén. Lars. Park. Haesun. A Procrustes problem on the Stiefel manifold. Numerische Mathematik. 1 June 1999. 82. 4. 599–619. 10.1007/s002110050432. 10.1.1.54.3580. 206895591.
- Schönemann. Peter H.. A generalized solution of the orthogonal procrustes problem. Psychometrika. March 1966. 31. 1. 1–10. 10.1007/BF02289451. 10338.dmlcz/103138. 121676935. free.
- Book: Markopoulos. PP. Kundu. S. Chamadia. S. Tsagkarakis. N. Pados. DA. Advances in Principal Component Analysis . Outlier-Resistant Data Processing with L1-Norm Principal Component Analysis . 2018. Springer, Singapore. 121–135. 10.1007/978-981-10-6704-4_6. 978-981-10-6703-7.
- Nie. F. Huang. H. Ding. C. Luo. Dijun. Wang. H. Robust principal component analysis with non-greedy l1-norm maximization. 22nd International Joint Conference on Artificial Intelligence. July 2011. 1433–1438.
- McCoy. Michael. Tropp. Joel A.. 2011. Two proposals for robust PCA using semidefinite programming. Electronic Journal of Statistics. 5. 1123–1160. 10.1214/11-EJS636. 1012.1086. 14102421.
- Tsagkarakis. Nicholas. Markopoulos. Panos P.. Sklivanitis. George. Pados. Dimitris A.. L1-Norm Principal-Component Analysis of Complex Data. IEEE Transactions on Signal Processing. 15 June 2018. 66. 12. 3256–3267. 10.1109/TSP.2018.2821641. 1708.01249. 2018ITSP...66.3256T. 21011653.
- Chachlakis. Dimitris G.. Prater-Bennette. Ashley. Markopoulos. Panos P.. L1-norm Tucker Tensor Decomposition. IEEE Access. 22 November 2019. 7. 178454–178465. 10.1109/ACCESS.2019.2955134. 1904.06455. free.
- Book: Markopoulos. Panos P.. Chachlakis. Dimitris G.. Prater-Bennette. Ashley. 2018 IEEE Global Conference on Signal and Information Processing (GlobalSIP) . L1-Norm Higher-Order Singular-Value Decomposition . 21 February 2019. 1353–1357. 10.1109/GlobalSIP.2018.8646385. 978-1-7281-1295-4. 67874182.
- Markopoulos. Panos P.. Chachlakis. Dimitris G.. Papalexakis. Evangelos. The Exact Solution to Rank-1 L1-Norm TUCKER2 Decomposition. IEEE Signal Processing Letters. 25. 4. April 2018. 511–515. 10.1109/LSP.2018.2790901. 1710.11306. 2018ISPL...25..511M. 3693326.
- Web site: L1-PCA TOOLBOX. May 21, 2018.