Sketch and Precondition for High Precision Linear Systems

This direction is split into other directions: randomized preconditioning (sketch-based preconditioning). Its last version stays readable and citable here.

Version 1 of 1127 papers186 conceptsfrozen 2026-10-04

In large-scale machine learning, we often face a fundamental trade-off between speed and precision. When solving massive linear systems $Ax=b$ or regression problems, classical direct solvers like Householder QR are robust and precise but prohibitively slow ($O(n^3)$). Conversely, "sketch-and-solve" methods—which compress the matrix $A$ into a smaller "sketch" $SA$ and solve the reduced problem—are incredibly fast but hit an "accuracy floor." Because the sketch is only an approximation, the solution it yields is typically only accurate to a few digits.

The research direction of Sketch-and-Precondition bridges this gap. Instead of using a sketch to solve the problem directly, researchers use the sketch to build a preconditioner for an iterative solver. This hybrid approach achieves the best of both worlds: the nearly linear runtime of randomized algorithms and the machine-precision accuracy of classical numerical linear algebra.

The Intuition: Flattening the Spectral Landscape

To understand why this works, we must look at the "condition number" of a matrix. Iterative solvers like Conjugate Gradient or LSQR converge slowly when a matrix is ill-conditioned—meaning its singular values are spread across many orders of magnitude.

A preconditioner $P$ acts as a transformation that "flattens" this spectral landscape. If we can find a $P$ such that $AP^{-1}$ is close to the identity matrix, the iterative solver will converge in just a few steps. As Zachary Frangella, Madeleine Udell, and Joel A. Tropp demonstrate in Randomized Nyström Preconditioning, a randomized sketch captures the dominant singular values of the original matrix. By using this sketch to construct $P$, we effectively neutralize the most troublesome parts of the spectrum, reducing the condition number from astronomical levels to a small constant.

From Coarse Approximation to Machine Precision

The shift from "Classical" to "Modern" Randomized Numerical Linear Algebra (RandNLA), as surveyed by Michal Derezinski and Michael W. Mahoney in Recent and Upcoming Developments in Randomized Numerical Linear Algebra for Machine Learning, is defined by this move toward high precision.

In a standard sketch-and-solve routine, the error is tied to the size of the sketch. To get more precision, you need a larger sketch, which eventually becomes as expensive as the original problem. In the sketch-and-precondition framework, the sketch size only determines the rate of convergence, not the final accuracy. As Zhao Song, Lichen Zhang, and Junze Yin show in Solving Attention Kernel Regression Problem via Pre-conditioner, the iterative solver uses the original matrix in each refinement step. This allows the algorithm to reach an error tolerance $\epsilon$ in $O(\log(1/\epsilon))$ iterations, effectively achieving machine precision in nearly linear time.

Recursive and Multi-level Strategies

A significant bottleneck in preconditioning is the cost of inverting the preconditioner itself. If the sketch is still relatively large, computing its SVD or QR decomposition can be expensive.

To solve this, Michal Derezinski, Christopher Musco, and Jiaming Yang introduced Multi-level Sketched Preconditioning (MSP). Instead of a single sketch, they use a hierarchy of sketches. Each level of the chain serves as a preconditioner for the level above it. This recursive structure, also explored by Aaron Sidford in Approaching Optimality for Solving Dense Linear Systems with Low-Rank Structure, allows for solving systems with many outlying singular values without ever performing a full-scale matrix inversion.

Applications Across Machine Learning

This framework has proven transformative for several high-stakes ML problems:

By reframing sketching as a tool for optimization rather than just compression, this research direction has turned randomized linear algebra into a high-precision engine capable of powering the next generation of large-scale scientific computing and AI.

Papers in this version

Showing 60 of 127 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_sketch_and_precondition_for_high_precisi_12e78a00,
  title = {Sketch and Precondition for High Precision Linear Systems},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sketch-and-precondition-for-high-precision-linear-systems/rdr_12e78a00b13b4489b4475c6907c794ec},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_sketch_and_precondition_for_high_precisi_12e78a00_v1,
  title = {Sketch and Precondition for High Precision Linear Systems},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sketch-and-precondition-for-high-precision-linear-systems/rdr_12e78a00b13b4489b4475c6907c794ec/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}