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-large reached 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 WI and DO seeds frequently diverged straight to majority-class guessing (0.75, 0.53, and 0.00 MCC), while WI seed 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.
Best-of-seeds BERT vs. prior published baselines and seed variance
GLUE Task (Train / Val)Prior BERTBest-of-Seeds BERTRoBERTa / ALBERTSD (WI / DO)
MRPC (3.7k / 409 · Acc/F1)88.0 to 90.791.490.9 / 90.90.058 / 0.059
RTE (2.5k / 277 · Acc)70.0 to 70.477.386.6 / 89.20.066 / 0.067
CoLA (8.6k / 1,043 · MCC)60.6 to 62.167.668.0 / 71.40.090 / 0.095
SST-2 (67k / 873 · Acc)92.5 to 93.295.196.4 / 96.90.0028 / 0.0024

Source: Dodge et al. (2020), Tables 1, 2, and 3. All trials fine-tuned BERT-large uncased (340M params) for 3 epochs (batch 16, LR 2e-5, dropout 0.1).

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).

Three-parameter early stopping rule (example: 20-trial MRPC budget)
1. Start wide (t = 41)
Launch roughly 2x as many seeds as your compute budget could finish end to end.
2. Prune early (f = 30%)
Evaluate all trials after 20% to 30% of training (under 1 epoch on 3 of 4 tasks) and drop the bottom tier.
3. Finish top half (p = 11)
Run the top ~x/2 candidates to 3 epochs; total cost equals (tf + p(1 - f))s = 20 full runs.

Source: Dodge et al. (2020), Section 5 and Figures 6 and 7. Evaluated across budgets of 3 to 90 epochs (1 to 30 full runs) via 50,000 bootstrap samples.

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.