Skip to main content
QUICK REVIEW

[Paper Review] Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Models

Hong Liu, Sang Michael Xie|arXiv (Cornell University)|Oct 25, 2022
Topic ModelingComputer Science5 citations
TL;DR

This paper challenges the conventional reliance on pre-training loss as a proxy for downstream performance in language models, demonstrating that models with identical minimal loss can exhibit vastly different transferability. It identifies implicit bias—specifically, preference for flatter minima—as the key driver of better downstream performance, proving that SGD implicitly favors flatter solutions and empirically validating that flatness correlates strongly with downstream accuracy even when pre-training loss is identical.

ABSTRACT

Language modeling on large-scale datasets leads to impressive performance gains on various downstream language tasks. The validation pre-training loss (or perplexity in autoregressive language modeling) is often used as the evaluation metric when developing language models since the pre-training loss tends to be well-correlated with downstream performance (which is itself difficult to evaluate comprehensively). Contrary to this conventional wisdom, this paper shows that 1) pre-training loss cannot fully explain downstream performance and 2) flatness of the model is well-correlated with downstream performance where pre-training loss is not. On simplified datasets, we identify three ways to produce models with the same (statistically optimal) pre-training loss but different downstream performance: continue pre-training after convergence, increasing the model size, and changing the training algorithm. These experiments demonstrate the existence of implicit bias of pre-training algorithms/optimizers -- among models with the same minimal pre-training loss, they implicitly prefer more transferable ones. Toward understanding this implicit bias, we prove that SGD with standard mini-batch noise implicitly prefers flatter minima in language models, and empirically observe a strong correlation between flatness and downstream performance among models with the same minimal pre-training loss. We also prove in a synthetic language setting that among the models with the minimal pre-training loss, the flattest model transfers to downstream tasks.

Motivation & Objective

  • To challenge the assumption that pre-training loss (e.g., perplexity) is a reliable proxy for downstream performance in large language models.
  • To investigate why models with identical pre-training loss can exhibit divergent downstream performance, especially in the saturation regime near minimal loss.
  • To identify and analyze the implicit bias of optimization algorithms in self-supervised pre-training, particularly in relation to model flatness.
  • To theoretically and empirically link model flatness to downstream transferability, independent of pre-training loss.

Proposed method

  • Conduct controlled experiments on simplified text datasets to isolate the effect of training dynamics, model size, and optimization algorithms on downstream performance while holding pre-training loss constant.
  • Measure model flatness via the Hessian's smallest eigenvalue and correlate it with downstream accuracy across models with identical pre-training loss.
  • Prove theoretically that mini-batch SGD implicitly prefers flatter minima in the saturation regime of language modeling, without requiring artificial label noise.
  • Use synthetic language modeling settings to show that among models achieving minimal pre-training loss, the flattest model generalizes best to downstream tasks.
  • Apply random feature theory and concentration inequalities to demonstrate the existence of solutions with low loss and bounded norm, supporting the feasibility of flat minima.

Experimental results

Research questions

  • RQ1Why do models with identical pre-training loss exhibit different downstream performance, especially when loss is near-optimal?
  • RQ2What implicit biases do optimization algorithms introduce during pre-training that affect downstream transferability?
  • RQ3How does model flatness correlate with downstream performance when pre-training loss is held constant?
  • RQ4Can theoretical analysis of implicit bias in supervised learning be extended to self-supervised language modeling?
  • RQ5Does the choice of training algorithm or model size influence downstream performance independently of pre-training loss?

Key findings

  • Models trained with standard SGD and continued training beyond convergence achieve better downstream performance than those stopped at convergence, despite identical pre-training loss.
  • Larger models outperform smaller models with the same pre-training loss, indicating implicit bias against smaller, less transferable configurations.
  • Adversarially trained models with identical pre-training loss perform worse downstream than standard-trained models, further highlighting algorithmic implicit bias.
  • Flatness of the loss landscape—measured by the smallest eigenvalue of the Hessian—shows a strong positive correlation with downstream performance across models with identical minimal pre-training loss.
  • Theoretical analysis proves that mini-batch SGD implicitly prefers flatter minima in the saturation regime, even without artificial label noise.
  • In a synthetic language setting, the flattest model among those achieving minimal pre-training loss demonstrates the best transferability to downstream tasks.

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.