Two trace estimators against their budget, on a 80×80 matrix whose spectrum decays at 0.85
At its defaults it draws two trace estimators against their budget, on a 80×80 matrix whose spectrum decays at 0.85. Two curves of relative error against the number of products with A, both axes logarithmic, as medians over 32 seeds. Hutchinson's fitted exponent is -0.54 and Hutch++'s is -2.55. The deflation changes the exponent rather than the constant, which is what makes it worth two thirds of the budget.
trace-rate is one function in lib/figures/trace.js —
counting the diagonal without looking — two probes, and one of them is free. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
Two curves of relative error against the number of products with A, both axes logarithmic, as medians over 32 seeds. Hutchinson's fitted exponent is -0.54 and Hutch++'s is -2.55. The deflation changes the exponent rather than the constant, which is what makes it worth two thirds of the budget.
show: "trend-mean"
The arguments are the ones A drift put back at the table's price passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Sixteen 60 × 60 operators with eigenvalues decayᵏ, the decay from 0.9 falling by the drift step each trace, over 400 sequences; the table's 68.3% dashed. a new pilot every trace: 67.7%, 67.6%, 67.7%, 66.9%, 66.5%; the last trace's spread: 68.0%, 67.3%, 67.4%, 65.4%, 65.6%; times the last ratio: 68.1%, 68.4%, 67.8%, 68.7%, 68.9%; times a four-trace trend: 70.2%, 67.9%, 68.8%, 67.6%, 68.7% at drift steps 0, 0.0025, 0.005, 0.01, 0.02.
show: "trend-last"
The arguments are the ones A drift put back at the table's price passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
the last trace's spread: 66.0%, 70.5%, 69.5%, 64.3%, 66.0%; times the last ratio: 65.5%, 70.5%, 65.5%, 68.8%, 72.3% at drift steps 0, 0.0025, 0.005, 0.01, 0.02. The table's 68.3% dashed, the band two standard errors of a share of 400 either side; one standard error is 2.3 points.
show: "trend-steps", drift: 0.02
The arguments are the ones A drift put back at the table's price passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Over 400 sequences, the relative spread of one probe going from 0.264 to 0.670. the last trace's spread: 67, 64, 62, 65, 65, 63, 64, 72, 68, 63, 68, 66, 65, 65, 66, 66 per cent; times the last ratio: 66, 60, 71, 71, 71, 69, 68, 66, 68, 69, 66, 66, 72, 65, 71, 72 per cent. The table's 68.3% dashed, with a band of one draw-noise standard error, 2.3 points, either side.
show: "trend-ratio"
The arguments are the ones A drift put back at the table's price passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Medians over 400 sequences from the second trace on. the last trace's spread: 0.861, 0.896, 0.908, 0.912, 0.932, 0.934, 0.942, 0.943, 0.947, 0.951, 0.955, 0.955, 0.960, 0.960, 0.961; times the last ratio: 0.869, 1.005, 1.013, 1.005, 0.992, 1.005, 1.002, 0.990, 0.991, 0.998, 1.001, 0.995, 0.984, 1.006, 0.992; times a four-trace trend: 0.875, 1.021, 1.024, 1.037, 1.014, 1.019, 1.003, 1.001, 1.010, 1.014, 1.001, 1.002, 1.007, 0.996, 1.007. The true relative spread grows from 0.264 to 0.670.
show: "trend-scatter"
The arguments are the ones A drift put back at the table's price passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Over 400 sequences. the last trace's spread: 0.105, 0.100, 0.084, 0.072, 0.058; times the last ratio: 0.271, 0.230, 0.209, 0.170, 0.121; times a four-trace trend: 0.154, 0.126, 0.110, 0.097, 0.076 at drift steps 0, 0.0025, 0.005, 0.01, 0.02. The sixteenth trace's median products, which set the next spread's degrees of freedom: 78, 120, 163, 253, 462.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
63 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
a margin of 1 costs its square at decay 0.8, 3% — checked 8 times
the best share does not rise as the reading does, at decay 0.8 — checked 5 times
sitting above it at every budget, at s = 12 — checked 4 times
a longer warm-up covers more at decay 0.8 — checked 3 times
and the worst draw is outside the target of 0.1 — checked 3 times
no run hits the probe cap at a target of 0.1 — checked 3 times
the loose target covers at least the tight one at 0.8 — checked 3 times
a budget large enough for every split to buy something
a decay rate between everything and nothing
a decay the margin studies draw
a decay the margin sweep measured
a drift the sequence is run at
a drift the stale pilot is measured along
a drift the trend carry is measured along
a drift the turning study runs
a faster decay wants more of the budget in the sketch
a margin the drift sweep is run at
a pilot with at least one degree of freedom
a relative standard error a run could reach
a reversal the dial offers
a reversal the study runs
a sequence whose decay stays a decay
a shape of turn the study runs
a share of the budget the sketch can have
a size the repeated sweeps can afford
a trace-rate view this figure draws
and Hutch++ does NOT change the exponent when there is nothing to deflate
and Hutch++ falls faster on a spectrum that decays
and the published third costs a real factor somewhere
and where the warm-up binds the first probes are free
and where the warm-up decides, the tail is heavier
at an exponent past one
deflation reaches the tightest target for fewer products
enough seeds for a median
Hutchinson falls like one over the square root of the budget
matmul shapes agree
reaching a smaller error at the largest budget
the reading spans a factor of several across the decays
the spectrum leaves a trace worth estimating
where the criterion decides, coverage sits on the normal table
where the criterion decides, the 95th percentile of the error in standard errors is a normal's
Against the rule
It draws a decomposition and prints its residual. It calls
hutchPP,
and every figure above carries the badge — which residualcheck verifies by looking
for it in the emitted SVG rather than by finding the call that builds one. A badge that is
constructed and then left out of the body is the failure that check exists for.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
A drift put back at the table's price
A trace estimator that carries its spread from the trace before loses one step of drift, and the drift is visible in the spreads themselves, so the repair proposed was to multiply the carried spread by the ratio of the last two. Over 400 drifting sequences it works: averaged over the third to sixteenth traces it covers 67.8 to 68.9 per cent at one standard error at every drift, where the plain carry falls to 65.4 and the table says 68.3. It costs what the table says closing that gap costs — 10.5 per cent more products at the fastest drift against a price of 11.9 — so at that drift it spends more than a fresh pilot every trace. Its factor is noisy, scattering the spread it uses two and a half times as widely as the plain carry does, and on a sequence that does not drift that noise costs nothing at all. And the single-trace comparison the proposal named turned out to be smaller than its own draw noise.
Randomised, and the guarantee that changes kindA rate that belongs to the matrix
Hutchinson's fitted exponent sits near a half on every spectrum measured. Hutch++'s runs from −7.15 to −0.67 across the same four budgets, decided entirely by how fast the singular values fall — so one of the two methods has a convergence rate and the other has a rate per matrix. The ±1 probe's advantage moves the same way, from 1.56× at n = 10 to 1.09× at n = 120.
Randomised, and the guarantee that changes kindA rule that reads only its own probes
A trace estimator is a mean of independent samples, so its own standard error is estimable from the samples and a stopping rule needs nothing the estimator does not already have. Over forty draws it is calibrated in the middle and not at the edge: at a target relative standard error of 1% the median error reached is 5.3·10⁻³ and the worst of forty is 2.9·10⁻² — three times the target. And the cost of the target is the estimator's own square root: tightening it from 3% to 1% takes the median probe count from 75 to 696.
Randomised, and the guarantee that changes kindA spread carried from the trace before
A two-stage trace estimator spends a pilot of probes learning its spread, and a computation that needs many traces of a slowly changing operator would rather pay for that once. Frozen at the first trace, the pilot is wrong by the sixteenth: on a spectrum that drifts from decay 0.9 to 0.86 the last estimate is inside a 3% target 52 times in a hundred against the table's 68, and at a faster drift 34. Carry instead the spread of the previous trace's own averaged probes — free, independent of this trace's, one step stale — and its sixteenth estimate covers between 64.5 and 69.5 per cent at every drift, for up to a quarter fewer products than a fresh pilot every time.
Randomised, and the guarantee that changes kindA spread measured on probes it does not average
A trace estimator that stops on its own standard error misses its target a few points more often than a normal table says, because the runs that stop earliest are the ones that underestimated their noise. Spend a pilot of probes only on the spread, fix the number of probes to average in advance, and the selection is gone: with Student's margin the two-stage rule covers 64.8 to 73.3 per cent at one standard error where the table says 68.3. With the normal's margin and a pilot of four it covers 58.5. At one standard error it recovers one to five points for a fifth to two fifths more probes; at 1.96 there was nothing to recover, and the guarantee costs a tenth to double.
Randomised, and the guarantee that changes kindA turn is seen one trace late
A carried spread multiplied by the ratio of the last two spreads restored a drifting sequence's coverage, and the prediction for a sequence whose drift turns was a dip of four or five points on the trace after the turn, gone a trace later, and a guard that removes it for nothing. Run on the turn the prediction described — the spread rising and then falling — there is no dip: the extrapolation promises more rise, uses a spread eleven per cent too large, and covers 70.5 per cent against a table of 68.3. Run on the mirror turn, the spread falling and then rising, the dip is there and larger than predicted: a spread a quarter too small and 59.5 per cent coverage. Either way it is gone a trace later and the sequence's average stays within a point. The guard costs nothing and does not help, because no rule that reads past spreads can see a turn before the trace that shows it.
Randomised, and the guarantee that changes kindCounting what cannot be looked at
The trace is n additions and one of the most expensive quantities in the subject to estimate, because the matrices whose trace is wanted are never stored. Hutchinson's estimator is unbiased with one line of algebra — and its variance depends on which random vector is used, by a factor that is a property of the matrix, and on a diagonal matrix one choice is exact from the first probe and the other is not.
Randomised, and the guarantee that changes kindThe fall sets the undershoot
A trend-carried spread meets a turn sharper than the drift before it — the decay rising 0.02 a trace and then falling 0.06 — and the prediction was a spread about 0.6 of the truth on the trace after the turn, coverage under 55 per cent, a fresh pilot there restoring it, and the sequence's average within two points. All four hold: 0.617, 48.5 per cent, 71.0 per cent, and 67.7 against the table's 68.3. What fails is the rule the earlier essay gave for the error, the square of the last ratio. The undershoot is the last ratio over the next one, and the coverage it costs is the normal table's at that fraction.
Randomised, and the guarantee that changes kindThe miss a normal table already priced
A trace estimator that stops when its own standard error reaches a target misses the target on about a third of draws, and the essay that measured it read the loose targets as the worst calibrated. Over 400 draws the loose target is the better covered — 76% at 10% against 64% at 3% — because the warm-up stops most of its runs with probes to spare. Where the criterion decides, the misses are a normal distribution's: a margin of c on the standard error buys what a normal table says, 94.8% at 1.96, and costs c² in probes, 3.86 times.
Randomised, and the guarantee that changes kindThe split nobody is in a position to choose
Hutch++ spends two thirds of its budget on a sketch and a third on probes, and the third is published as a constant. Swept across six rates of spectral decay at a fixed budget of 48 products, the best share is 0.45 on the fastest and 0.00 on the slowest — sketch nothing at all — and the published third costs between 1.09 and 4.11 times the best error. The decay that decides it is readable from the sketch's own singular values, for products the estimator was going to spend anyway.