Adaptive probabilistic principal component analysis

Adam Farooq, Yordan P. Raykov, Luc J. W. Evers, Max A. LittlearXiv 2019

Abstract

Adaptive Probabilistic PCA (A-PPCA) is a nonparametric extension of Principal Component Analysis that allows data points to be projected onto a varying number of subspaces simultaneously. By leveraging a Beta-Bernoulli process prior, the model automatically learns the optimal number of latent features and their specific assignments to each observation. This approach offers superior reconstruction accuracy and enhanced interpretability compared to traditional fixed-dimension methods like standard PCA or Mixture of PCAs.

Introduction

Dimensionality reduction is a cornerstone of data science, essential for interpreting high-dimensional datasets such as sensor streams or genomic data. Traditional methods like Principal Component Analysis (PCA) or Factor Analysis assume a fixed, global linear subspace. While "Mixture of PCAs" (MPPCA) models allow for local linear structures, they typically force each data point to belong to a single cluster or subspace.

However, real-world data is often compositional. A single observation may be influenced by multiple independent factors. For instance, in wearable sensor data, a person’s movement might combine "walking" (affecting the legs) and "carrying a bag" (affecting one arm). Standard models struggle to represent these overlapping, sparse features without over-fitting or requiring the user to manually specify the number of components ($K$).

Methodology

The authors propose Adaptive Probabilistic PCA (A-PPCA), which introduces a discrete latent variable alongside the continuous variables used in standard PPCA.

The Model

The observation $y$ is defined as: $$y = W(x \odot z) + \epsilon$$ Where:

  • $W$ is the projection matrix.
  • $x$ represents the continuous latent coordinates.
  • $z$ is a binary indicator vector that "turns on" or "off" specific columns of $W$ for a given data point.

Nonparametric Prior

To enable the model to grow its complexity automatically, the authors utilize a Beta-Bernoulli process (often conceptualized via the "Indian Buffet Process") as a prior for $z$. This allows the number of active features ($K^+$) to be inferred from the data rather than fixed in advance.

Inference

Two Gibbs sampling procedures were developed for model estimation:

  1. Collapsed Gibbs sampler: Marginalizes over continuous latent variables to improve mixing.
  2. Hybrid Gibbs sampler: Designed for scalability, alternating between sampling discrete indicators and performing expectation-maximization-style updates for the projection matrix.

Key Results and Insights

The model was evaluated on synthetic datasets and the PD@Home Dataset, which consists of 15-dimensional accelerometer data from five wearable sensors.

Superior Reconstruction

On synthetic data, A-PPCA consistently outperformed standard PCA and MPPCA in terms of Mean Absolute Error (MAE). As the true dimensionality of the data increased, A-PPCA maintained high accuracy while other models' performance degraded.

Mean Absolute Error (MAE) comparison on synthetic data (D=15) between PCA, MPPCA, and A-PPCA variants.

Interpretability and Sensor Relevance

A-PPCA provides a "latent feature-based" representation where multiple features can be active simultaneously. By examining the learned projection matrix $W$, researchers can identify which specific sensors contribute to different latent features. In the PD@Home study, the model successfully identified distinct features corresponding to specific body parts (e.g., ankle movement vs. wrist movement) without manual labeling.

Learned projection matrix W for the PD@Home dataset, showing how latent features map to specific sensor dimensions.

Discussion and Future Work

While A-PPCA offers significant advantages in flexibility and interpretability, the current implementation relies on MCMC methods, which can be computationally intensive for massive datasets. The authors suggest that Variational Inference could be a promising path for scaling the model. Additionally, while the current model assumes linear relationships, future work could integrate this nonparametric structure with nonlinear frameworks like Gaussian Process Latent Variable Models (GPLVMs) to capture even more complex data dynamics.

Summary updated

BibTeX
@misc{farooq2019adaptive,
  author = {Adam Farooq and Yordan P. Raykov and Luc J. W. Evers and Max A. Little},
  title = {{Adaptive probabilistic principal component analysis}},
  year = {2019},
  eprint = {1905.11010},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11010},
}
Figure