Skip to main content
QUICK REVIEW

[Paper Review] Capturing the Denoising Effect of PCA via Compression Ratio

Chandra Sekhar Mukherjee, Doerkar, Nikhil|arXiv (Cornell University)|Apr 22, 2022
Single-cell and spatial transcriptomicsBiochemistry, Genetics and Molecular Biology4 citations
TL;DR

This paper introduces the concept of 'compressibility' in PCA, demonstrating that PCA inherently enhances clustering by disproportionately reducing intra-cluster distances compared to inter-cluster distances. The authors theoretically analyze this effect using a random vector model and empirically validate it on single-cell RNA-seq datasets, showing that PCA's compression of intra-cluster distances directly improves downstream clustering accuracy, especially in algorithms like K-means and Louvain.

ABSTRACT

Principal component analysis (PCA) is one of the most fundamental tools in machine learning with broad use as a dimensionality reduction and denoising tool. In the later setting, while PCA is known to be effective at subspace recovery and is proven to aid clustering algorithms in some specific settings, its improvement of noisy data is still not well quantified in general. In this paper, we propose a novel metric called \emph{compression ratio} to capture the effect of PCA on high-dimensional noisy data. We show that, for data with \emph{underlying community structure}, PCA significantly reduces the distance of data points belonging to the same community while reducing inter-community distance relatively mildly. We explain this phenomenon through both theoretical proofs and experiments on real-world data. Building on this new metric, we design a straightforward algorithm that could be used to detect outliers. Roughly speaking, we argue that points that have a \emph{lower variance of compression ratio} do not share a \emph{common signal} with others (hence could be considered outliers). We provide theoretical justification for this simple outlier detection algorithm and use simulations to demonstrate that our method is competitive with popular outlier detection tools. Finally, we run experiments on real-world high-dimension noisy data (single-cell RNA-seq) to show that removing points from these datasets via our outlier detection method improves the accuracy of clustering algorithms. Our method is very competitive with popular outlier detection tools in this task.

Motivation & Objective

  • To understand why PCA consistently improves clustering performance in real-world applications like single-cell RNA-seq, beyond its role in dimensionality reduction.
  • To formalize and analyze a new property of PCA—'compressibility'—where intra-cluster distances are reduced more significantly than inter-cluster distances.
  • To provide a theoretical foundation for PCA's clustering enhancement using a general random vector model without restrictive noise assumptions.
  • To empirically validate the compressibility effect on real single-cell RNA-seq datasets and link it to improved performance of clustering algorithms like Louvain and K-means.
  • To explore the implications of PCA's compressibility for designing better hierarchical clustering algorithms in single-cell genomics.

Proposed method

  • Propose a random vector model where data points are modeled as a mixture of signal and arbitrary i.i.d. noise, without assuming Gaussian or Bernoulli noise.
  • Define compressibility as the ratio of pre-PCA to post-PCA distance, specifically analyzing how this ratio differs between intra-cluster and inter-cluster pairs.
  • Use uncentered PCA to preserve signal structure and avoid centering-induced distortions in clustering-relevant distances.
  • Analyze the theoretical compressibility gap under general conditions on signal and noise, showing that PCA improves relative distance separation.
  • Conduct experiments on two real single-cell RNA-seq datasets with ~2,500 cells and ~24,000 genes, computing compression ratios across multiple principal components.
  • Correlate compression ratios with clustering accuracy of Louvain and K-means, demonstrating that higher compressibility predicts better cluster recovery.

Experimental results

Research questions

  • RQ1Why does PCA improve clustering accuracy in single-cell RNA-seq data, despite not being explicitly designed for clustering?
  • RQ2To what extent does PCA compress intra-cluster distances relative to inter-cluster distances in real-world vector clustering problems?
  • RQ3Can a theoretical model explain PCA’s compressibility effect without assuming specific noise distributions?
  • RQ4How does the compressibility of PCA relate to the performance of downstream clustering algorithms like K-means and Louvain?
  • RQ5Can PCA’s compressibility be leveraged to design more efficient and accurate hierarchical clustering algorithms for complex single-cell data?

Key findings

  • PCA significantly reduces intra-cluster distances more than inter-cluster distances, creating a compressibility gap that enhances clustering separability.
  • Intra-cluster compression ratios reached up to 7.207 on real single-cell datasets using the first 35 principal components, while inter-cluster ratios remained below 3.0.
  • On dataset 1, the average intra-cluster compression ratio across clusters was 5.924 (C1), with the highest at 7.207 (C7), indicating strong clustering signal preservation.
  • On dataset 2, the highest intra-cluster compression ratio was 6.767 (C6), and the lowest inter-cluster ratio was 2.033 (C8), confirming the compressibility gap.
  • The compressibility of PCA strongly correlates with clustering accuracy: clusters with higher compressibility were more accurately recovered by Louvain and K-means.
  • Uncentered PCA preserves compressibility better than centered PCA, and centering is not necessary for effective clustering in single-cell data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.