Angle Principal Component Analysis

Qianqian Wang, Quanxue Gao, Xinbo Gao, Feiping NieIJCAI 2017

Abstract

Principal Component Analysis (PCA) is a cornerstone of data science, yet its reliance on squared $\ell_2$-norm reconstruction errors makes it highly sensitive to outliers. While $\ell_1$-norm variants offer robustness, they often sacrifice the rotational invariance critical for many physical applications. This paper introduces Angle Principal Component Analysis (Angle PCA), a novel dimensionality reduction technique that maximizes the ratio between projected variance and reconstruction error. By interpreting this ratio geometrically as the cotangent of an angle, Angle PCA achieves significant outlier resistance while maintaining the geometric stability of traditional $\ell_2$ methods.

Introduction

Principal Component Analysis (PCA) is widely utilized for dimensionality reduction in fields ranging from computer vision to bioinformatics. However, standard PCA suffers from two primary weaknesses: extreme sensitivity to outliers and a trade-off between robustness and rotational invariance. Because standard PCA minimizes squared reconstruction errors, even a single corrupted data point can disproportionately bias the projection matrix.

Robustness of Angle PCA against outliers compared to standard PCA.

As illustrated in the figure above, standard PCA ($W_{PCA}^{outlier}$) is significantly skewed by outliers, whereas Angle PCA ($W_{Angle PCA}^{outlier}$) remains robust, closely approximating the ideal projection ($W_{PCA}$) derived from clean data.

Methodology

The core innovation of Angle PCA is its objective function. Instead of minimizing total error or maximizing total variance, it maximizes the sum of the ratios between the $\ell_2$-norm of the projected data and the $\ell_2$-norm of the reconstruction error for each point:

$$\max \sum_{i=1}^{N} \frac{\|W^T x_i\|_2}{\|x_i - WW^T x_i\|_2}$$

Geometric Interpretation

Geometrically, for each data point $x_i$, the relationship between the original vector, its projection $W^T x_i$, and the reconstruction error $e_i$ can be modeled as a right triangle.

Geometric interpretation of the Angle PCA objective function as the cotangent of angle $\alpha_i$.

The ratio in the objective function represents the cotangent of the angle $\alpha_i$ between the data vector and its projection. By maximizing this cotangent, the algorithm forces the reconstruction error to be small relative to the captured variance for every data point.

The Algorithm

The objective function is non-convex, necessitating an iterative solution. The authors developed an algorithm that calculates weights $\lambda_i$ based on current projections, constructs a weighted covariance-like matrix, and solves for the next projection matrix $W$ via eigen-decomposition. This process repeats until convergence, implicitly "muting" outliers by assigning them smaller weights due to their large reconstruction errors.

Experimental Evaluation

The authors evaluated Angle PCA on three face recognition benchmarks: Extended Yale B, CMU PIE, and the AR Database. These datasets include challenges such as illumination changes and occlusions. To further test robustness, "salt and pepper" noise was added to the training sets.

Angle PCA consistently outperformed standard PCA and several $\ell_1$-norm variants. On the Extended Yale B database, Angle PCA achieved a reconstruction error of 216.99, compared to 323.34 for standard PCA and 277.83 for the best $\ell_1$ method. In classification tasks using a 1-Nearest Neighbor classifier, Angle PCA reached 59.12% accuracy on noisy Yale B data, significantly higher than the 55.98% achieved by standard PCA. However, in some AR database experiments, Angle PCA was slightly inferior to HQ-PCA, likely due to its use of a fixed mean value.

Conclusion

Angle PCA provides a robust "middle ground" for dimensionality reduction. By utilizing an angle-based ratio, it provides the outlier resistance typically associated with $\ell_1$ methods while preserving the rotational invariance of $\ell_2$ methods. While the iterative nature of the solver can lead to local optima, its performance on noisy real-world datasets demonstrates its practical utility. Future work may involve extending this "Angle" logic to supervised learning frameworks like Linear Discriminant Analysis (LDA).

Summary updated

BibTeX
@inproceedings{wang2017angle,
  author = {Qianqian Wang and Quanxue Gao and Xinbo Gao and Feiping Nie},
  title = {{Angle Principal Component Analysis}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/409},
}
Figure