Demonstration 1 of 1
A logged CV gain against the seed noise floor
How much of the noise behind a logged gain does averaging more fold seeds remove, and what does a seed-based threshold then keep?
Averaging k seeds divides the fold-seed spread by sqrt(k), so a threshold built from seed noise keeps shrinking. But the logged gains of pure-noise features also vary because the sample is finite, and re-seeding the folds does not touch that part. The floor falls faster than the real noise, so more seeds let more noise features through. They also let more real features through, but the share of kept notes that are real falls, and at every setting the gains of kept notes overstate their true gains.
Scroll sideways for the whole equation
g_s is the paired AUC gain of one candidate under fold seed s, sd_seed the standard deviation of g_s across seeds, SE = sd_seed / sqrt(k) the standard error of a note that averages k seeds and the seed floor is 2 SE.
Predict first. Moving from a single run to 10 averaged fold seeds shrinks the seed standard error about threefold. What happens to the share of pure-noise features that a gain-above-twice-the-seed-error rule keeps?
Choose an example
Scroll sideways for the whole figure
Constructed example: thirty-two seeded synthetic competitions with ridge-regularized linear models, measured by the chapter activity.
Calculated values
- Seed standard error of a note
- 0.00021
- Spread of noise features' gains
- 0.00075
- Seed floor (2 SE)
- 0.00042
- Noise features kept by the seed floor
- 0.091
- Real features kept by the seed floor
- 0.688
A note averaging 10 seed(s) has a seed standard error of 0.00021, so the seed floor is 2 x 0.00021 = 0.00042. Across 352 pure-noise features the logged gains still spread by 0.00075, 3.6 times the seed error. The seed-floor rule keeps 0.091 of noise features and 0.688 of real ones; any positive gain keeps 0.170 of noise features. Kept notes log 0.00240 on average against a true 0.00094: 0.00240 - 0.00094 = 0.00146 of overstatement.
Worked steps
- Seed standard deviation of one run: 0.00066; with 10 seed(s) the standard error is 0.00021.
- Spread of the noise features' logged gains: 0.00075 (seed error 0.00021).
- Seed-floor rule: keeps 0.688 of real and 0.091 of noise features; precision 0.77.
- Kept notes: logged 0.00240 - true 0.00094 = 0.00146.
Use the idea
Treat a logged gain as a measurement with a noise level you estimate from pure-noise candidates and fresh rows, not from re-seeding alone; store the seeds, fold IDs and the true holdout result with the note.
Where the conclusion applies
Constructed data with a linear model and a deliberately small true effect (about +0.0016 AUC). Candidates are independent of each other. With a larger true effect every rule keeps more real features and the noise features matter less; with correlated candidates the noise is worse. Averaging seeds still helps: it removes the seed part of the noise and makes a note reproducible.
Check your understanding: A note logs +0.002 averaged over 10 seeds, about ten times the seed standard error. Why is it still weak evidence?
Chapter 25 source: section "Preserve Failures and Reproduction Conditions".