Dpca: Dimensionality Reduction for Discriminative Analytics of Multiple Large-Scale Datasets.

Gang Wang, Jia Chen, Georgios B. Giannakis

TL;DR

Discriminative Principal Component Analysis (dPCA) is a new dimensionality reduction technique designed to extract features unique to a "target" dataset by comparing it against a "control" dataset. Unlike previous methods that require tedious manual tuning, dPCA is parameter-free and computationally efficient, requiring only a single Singular Value Decomposition (SVD) to find the most informative patterns.

What Problem Does This Paper Address?

Standard Principal Component Analysis (PCA) is the "gold standard" for simplifying complex data, but it has a major blind spot: it only cares about where the most variance is. In many real-world scenarios, we have two datasets—a target (e.g., gene expressions of cancer patients) and a control (e.g., healthy volunteers).

If the target data contains strong "background" patterns shared with the control (like age or gender), PCA will often highlight those commonalities rather than the specific features we actually care about (like cancer subtypes). While "Contrastive PCA" (cPCA) was recently proposed to solve this, it relies on a hyper-parameter ($\alpha$) that is difficult and time-consuming to tune, especially for large-scale datasets. The authors of this paper sought a method that is both mathematically optimal and "plug-and-play."

Methods

The authors introduce dPCA, which shifts the objective from maximizing variance to maximizing a ratio. Specifically, it seeks directions ($u$) that maximize the ratio of the variance in the target data ($C_{xx}$) to the variance in the control data ($C_{yy}$):

$$\max \frac{u^T C_{xx} u}{u^T C_{yy} u}$$

This formulation transforms the problem into a generalized eigenvalue problem. The key technical highlights include:

  • Parameter-Free: Unlike cPCA, there is no "trade-off" variable to tune. The math naturally finds the directions that best distinguish the target from the background.
  • Efficiency: The solution can be found by performing an SVD on the matrix $C_{yy}^{-1} C_{xx}$ just once.
  • Theoretical Grounding: The paper proves that dPCA is the Least-Squares (LS) optimal solution under a factor analysis model where the target data is assumed to contain both shared background components and unique "foreground" components.

Datasets

The researchers evaluated dPCA using two distinct types of data:

  1. Semi-synthetic Image Data: They took 2,000 handwritten digits (6s and 9s) from the MNIST dataset and superimposed them onto frog images from the CIFAR-10 dataset. The background data consisted purely of frog images. This creates a scenario where the "background noise" (frogs) has higher variance than the "signal" (digits).
  2. Real-world Protein Expression: A dataset containing 77 protein expression measurements from mice. The target group included mice with a Down Syndrome model (some treated with the drug memantine, some with saline), while the control group consisted of healthy mice.

Key Insights and Ideas

  • The "Aha" Moment on Background Noise: Standard PCA fails when background noise is louder than the signal. By using the control data as a "denominator," dPCA effectively "mutes" the shared background, allowing the unique signal to emerge.
  • Connection to LDA: dPCA can be thought of as an unsupervised cousin to Linear Discriminant Analysis (LDA). While LDA needs labeled classes to maximize separation, dPCA uses the structure of a second "control" dataset to achieve a similar discriminative effect without needing explicit labels within the target set.
  • Computational Practicality: In large-scale data exploration, researchers often don't have the time to run hundreds of SVDs to find the right hyper-parameter. dPCA’s "one-and-done" approach makes it much more viable for big data.

Key Results

The performance gains are most visible in the visualization of the datasets:

  • MNIST + Frogs: In Figure 1, standard PCA (left) produces a single messy cloud because it is focused on the high-variance frog backgrounds. dPCA (right), however, clearly separates the "6"s from the "9"s by ignoring the shared frog features.
Comparison of PCA and dPCA on semi-synthetic data. dPCA successfully clusters the two digit types while PCA fails.
  • Mice Protein Data: In the real-world test (Figure 2), PCA again fails to distinguish between mice treated with memantine vs. saline. dPCA provides a clear separation. While cPCA can achieve similar results, it requires 15 times more computation time to find the correct parameters.
Subgroup discovery in mice protein data. dPCA (bottom right) shows clear separation between treatment groups compared to PCA (bottom left).

Limitations and Future Work

The authors identify a few areas for further development:

  • Invertibility: The current method assumes the control covariance matrix ($C_{yy}$) is full rank (invertible). If the data is extremely sparse or high-dimensional, this might require regularization.
  • Linearity: Like standard PCA, dPCA is a linear method. The authors suggest that exploring Kernel dPCA or dPCA on graphs could help capture more complex, non-linear relationships in future research.
  • Multiple Controls: The current version compares one target to one control. Extending this to handle multiple background datasets simultaneously is another potential direction.

Summary updated

BibTeX
@inproceedings{wang2018dpca,
  author = {Gang Wang and Jia Chen and Georgios B. Giannakis},
  title = {{Dpca: Dimensionality Reduction for Discriminative Analytics of Multiple Large-Scale Datasets.}},
  booktitle = {ICASSP},
  year = {2018},
  url = {https://openreview.net/forum?id=0c6mLeJ4c1y},
}
Figure