TL;DR
Randomized sketching speeds up massive matrix multiplications by compressing large matrices into smaller sketches, but existing theoretical error bounds are worst-case and overly pessimistic. This paper introduces an efficient multiplier bootstrap method that directly estimates instance-specific error quantiles using only the small sketched matrices. Combined with an extrapolation technique, practitioners can accurately predict the error of large sketches using tiny initial runs, adding negligible computational overhead.
What Problem Does This Paper Address?
Randomized Numerical Linear Algebra (RandNLA) methods often approximate large-scale matrix products $A^T B$ (where $A \in \mathbb{R}^{n \times d}$, $B \in \mathbb{R}^{n \times d'}$, and $n \gg \max\{d, d'\}$) by generating smaller "sketches" $\tilde{A} = SA$ and $\tilde{B} = SB$ using a random sketching matrix $S \in \mathbb{R}^{t \times n}$ with sketch size $t \ll n$.
While sketching dramatically reduces computational costs, it introduces random approximation error $\epsilon_t = \|A^T S^T S B - A^T B\|_\infty$. Standard analytical bounds on $\epsilon_t$ suffer from two major flaws:
- They are worst-case across broad matrix families, making them far too conservative for any given instance.
- They do not allow practitioners to determine how accurate a specific computed sketch is, nor do they specify the minimum sketch size $t$ required to meet an error tolerance $\epsilon$ with a target probability $1 - \alpha$.
Alternative diagnostics—such as Freivalds-style test-vector approaches—require repeatedly reading the full $n$-dimensional input matrices, which can be just as expensive as the original problem.
Methods
The authors develop a statistical bootstrap framework tailored to matrix sketching:
-
Multiplier Bootstrap (Algorithm 1): Viewing the sketch error as a sample average of zero-mean random rank-1 matrices $D_i = A^T s_i s_i^T B$, the central limit theorem suggests the coordinate entries are asymptotically Gaussian. By generating independent multipliers $\xi_1, \dots, \xi_t \sim \mathcal{N}(0, 1)$, bootstrap error samples are formed as: $$\epsilon^*_{t, b} = \|\bar{\xi} \cdot (\tilde{A}^T \tilde{B}) - \tilde{A}^T \Xi \tilde{B}\|_\infty$$ where $\Xi = \text{diag}(\xi_1, \dots, \xi_t)$ and $\bar{\xi} = \frac{1}{t}\sum_{i=1}^t \xi_i$. Crucially, this evaluation requires access only to the compressed sketches $\tilde{A}$ and $\tilde{B}$, with runtime $\mathcal{O}(B \cdot t \cdot d d')$, completely independent of the large dimension $n$.
-
Richardson Extrapolation: Because sketching error scales as $q_{1-\alpha}(t) \approx \frac{\kappa}{\sqrt{t}}$, one can run the bootstrap on a small initial sketch of size $t_0 \ll t$ and extrapolate to larger target sketch sizes: $$\hat{q}^{\text{ext}}_{1-\alpha}(t) = \sqrt{\frac{t_0}{t}} \hat{q}_{1-\alpha}(t_0)$$ This enables determining the required sketch size $t$ upfront without ever running a large sketch first.
-
Non-parametric Bootstrap (Algorithm 2): Resampling rows of $\tilde{A}$ and $\tilde{B}$ with replacement (multinomial sampling), providing an equivalent, intuitive plug-in counterpart.
Datasets
The authors evaluated their methods on both synthetic and real-world datasets:
- Synthetic Data: Matrices with $n = 30,000$ and $d = 1,000$ generated with high row-coherence (via a multivariate Student-$t$ distribution with 2 degrees of freedom) across two regimes:
- Low stable rank: $r(A) = 36.7$
- High stable rank: $r(A) = 370.1$
- Real-World Benchmarks (from LIBSVM):
Connect($n = 67,557$, $d = 126$)DNA($n = 2,000$, $d = 180$)MNIST($n = 60,000$, $d = 780$)Mushrooms($n = 8,124$, $d = 112$)Protein($n = 17,766$, $d = 356$)
All matrices were normalized such that $\|A^T A\|_\infty = 1$.
Key Insights and Ideas
- Bootstrapping Algorithm Error, Not Data: While the bootstrap is traditionally used to infer data population variance, here it is repurposed to quantify the internal stochasticity introduced by a randomized algorithm.
- Overcoming Variance Assumptions via the Lévy-Prohorov (LP) Metric: Previous high-dimensional multiplier bootstrap proofs rely on Kolmogorov metric anti-concentration bounds, which impose strict variance lower bounds that fail when matrices have sparse or small entries. By analyzing distributions under the Lévy-Prohorov metric, the authors eliminate all sparsity and entry-size restrictions on $A$ and $B$.
- Extrapolation Yields Massive Cost Savings: Instead of computing large bootstrap runs, practitioners only need an initial sketch where $t_0 \approx d/2$. This decouples error estimation from the scale of the final sketch.
Key Results
- Theoretical Convergence: Under sub-Gaussian projection, length sampling, and Subsampled Randomized Hadamard Transforms (SRHT), the bootstrap distribution converges to the true error distribution in the LP metric at a rate of $\mathcal{O}(t^{-1/8} \sqrt{\log d})$, completely independent of $n$.
- Empirical Speedup & Accuracy: In experiments across Gaussian, SRHT, and length-sampling sketches, setting an initial sketch size $t_0 \approx 500$ reliably predicted the 99th error quantile ($q_{0.99}(t)$) up to $t = 10,000$, achieving a ~20-fold computational speedup over naive bootstrapping.
- Sample Efficiency: Accurate quantile predictions were achieved with as few as $B = 20$ bootstrap replicates, showing negligible bias and tight variance bands across all datasets.
Limitations and Future Work
- Gap Between Theory and Practice: The proven theoretical rate ($\mathcal{O}(t^{-1/8})$) is conservative; empirical performance converges much faster than this bound suggests.
- Norm Restrictions: The current analysis specifically addresses entry-wise $\ell_\infty$-norm error. Extending theoretical guarantees to spectral or Frobenius norms remains an open problem.
- Broader RandNLA Applications: The authors note that the non-parametric bootstrap framework can conceptually extend to other randomized computations, including randomized least-squares regression, covariance matrix eigenspaces, and subsampled Newton steps for non-linear optimization.
Summary updated