Skip to main content
QUICK REVIEW

[Paper Review] The MultiBERTs: BERT Reproductions for Robustness Analysis

Thibault Sellam, Steve Yadlowsky|arXiv (Cornell University)|Jun 30, 2021
Machine Learning and AlgorithmsComputer Science37 references17 citations
TL;DR

The paper introduces the MultiBERTs, a set of 25 BERT-Base, uncased checkpoints trained with identical hyperparameters but varying random initializations and shuffled training data, enabling robust analysis of pre-training procedures. It proposes the Multi-Bootstrap, a non-parametric statistical method for uncertainty estimation across multiple model seeds, demonstrating with a gender bias case study that single-checkpoint results can be misleading, and showing that 2M-step pre-training improves MNLI performance (p < 0.001) and that MultiBERTs outperform the original BERT on SQuAD 2.0 with 95% CI [1.9%, 2.9%] (p < 0.001).

ABSTRACT

Experiments with pre-trained models such as BERT are often based on a single checkpoint. While the conclusions drawn apply to the artifact tested in the experiment (i.e., the particular instance of the model), it is not always clear whether they hold for the more general procedure which includes the architecture, training data, initialization scheme, and loss function. Recent work has shown that repeating the pre-training process can lead to substantially different performance, suggesting that an alternate strategy is needed to make principled statements about procedures. To enable researchers to draw more robust conclusions, we introduce the MultiBERTs, a set of 25 BERT-Base checkpoints, trained with similar hyper-parameters as the original BERT model but differing in random weight initialization and shuffling of training data. We also define the Multi-Bootstrap, a non-parametric bootstrap method for statistical inference designed for settings where there are multiple pre-trained models and limited test data. To illustrate our approach, we present a case study of gender bias in coreference resolution, in which the Multi-Bootstrap lets us measure effects that may not be detected with a single checkpoint. We release our models and statistical library along with an additional set of 140 intermediate checkpoints captured during pre-training to facilitate research on learning dynamics.

Motivation & Objective

  • Address the lack of robustness in NLP research due to reliance on single model checkpoints, which may not generalize to the underlying pre-training procedure.
  • Identify that stochasticity in pre-training—due to weight initialization and data shuffling—leads to significant performance variation across model artifacts.
  • Enable principled, statistically sound comparisons across multiple pre-trained models by introducing a new bootstrap method tailored to model ensemble evaluation.
  • Provide empirical evidence that the original BERT checkpoint may be an outlier, challenging assumptions about its representativeness of the pre-training procedure.
  • Facilitate research on learning dynamics by releasing 140 intermediate checkpoints from five of the 25 training runs.

Proposed method

  • Train 25 BERT-Base, uncased models with identical hyperparameters (architecture, data, loss, optimizer) but different random seeds and shuffled training data order.
  • Develop the Multi-Bootstrap, a non-parametric resampling method that accounts for both model variance across seeds and test set uncertainty, using paired sampling when possible.
  • Apply the Multi-Bootstrap to estimate effect sizes and p-values for differences in model performance across interventions (e.g., longer pre-training, data augmentation).
  • Use paired bootstrap sampling when both baseline and intervention models are available across the same seeds, and unpaired sampling when only a single baseline estimate exists.
  • Implement the statistical framework in a public software library to support reproducible research using the MultiBERTs.
  • Capture and release 140 intermediate checkpoints (28 per run) from five training runs to study model learning dynamics over time.

Experimental results

Research questions

  • RQ1To what extent does model performance vary across different random seeds and data shuffling orders in BERT pre-training?
  • RQ2Is the performance of the original BERT checkpoint representative of the broader pre-training procedure, or is it an outlier?
  • RQ3Does extending pre-training from 1M to 2M steps lead to statistically significant improvements in downstream GLUE tasks?
  • RQ4Can the Multi-Bootstrap method detect meaningful performance differences that are obscured by single-checkpoint evaluation?
  • RQ5Does counterfactual data augmentation reduce gender bias in coreference resolution, and is this effect robust across multiple model seeds?

Key findings

  • The original BERT checkpoint is an outlier in performance distribution: models trained for 1M steps match SQuAD but underperform on GLUE, while 2M-step models match GLUE but exceed SQuAD performance.
  • Extending pre-training to 2M steps leads to a statistically significant improvement on MNLI (effect size δ = 0.007, p < 0.001), but not on RTE (p = 0.141) or MRPC (p = 0.564).
  • The MultiBERTs procedure outperforms the original BERT on SQuAD 2.0 with a 95% confidence interval of 1.9% to 2.9% improvement (p < 0.001), indicating the original checkpoint may not be optimal.
  • The Multi-Bootstrap method successfully detects a significant effect of counterfactual data augmentation on gender bias in coreference resolution (δ = 0.203, p = 0.009).
  • The distribution of performance across MultiBERTs shows high correlation between paired samples, validating the paired bootstrap approach for detecting small but consistent improvements.
  • Intermediate checkpoints reveal that performance trajectories vary significantly across runs, highlighting the importance of monitoring learning dynamics beyond final checkpoints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.