The problem
- Same streaming setup:
xᵢ ← xᵢ + v1:19:25. - Query
fᵢ(x)asks for a single entryxᵢ— there is one query function per coordinate1:19:25,1:20:10. - Again we settle for approximation: output
xᵢ ± ε‖x‖1:20:10.
The required matrix property (incoherence)
Suppose Π with columns π₁, …, πₙ satisfies 1:20:45:
- each
πᵢhas unit norm, and - for all
i ≠ j,|⟨πᵢ, πⱼ⟩| ≤ ε.
The algorithm and its error
- Sketch as usual:
y = Πx1:21:32. - Estimator:
x̃ᵢ = (Πᵀy)ᵢ = (ΠᵀΠx)ᵢ1:21:32. - Expanding — since
Πx = Σⱼ πⱼxⱼ(a matrix–vector product is a linear combination of columns) —x̃ᵢ = xᵢ + Σ_{j≠i} xⱼ⟨πᵢ, πⱼ⟩1:21:32,1:22:24. - Every inner product is bounded by
εin magnitude, sox̃ᵢ = xᵢ ± ε‖x‖₁1:22:24.
Building such a Π: apply JL
- Apply the Johnson–Lindenstrauss lemma to the point set
{0, e₁, …, eₙ}— the origin plus thenstandard basis vectors1:22:51. - With
N = n + 1points, JL needsm = O((1/ε²)·log n)rows1:22:51. - Why the two properties fall out
1:23:26,1:23:54,1:24:11:- Preserving pairwise distances ⇒ preserving dot products (the polarization identity again). The basis vectors have pairwise dot product
0, so the images have dot products of magnitude at mostε— incoherence. - Preserving distances to the origin means preserving norms. Each
eᵢhad norm1, so each image has norm1 ± ε; renormalizing to exactly 1 barely changes the bound.
- Preserving pairwise distances ⇒ preserving dot products (the polarization identity again). The basis vectors have pairwise dot product
- Note that
Πeᵢis precisely thei-th column ofΠ, so this construction directly produces the columns needed1:22:51.
Closing
- The lecture ends here: "there are many more ways to use random sign matrices, but that's all I can fit into the time"
1:24:27.