Methods that were designed apart

The lag belongs to the value it follows

Conjugate gradients on a blur, held off its first converged Ritz vector, parts from the reorthogonalised run a fixed lag after the second value converges, and the account offered was one clock per value with the blur setting the lag. Held off two vectors, it parts on the third value's clock on all 72 draws at every ratio measured, as predicted. Held off one, it meets the second value's clock only at the ratio the prediction named, and misses a third of the draws at two and at eight. The reason is that the lag is not the blur's: it is 11 steps after a second value that stands at 1.5 times the third and 4 after one at eight, on every blur, so lifting the second value moves the parting about twice as far as it moves the convergence.

Worth reading first: A parameter that counts steps · An eigenvalue that arrives twice · Orthogonal is a number.

The hold ends where the blur parted took conjugate gradients on the normal equations of three blurs, lifted the largest singular value away from the second, and held the recurrence’s basis off the first Ritz vector to converge. Whatever the lift, the held run parted from a fully reorthogonalised run at about the step the unaltered blur had parted at, and it did so a fixed distance after the second value converged. The account it gave was small and clean. A value that converges starts a clock; the run parts when the clock runs out; holding off a value’s vector stops that value’s clock and no other; and the lag, 8, 5 and 4 steps on blurs of width 1.5, 2.5 and 4, is a property of the blur that “does not care which value it is counting from”.

The account makes predictions about operators it was not fitted to, and the essay signed two. With the top two values apart from each other and from the third, in ratios of four, holding off the first vector alone should part within two steps of the second value’s convergence plus the lag, and holding off the first two should part within two steps of the third value’s convergence plus the same lag, with the third value’s convergence not moving as the top two are lifted. And lifting the second value alone, with the first at twice the second, should move the held run’s parting earlier by exactly as many steps as it moves the second value’s convergence.

The clock survives. The lag does not, and the second prediction fails because of it.

Two values lifted, three runs

The operators are the same three blurs with their singular vectors kept. In the first sweep the second value is set to rr times the third and the first to rr times the second, for rr of 2, 4 and 8, beside the blur itself, whose own ratios at the top are within a per cent or two of one. In the second sweep the first value is held at twice the second and the second alone is lifted to 1.5, 2, 4 and 8 times the third. Data are the true signal through each operator with noise at one per cent and a tenth of a per cent, twelve draws each, 72 draws at every setting.

Four runs are made on each draw: the short recurrence; the same recurrence held off the first Ritz vector to converge, from the step its value is within 10−810^{-8}; the same held off the first two, each from its own convergence; and the reference with every residual reorthogonalised twice against the whole basis. A run parts when its filter power mm first differs from the reference’s by more than 10−610^{-6}, which is how the runs part before the copy defined it. The power is the single number a parameter that counts steps reads off a run’s Ritz values to say which filter the run is applying, so a parting is the step at which rounding has started to change the filter and not merely the vectors, and a value converges when the reference’s Ritz value is within 10−810^{-8} of the squared singular value.

The steps at which the top three Ritz values converge and at which three runs part from the reorthogonalised one, against the ratio set between the first and second and between the second and third singular values, blur width 2.5, median of 24 drawsAt blur width 2.5, across the blur itself and ratios of 2, 4 and 8: holding two vectors parts at 21, 20, 19, 18; the third value converges at 15, 13, 13, 13; holding one vector parts at 21, 14, 10, 8; the second value converges at 16, 6, 4, 4; the short recurrence parts at 20, 9, 6, 5; the first value converges at 15, 4, 3, 2.110¹05101520253035ratio of the first to the second, and of the second to the thirdstep, medianholding two, partsthird convergesholding one, partssecond convergesshort recurrence, partssix problems, 72 draws · this blur, 24each hold waits for the next value
Fig. 1 The steps at which the second and third values converge and at which three runs part from the reference, against the ratio set between the top values, median of 24 draws at one blur width: holding two vectors (blue), the third value (green), holding one vector (amber), the second value (open) and the short recurrence (red). The dial sets the blur.

At width 2.5 the picture has three tiers, and they separate as the ratio grows. The short recurrence parts at step 20 on the blur itself and at 9, 6 and 5 with the top values lifted in ratios of 2, 4 and 8: it follows the first value, which converges almost at once when it stands that far out. The run holding one vector parts at 21, 14, 10 and 8, following the second value’s convergence at 16, 6, 4 and 4. The run holding two parts at 21, 20, 19 and 18, and the third value converges at 15, 13, 13 and 13. Each run waits for the first value it is not holding, and the dial shows the same three tiers at the other two widths, with the third tier highest on the narrowest blur.

Holding two keeps the third value’s clock everywhere

The cleanest half of the prediction is the deeper one. A run held off its first two Ritz vectors should part a lag after the third value converges, and the lag should be the blur’s own, since the third value has not been touched and its neighbours in the spectrum are the blur’s.

On how many of 72 draws each held run parts within two steps of the convergence of the first value it does not hold plus the blur's own lag, at each ratio of the top valuesHolding one vector, within two steps of the second value's convergence plus the lag: the blur itself 72, ratios of 2 51, ratios of 4 72, ratios of 8 48. Holding two, of the third value's: the blur itself 72, ratios of 2 72, ratios of 4 72, ratios of 8 72. Of 72 each.018365472holding one vector: the second value's clockthe blur itself72ratios of 251ratios of 472ratios of 848holding two vectors: the third value's clockthe blur itself72ratios of 272ratios of 472ratios of 872draws of 72 within two steps of the predictionthe prediction named ratios of fourtwo held: every draw at every ratio
Fig. 2 On how many of 72 draws each held run parts within two steps of the convergence of the first value it does not hold plus the blur’s own lag, holding one vector (above) and two (below), at each ratio of the top values.

It does, on every draw. At the blur itself and at ratios of 2, 4 and 8, all 72 draws holding two vectors part within two steps of the third value’s convergence plus 8, 5 or 4 steps. The run holding one vector does not do as well. It meets the second value’s clock on all 72 draws on the blur itself and at ratios of four, which is the ratio the prediction named, but on only 51 at two and 48 at eight. So the prediction holds where it was placed and fails on either side, and the way it fails is worth reading draw by draw.

Each draw's parting step minus the predicted one, the convergence of the first value not held plus the blur's own lag: median and range over 72 draws, holding one vector and holding two, at each ratio of the top valuesHolding one: the blur itself median 0, from -2 to 1; ratios of 2 median 2, from 1 to 3; ratios of 4 median 1, from -2 to 2; ratios of 8 median -1, from -4 to 0. Holding two: the blur itself median 1, from -1 to 1; ratios of 2 median 1, from 0 to 2; ratios of 4 median 0, from -1 to 2; ratios of 8 median 0, from -2 to 1.-8-4-20248holding one vectorthe blur itself-2 to 1ratios of 21 to 3ratios of 4-2 to 2ratios of 8-4 to 0holding two vectorsthe blur itself-1 to 1ratios of 20 to 2ratios of 4-1 to 2ratios of 8-2 to 1steps after the predicted partingzero is the prediction · two steps either side allowedone held: late at two, early at eight
Fig. 3 Each draw’s parting step minus the predicted one, median and range over 72 draws, for the run holding one vector and the run holding two, at each ratio of the top values.

Holding two, the draws sit between one step early and two late at every ratio, a band centred on the prediction. Holding one, they drift. At ratios of two every draw is late, by one to three steps with a median of two; at four the band straddles zero; at eight the draws are on time or early, by up to four. A miss that changes sign as the ratio passes four is not noise around a correct prediction. It is a lag that depends on the ratio, crossing the blur’s own lag somewhere near four, where the prediction was placed and where it was therefore bound to look right.

The difference between the two halves is in which value’s neighbours were moved. The third value’s next neighbour, the fourth, is the blur’s, in every operator of the sweep. The second value’s next neighbour is the third, and the sweep moved the ratio between them from about one to eight. If the lag after a value’s convergence depends on how far that value stands from the next one, the run holding two would keep the blur’s lag and the run holding one would not, which is exactly the pattern.

The third value does not care how far the others went

The prediction’s third clause was that the third value’s convergence would not move as the top two were lifted. It is half true, in a way that says something about what lifting does.

The step at which the third Ritz value converges in the reorthogonalised run, median of 24 draws, on each blur and with the top two values lifted in ratios of 2, 4 and 8blur 1.5: the blur itself 24, ratios of 2 20, ratios of 4 20, ratios of 8 20; blur 2.5: the blur itself 15, ratios of 2 13, ratios of 4 13, ratios of 8 13; blur 4: the blur itself 10, ratios of 2 10, ratios of 4 10, ratios of 8 10.0102030blur width 1.5the blur itself24ratios of 220ratios of 420ratios of 820blur width 2.5the blur itself15ratios of 213ratios of 413ratios of 813blur width 4the blur itself10ratios of 210ratios of 410ratios of 810step, medianlifting the top two takes four steps off the narrowestthen lifting further takes none
Fig. 4 The step at which the third Ritz value converges in the reference, median of 24 draws, on each blur and with the top two values lifted in ratios of 2, 4 and 8.

On the narrowest blur the third value converges at step 24 on the blur itself and at step 20 once the top two are lifted, and then at step 20 whatever the ratio, 2, 4 or 8. At width 2.5 it moves from 15 to 13 and stays; at width 4 it does not move at all. The first lift takes up to four steps off it and every further lift takes none. A Krylov method finds the top of the spectrum first, and with the top two values crowded among the others the third is found as part of a cluster; with them lifted out, they are found in the first few steps and the third is the top of what remains. Once that has happened, how far out the first two are has no further effect on it, and the run holding two vectors therefore parts at nearly the same step across all three lifted ratios: 29, 28 and 27 on the narrowest blur, 20, 19 and 18 at width 2.5.

The second value lifted alone

The second prediction is the sharper test of the account, because it asks a held run to respond to a value it has not been told about. Holding off the first vector stops the first value’s clock; the parting should then be the second value’s convergence plus a fixed lag, so moving the second value should move the parting step for step.

The second value lifted away from the third with the first held at twice the second: the step the second value converges and the step the run holding one vector parts, against the ratio of the second to the third, median of 24 draws on each blurblur 1.5, across the blur itself, second at 1.5 × the third, second at 2 × the third, second at 4 × the third, second at 8 × the third: the second converges at 25, 8, 6, 4, 4 and the held run parts at 31, 19, 15, 10, 8; blur 2.5, across the blur itself, second at 1.5 × the third, second at 2 × the third, second at 4 × the third, second at 8 × the third: the second converges at 16, 8, 6, 5, 4 and the held run parts at 21, 16, 14, 10, 8; blur 4, across the blur itself, second at 1.5 × the third, second at 2 × the third, second at 4 × the third, second at 8 × the third: the second converges at 11, 7, 6, 5, 4 and the held run parts at 15, 13, 12, 10, 8.110¹05101520253035the second singular value over the thirdstep, medianblur 1.5: holding one, partsblur 2.5: holding one, partsblur 4: holding one, partssecond converges, each blurthe first held at twice the secondthe parting falls further than the clock
Fig. 5 The second value lifted away from the third with the first held at twice the second: the step the second value converges (grey) and the step the run holding one vector parts (coloured, one per blur), against the ratio of the second to the third.

The second value’s convergence moves as expected. Lifted from 1.5 to 8 times the third, it converges at 8, 6, 4 and 4 on the narrowest blur, 8, 6, 5 and 4 at width 2.5, and 7, 6, 5 and 4 at width 4: four, four and three steps earlier across the sweep. The held run’s parting moves much further: from 19 to 8 on the narrowest blur, 16 to 8 at 2.5 and 13 to 8 at 4, which is eleven, eight and five steps. The movement is between 1.7 and 2.75 times the convergence’s, and at a ratio of eight every blur parts at the same step, 8, as though the blur had stopped mattering.

So the held run’s parting can be made to fall by lifting a value it was not told about, which the earlier essay called the opposite of what a repair is expected to do, and it falls further than the account allowed. Both halves of that sentence are now measured. The first is the clock. The second is the lag.

Eleven steps after a crowded value, four after an isolated one

Subtracting the second value’s convergence from the held run’s parting gives the lag directly, draw by draw, and its median at each ratio is the cleanest view of what failed.

The lag, from the second value's convergence to the step the run holding one vector parts, against the ratio of the second singular value to the third, median of 24 draws on each blurblur 1.5: 6 at its own 1.009, 11 at 1.5, 9 at 2, 6 at 4, 4 at 8; blur 2.5: 5 at its own 1.024, 8 at 1.5, 8 at 2, 5 at 4, 4 at 8; blur 4: 4 at its own 1.066, 6 at 1.5, 6 at 2, 5 at 4, 4 at 8.110¹024681012the second singular value over the thirdsteps from convergence to partingblur 1.5blur 2.5blur 4the first held at twice the secondan isolated value's loss comes sooner
Fig. 6 The lag from the second value’s convergence to the parting of the run holding one vector, against the ratio of the second singular value to the third, median of 24 draws on each blur.

At a ratio of 1.5 the lag is 11, 8 and 6 steps on the three blurs. At two it is 9, 8 and 6, at four 6, 5 and 5, and at eight it is 4 on every blur. A value standing just clear of its neighbour leaves a long lag, longer than the blur’s own 8, 5 and 4, and one standing well clear leaves a short one that no longer depends on the blur at all. The earlier essay’s measurement that the lag “does not care which value it is counting from” was taken where it could not have seen this: on the unaltered blur the first value is barely clear of the second, and in the repaired runs it measured, the second value had the blur’s own neighbours below it. Every lag it compared was a lag after a value whose next neighbour was the blur’s.

The obvious mechanism does not account for it. Paige’s analysis ties the loss of orthogonality along a Ritz vector to how far its Ritz pair has converged, which is also why an eigenvalue that arrives twice arrives only after the first copy has converged, so a value that went on converging quickly past 10−810^{-8} might be expected to lose orthogonality sooner. But the reference’s second Ritz value goes from 10−810^{-8} to 10−1310^{-13} in one or two steps at every ratio and on every blur, so the difference between a lag of eleven and a lag of four is not a difference in how fast the value itself finishes converging. Whatever sets the lag lives in the rest of the recurrence, plausibly in how quickly the next value’s Ritz approximation forms behind the converged one, and that has not been measured. It is the reason the essay’s title says the lag belongs to a value rather than explaining why.

What has been measured is enough to correct the account. A converged value starts a clock, and holding off its vector stops that clock and no other: that survived every test here, on every draw holding two vectors. But the clock’s length is set by the value that started it and its distance from the next, and not by the blur. The blur’s lag of 8, 5 and 4 steps is the lag after the blur’s own top value, which stands within a per cent of its neighbour, and it was the only case the earlier measurement contained.

What the repair can be told

For a code that holds off converged vectors one at a time, as selective orthogonalisation does, the correction is mostly good news. Holding off a vector buys the steps until the next value converges plus that value’s lag, and the run holding two vectors shows the gain compounding as it should: on the narrowest blur, lifted in ratios of four, the short recurrence parts at step 6, holding one at 10 and holding two at 28. The second value was not late found that holding off every vector as it converges holds the run to the end on that blur, and that is the same account applied without limit.

What it cannot be told is how long a hold will last from the spectrum’s top alone. A value that is about to converge and sits close to the one below it gives a long lag; one that stands clear gives a short one. A code knows its Ritz values and could read the ratio between successive ones, which is exactly the quantity this sweep varied, so the information is available at the step where the decision to hold would be made. Whether that is worth doing depends on what a parting costs, and the copies cost steps, not the filter has already said that the answer’s error does not move: a parting costs steps toward the smallest error, a handful of them. The step that stops mattering and an expiry date the noise does not move put that handful in proportion: the run needs as many steps as there are components of the signal above the noise, and on a lifted operator the lifted values are the first components found, so the answer arrives early, as it did at step 4.5 to 9 with one value lifted thirty-two times, and a long hold then protects steps the answer may not need. That was not measured on these operators. On the narrowest blur, where the answer comes late and three tiers of parting sit between step 6 and step 28, the hold is worth most, and that is also where the lag after a crowded value is longest. A step that is not a unit of work is a reminder that holding a vector costs a product with it at every step after. None of that was measured again here.

The limits of a surgical spectrum

Every operator here is a blur with its top values moved and everything else left alone, which isolates the effect at the price of realism; a real operator with two standout values has other differences from a blur that go with them. The data follow each altered operator through the same signal, so lifting a value also changes how much of the data lies along it, which is part of why the first values converge so quickly once lifted. The readings are medians over 24 draws at a blur, except the counts of draws meeting the prediction, which are made draw by draw. The convergence threshold uses the true singular values, which a code does not have.

And the corrected account is still a description. The lag’s dependence on the ratio is measured at four ratios on three blurs, and what is firm is its direction, its range from eleven steps to four, and its independence of the blur at a ratio of eight. The form of the dependence, and the reason for it, are open.

Still open: what the lag reads, and a held value in a cluster

The lag against the next Ritz value’s progress. If the lag is set by how quickly the next value’s approximation forms behind a converged one, it should be readable from the reference’s own Ritz values. The prediction with a sign is that, on every draw in both sweeps, the held run parts within two steps of the step at which the next unheld Ritz value’s relative error first falls below 10−410^{-4}, so that one reading from the run predicts the parting better than any lag does, and in particular gives 11 steps after the second value’s convergence at a ratio of 1.5 and 4 at eight on the narrowest blur.

A value held inside a cluster. All the holds here act on values standing clear of the rest. Lift the first value alone to eight times the second, leave the second within a per cent of the third, and hold off both the first and the second vectors. The prediction is that the run then parts a lag after the third value converges, and that the lag is the blur’s own, 8, 5 and 4 steps, within two on every draw, since the third value’s neighbour is the blur’s; and that holding the second vector costs nothing in steps while holding it saves none either, because inside a cluster the second and third clocks start together, as the first and second did on the blur itself.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Conjugate gradientsIterative regularisationLanczosLoss of orthogonalityReorthogonalisationRitz valuesSingular values