NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Locally Linear Embedding and its Variants: Tutorial and Survey

Benyamin Ghojogh, Ali Ghodsi, Fakhri Karray, Mark CrowleyarXiv 2020

Abstract

Locally Linear Embedding (LLE) is a foundational algorithm in nonlinear dimensionality reduction. By assuming that manifolds are locally linear, LLE preserves local geometric structures when mapping high-dimensional data to lower-dimensional spaces. This paper provides a comprehensive roadmap of the LLE family, detailing its evolution from a simple neighborhood-based method to a versatile suite of algorithms capable of handling big data, noise, and supervised tasks.

Introduction

In data science, high-dimensional datasets—such as image libraries or genomic sequences—often reside on a much simpler, low-dimensional "manifold." Traditional linear methods like Principal Component Analysis (PCA) fail when this manifold is curved or folded. LLE was introduced to solve this by following a simple but powerful philosophy: "Fit locally, think globally." It assumes that even if a manifold is globally nonlinear, it looks linear in small, local neighborhoods.

Conceptual illustration of unrolling a nonlinear manifold into a linear representation.

The LLE Algorithm

The paper breaks down the LLE process into three fundamental steps:

  1. Find Neighbors: Identify the $k$-nearest neighbors for every data point.
  2. Compute Weights: Find the weights that best reconstruct each point as a linear combination of its neighbors. To ensure numerical stability when $k > d$, Tikhonov regularization (adding a small identity matrix) is often applied.
  3. Map to Low-Dim Space: Use those same weights to find new coordinates in a lower-dimensional space that preserve the local structure. By discarding the eigenvector associated with the smallest eigenvalue (zero), the algorithm implicitly ensures the embedding is centered at the origin.
The three steps of LLE: (a) identifying neighbors, (b) computing reconstruction weights, and (c) mapping to a low-dimensional space while preserving those weights.

Key Theoretical Insights

  • The Invariance Principle: The core "aha" moment of LLE is that the geometric coefficients (weights) required to reconstruct a point from its neighbors are invariant to rotations, scalings, and translations. This is why the same weights work in both high and low dimensions.
  • LLE as Kernel PCA: LLE can be viewed as a special case of Kernel PCA where the kernel is derived from the graph Laplacian of the data, allowing researchers to apply the entire toolbox of kernel methods to LLE.

Variants and Extensions

To overcome the limitations of the original algorithm, several variants have been developed:

  • Landmark LLE: Designed for "Big Data," these methods perform heavy computations on a small subset of "landmark" points and interpolate the rest, reducing complexity from $O(n^3)$ to manageable levels.
  • Supervised LLE (SLLE): Modifies distance metrics to increase the distance between points of different classes, making the embedding better for classification tasks.
  • Robust LLE (RLLE): Introduces penalty functions (like $\ell_2$ or Elastic-Net) to prevent reconstruction weights from "exploding" when faced with outliers or noise.
  • Kernel LLE: Projects data into a high-dimensional feature space before performing LLE to capture even more complex nonlinear mappings.

Limitations and Future Work

LLE is notoriously sensitive to the neighborhood size $k$. If $k$ is too small, the manifold disintegrates; if it is too large, it "short-circuits" across folds of the manifold. Additionally, standard LLE can struggle with manifolds containing "holes" or uneven sampling densities. Future research points toward newer fusions, such as LLISE, which uses the Structural Similarity Index (SSIM) instead of Euclidean distance to better capture the "manifold of images" as perceived by humans.

Summary updated

BibTeX
@misc{ghojogh2020locally,
  author = {Benyamin Ghojogh and Ali Ghodsi and Fakhri Karray and Mark Crowley},
  title = {{Locally Linear Embedding and its Variants: Tutorial and Survey}},
  year = {2020},
  eprint = {2011.10925},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.10925},
}
Figure