Papers
Topics
Authors
Recent
Search
2000 character limit reached

Sharp analysis of sketched least squares and randomized low-rank approximation

Published 18 May 2026 in math.NA and stat.CO | (2605.19096v1)

Abstract: Two widely used randomized algorithms are the sketch-and-solve method for least-squares regression and the randomized SVD for low-rank approximation. These algorithms apply a random embedding to compress a target matrix, and they perform computations on the compressed matrix to save computational cost. This paper asks, what is the optimal random embedding in these algorithms? Also, what is the sharpest possible error bound for the optimal embedding? The paper proves that a random orthonormal matrix is minimax optimal for the sketch-and-solve algorithm while any rotation-invariant embedding is minimax optimal for the randomized SVD. Following these results, the paper obtains the best possible error bounds for sketched least-squares and the randomized SVD. Last, empirical experiments provide evidence of universality phenomena, in which several random embeddings lead to similar accuracy to the optimal embeddings in practice.

Summary

  • The paper proves exact, unimprovable mean-square error bounds and minimax optimality for sketch-and-solve least squares, with random orthonormal embeddings achieving the best worst-case factor and embedding dimension of roughly r/ε rather than r/ε².
  • The analysis shows that Gaussian and orthonormal embeddings are nearly equivalent when the sketch dimension is much smaller than n, while rotation-invariant embeddings are minimax optimal for randomized SVD and Nyström approximation.
  • The paper establishes a fundamental complexity gap between generalized Nyström and randomized SVD—approximately q/ε² versus q/ε matrix–vector multiplications—and derives an optimal oversampling split for a fixed computational budget.

This paper by Epperly and Webber establishes minimax optimality results and sharp, unimprovable error bounds for two foundational randomized linear algebra algorithms: sketch-and-solve least squares and the randomized SVD (with extensions to Nyström-type approximations). The central question is which random embedding ΩKn×\boldsymbol{\Omega} \in K^{n \times \ell} minimizes worst-case mean square error, and what the exact value of that error is.

Sketch-and-solve: exact analysis and optimality

For the least-squares problem minXBAXF2\min_X \|B - AX\|_{\rm F}^2 with rank-rr matrix AA, the paper gives an exact formula for the expected residual of the sketch-and-solve solution (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B). For a Gaussian embedding,

EBAX^F2=(1+rrαK)minXBAXF2,\mathbb{E}\,\|B - A\hat{X}\|_{\rm F}^2 = \left(1 + \frac{r}{\ell - r - \alpha_K}\right)\min_X \|B - AX\|_{\rm F}^2,

while a random orthonormal embedding achieves the strictly smaller factor 1+nnrrrαK1 + \frac{n-\ell}{n-r}\cdot\frac{r}{\ell - r - \alpha_K}, where αK\alpha_K is 1 over R\mathbb{R} and 0 over C\mathbb{C}. The Gaussian result extends Bartan and Pilanci; the random orthonormal formulas are new.

Several practical consequences follow directly from this formula. Orthogonality helps only marginally: since practical settings use minXBAXF2\min_X \|B - AX\|_{\rm F}^20, Gaussian and orthonormal embeddings are nearly interchangeable. Complexity helps only marginally: a real embedding of dimension minXBAXF2\min_X \|B - AX\|_{\rm F}^21 matches a complex one of dimension minXBAXF2\min_X \|B - AX\|_{\rm F}^22. Most importantly, the formula corrects the folklore scaling: an embedding dimension minXBAXF2\min_X \|B - AX\|_{\rm F}^23 suffices for relative accuracy minXBAXF2\min_X \|B - AX\|_{\rm F}^24, whereas standard subspace-embedding analyses yield the incorrect minXBAXF2\min_X \|B - AX\|_{\rm F}^25 scaling.

The paper then proves a matching lower bound: for any full-rank data-oblivious embedding, there exists a problem instance with minXBAXF2\min_X \|B - AX\|_{\rm F}^26 whose normalized mean square error is at least minXBAXF2\min_X \|B - AX\|_{\rm F}^27. Combined with the upper bound, this establishes that the random orthonormal matrix is the unique minimax optimal embedding in the game where an adversary selects minXBAXF2\min_X \|B - AX\|_{\rm F}^28 knowing the distribution of minXBAXF2\min_X \|B - AX\|_{\rm F}^29. Notably, the lower bound assumes nothing about the structure of rr0, unlike prior lower bounds restricted to Gaussian sketches.

Randomized SVD and Nyström approximation

For the randomized SVD approximation rr1, the classical Halko–Martinsson–Tropp bound gives rr2. The paper refines this by the factor rr3:

rr4

valid for any rotation-invariant embedding, and proves a matching lower bound holding for every full-rank embedding. Hence any rotation-invariant embedding—Gaussian or orthonormal—is minimax optimal for the randomized SVD, and the bound cannot be improved without additional assumptions on rr5.

The proof route is via the Gram correspondence between the randomized SVD and the randomized Nyström approximation of psd matrices: the Schur complement rr6 governs both errors. The key technical device is a hard instance rr7 with two distinct eigenvalues, whose limiting Nyström error as rr8 is computed exactly using expectation formulas for inverse Wishart and Beta (Jacobi) matrices. An averaging argument over random permutations of eigenvalues, combined with concavity and monotonicity of the Schur complement map, converts the hard-instance analysis into a universal upper bound.

Generalized Nyström and the oversampling ratio

The generalized Nyström approximation rr9 combines the two primitives above, and the paper derives sharp upper and lower bounds for it as well. A consequence resolves an open question of Chen et al.: guaranteeing AA0-relative error requires at least roughly AA1 matrix–vector multiplications for generalized Nyström, versus AA2 for the randomized SVD. Thus generalized Nyström has intrinsic AA3 complexity while the randomized SVD enjoys AA4.

The bounds also settle how to split a fixed budget AA5 of multiplications between the left and right embeddings: minimizing the worst-case bound yields the oversampling ratio

AA6

This interpolates between the conflicting recommendations in prior literature (AA7 versus AA8): aggressive ratios near 1 are appropriate when singular values decay rapidly (large target rank AA9), while slower decay favors larger ratios.

Empirical universality

Experiments with eight embeddings (Gaussian, random sign, uniform, SparseIID, SparseStack, random orthonormal, Givens, SRTT) support a universality phenomenon: embeddings cluster into a "Gaussian" class (near-iid entries) and a "random orthonormal" class (orthonormal columns), each tracking the corresponding theoretical prediction closely across coherent and incoherent test problems. One exception is documented: sign-based and sparse embeddings with small dimension (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)0 exhibit elevated error on a "step/coherent" randomized SVD instance, because discrete (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)1 values can annihilate dominant eigenvector directions; universality is restored for (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)2. In "poly" spectral-decay problems, the sharp bound overestimates actual error by roughly (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)3, an overestimation factor the authors note is not theoretically understood since it depends on the detailed eigenvalue distribution.

Limitations and open questions

The theory covers only Gaussian and rotation-invariant embeddings exactly; claims about fast structured embeddings rest on empirical evidence, with rigorous universality theory still incomplete. The authors conjecture that no algorithm whatsoever operating on sketched data can beat sketch-and-solve or the randomized SVD with a random orthonormal embedding (extending optimality beyond the specific estimators analyzed), and conjecture conversely that generalized Nyström is not worst-case optimal. Whether the observed universality classes can be characterized rigorously—and whether the (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)4 overestimation on polynomial spectra can be explained—remain open.

Conclusion

The paper closes the gap between upper and lower bounds for sketch-and-solve and randomized low-rank approximation, identifying random orthonormal matrices as minimax optimal for sketch-and-solve and all rotation-invariant embeddings as minimax optimal for the randomized SVD and Nyström methods. The resulting bounds are exact rational functions of the rank, embedding dimensions, and target rank, they determine minimal embedding dimensions, and they yield concrete guidance on oversampling ratios and the fundamental (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)5 versus (ΩA)+(ΩB)(\Omega^*A)^+(\Omega^*B)6 complexity separation between generalized Nyström and the randomized SVD.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.