Theoretical Connection between Locally Linear Embedding, Factor Analysis, and Probabilistic PCA

Benyamin Ghojogh, Ali Ghodsi, Fakhri Karray, Mark Crowley

Abstract

Dimensionality reduction techniques are often categorized into two distinct families: spectral methods, which preserve local geometric structures, and probabilistic methods, which model data as being generated from latent variables. This paper establishes a formal mathematical bridge between these paradigms. By reformulating the reconstruction phase of Locally Linear Embedding (LLE) as a stochastic process solved via Expectation-Maximization (EM), the authors demonstrate that LLE is essentially a localized variant of Factor Analysis (FA) and Probabilistic PCA (PPCA). This connection provides a rigorous explanation for LLE’s non-linear capabilities compared to its linear probabilistic counterparts.

Introduction

In machine learning, dimensionality reduction is a fundamental tool for data compression and visualization. Traditionally, practitioners choose between spectral methods like Locally Linear Embedding (LLE), which excel at capturing non-linear manifolds, and probabilistic models like Factor Analysis (FA) or Probabilistic Principal Component Analysis (PPCA), which provide a generative framework for latent variables.

Despite their shared objectives, these methods have historically been treated as mathematically distinct. FA and PPCA are strictly linear models, while LLE is a hallmark of non-linear manifold learning. This research addresses the theoretical gap between these approaches, identifying the specific mathematical properties that allow LLE to transcend the linearity of the probabilistic family.

Methods: Stochastic Reformulation of LLE

The authors’ primary contribution is the reinterpretation of the first step of the LLE algorithm—linear reconstruction—through a probabilistic lens. In standard LLE, one finds weights that best reconstruct a data point from its neighbors. The authors transform this into a generative model:

  1. Stochastic Modeling: The reconstruction weights ($w_i$) are treated as latent variables following a multivariate Gaussian distribution. Each data point $x_i$ is assumed to be generated by a transformation of these latent weights.
  2. Variational Inference via EM: To solve for the parameters of this model, the authors employ the Expectation-Maximization (EM) algorithm. The E-Step calculates the expected value of the latent weights given the observed data, while the M-Step maximizes the joint likelihood to determine the optimal covariance of the weight distribution.
  3. Covariance Relaxation: By applying "isotropic" noise assumptions—similar to the transition from FA to PPCA—the authors derive a closed-form solution for the stochastic LLE model.

The core insight of the paper lies in the comparison of transformation matrices across these models. In traditional Factor Analysis and PPCA, data is generated via a global transformation matrix ($\Lambda$) that remains constant for every data point in the set.

In contrast, the authors' stochastic formulation of LLE reveals a local transformation matrix ($X_i$). This matrix is composed specifically of the neighbors of point $i$. Because this projection matrix is data-dependent and varies across the input space, the resulting mapping is inherently non-linear. This provides a formal justification for why LLE can unfold complex manifolds while FA and PPCA remain constrained to linear subspaces.

Key Results and Algorithmic Insights

The paper successfully proves the structural identity between the linear reconstruction of LLE and the generative models of the probabilistic family. Key outcomes include:

  • Unified Framework: LLE, FA, and PPCA are shown to belong to the same family of latent variable models, following the general form $x_i \approx \text{Matrix} \cdot w_i + \text{mean}$.
  • Algorithm for Stochastic Reconstruction: The authors introduce a formal EM algorithm for "Stochastic Linear Reconstruction," offering a robust probabilistic alternative to the standard least-squares optimization used in LLE.
  • Theoretical Proof of Non-linearity: The research provides a rigorous mathematical basis for LLE’s non-linearity, attributing it to the localized, data-dependent nature of its projection matrices.

Limitations and Future Work

While this work provides a significant theoretical bridge, it is focused exclusively on the reconstruction phase of LLE. It does not yet extend the probabilistic interpretation to the second phase of LLE—the embedding step where low-dimensional coordinates are actually calculated. Additionally, the iterative nature of the EM algorithm may be more computationally demanding than the closed-form linear solvers used in traditional LLE.

The authors suggest that this framework could be extended to other spectral algorithms, such as Laplacian Eigenmaps or Isomap, potentially leading to a comprehensive "Probabilistic Manifold Learning" paradigm capable of handling noise and uncertainty with greater mathematical rigor.

Summary updated

BibTeX
@inproceedings{ghojogh2022theoretical,
  author = {Benyamin Ghojogh and Ali Ghodsi and Fakhri Karray and Mark Crowley},
  title = {{Theoretical Connection between Locally Linear Embedding, Factor Analysis, and Probabilistic PCA}},
  booktitle = {Canadian AI},
  year = {2022},
  doi = {10.21428/594757db.6e0bdea0},
}
Figure