Theorem (natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one).One-pass low-rank approximation needs \Omega(k/\varepsilon) matrix–vector products, integer sizes: let k, m and q be natural numbers and n = k + 3m, with 0 < \varepsilon \le \varepsilon_0, \varepsilon \le k/C_1 and m = \lfloor k/(8\varepsilon) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in one pass (all products are chosen before any response is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > \frac{k}{C\varepsilon} \,. Here C = 6400, \varepsilon_0 = 1/6500 and C_1 = 14000. No printed source.
Headline
Notes
the hypotheses force k \ge 1. The n coordinates are indexed by Fin k ⊕ (Fin 3 × Fin m): a head of k coordinates and three tail levels of m each. General form, with finite index types in place of k and m: NLAlib.div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one. Truncated generalized Nyström attains the error in expectation with O(k/\varepsilon) one-pass products (LowRank/Gaussian/TruncatedGeneralizedNystromRate), so the bound is tight up to constants. Asymptotic form: NLAlib.exists_forall_natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one.
Lean statement and details
NLAlib.natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one.{u_4} {k m q : ℕ}
{ε : ℝ} (hε : 0 < ε) (hε₁ : ε ≤ 1 / 6500) (hεk : ε ≤ ↑k / 14000) (hm : m = ⌊↑k / (8 * ε)⌋₊)
{S : Type u_4} [MeasurableSpace S]
{alg :
S →
QueryAlgorithm (Fin k ⊕ Fin 3 × Fin m → ℝ) (Fin k ⊕ Fin 3 × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k) ℝ × Matrix (Fin k) (Fin k ⊕ Fin 3 × Fin m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < 1)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k ⊕ Fin 3 × Fin m) ℝ),
A.IsHermitian →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) :
↑k / (6400 * ε) < ↑q
Theorem (div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one).One-pass low-rank approximation needs \Omega(k/\varepsilon) matrix–vector products: for algorithms whose products are all chosen in advance (one pass), with k nonempty, 0 < \varepsilon \le \min\{1/6500, \lvert k \rvert/14000\} and \lvert m \rvert = \lfloor \lvert k \rvert/(8\varepsilon) \rfloor, an algorithm that is within (1 + \varepsilon) of the best rank-k Frobenius error with probability at least \tfrac12 on every symmetric input makes q > \lvert k \rvert/(6400\varepsilon) products. No printed source.
General form: sizes are index types
Notes
this is NLAlib.div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le restricted to one pass. Truncated generalized Nyström attains the error in expectation with O(k/\varepsilon) one-pass products (LowRank/Gaussian/TruncatedGeneralizedNystromRate), so the bound is tight up to constants. Integer-size form: NLAlib.natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one.
Lean statement and details
NLAlib.div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one.{u_2, u_3, u_4}
{k : Type u_2} {m : Type u_3} [Fintype k] [Fintype m] [Nonempty k] {ε : ℝ} {q : ℕ} (hε : 0 < ε)
(hε₁ : ε ≤ 1 / 6500) (hεk : ε ≤ ↑(Fintype.card k) / 14000)
(hm : Fintype.card m = ⌊↑(Fintype.card k) / (8 * ε)⌋₊) {S : Type u_4} [MeasurableSpace S]
{alg :
S →
QueryAlgorithm (k ⊕ Fin 3 × m → ℝ) (k ⊕ Fin 3 × m → ℝ) q
(Matrix (k ⊕ Fin 3 × m) k ℝ × Matrix k (k ⊕ Fin 3 × m) ℝ)}
(halg : QueryAlgorithm.IsMeasurableFamily alg) {pass : S → ℕ → ℕ}
(hpass : ∀ (s : S), (alg s).IsPassStructured (pass s)) (hp : ∀ (s : S), ∀ i < q, pass s i < 1)
(ρ : Measure S) [IsProbabilityMeasure ρ]
(hsucc :
∀ (A : Matrix (k ⊕ Fin 3 × m) (k ⊕ Fin 3 × m) ℝ),
A.IsHermitian →
1 / 2 ≤
ρ.real
{s |
frobNorm (A - ((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^ 2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A (Fintype.card k)) ^ 2}) :
↑(Fintype.card k) / (6400 * ε) < ↑q
Theorem (exists_forall_natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one).\Omega(k/\varepsilon) matrix–vector products are necessary for one-pass low-rank approximation: there are absolute constants c, \varepsilon_0 > 0 such that the following holds for all natural numbers k \ge 1, m and q and n = k + 3m, with 0 < \varepsilon \le \varepsilon_0 and m = \lfloor k/(8\varepsilon) \rfloor. Let (\mathcal{A}_s) be a randomized algorithm, that is, a measurable family of algorithms with seed s drawn from a probability measure \rho, where every \mathcal{A}_s makes q matrix–vector products with its input \mathbf{A} in one pass (all products are chosen before any response is seen) and returns \mathbf{W} \in \mathbb{R}^{n \times k} and \mathbf{M} \in \mathbb{R}^{k \times n}. If for every symmetric \mathbf{A} \in \mathbb{R}^{n \times n}\mathbb{P}_{s \sim \rho}\bigl[\|\mathbf{A} - \mathbf{W}\mathbf{M}\|_{\mathsf{F}}^2 \le (1 + \varepsilon)\|\mathbf{A} - \llbracket \mathbf{A} \rrbracket_k\|_{\mathsf{F}}^2\bigr] \ge \frac{1}{2} \,, then q > c\,\frac{k}{\varepsilon} \,. No printed source.
Notes
the asymptotic form of NLAlib.natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one, proved from it with c = 1/6400 and \varepsilon_0 = 1/14000. Truncated generalized Nyström attains the error in expectation with O(k/\varepsilon) one-pass products (LowRank/Gaussian/TruncatedGeneralizedNystromRate), so O(k/\varepsilon) one-pass products suffice in expectation and the bound is tight up to constants.
Lean statement and details
NLAlib.exists_forall_natCast_div_lt_of_forall_le_measureReal_frobNorm_sub_mul_sq_le_of_lt_one :
∃ c ε₀,
0 < c ∧
0 < ε₀ ∧
∀ {S : Type} [inst : MeasurableSpace S] (k m q : ℕ) (ε : ℝ)
(alg :
S →
QueryAlgorithm (Fin k ⊕ Fin 3 × Fin m → ℝ) (Fin k ⊕ Fin 3 × Fin m → ℝ) q
(Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k) ℝ ×
Matrix (Fin k) (Fin k ⊕ Fin 3 × Fin m) ℝ))
(pass : S → ℕ → ℕ) (ρ : Measure S) [IsProbabilityMeasure ρ],
0 < k →
0 < ε →
ε ≤ ε₀ →
m = ⌊↑k / (8 * ε)⌋₊ →
QueryAlgorithm.IsMeasurableFamily alg →
(∀ (s : S), (alg s).IsPassStructured (pass s)) →
(∀ (s : S), ∀ i < q, pass s i < 1) →
(∀ (A : Matrix (Fin k ⊕ Fin 3 × Fin m) (Fin k ⊕ Fin 3 × Fin m) ℝ),
A.IsHermitian →
1 / 2 ≤
ρ.real
{s |
frobNorm
(A -
((alg s).run A.mulVec).1 * ((alg s).run A.mulVec).2) ^
2 ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2}) →
c * (↑k / ε) < ↑q
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.