Concept

Sketch-and-precondition — where it appears

Using a sketch's triangular factor as a preconditioner for the full problem, so the randomness costs iterations rather than accuracy. It spends the randomness on the iteration count rather than on the answer, so the accuracy is the iteration's and the seed changes only how long it takes.

Named by 3 essays across one field — each of them below, with the objects they name alongside it.

04812162010⁻¹10⁻⁰.⁵1target rank k‖A − Aₖ‖₂published boundrandomisedσₖ₊₁, optimalhow far apart the three areworst seed spread1.1bound / median at k = 1211median / optimum at k = 12160×60, 6 seeds, oversampling p = 5band is best to worst

Randomisation does not create structure

On a matrix whose singular values are all equal, a rank-ten randomised approximation has error 1.0 — and so does the optimal deterministic one. Neither achieved anything, and only one of them is usually sold with the implication that it might.

randomised · Randomised
10²10⁴10⁶10⁸10¹⁰110²10⁴10⁶10⁸10¹⁰condition number of the matrixcondition number seen by the iterationκ(A), unchangedκ(AR⁻¹)a bound with no κ(A) in itκ(AR⁻¹), every κ(A)2.2κ(SU), the other route2.2κ(A), across the sweep10⁸κ(AR⁻¹), across the sweep1the sketch never sees the spectrumand the spectrum cancels out of the answer

The sketch that is not the answer

Sketch-and-solve throws away the original problem and keeps the small one's answer, which is why its answer moves with the seed. Use the same sketch as a preconditioner instead and the condition number the iteration sees is the same number at every κ from a hundred to ten billion — identically the same, to nine digits, because the spectrum cancels out of it.

randomised · Sketching
110¹110¹sketch width over dimensionκ(SQ), median of 16Gaussian4 nonzeros2 nonzeros1 nonzero (CountSketch)dimension 16 · 1,000 rows · cut at 40only leverage separates the sketches

One nonzero is a birthday problem

A sketched preconditioner's quality is one number, how well the sketch preserves one subspace, and the sketch that ships has one nonzero in each column. It was said to supply the needed distortion at its own width. On an incoherent basis its own width is everyone else's: at four times the dimension CountSketch, uniform sampling and a Gaussian all read κ of 2.6. Put each direction of the basis on a single row and CountSketch is singular on 14 draws of 16 at the same width, by the formula for shared birthdays, and needs the dimension squared to escape it. Two nonzeros reduce that to three draws in sixteen at twice the dimension and none at four. Four nonzeros are a Gaussian for this purpose, at about a sixteenth of its cost to apply.

randomised · Sketching

Named alongside it

The objects these essays reach for when they reach for this one.

SketchingCondition numberSketch-and-solveSubspace-embeddingKrylov subspaceLow-rank approximationLsqrMatrix-freeOversamplingPreconditioningRandom projectionRandomised SVD

All concepts