Debiasing Sketched Ridge Regression: A Functional Estimation Perspective

Yucong Liu, Florian Tobias SchaeferNeurIPS 2026

TL;DR

Compressing massive datasets using random "sketches" makes ridge regression fast, but matrix inversion introduces a stubborn systematic error (bias) that simple averaging cannot fix. By reframing sketching as a statistical functional estimation problem, the authors adapt two classic resampling techniques—iterative bootstrap and linear aggregation—to algebraically cancel out low-order bias terms. The result is an estimator whose bias vanishes orders of magnitude faster without increasing the asymptotic computational cost or memory footprint.

What Problem Does This Paper Address?

Imagine trying to solve a ridge regression problem on a dataset with millions of rows ($n$) and hundreds of features ($r$). Computing the exact solution takes $O(nr^2)$ time, which can bring a single machine to its knees. Randomized Numerical Linear Algebra (RNLA) offers a clever shortcut: multiply your data by a random "sketching" matrix to squash the $n$ rows down to a manageable sketch size $s$.

Sketching is fast, but there is no free lunch. Because solving ridge regression requires inverting a matrix—a nonlinear operation—passing a randomly sketched matrix through an inverse creates inversion bias. Even if your sketch is completely unbiased on average, the inverse of the sketch is systematically shifted away from the true inverse.

If you compute ten independent sketched solutions and average them, the variance drops, but the bias stays the exact same. Previously, the only way to shrink this bias was to increase the sketch size $s$, which eats up scarce memory in distributed or large-scale settings. Furthermore, existing theory mostly relied on high-probability bounds that obscured the exact mathematical rate at which bias decays as a function of $s$.

Methods

The authors unlock this problem by changing perspectives. Using Singular Value Decomposition (SVD), they show that both classic sketched ridge regression and "Hessian" sketched ridge regression (where only the data matrix $A$ is sketched, leaving the target vector $b$ untouched) are mathematically equivalent to plug-in estimators. Specifically, the true regression solution is a smooth, nonlinear function $f(\Sigma)$ of an identity covariance matrix $\Sigma = I$, and the sketched solution is simply $f(\hat{\Sigma}_s)$, where $\hat{\Sigma}_s$ is the sample covariance matrix generated by the sketch.

Once framed as estimating a smooth function of a covariance matrix, the authors bring two classic statistical debiasing tools to the RNLA party:

  1. Iterative Bootstrap: Starting with a single sketch of size $s$, you repeatedly resample $s$ rows (with replacement) from your existing sketch to estimate how much bias thenonlinear function $f$ introduces, and subtract it out. Repeating this $k$ times mimics taking higher-order forward differences of a differentiable function, systematically canceling out low-order bias terms.
  2. Linear Aggregation (Generalized Jackknife): Instead of one sketch size, you compute $m$ sketched solutions using slightly different sketch sizes ($s_1 < s_2 < \dots < s_m = s$), which can even reuse the same underlying sketched rows. Because the bias expands cleanly as a Taylor series in powers of $1/s$, you can solve a tiny linear system to find exact weights $C_j$ that sum to 1 while forcing the first $m-1$ bias terms to sum to zero.

Crucially, for a fixed number of steps ($k$ or $m$), both methods keep the exact same asymptotic computational complexity as computing a single sketch.

Datasets

The authors note that they evaluate their methods on "three real-world datasets" to test bias reduction, relative objective gaps, and runtime across various sketching schemes. However, the specific names and details of these datasets are deferred entirely to the appendix, which is not included in the main text provided.

Key Insights and Ideas

  • Averaging fixes variance; algebra fixes bias: Standard model averaging uses equal weights on same-sized sketches, leaving systematic distortion intact. Using carefully chosen positive and negative weights across resampled or multi-sized sketches allows errors to destructively interfere and cancel out.
  • Trading compute iterations for memory: In memory-bottlenecked environments (like a central server in distributed learning), you cannot just make the sketch size $s$ huge. These methods let you keep $s$ comfortably small and crush the bias by simply running a few extra fast linear solves.
  • Gaussian orthogonality magic: In classic sketching, part of the target vector $b$ lies outside the column space of $A$ ($b_\perp$). Under Gaussian sketches, this orthogonal component is statistically independent of the sketched data matrix. Consequently, it adds zero bias (only variance), giving classic Gaussian sketches sharper bias bounds than discrete sketches.

Key Results

Let $r$ be the rank (features) of the matrix and $s$ be the sketch size (assuming $s \gtrsim r$):

  • Baseline Bias Rate: The authors prove without tail-probability conditions that a standard isotropic sketched ridge regression has a baseline bias of $O(r/s)$.
  • Exponentially Faster Bias Decay:
  • Under Gaussian sketching, a $k$-step iterative bootstrap slashes the bias from $O(r/s)$ down to $O((\sqrt{r/s})^{k+2})$.
  • Across both Gaussian and discrete sketches (like uniform and leverage score sampling), linear aggregation over $m$ estimators achieves a bias of $O((\kappa\sqrt{r/s})^{m+1})$, where $\kappa$ captures the tail heaviness (sub-Gaussian norm) of the sketch distribution.
  • Beating the Bias Bottleneck ($L_p$ Risk): Total error combines variance (typically $O(1/\sqrt{s})$) and bias. When the feature dimension $r$ is relatively large compared to the sketch size—specifically $r \asymp s^\alpha$ for $\alpha \in (1/2, 1)$—standard sketching is bottlenecked by bias, yielding a sluggish total error of $O(s^{\alpha - 1})$. By running $k \ge \lceil 1/(1-\alpha) \rceil - 2$ bootstrap steps (or $m = k+1$ aggregation steps), the bias is pushed below the variance floor, restoring the optimal $O(s^{-1/2})$ parametric error rate!

Limitations and Future Work

The theoretical guarantees here lean heavily on Gaussian properties when analyzing variance:

  • Non-Gaussian Risk Bounds: While linear aggregation's bias bounds work for discrete sketches (like uniform or leverage score sampling), the unified $L_p$ risk bounds (which control both bias and variance inflation simultaneously) are currently proven only for Gaussian sketches.
  • Discrete Bootstrap: A rigorous theoretical analysis of the iterative bootstrap under discrete sketching distributions remains an open problem.
  • Lower Bounds: The paper establishes upper bounds on bias and risk; proving matching mathematical lower bounds to show these rates cannot be beaten is left for future work.

Summary updated

Abstract

We study sketched Ridge regression through the lens of functional estimation. The sketched solution is a plug-in estimator of a nonlinear function of a second-moment/covariance matrix. Within this framework, we analyze two classical bias-reduction principles---iterative Bootstrap and linear aggregation across multiple estimators. We show that these resampling-based procedures cancel low-order bias terms and yield higher-order bias decay in the sketch size without increasing the order of the computational complexity. Concretely, let $A\in\mathbb{R}^{n\times r}$ have full column rank $r$ and let the sketch size be $s$. For Gaussian sketching, a $k$-step iterative Bootstrap estimator achieves bias of order $(\sqrt{r/s})^{k+2}$. For linear aggregation over $m$ plug-in estimators with different sketch sizes, we obtain bias of order $(\sqrt{r/s})^{m+1}$ for Gaussian sketching and corresponding result for common discrete sketches, including uniform and leverage score sampling.
BibTeX
@inproceedings{liu2026debiasing,
  author = {Yucong Liu and Florian Tobias Schaefer},
  title = {{Debiasing Sketched Ridge Regression: A Functional Estimation Perspective}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pvBnriJ4RH},
}
Figure