Concept

Finite termination — where it appears

The property of reaching the exact answer in a bounded number of steps, which a Krylov method has in exact arithmetic and can lose entirely. It holds in exact arithmetic and is lost in floating point, which is why conjugate gradients is used as an iteration rather than as a direct method.

Named by 7 essays across 2 fields — each of them below, with the objects they name alongside it.

05101520253010⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²10¹iteration‖RᵀR − I‖ and ‖r‖/‖b‖step n‖RᵀR − I‖residual30×30, run for exactly n stepsexact arithmetic would end here

An orthogonalisation nobody calls one

Conjugate gradients are derived as a minimisation and behave as an orthogonalisation, which is why the finite-termination property in every textbook is not a property the method has in floating point.

iterative · Krylov
10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²10⁻¹⁶10⁻¹⁴10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1inner tolerance τ, on the residualenergy error delivered, medianerror = toleranceκ(H) = 100κ(H) = 10⁴κ(H) = 1dashed: the error the tolerance would suggesta tolerance is a bound, not an accuracy

A tolerance is not an accuracy

A fixed perturbed block predicted what an inexact inner solve would do to a triangularly preconditioned saddle-point system: a two-step residual growing like the inner tolerance, a constant a few times the model's, and a step rule exact to one step on nine runs in ten. A real inner iteration under flexible GMRES delivers something else. Conjugate gradients stopped at a residual tolerance hands back errors ten to a billion times smaller than it was asked for, the outer residual follows that error with a slope near one and a constant ten to a hundred times the model's, the rule counts four runs in five — and the real solve still costs no more outer steps, while loosening it never once saved inner work.

constraint · Block preconditioning
024681012141618024681012141618distinct eigenvalues in the spectrumstep the recurrence stops atthe step is m, not nn = 30 throughoutspectra drawn8every one breaking at m8worst residual at the breakdown5.6·10⁻¹⁶smallest gain over the step before3.5·10¹⁰an invariant subspace contains the answerand its dimension is what the method costs

The zero that means it is finished

Every Krylov method ends by dividing by a number the previous step produced, and when that number is zero the recurrence stops. In Arnoldi the stop is the answer — the subspace has closed, the solution is inside it, and the residual is at the unit roundoff. The literature calls it a lucky breakdown, and the adjective is doing real work.

iterative · Breakdown
ran to the end3173lucky — a subspace closed295serious, cured by a block of two495serious, cured by a longer block29serious, incurable at any length8counted, not estimatedserious, as a fraction0.13of those, cured at two0.93incurable8matrices tried4000measure zero on the realsand an eighth of the integers

The same zero, and nothing was found

Change the recurrence by two lines and the divisor stops being a norm. It becomes an inner product of two vectors from two different sequences, and an inner product of two different vectors is zero on a whole hyperplane — with neither vector anywhere near zero, nothing invariant, and nothing converged. The arithmetic event is identical and the meaning is opposite.

iterative · Breakdown
02468101210⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1inner steprelative energy error12 unknowns, κ(H) 10⁴9 unknowns, κ(H) 10²12 unknowns, κ(H) 10²conjugate gradients from zerothe accuracy arrives in the last step

The step was coarser than the test

Conjugate gradients stopped at a residual tolerance hands back energy errors far below what was asked, and that was read as the fault of the test. So the inner solve here stops on an estimate of the error itself, which was predicted to make the outer step rule count within one on 180 of 198 runs. It counts 154, against 156 for the residual. The estimate is honest: with two steps of look-ahead no run overshoots tenfold. But on 82 of 132 runs the two tests land on the same iterate to within a factor of two, because on these blocks the error falls gently for nine or eleven steps and then drops by orders in the last. A second prediction fails too: a fixed perturbation on the three smallest eigenvectors matches the real solve on four systems of twelve, no more than one spread evenly, and under two per cent of the real error lies on them.

constraint · Block preconditioning
10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²10⁻¹10⁻⁰.⁵110⁰.⁵10¹target, as a relative errordelivered over the targetenergy stop, worstenergy stop, medianresidual stop, medianresidual stop, lowest400 unknowns · κ = 10⁴ · even spectrumone is on target

On a block with room, the residual was honest

Conjugate gradients stopped at a relative residual inside a block preconditioner had delivered energy errors ten to a billion times below its tolerance, and a stop on the estimated energy error changed almost nothing, because blocks of a dozen unknowns converge by orders at their last step. The prediction for a block of 400 unknowns with evenly spread eigenvalues was that the energy stop would land within a factor of three of its target and the residual stop at least ten times below. The energy stop does, on every draw. So does the residual stop, within a factor of five, in the same number of steps. On an even spectrum the residual is already an estimate of the energy error. A geometric spectrum is where the two part, and there the cheap energy estimate overshoots its target fourfold.

constraint · Block preconditioning
22.32.62.910⁻⁴10⁻³10⁻²10⁻¹1log₁₀ numbers storeddistance to the dominant eigenvalueArnoldi, linearisedprojected quadraticper number heldstorage, linearised832storage, second-order416Ritz values, linearised26Ritz values, second-order52half the storageand twice the approximations

The answer that arrives when the space runs out

A second-order Krylov recurrence holds vectors of length n for a problem with 2n eigenvalues, so it is exact at n steps where the linearised route needs 2n. The machine-precision reading at forty-four vectors on a chain of forty is that exhaustion rather than convergence, and it arrives through a basis whose ‖QᵀQ − I‖ is above one.

iterative · Krylov

Named alongside it

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

Conjugate gradientsKrylov subspaceResidualBlock preconditionerGMRESLoss of orthogonalitySaddle-point systemsStopping criterionArnoldiCondition numberInvariant subspaceOrthogonality

All concepts