Regularised PCA to denoise and visualise data

Marie Verbanck, Julie Josse, François Husson · DOI

Introduction

Principal Component Analysis (PCA) is a fundamental tool in data science, widely used for dimensionality reduction, noise reduction, and data visualisation. By identifying the directions of maximum variance, PCA allows researchers to project high-dimensional data into a lower-dimensional space. However, in many real-world applications—ranging from genomics to medical imaging—datasets are inherently "noisy." In these contexts, classical PCA often fails to distinguish between true underlying signals and random fluctuations, leading to "overfitted" representations that incorporate noise into the primary components.

This paper introduces Regularised PCA (rPCA), a method designed to address these limitations. By analytically shrinking singular values based on their signal-to-noise ratio (SNR), rPCA provides a more stable and accurate representation of the underlying data structure, significantly improving denoising performance and the reliability of graphical visualisations.

The Problem: Overfitting in Classical PCA

Classical PCA is essentially a Maximum Likelihood Estimator (MLE). While MLEs are statistically popular, they are not always optimal for minimising the Mean Squared Error (MSE). In high-dimensional settings where the signal is weak relative to the noise, classical PCA tends to treat random noise as part of the signal.

This overfitting manifests in two primary ways:

  1. Noisy Visualisations: Data points in PCA plots appear more scattered than they truly are, as the noise inflates the coordinates.
  2. Inaccurate Denoising: When reconstructing the data from a low-rank approximation, the resulting "denoised" matrix still contains significant artifacts because the noise has been projected onto the principal axes.

Methodology: The rPCA Framework

The authors propose a regularisation strategy analogous to ridge regression. Instead of the "hard thresholding" used in standard PCA—where the top $S$ components are kept and the rest are discarded—rPCA applies a shrinkage factor ($\phi_s$) to each singular value.

Key Technical Components

  • Analytical Derivation: The shrinkage terms are derived by directly minimising the MSE between the estimated signal and the true underlying signal.
  • The Shrinkage Formula: The term $\phi_s$ represents the ratio of signal variance to total variance for a specific dimension. Dimensions with high signal are shrunk minimally, while dimensions approaching the noise floor are shrunk more aggressively.
  • Bayesian Justification: The method is shown to be equivalent to an empirical Bayesian treatment of a fixed-effect model, establishing a theoretical link with Probabilistic PCA (pPCA).
  • Noise Estimation: A critical component of the method is a robust formula to estimate the residual noise variance ($\sigma^2$), which dictates the appropriate level of shrinkage for the dataset.

Experimental Validation

The performance of rPCA was evaluated across three distinct data environments:

  1. Simulated Data: Synthetic matrices with varying dimensions ($n, p$), ranks ($S$), and Signal-to-Noise Ratios were used to benchmark MSE against classical PCA and Stein’s Unbiased Risk Estimate (SURE) soft-thresholding.
  2. Transcriptome Profiling: A biological dataset of 12,664 gene expressions from 27 chickens under different nutritional conditions was used to test clustering and heatmap coherence.
  3. Medical Imaging (PINCAT): A numerical Phantom dataset simulating real-time MRI of a human torso was used to evaluate the reconstruction of dynamic physiological structures.

Key Insights and Results

The Bias-Variance Trade-off in Graphics

One of the most compelling insights of the paper is the application of the bias-variance trade-off to data visualisation. Classical PCA produces "inflated" plots because it incorporates noise into the coordinates. rPCA intentionally introduces a small amount of bias—shrinking points toward the origin—to drastically reduce variance. This results in a visualisation that more closely mirrors the true, noise-free configuration of the data.

Superior Denoising Performance

In simulations, rPCA consistently outperformed classical PCA in terms of MSE, particularly as noise levels increased. While soft-thresholding (SURE) performed well in high-rank, high-noise scenarios, rPCA proved superior when the signal was concentrated in a few primary dimensions—a structure common in biological and social science data.

Real-World Applications

  • Genomics: In the chicken transcriptome study, rPCA produced more coherent heatmaps and clearer clusters of nutritional statuses. Classical PCA was often distracted by gene-level noise, obscuring the biological signal.
  • MRI Reconstruction: On the PINCAT image data, rPCA achieved an MSE of 598.17, significantly lower than classical PCA (814.26) and the SURE method (727.33). This resulted in much clearer visual reconstructions of the heart and lungs, demonstrating the method's utility in clinical imaging.

Conclusion and Future Work

Regularised PCA offers a robust alternative to classical PCA for researchers dealing with noisy, high-dimensional data. By replacing hard thresholding with analytical shrinkage, it provides a more nuanced approach to dimensionality reduction.

While the method currently requires the estimation of noise variance ($\sigma^2$) and the selection of rank $S$, it represents a significant step forward in stable data representation. Future research may focus on automating rank selection or extending the rPCA framework to other multivariate techniques, such as Multiple Correspondence Analysis (MCA), to further broaden its applicability across scientific disciplines.

Summary updated

BibTeX
@article{verbanck2015regularised,
  author = {Marie Verbanck and Julie Josse and François Husson},
  title = {{Regularised PCA to denoise and visualise data}},
  journal = {Stat. Comput.},
  year = {2015},
  doi = {10.1007/s11222-013-9444-y},
}
Figure