Varying only the random seed during standard BERT-large fine-tuning boosted best GLUE validation scores by up to 7 absolute points on RTE (77.3 vs. 70.4) and CoLA (67.6 vs. 62.1), with data shuffle order and the initialization of just 2,048 classifier weights (0.0006% of the model) contributing almost equally to the variance.
- Seed luck beats architectural claims: Across 625 trials per task on MRPC, RTE, and CoLA and 225 trials on SST-2 (2,100 runs total, all with identical hyperparameters),
BERT-largereached 91.4 on MRPC, outperforming published scores for XLNet (89.2), RoBERTa (90.9), and ALBERT (90.9). - Both random factors matter equally: Expected validation standard deviations over weight initialization (
WI) vs. data order (DO) were nearly identical on every dataset: 0.058 vs. 0.059 on MRPC, 0.066 vs. 0.067 on RTE, 0.090 vs. 0.095 on CoLA, and 0.0028 vs. 0.0024 on SST-2. - Bimodal collapse on small datasets: On MRPC, RTE, and CoLA, bad
WIandDOseeds frequently diverged straight to majority-class guessing (0.75, 0.53, and 0.00 MCC), whileWIseed 12 ranked 1st on CoLA and RTE, 2nd on MRPC, and 3rd on SST-2. - Early stopping cuts search waste: Stopping poorly ranked trials after 20% to 30% of training (under 1 epoch on 3 of 4 tasks) and continuing roughly the top half (
p ~ x/2) consistently beat running fewer trials to completion under the same compute budget.
Decoupling the Two Seeds Behind Fine-Tuning Variance
Standard fine-tuning scripts use a single RNG seed that simultaneously controls two distinct choices: the random N(0, 0.02) initialization of the appended 2-unit classification head (WI, 2,048 weights out of 340M) and the mini-batch shuffle permutation (DO). Dodge and colleagues decoupled them by running full N x N Cartesian grids (25 x 25 = 625 runs on MRPC, RTE, and CoLA; 15 x 15 = 225 runs on SST-2).
Two patterns emerged. First, expected validation performance climbed steadily with trial budget and still had not plateaued after hundreds of runs, meaning any headline benchmark score depends directly on how many seeds a lab tried. Second, individual seeds carry genuine signal rather than pure noise: ANOVA confirmed statistically significant mean differences between the best and worst WI and DO seeds on all four tasks (all p under 0.05, down to 2.0e-6 for MRPC WI). Kernel density estimates on MRPC and RTE showed pronounced bimodal curves where bad seeds collapse onto the majority baseline. On the three small datasets, WI mattered slightly more than DO; on the 67k-example SST-2 dataset, DO drove slightly more separation because thousands of gradient steps washed out the initial head weights.
Turning Early Divergence Into a Practical Search Strategy
Evaluating validation sets 10 times per epoch instead of once per epoch (or once at the end) consistently raised expected validation accuracy and cut variance with negligible overhead, because validation requires only a forward pass. Even more useful, Spearman rank correlations across checkpoints showed that runs destined to diverge or lag behind already separate early in epoch 1 on MRPC, RTE, and CoLA (and by epoch 2 on SST-2).
Caveats and Builder Takeaway
These results measure validation splits of four binary GLUE tasks on BERT-large under fixed hyperparameters; model underspecification means high validation seeds can still overfit the dev set rather than test data, and the early-stopping simulator did not separate WI from DO search or test deep RL-style seed sensitivity on generative tasks.
When evaluating fine-tuned checkpoints or comparing architectures, never compare single-seed point estimates. Report mean, spread, trial count, and checkpoint-selection cadence, just as modern evaluations track sparse autoencoder seed variation and training instability proxies. When fine-tuning on small datasets (under 10k examples), evaluate mid-epoch and allocate compute to screening many initializations for one epoch before finishing the survivors.


