What does the Johnson-Lindenstrauss lemma guarantee regarding random projections?

Quick Overview

Asks what the Johnson-Lindenstrauss lemma promises when high-dimensional points are mapped down with a random projection. Tests how precisely you can state the bound, why random matrices achieve it, and when random projection is a good substitute for PCA.

What does the Johnson-Lindenstrauss lemma guarantee regarding random projections?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

A random projection reduces dimensionality by multiplying each data vector by a random matrix with far fewer rows than the data has features. What does the Johnson-Lindenstrauss lemma guarantee regarding random projections? ```hint Look at one pair first Fix a single difference vector $u - v$ and ask how tightly the squared length of its random projection concentrates around the true squared length. ``` ```hint Then count the pairs The guarantee has to hold for every pair of points at once. How many pairs are there, and what does requiring all of them to succeed do to the number of dimensions you need? ``` ### What a Strong Answer Covers - States the guarantee precisely: a finite set of n points, all pairs at once, a factor of 1 ± ε on squared distances. - Gives how the target dimension depends on n and ε, and notes that the original dimension does not appear. - Explains why a random Gaussian or sparse sign matrix achieves the bound with high probability. - Describes the practical uses and the limits, including how random projection compares with PCA. ### Follow-up Questions - What happens to inner products and angles between points after a JL projection? - How does a sparse random projection cut the cost, and what does it give up? - When would you choose PCA over random projection, and when the other way around? - Why can no linear map to fewer dimensions preserve the length of every vector in the original space?

Overview: Asks what the Johnson-Lindenstrauss lemma promises when high-dimensional points are mapped down with a random projection. Tests how precisely you can state the bound, why random matrices achieve it, and when random projection is a good substitute for PCA.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

A random projection reduces dimensionality by multiplying each data vector by a random matrix with far fewer rows than the data has features.

What does the Johnson-Lindenstrauss lemma guarantee regarding random projections?

What a Strong Answer Covers Guidance

  • States the guarantee precisely: a finite set of n points, all pairs at once, a factor of 1 ± ε on squared distances.
  • Gives how the target dimension depends on n and ε, and notes that the original dimension does not appear.
  • Explains why a random Gaussian or sparse sign matrix achieves the bound with high probability.
  • Describes the practical uses and the limits, including how random projection compares with PCA.

Follow-up Questions Guidance

  • What happens to inner products and angles between points after a JL projection?
  • How does a sparse random projection cut the cost, and what does it give up?
  • When would you choose PCA over random projection, and when the other way around?
  • Why can no linear map to fewer dimensions preserve the length of every vector in the original space?