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

Non-Linear Dimensionality Reduction

David DeMers, Garrison W. CottrellNeurIPS 1992

Introduction

In data science, representing high-dimensional data—such as images or complex signals—using as few variables as possible is a fundamental challenge. Traditionally, researchers have relied on Principal Components Analysis (PCA). However, PCA is strictly a linear technique. If your data lies on a curved surface, like a 1D helix winding through 3D space, PCA will overestimate the dimensionality because it cannot "unwrap" the curve.

This paper introduces a method for Non-Linear Dimensionality Reduction (NLDR) using autoassociative neural networks. The authors address two primary challenges: performing dimensionality reduction that accounts for non-linear structures, and determining the minimum number of dimensions needed (the intrinsic dimensionality) without knowing it in advance. By adding a specific regularization term that penalizes the variance of hidden units, they developed a "greedy" pruning algorithm that automatically discovers the intrinsic dimensionality of complex datasets.

The Autoassociator Architecture

The authors utilize a five-layer feedforward neural network configured as an autoassociator (or autoencoder).

Auto-associator network architecture

The architecture follows a distinct "bottleneck" structure designed to compress and then reconstruct the data:

  • Input Layer: Receives the raw high-dimensional data.
  • Encoding Layer: Maps the input to a non-linear space.
  • Hidden Layer ("The Bottleneck"): The compressed, low-dimensional representation.
  • Decoding Layer: Maps the compressed version back toward the original high-dimensional space.
  • Output Layer: Attempts to reconstruct the original input as accurately as possible.

The Pruning Algorithm

The novel contribution of this paper is its pruning method via regularization. Instead of simply training the network to minimize reconstruction error, the authors add a penalty term ($H_p$) to the objective function. This term specifically targets the variance of the units in the bottleneck layer.

The algorithm works greedily: it identifies the bottleneck unit with the lowest variance and attempts to "squeeze" its variance down to zero. If the network can still reconstruct the data with a low error after a unit's variance is minimized, that unit is effectively pruned. This process repeats until the network can no longer reduce dimensions without causing a significant spike in reconstruction error. By penalizing variance, the algorithm forces the network to pack as much information as possible into the remaining active units, acting as an automated architecture search driven by the data's own complexity.

Experimental Datasets and Key Insights

The method was evaluated on four distinct types of data to test its robustness:

  1. A Circle: A 1D manifold embedded in 2D space.
  2. A Helix: A 1D manifold embedded in 3D space.
  3. Mackey-Glass Time Series: Chaotic data generated from a delay-differential equation, with known fractal dimensions (2.1 and 3.5).
  4. Face Images: A set of 160 grayscale images (64x64 pixels) of human faces, pre-processed using PCA down to 50 dimensions before being fed into the NLDR network.

Overcoming PCA's Blind Spot

The authors demonstrate that for a helix in $\mathbb{R}^3$, PCA sees three dimensions because the covariance matrix is full-rank. NLDR, however, correctly identifies it as a 1D manifold because the neural network can learn the non-linear "unwrapping" function.

Topological Constraints

The paper notes a fascinating failure mode with the circle dataset. Because there is no smooth mapping (diffeomorphism) from a continuous circle to a line segment without "breaking" the circle, the network sometimes struggled to reduce it to 1D, occasionally settling for a 2D circular representation instead.

Key Results

The NLDR method yielded strong quantitative and qualitative results across the test datasets:

  • Helix: The network successfully reduced the 3D data to a 1D representation with minimal reconstruction error.
  • Mackey-Glass: For the 2.1-dimensional chaotic signal, the network found a 3D representation. For the more complex 3.5-dimensional signal, it found a 4D representation.
  • Faces (Manifold Learning for Classification): The network found a highly compressed 5-dimensional representation for the face data. Even though this was a massive reduction from the original 4,096 pixels, these 5 dimensions captured enough "faceness" to allow for highly accurate downstream classification. A separate classifier trained on these 5D encodings achieved 98% identity recognition accuracy on training data (95% on test) and 95% gender recognition accuracy overall.
Interpolation between faces in the learned 5D manifold
  • Qualitative Reconstruction: As shown above, by interpolating between two points in the learned 5D "face space," the authors could generate smooth, realistic transitions between different faces. This proves the learned manifold is continuous and captures meaningful structural features rather than just memorizing data points.

Limitations and Future Work

While powerful, the approach has a few notable limitations:

  • Sensitivity to Hyperparameters: The results depend heavily on the chosen error threshold ($\epsilon$) and the rate at which the penalty ($\lambda$) is increased. The precise relationship between these bounds requires further study.
  • Local Minima: Because the method relies on gradient descent to solve a global non-linear optimization problem, there is no guarantee of finding the absolute minimum dimensionality. The network can get stuck in local optima.
  • The Compression Paradox: While the representation is incredibly compact (just 5 dimensions for a face), the model itself (the weights of the decoder and the PCA eigenvectors) must also be stored to reconstruct the data. For small datasets, storing the model takes up more space than the original images. True data compression using this method would require a much larger dataset to justify the overhead of the model weights.

Summary updated

BibTeX
@inproceedings{demers1992non,
  author = {David DeMers and Garrison W. Cottrell},
  title = {{Non-Linear Dimensionality Reduction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1992},
}
Figure