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

Ensembles of Random Projections for Nonlinear Dimensionality Reduction

Amir Hossein Karimi, Mohammad Javad Shafiee, Ali Ghodsi, Alexander WongJournal of Computational Vision and Imaging Systems 2017

TL;DR

This paper introduces Ensemble of Nonlinear Maximum Random Projections, a novel dimensionality reduction technique that uses an ensemble of random matrices and a "max-pooling" nonlinearity. The method provides a more stable and "class-aware" embedding than standard linear random projections, often outperforming PCA in generalization while remaining significantly more computationally efficient for high-dimensional data.

What Problem Does This Paper Address?

Dimensionality reduction is essential for handling the "curse of dimensionality" in big data applications. While traditional methods like Principal Component Analysis (PCA) are effective, they scale poorly: PCA requires computing a covariance matrix ($O(d^3)$ complexity), which becomes a bottleneck as the number of features ($d$) grows.

Linear Random Projections (RP) offer a data-independent alternative based on the Johnson-Lindenstrauss (JL) theorem, which guarantees that high-dimensional distances are mostly preserved in lower dimensions. However, linear RPs don't always capture the complex, nonlinear manifolds of real-world data. Recent "nonlinear" RPs using ReLU activations showed promise in making embeddings "class-aware" (bringing similar objects closer together), but they can be unstable. The authors aim to bridge the gap between the efficiency of random projections and the representative power of nonlinear embeddings.

Methods

The authors propose Ensemble of Nonlinear Maximum Random Projections. Here is the breakdown of the approach:

  1. Ensemble Creation: Instead of a single random projection matrix, they generate an ensemble of $m$ random matrices $\{R^{(1)}, \dots, R^{(m)}\}$.
  2. Projection: The input data $x$ is projected by each matrix in the ensemble.
  3. Maximum Activation: For each dimension in the target lower-dimensional space, the algorithm selects the maximum activation across the ensemble.
  4. Mathematically: $y_{ij} = \max((R^{(1)}_j)^T x_i, \dots, (R^{(m)}_j)^T x_i)$
    • This is inspired by the spatial pooling operations used in Convolutional Neural Networks (CNNs), but applied here to random, non-learned features.

This "Max RP" approach is compared against three baselines:

  • PCA: The gold standard for linear dimensionality reduction.
  • Linear RP: Standard projection without nonlinearity.
  • Nonlinear Rectified RP: A single random projection followed by a ReLU activation.

Datasets

The researchers evaluated their method on three common computer vision datasets, all resized to a dimensionality of $d = 3072$ ($32 \times 32 \times 3$ pixels):

  • CIFAR-10: 10 classes of natural images (2,500 training samples used).
  • STL-10: 10 classes of natural images (2,500 training samples used).
  • ImageNet Tiny: A subset of 200 classes from ILSVRC, evaluated on 10 randomly selected pairs of classes to manage computational costs.

Key Insights and Ideas

  • Class-Awareness via Nonlinearity: Nonlinearity (like ReLU or Max) changes the embedding from a simple distance-preserving map to one that is sensitive to the angles between points. This tends to decrease Euclidean distances between points with small angles (likely the same class) more than those with large angles.
  • Stability Beyond the JL Bound: Theoretical limits (the JL bound) suggest that random projections become unstable below a certain number of dimensions ($k$). The authors found that while Linear and Rectified RPs see a sharp performance drop-off when $k$ gets too small, the Ensemble Max RP exhibits a much more gradual and stable decline.
  • Dimensionality Reduction as a Regularizer: Surprisingly, reducing dimensions sometimes improved 1-Nearest Neighbor (1-NN) accuracy. This suggests that dimensionality reduction can act as a noise filter, removing redundant pixel information and making the model more robust.

Key Results

The performance was measured by the accuracy of a 1-NN classifier in the projected space:

  • Superiority at High $k$: At higher projected dimensions (e.g., $k=3072$), the Nonlinear Ensemble Max RP outperformed all other methods, including PCA. For CIFAR-10, it achieved 30.02% accuracy vs. PCA's 27.26%.
  • Efficiency vs. PCA: While PCA often performs best at very low dimensions (where it can "actively" find the best variance), it is computationally expensive ($O(d^3)$). The proposed Max RP provides comparable or better performance at higher $k$ while maintaining the $O(dn)$ efficiency of random projections.
  • Stability: In the "theoretically allowed" range for $k$, the ensemble method was consistently more stable than other random projection variants.

Limitations and Future Work

  • Lack of Theoretical Bounds: While the empirical results are strong, the paper lacks a formal mathematical proof for the probability bounds of the "max activation" nonlinearity. The authors identify deriving these bounds as a primary goal for future work.
  • Computational Overhead of Ensembles: Using an ensemble of $m$ matrices increases the projection cost by a factor of $m$ compared to a single RP, though it remains faster than PCA for very high-dimensional data.
  • Deep Architectures: The authors hint that multi-layered (deep) nonlinear RPs might further boost performance, suggesting a path toward "random" neural networks that require no training.

Summary updated

BibTeX
@article{karimi2017ensembles,
  author = {Amir Hossein Karimi and Mohammad Javad Shafiee and Ali Ghodsi and Alexander Wong},
  title = {{Ensembles of Random Projections for Nonlinear Dimensionality Reduction}},
  journal = {Journal of Computational Vision and Imaging Systems},
  year = {2017},
  doi = {10.15353/vsnl.v3i1.172},
}
Figure