Series · 17 posts

Training Hyperparameters, Dose by Dose

Seed noise, optimizers, schedules, EMA, early stopping, label smoothing, weight decay, warmup and clipping measured with paired seeds on a fixed CIFAR-10 budget.

It begins by measuring how much accuracy the random seed alone moves, and then holds every training knob to that standard: paired seeds, t-statistics, win counts, and where a knob has a dial, a dose-response curve rather than a single setting. Most of the folklore survives in a weaker form than it is usually stated.

  1. 1
    Same Seed, Different Model: PyTorch GPU Nondeterminism
    August 18, 2026
    I Set Every Seed and Trained Twice. The Models Diverged at Step 1

    torch.manual_seed is not reproducibility. How fast two identically seeded GPU runs diverge, why, and what bit-exact determinism costs: 16%.

  2. 2
    Seed Noise vs Real Improvements: Is +0.3% a Coin Flip?
    August 27, 2026
    Your +0.3% Improvement Is Probably a Coin Flip

    15 runs with only the seed changed spanned 4.6 points. A single-seed comparison picked a real +0.35 improvement 59% of the time.

  3. 3
    Six Training Hyperparameters Ranked by Effect Size
    August 28, 2026
    I Ranked Six Training Knobs by How Hard They Actually Hit

    Six common hyperparameter changes measured in units of seed noise, three seeds each. The biggest free win was a knob I thought was already set.

  4. 4
    Batch 512 Textbook Fixes Measured: All Made It Worse
    August 31, 2026
    I Tried the Textbook Fixes for Big-Batch Training. All of Them Made It Worse

    Linear LR scaling lost 28 points, warmup alone lost 6.6. What helped was refusing the rule, for a reason printed in the paper's fine print.

  5. 5
    EMA Weights Measured: The Default Decay Lost 3 Points
    September 10, 2026
    EMA's Popular Default Lost Me 3 Points, and the Control Group Dropped a Bombshell

    Two EMA copies inside the same run against the raw weights, seed noise cancelled. Decay 0.999 lost 3 points in 15 of 15 runs; tuned earned +0.08.

  6. 6
    Early Stopping vs Last Epoch: 0 for 15 Across Seeds
    September 15, 2026
    Early Stopping Went 0 for 15 Against 'Just Take the Last Epoch'

    Fifteen seeds with per-epoch validation and test curves: the last epoch was the best in every run, and the held-out set cost more than it saved.

  7. 7
    Test-Time Augmentation Measured: One Flip Beat Every Trick
    September 16, 2026
    One Horizontal Flip at Test Time Beat Every Training Trick I've Measured

    Ten paired seeds, four view sets, clean GPU timings. Averaging with the mirror image gained +0.56 points, seven times what EMA earned.

  8. 8
    SGD vs Adam at a Fixed 10-Epoch Budget: Adam Wins by 0.7
    September 22, 2026
    The One Knob I Never Swept Was the Optimizer. Adam Beat My Tuned SGD by 0.7

    A proper face-off with per-optimizer tuning: Adam beats tuned SGD by +0.71, runs quieter across seeds, and plain Adam beats a tuned AdamW.

  9. 9
    LR Schedule Face-Off: Constant, Step, Linear, Cosine
    September 23, 2026
    The LR Schedule Was Worth 5.7 Points. The Fancy Curve Was Worth 0.3

    Having any decay is the largest effect measured on this blog, 5.7 points; the specific curve is worth 0.3. The schedule also set the noise floor.

  10. 10
    Stacking Adam, Label Smoothing, EMA and TTA: Do Wins Add?
    September 28, 2026
    I Stacked Every Win From This Month's Experiments. The Stack Held.

    Three arms, five seeds, TTA on top. Nearly perfect additivity, one super-additive surprise, and a baseline up 1.9 points with no architecture change.

  11. 11
    Label Smoothing and Calibration: Better Accuracy, Worse ECE
    September 29, 2026
    Label Smoothing Made My Model Better and Its Probabilities Worse

    Label smoothing 0.1 tripled calibration error, trading mild overconfidence for severe underconfidence while improving accuracy. ECE and NLL measured.

  12. 12
    Label Smoothing Dose-Response: Accuracy Saturates at 0.02
    September 30, 2026
    All of Label Smoothing's Accuracy Arrives at 0.02. Everything After That Is Damage

    A five-point sweep: the accuracy gain arrives at the smallest dose, calibration gets monotonically worse after it, and 0.1 is the wrong default.

  13. 13
    Temperature Scaling Measured: One Scalar, 500 Labels
    October 6, 2026
    One Scalar Fixed My Model's Overconfidence. It Needed 500 Labels to Find

    Temperature scaling fitted on an overconfident model and a label-smoothed one: ECE cut to a third, accuracy untouched, 500 validation samples suffice.

  14. 14
    EMA Decay Dose-Response: A Plateau, a Cliff and a Crater
    October 12, 2026
    EMA's Decay Isn't a Dial. It's a Plateau, a Cliff, and a 10%-Accuracy Crater

    Six EMA decay values tracked as parallel shadows in the same ten runs: a flat shelf worth +0.1, a cliff between 0.995 and 0.999, then coin-flip accuracy.

  15. 15
    Adam vs AdamW Weight Decay Dose-Response, 45 Runs
    October 16, 2026
    Weight Decay 0.05: Catastrophe in Adam, Optimum in AdamW

    The same weight_decay is two different algorithms: 0.05 wrecks Adam by 24 points and is AdamW's optimum. Nine arms, forty-five runs.

  16. 16
    Learning Rate Warmup Measured: Insurance, Not a Speedup
    October 19, 2026
    Warmup Did Nothing for My Learning Rate — Then It Fully Rescued the Wrong One

    A 2x2 experiment at a 10-epoch CNN budget: warmup does nothing at the tuned LR and recovers all 2.9 lost points at triple the rate.

  17. 17
    Gradient Clipping Measured: It Multiplied My Weight Decay
    October 20, 2026
    My Gradient Clipping Was Never Clipping. It Was Secretly Multiplying My Weight Decay

    Clipping taxed the tuned recipe and detonated 14 points at an aggressive threshold. It engaged on 100% of steps and rescaled Adam's coupled decay.