The share read twice moves the middle
Worth reading first: When the answer is a choice · Choosing without knowing · A parameter that counts steps.
The excess is what the fit spent estimated the noise level of a deconvolution problem by leave-one-out cross-validation and found the estimate high by exactly the fit’s own share: its square was the noise’s times , where is the trace of the fit’s hat matrix at the λ leave-one-out chose. Multiplying the square by took the excess out. The median over the true noise fell to between 1.005 and 1.073 on every cell, and the estimate was below the noise on 344 of 960 draws, as low as 0.645, which an unbiased estimate is about a third of the time. The discrepancy principle told the corrected estimate did as well as told the true noise.
Its lowest draws, at 0.65 to 0.75 of the noise, were all at 1.25 to 2 samples per unknown, where the fit spends the largest share of the samples. That suggested a mechanism, and the essay signed a prediction from it. The correction reads at the λ leave-one-out chose. If that λ sat well to the left of the oracle’s, at a smaller λ, the fit there spends more degrees of freedom than it should, the correction takes out too much, and the estimate comes out low. Reading instead at the λ the discrepancy principle picks when told the corrected estimate, iterating once, would then lift every one of those draws above 0.85 and move the median by no more than two per cent.
The low draws, and where their λ sat
The draws are the earlier essay’s: Tikhonov regularisation of a deconvolution problem on grids of 24 to 96 unknowns, at 1.25, 1.5, 2 and 4 samples per unknown and noise of a hundredth, a thousandth and a ten-thousandth, sixteen draws for each grid, 960 in all. For each, the oracle λ is the grid point with the smallest true error, and the offset is how many decades leave-one-out’s λ sits to the left of it.
The prediction’s mechanism is there, and it is not the only one. Over all 960 draws the corrected estimate and the offset have a correlation of : the further left leave-one-out’s λ sat, the lower the estimate tends to be. Among the twelve lowest draws, nine have an offset in the top eighth of all draws, from 0.4 to 4.7 decades to the left. But three of the twelve sit at the other end, six and a half decades to the right of the oracle, among the four per cent of draws furthest right. And the lowest draw in each decade of offset is below 0.8 at both ends of the picture: 0.741 at six and a half decades right, 0.645 at two and a half left. A λ six decades too large spends fewer degrees of freedom than the oracle’s, not more, so the correction there takes out too little rather than too much, and the estimate is low for another reason.
That reason is the estimate itself. Leave-one-out’s noise estimate is the cross-validation error at its minimum over the λ grid, and the minimum of a noisy curve is a low draw from it. The correction removes a bias that can be stated, the fit’s share; it cannot remove the sampling noise in the minimum, which on a draw where the cross-validation curve happens to dip pulls the estimate down whatever is. An estimate that shares the dips’ luck met the same thing in a harsher form, an estimate read off the residual curve that inherits its dips. Here the dips are mild and the estimate is never more than 36 per cent low, but they are there.
One more reading, draw by draw
At 1.25 samples per unknown the second reading does what it was meant to do at the bottom. The lowest draw goes from 0.645 to 0.784; the draws under 0.85 fall from 13 to 4, and those under one from 80 to 38. But the blue dots sit above the red line everywhere, not only at its left end: the middle of the distribution moves up by four to seven per cent, and the highest draws rise with it. The dial shows the same shape at 1.5 and 2 samples per unknown, a smaller lift, and at four samples per unknown almost nothing moves, because there the fit spends a small share of the samples and the correction is small to begin with.
Over all 960 draws, one more reading leaves 175 below the noise instead of 344, seven below 0.85 instead of 19, and a lowest draw of 0.783. The prediction said every draw would be above 0.85, and seven are not. Iterating further, reading at the λ the principle picks when told each new estimate until it stops moving, changes nothing that matters: the fixed point is within one per cent of the single second reading on every cell, so the seven are not a matter of stopping too soon.
Why the middle moves
The second reading moves every draw for a reason that has nothing to do with the low tail. The discrepancy principle chooses the largest λ whose residual is within the noise level it is told, and its λ is generally to the right of leave-one-out’s minimum, at a larger λ where the fit spends fewer degrees of freedom. Reading there gives a smaller on nearly every draw, so is larger, and the estimate rises. On a low draw whose leave-one-out λ was too far left, that is the intended repair. On an ordinary draw whose leave-one-out λ was about right, it takes out less of a share that was being taken out correctly, and the estimate rises above the noise.
The numbers are uniform. On every one of the 960 draws the principle’s λ is to the right of leave-one-out’s, by a median of 0.4 decades at every ratio: leave-one-out’s median offset from the oracle is to decades, already slightly right, and the principle’s is to . At 1.25 samples per unknown the median share falls from 0.447 at leave-one-out’s λ to 0.389 at the principle’s; at four it falls from 0.147 to 0.127. A share six hundredths smaller in , with near 1.8 at the smallest ratio, is the median’s rise of a few per cent, and it is applied to every draw alike.
The medians show it cell by cell. At 1.25 samples per unknown they go from 1.020, 1.051 and 1.073 at the three noise levels to 1.056, 1.103 and 1.140: rises of 3.5, 5.0 and 6.2 per cent. At 1.5 samples per unknown, from 1.007, 1.026 and 1.046 to 1.036, 1.063 and 1.081. At two, rises of 1.5 to 2 per cent. At four, under one per cent everywhere: 1.005 to 1.013, 1.009 to 1.015, 1.011 to 1.016. The prediction’s two per cent holds at two and four samples per unknown and fails at 1.25 and 1.5, exactly where the low draws it was aimed at live.
That is the general shape of a correction applied to every draw to fix a few. The earlier correction, at leave-one-out’s λ, was nearly unbiased because it took out the right share on the typical draw. Any change to where is read changes the share on the typical draw too, and a reading chosen to suit the low tail moves the median away from one. Lifting the bottom of a distribution by moving the whole of it is a trade between bias and tail, not a repair of either.
The rule does not notice
What the estimate is for is the discrepancy principle, and the earlier essay found that the principle told the once-corrected estimate already did as well as told the true noise on its worst draw at every ratio. The question is whether the second reading improves on that.
It does not, on any cell. On seven of the twelve the worst draw is unchanged to three decimals: 1.163, 1.050, 1.049, 1.160, 1.141, 1.107 and 1.164. On the other five it is slightly worse, by 0.003 to 0.025, the largest at 1.5 samples per unknown and a thousandth, from 1.112 to 1.137. The rule’s worst draws are draws where the estimate was fine and the residual curve did something awkward near the noise level, and a second reading that raises the estimate by a few per cent moves the rule’s choice to a slightly larger λ there, which on those few draws costs a little.
So for the purpose the estimate serves, the once-corrected estimate is the better one. Its low tail, down to 0.645, does no harm the rule can see, as the earlier essay found, and the second reading that removes most of that tail costs a few per cent of bias and a little on the rule’s worst draws. Four folds feed one rule made the point that a noise estimate is to be judged by the rule it feeds rather than by itself, and the point holds here in both directions: an estimate a third low did no harm, and an estimate made less often low does no good.
The twelve lowest, one by one
Read one at a time, the twelve mostly sort into the two mechanisms. The draws whose λ sat one and a half decades or more to the left are lifted most: 0.645 to 0.931, 0.703 to 0.987, 0.762 to 0.993, 0.648 to 0.862. Those are the prediction’s draws, and on them it is right: was read too high and reading it again fixes the estimate. The draws whose λ sat only a fraction of a decade left, or six decades right, are lifted least: 0.647 to 0.784 at 0.4 decades left, 0.722 to 0.818 at 0.6, 0.741 to 0.845 and 0.745 to 0.783 at six and a half decades right. On those, the low estimate came from the cross-validation minimum itself, and no reading of reaches it. One draw does not fit either pattern: at a tenth of a decade left, 0.784 is lifted to 0.983, as much as the far-left draws, so the offset at the grid’s resolution does not tell the whole story of any single draw.
All four of the least-lifted are on the smallest grid, 24 unknowns at noise of a hundredth, where each draw’s cross-validation curve is built from 30 to 48 samples and its minimum is noisiest. That is consistent with the account of a low minimum, which predicts that the sampling noise in the estimate shrinks as the samples grow, and it is where more samples take the floor and leave the dip located the same kind of dip in a different estimate.
What a code should keep
A code that estimates its noise level by leave-one-out and corrects it by the fit’s share has three choices on this evidence. It can read the share at leave-one-out’s λ, which gives the least biased estimate, a third of draws below the noise and none more than 36 per cent below. It can read it at the discrepancy principle’s λ, which halves the draws below the noise at the price of a median a few per cent high. Or it can iterate to the fixed point, which is the second choice again. For the discrepancy principle the first is at least as good everywhere, and for any other use of the noise level that penalises a low estimate more than a high one, the second might be preferred.
What a code should not expect is that re-reading the share removes the low tail. The tail has two sources, and only one of them is a misread share. The floor is the part the noise buried and the minimum on the right both found a parameter-choice criterion’s minimum to be a noisy object in its own right, and the leave-one-out minimum is no exception. An estimate that shares nothing with the fit removed the dependence by holding samples out of the fit altogether, at the cost of fitting on fewer; the correction here keeps every sample in the fit and pays instead with a minimum that is sometimes low by chance.
There is also a lesson about predictions of this shape. The earlier essay saw the low draws at small ratios and supposed one cause for all of them, and the cause it named is real: nine of twelve are explained by it. A prediction that all twelve would be lifted above 0.85 needed every one to have that cause, and three did not. A tail is usually made of more than one thing, and a repair aimed at one of them is measured fairly only on the draws that have it.
What was measured, and how far it reaches
Everything here is on the earlier essays’ problems: one family of deconvolution problems, Tikhonov regularisation, a λ grid of 121 points over eight decades, white Gaussian noise of known level for scoring, and sixteen draws per grid. The oracle is the grid point of least true error, which is available only because the true solution is. The second reading uses the discrepancy principle’s λ with its usual safety factor of 1.01, and a different factor would move that λ and so the second reading’s , by an amount not measured. The account of the three right-hand low draws as a low cross-validation minimum is consistent with where they occur, on the smallest grid at the largest noise, but the minimum’s sampling distribution was not measured directly.
The offsets are counted in grid steps of a fifteenth of a decade, so an offset of a tenth of a decade is one or two grid points and indistinguishable from none; the correlation of is over all 960 draws and would be weaker at four samples per unknown, where the estimate barely varies, and stronger at 1.25. And the leave-one-out estimate is computed by the hat-matrix identity rather than by refitting, which the earlier essay checked to agree with refitting to rounding at every λ.
What is firm is the comparison. Reading the degrees of freedom again at the discrepancy principle’s λ lifts the lowest draw from 0.645 to 0.783 and leaves seven under 0.85, moves the median up by as much as 6.2 per cent where the fit spends most, and makes the rule’s worst draw no better on any cell. Choosing without knowing is the reminder of why a noise level matters at all: the discrepancy principle told a level ten times too small fails catastrophically. Nothing here is near that, in either reading.
Still open: the minimum’s own noise, and an average in place of a minimum
How noisy the minimum is. If the remaining low draws come from the sampling noise in the cross-validation minimum, its spread should fall as the samples grow. The prediction with a sign is that over 64 draws per grid, the standard deviation of the uncorrected leave-one-out estimate over the noise falls as within a factor of 1.5 across the five grids at every ratio, and that the corrected estimate’s lowest draw rises above 0.85 on every grid of 64 unknowns or more, by either reading, so that the low tail is a small-sample effect the correction was never going to reach.
An average in place of the minimum. A noise estimate read at the minimum of a noisy curve is biased low by the selection. The prediction is that averaging the cross-validation error over the five grid points nearest the minimum, before correcting by , raises the lowest of 960 draws above 0.8 while keeping every cell’s median within 1.08 of the noise, and leaves the discrepancy principle’s worst draw on every cell within a hundredth of the once-corrected estimate’s, so that removing the selection bias is cheaper than re-reading the share.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- A rule that has to be told how good its answer will be — both name discrepancy principle, generalised cross-validation, noise level, parameter choice, tikhonov regularisation
- A corner chosen without the iteration — both name discrepancy principle, generalised cross-validation, parameter choice, tikhonov regularisation
- Noise that spares the answer and fools the rules — both name discrepancy principle, generalised cross-validation, parameter choice, tikhonov regularisation
- One draw in twenty — both name discrepancy principle, generalised cross-validation, parameter choice, tikhonov regularisation
- The corner reads the norm it is drawn in — both name discrepancy principle, generalised cross-validation, parameter choice, tikhonov regularisation
- The data count their dimensions, not the step's — both name discrepancy principle, generalised cross-validation, parameter choice, tikhonov regularisation
Named objects
A flat tag is an object no other essay names yet.
Cross-validationDiscrepancy principleGeneralised cross-validationNoise levelParameter choiceTikhonov regularisation