The four belongs to the norm
Worth reading first: The variation that comes with a seed · A bound that holds with probability.
The seed stops mattering first set a randomised low-rank approximation’s two sources of variation against each other and watched them cross. Between draws, the error moved by 31 per cent at no power passes; between partitionings of one draw it moved by . Each power pass cut the first by a fixed factor and left the second alone, so the lines met, at two passes on a fast decay and sixteen on a slow one. On the way it measured two rates. The spread of the leading subspace between draws fell by the square of the gap, , each pass, as the theory of subspace iteration says it should. The spread of the error fell about four times as many decades a pass, at every decay where it could be fitted.
That essay could account for two of the four. The rank- error is stationary at the best subspace, so a subspace wrong by an angle gives an error wrong by about , and an error that is the square of something falling at a given rate falls at twice that rate. The other two it put down, tentatively, to the truncation: the method finds a range of columns and keeps the best inside it, and choosing directions inside a space that has nearly contained them might add another second-order factor. Then it noticed that at two columns of oversampling the factor was 2.5 rather than four, and signed a prediction: with no oversampling the factor would fall to 2.0, within a tenth, on every decay; and at forty columns it would stay near four, “since by then the truncation has all the room it can use”.
The numbers come out as predicted. The reason does not, and the measurement that shows it costs nothing: a second norm, read on the same draws.
Holding the gap still while the oversampling moves
The rate at which the subspace settles is the gap’s, a pass, and that depends on the oversampling. On one matrix, forty columns of oversampling would make every spread collapse to rounding in a pass or two, leaving nothing to fit. So here the matrix changes with . Its singular values are geometric, , and the decay is chosen for each so that the gap falls by a fixed number of decades a pass: , with either 0.15 or 0.3. With no oversampling and that is a decay of 0.708, close to the earlier essay’s fastest. At forty columns it is 0.9916, a matrix whose sixty singular values run only from one down to 0.6. Everything else is as before: 120 by 60, rank , six draws of a Gaussian test matrix, power passes with reorthogonalisation between them, and every draw’s whole trajectory of passes recorded in one run. A Gaussian test matrix is the random projection of the dimension that does not appear, used here not to preserve distances but to find a range, and its draws are the only randomness in the computation.
The grey line, the subspace, has the same slope at every stop of the dial, which is the construction doing its job: 0.300, 0.295, 0.274 and 0.304 decades a pass at none, two, five and forty columns. Its fitted rate stays within a seventh of 0.3 at every oversampling and both gaps. What changes across the dial is the other two lines, and they change differently.
The prediction’s two numbers
In the spectral norm, the one the earlier essay measured, the factor is 1.94 with no oversampling when the gap falls 0.3 decades a pass, and 1.90 when it falls 0.15. The prediction asked for 2.0 within a tenth, and it holds, the second at the edge. At one and two columns the factor is 2.2 to 2.4. It jumps between two and five columns, to 3.5 and 3.8, reaches 3.8 and 4.1 at ten, and then comes back a little, to 3.1 or 3.2 at twenty and 3.3 or 3.5 at forty. The prediction said it would stay near four at forty “rather than going on rising”. It does not go on rising. Whether 3.4 is “near four” is a matter of reading; it is closer to four than to two, and it is below the value at ten on both gaps.
So far this is the earlier essay’s story confirmed: a factor of two from stationarity, and a second factor that appears with oversampling. The Frobenius line is what breaks it. Measured in the Frobenius norm, the same rank-8 approximations, from the same draws and the same passes, have an error whose spread falls at twice the subspace’s rate at every oversampling: 1.95, 1.89, 1.88, 2.18, 1.93, 1.93 and 1.98 at the seven settings, and between 1.74 and 2.15 at the slower gap. The room for the truncation is exactly the same in both norms, since it is the same truncation. If it were the source of the second factor of two, both norms would show it. One does and one does not.
Three rates on one axis
Set out as rates rather than ratios, the picture is simpler still. The subspace falls about 0.3 decades a pass at every oversampling, because that is how the matrices were built. The Frobenius error falls about 0.6, twice that, at every oversampling. The spectral error falls 0.58 with no oversampling, the same as the Frobenius error to two digits, and then climbs: 0.71 at one and two columns, 1.04 at five, 1.07 at ten, about one from there to forty. Only one of the three lines responds to the oversampling, and it is the one that measures the error by its largest singular value alone.
The Frobenius norm of the error is the square root of a sum of squares over every direction the approximation has missed. When the leading subspace is wrong by an angle , a component of size about leaks out of the approximation, and its square joins the sum; the excess over the best is second order in , so its rate is twice the subspace’s, whatever else is going on. That is the stationarity argument, and the Frobenius norm obeys it exactly.
The spectral norm of the error is the largest singular value of , and at the best approximation that is , belonging to singular direction . A leaked component of size raises it only to the extent that it lines up with that direction. With no oversampling the range has exactly columns, it does not hold direction , and the slowest part of the leak is along precisely that direction, so the leak adds to the largest remaining singular value at first order in its own square: rate two. With oversampling, the range holds direction too, the method’s keeps it almost exactly, and what leaks from the leading subspace lies nearly at right angles to it. A perturbation at right angles to the top singular direction moves the top singular value only at second order in its size, and its size is already second order in . That gives rate four, and it explains why the factor rises with the oversampling only until direction is well inside the range, which on these matrices takes a few columns, and then stops.
That account is consistent with every number on the three figures. It is not proved by them. What the measurement does establish is the part the earlier essay got wrong: the second factor of two is not about the truncation. It is about which norm is asking.
Where the oversampling helps first
Before any pass, the draws’ leading subspaces differ by 2 to 3 in the Frobenius norm of their projectors’ difference at every oversampling: with a gap this narrow, eight random directions are nowhere near the leading eight, oversampled or not. The errors are another matter. With no oversampling the spectral error varies by its own size between draws; with forty columns its spread is a few hundredths, and the Frobenius error’s is a few thousandths. An oversampled range already holds most of what a rank-8 error can see even when it holds very little of the leading subspace, which is the earlier finding of what a single draw cannot report, at no oversampling a draw’s error 11.6 to 50 times the best and at sixteen columns close to it, seen here from the side of its variation rather than its size.
So oversampling does two separate things to the error’s spread. It lowers where the spread starts, by one and a half decades in the spectral norm and two and a half in the Frobenius norm. And in the spectral norm alone it doubles the rate at which the spread falls. The subspace gets neither: its start is the same and its rate is the gap’s.
When each error is settled
Read as a practical question, how many passes until two draws agree on the error to twelve digits, the two norms part company as soon as there is any oversampling. With none, they settle together, at 24 passes when the gap falls 0.3 decades a pass. With five or more columns the spectral error is settled at 12 passes and the Frobenius error takes 20 to 24. On the slower gap the passes roughly double for both, and the gap between the norms doubles with them.
This matters for the comparison the earlier essay was built on. The crossing it measured, the pass at which the seed’s spread falls to the machine’s, was a crossing for the spectral error. A program that reports the Frobenius error, which is what most error bounds for randomised methods are stated in and what a bound that holds with probability drew as a band, will see its seed’s spread fall half as fast and reach the machine’s level later, by the factor of two in the rates. And a program that reports the subspace, the singular vectors themselves, waits longer again, as the earlier essay already found: the error was settled to rounding at sixteen passes on its slowest decay while the subspaces still differed by .
Agreement is not accuracy
One feature of the construction needs saying plainly, because it would be easy to read the oversampled measurements as a recommendation. To hold the gap at 0.3 decades a pass with forty columns of oversampling, the matrix’s singular values have to fall by a factor of 0.9916 each, so the ninth is 0.935 of the first. A rank-8 approximation of such a matrix leaves an error of 0.935 in the spectral norm and most of the matrix in the Frobenius norm. It is a poor approximation, reproduced very precisely. Every spread measured here is a spread between draws, the variation a recorded seed would remove, and says nothing about whether the thing being reproduced is worth having. Randomisation does not create structure made the same point about a flat spectrum: the randomised method’s error there is the optimal one, and the optimal one is useless.
The matrices at no oversampling are the opposite case: a decay of 0.708 makes the ninth singular value 0.06 of the first, and a rank-8 approximation is a good one. Both ends behave the same way in the Frobenius norm and differently in the spectral norm, so the second factor of two is not a property of good approximations or bad ones. It is a property of whether the range has room for the direction just past the rank, which oversampling provides on any spectrum.
That suggests how to read the earlier essay’s crossings, which were all measured at five columns of oversampling. At five columns the spectral error’s factor is 3.5 to 3.8 here, and the earlier essay found 3.6 to 4.2 across its decays, so the two measurements agree where they overlap. A program that ran the same computation with no oversampling would see its spectral error settle at half that rate, its crossing against the machine at roughly twice the passes, and would conclude, correctly for its own setting, that the seed matters for longer than the earlier essay said. The disagreement would be about the oversampling, and the oversampling would be acting through the norm.
Which question a reproducibility policy is answering
The variation that comes with a seed began this line of measurement with a question about policy: whether recording the seed of a randomised computation is enough to reproduce it. The earlier essays answered that the seed matters less with each power pass and the machine not at all, so that past a crossing the seed settles nothing the machine does not. This one adds a qualifier that belongs in the policy’s wording. The crossing is a property of the quantity being compared, and three natural quantities, the spectral error, the Frobenius error and the subspace, settle at rates in the proportion four to two to one once a range is oversampled.
That is why an answer that changes with the seed could find a solve varying by a factor of 1.84 across four seeds while an error norm on the same computation looked steady: a policy that checks an error in the spectral norm is checking the fastest of the three, and it will declare two runs equivalent while the vectors a downstream computation consumes still differ in their fifth digit. The sketch that is not the answer makes the same point from the other direction, keeping the randomness out of the answer altogether by using the sketch only to precondition. A norm is part of the specification of a test, and the measurements here put a number on how much the choice of norm is deciding.
There is also a smaller lesson about the earlier essay’s reasoning. Its guess, that the truncation inside a wider range adds a second-order factor, was reasonable, and it predicted the right numbers at both ends. It was wrong anyway, and the error would not have been found by measuring more oversamplings in the same norm, since the spectral factor does exactly what the guess said it would. It took a second norm, which costs nothing, computed on the same draws. A prediction that comes true is evidence for the numbers it states and only weakly for the reason given with them.
What sixty columns cannot settle
The matrices are small, 120 by 60, with geometric singular values; the oversampled ones have nearly flat spectra by construction, and on a spectrum with a cliff after value the second factor of two might appear with less oversampling or not at all. The fitted rates come from least squares over the checkpoints clear of rounding, about eight points at the fast gap and twelve at the slow, and they move by a few per cent with the choice of points; the factor’s second digit should not be read as a property of anything. The account of the spectral factor through direction has not been tested directly. That would need the angle between the method’s leaked component and that direction, which was not computed. Six draws estimate a spread coarsely, though the rates are read from its slope over many passes, which is less sensitive.
Still open: the leak’s direction, and a spectrum with a cliff
The angle the leak makes. The account above says the spectral factor is four when the component leaking from the leading subspace is at right angles to singular direction , and two when it is not. The prediction with a sign is that the cosine of that angle, measured pass by pass, falls at the gap’s rate itself with no oversampling held near one, and with five or more columns falls to below within three passes, while at one and two columns it stays between those for as many passes as the factor stays near 2.4.
A cliff after the kth value. On a spectrum whose singular value number is a hundred times smaller than value , direction is captured as quickly as the leading ones. The prediction is that there the spectral factor is near four already at one column of oversampling, while the Frobenius factor stays at two, so that the oversampling needed to reach the second factor is set by the gap after and not by the number of columns.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- Sketching what is never unfolded — both name oversampling, randomised svd, seeded generator
- A first vector nobody can build against — both name matrix norm, seeded generator
- An inner product with no fixed sign — both name matrix norm, run-to-run variation
- Built from products alone — both name oversampling, randomised svd
- The tail a sample never reaches — both name matrix norm, seeded generator
- Two columns see what one walk cannot — both name matrix norm, seeded generator
Named objects
A flat tag is an object no other essay names yet.
Matrix normOversamplingPower iterationRandomised SVDRun-to-run variationSeeded generator