Self-Paced Two-dimensional PCA

Jiangxin Li, Zhao Kang, Chong Peng, Wenyu Chen

Introduction

Principal Component Analysis (PCA) is a cornerstone of dimensionality reduction, yet it faces significant hurdles in image processing. Standard PCA flattens 2D images into 1D vectors, which destroys critical spatial relationships between pixels. Furthermore, it is highly sensitive to outliers; a single corrupted image—whether due to extreme shadows or digital artifacts—can significantly skew the resulting projection.

While Two-dimensional PCA (2DPCA) was developed to preserve spatial structures, existing robust variants often rely on "static" objective functions. These models treat all data points with equal priority from the start of training. In datasets with heavy contamination, these static models struggle to differentiate between complex valid features and corrupted outliers. To address this, researchers have introduced Self-Paced Two-dimensional PCA (SP2DPCA), a technique that mimics human learning by prioritizing "easy" samples before tackling more "complex" ones.

The SP2DPCA Framework

The core innovation of SP2DPCA is the integration of Self-Paced Learning (SPL) into the 2DPCA framework. This approach allows the model to dynamically weight data points during training based on their current reconstruction error.

Methodology

  1. Bilateral Projection: Building on Robust 2DPCA (R2DPCA), the model performs bilateral projection, reducing dimensions from both the left and right sides of the image matrix while automatically calculating the optimal mean.
  2. Self-Paced Regularizer: A weighting variable ($w_i$) is assigned to each sample, controlled by an "age" parameter ($\zeta$). Early in training, the model focuses on "easy" samples with low reconstruction errors. As the model "ages," it gradually incorporates more complex or noisier samples.
  3. Optimization: The authors utilize an alternating optimization strategy. They fix projection matrices to update sample weights, then use Singular Value Decomposition (SVD) to update the matrices. This iterative process is theoretically grounded in the Majorize-Minimize (MM) algorithm, ensuring convergence.
  4. Automatic Outlier Rejection: Unlike fixed-norm methods, SP2DPCA is dynamic. By the end of training, the model naturally assigns near-zero weights to severely corrupted images, effectively ignoring them without manual intervention.

Experimental Evaluation

The model was rigorously tested on four benchmark databases: ORL (varying lighting/expressions), MNIST (handwritten digits), AR (occlusions like sunglasses/scarves), and Extended YaleB (extreme lighting). To simulate real-world noise, the researchers added 1/4-size occlusions to 20% of the images in each dataset.

Results and Discussion

SP2DPCA demonstrated significant improvements in both quantitative and qualitative metrics. In reconstruction tasks, it consistently outperformed state-of-the-art variants. For instance, on the ORL dataset, SP2DPCA achieved a reconstruction error of 0.0572, nearly halving the error of the G2DPCA method (0.1253).

Reconstruction error comparison between SP2DPCA and G2DPCA as outlier rates increase.

Qualitatively, the visual clarity of the reconstructed images is markedly superior. While other robust methods often retain artifacts from the noise or occlusions, SP2DPCA produces reconstructions that are much closer to the original, unpolluted images.

Visual comparison of face image reconstructions using various 2DPCA techniques.

Beyond reconstruction, the model showed higher Accuracy and Normalized Mutual Information (NMI) in k-means clustering tasks. Computationally, the model is highly efficient, typically reaching convergence in approximately five iterations.

Conclusion and Future Work

SP2DPCA offers a robust, biologically-inspired solution to the vulnerabilities of traditional PCA in image processing. By adopting a self-paced learning strategy, it effectively filters out heavy noise and outliers that would otherwise degrade model performance.

Future research may focus on reducing sensitivity to hyperparameters like the "age" parameter ($\zeta$) and extending this self-paced mechanism to supervised learning frameworks, such as 2D Linear Discriminant Analysis (2D-LDA), to further enhance classification performance.

Summary updated

BibTeX
@inproceedings{li2021self,
  author = {Jiangxin Li and Zhao Kang and Chong Peng and Wenyu Chen},
  title = {{Self-Paced Two-dimensional PCA}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i9.17020},
}
Figure