Simple, unified analysis of Johnson-Lindenstrauss with applications

Yingru Li · DOI

Introduction

The Johnson-Lindenstrauss (JL) lemma is a cornerstone of modern dimensionality reduction, asserting that high-dimensional data can be projected into a significantly lower-dimensional space while approximately preserving pairwise distances. Despite its foundational status, traditional proofs often rely on the assumption of entry-wise independence within the random projection matrix. This paper introduces a simplified and unified theoretical framework that relaxes these assumptions, providing the first rigorous proof for "spherical" JL constructions and explaining their superior empirical performance.

The Challenge of Dependence

Modern algorithms, particularly in reinforcement learning and uncertainty estimation, frequently utilize spherical constructions where the columns of a projection matrix are sampled uniformly from a unit sphere. In such cases, the entries within a single column are inherently dependent because their squares must sum to one. Traditional analytical tools, which require independence across all entries, fail to provide guarantees for these methods. This work bridges that gap by demonstrating that vector-wise independence (independence between columns) is sufficient for the JL property to hold, provided one uses the correct analytical tools.

Methodology: High-Dimensional Hanson-Wright Inequality

The technical heart of this research is a new High-dimensional Hanson-Wright inequality (Theorem 6). While standard versions of this inequality bound quadratic forms of independent random variables, the author extends this to random vectors in $\mathbb{R}^m$. This extension allows for dependence within a vector (like a spherical column) while maintaining independence between vectors.

The proof strategy involves three key innovations:

  1. Decoupling: Separating terms in the quadratic form using Bernoulli variables.
  2. Gaussian Reduction: Bounding the tail behavior of sub-Gaussian vectors by comparing them to Gaussian counterparts.
  3. Enhanced Diagonalization: A novel approach to extracting tight, explicit constants for the resulting bounds.

A Unified Framework for JL Distributions

By leveraging this new inequality, the paper provides a single, cohesive analysis that covers a wide array of JL transforms. Previously, researchers had to rely on disparate, complex proofs for Gaussian, sparse (CountSketch), and binary-coin projections. As shown in the comparison below, this work is the first to provide a unified analysis across all standard distributions used in the literature.

Comparison of JL distribution coverage across literature

Key Insights and Practical Results

  • Spherical Superiority: The analysis provides a theoretical basis for the "folklore" observation that spherical projections often outperform Gaussian ones. The derived constants show that spherical/binary-coin constructions require a smaller dimension $m$ (constant of 64) compared to Gaussian constructions (constant $\approx 117$) to achieve the same error bound $\epsilon$.
  • Explicit Constants: Unlike many theoretical works that rely on $O(\cdot)$ notation, this paper provides explicit constants, making the results directly applicable to practical parameter selection.
  • Uncertainty Estimation: The findings are applied to "Hypermodels" and "Epistemic Neural Networks (ENN)," offering the first high-probability non-asymptotic guarantees for incremental covariance factorization in these architectures.

Limitations and Future Directions

While the paper offers strong guarantees for linear setups (such as the final layer of a neural network), extending these rigorous proofs to deep, non-linear architectures remains an open challenge. Additionally, while the constants provided are explicit, they may still be conservative relative to empirical observations. Future work will likely focus on further tightening these bounds and addressing the technical hurdles associated with symmetric lower tail bounds for general sub-Gaussian variables.

Summary updated

BibTeX
@inproceedings{li2024simple,
  author = {Yingru Li},
  title = {{Simple, unified analysis of Johnson-Lindenstrauss with applications}},
  booktitle = {HiLD @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=MxBGX56GBa},
}
Figure