Skip to main content
QUICK REVIEW

[Paper Review] Algorithmic progress in language models

Anson Ho, Tamay Besiroglu|arXiv (Cornell University)|Mar 9, 2024
Natural Language Processing TechniquesComputer Science11 citations
TL;DR

The paper quantifies how pre-training algorithmic improvements in language models reduce required compute over time, finding a median doubling time of about 8 months for effective compute, and that compute scaling has driven most gains in recent years. It also assesses the transformer’s compute-equivalent gains and the evolving role of algorithms versus hardware scaling.

ABSTRACT

We investigate the rate at which algorithms for pre-training language models have improved since the advent of deep learning. Using a dataset of over 200 language model evaluations on Wikitext and Penn Treebank spanning 2012-2023, we find that the compute required to reach a set performance threshold has halved approximately every 8 months, with a 95% confidence interval of around 5 to 14 months, substantially faster than hardware gains per Moore's Law. We estimate augmented scaling laws, which enable us to quantify algorithmic progress and determine the relative contributions of scaling models versus innovations in training algorithms. Despite the rapid pace of algorithmic progress and the development of new architectures such as the transformer, our analysis reveals that the increase in compute made an even larger contribution to overall performance improvements over this time period. Though limited by noisy benchmark data, our analysis quantifies the rapid progress in language modeling, shedding light on the relative contributions from compute and algorithms.

Motivation & Objective

  • Measure the rate of algorithmic progress in pre-training language models using a dataset of 200+ evaluations from 2012–2023.
  • Decompose performance gains into contributions from algorithmic improvements, model scaling, and data scaling.
  • Estimate doubling times for effective compute, data, and parameter efficiency, and compare transformer vs non-transformer architectures.
  • Assess how the transformer architecture has altered compute efficiency and overall progress.

Proposed method

  • Fit augmented scaling laws that relate perplexity to model size N and data D with an irreducible loss E, incorporating exponential progress in N_eff and D_eff over time.
  • Define effective data D_eff = D exp(beta'(Y-Y0)) and effective model size N_eff = N exp(alpha'(Y-Y0)) and substitute into L = E + A/N_eff^alpha_param + B/D_eff^beta_data.
  • Estimate model variants (about 90) via leave-one-out cross-validation to identify the best-fitting specification (model 7 by their criteria).
  • Use Shapley-value style decomposition to attribute progress to data/parameter scaling vs algorithmic improvements.
  • Assess the transformer’s compute-equivalent gain by introducing a gamma_T parameter and computing the resulting reduction in reducible loss.
  • Compute doubling times TD = (beta_data/beta_year) ln 2, TN = (alpha_param/alpha_year) ln 2, and TC = (1/TN + 1/TD)^-1 to quantify rate of progress.
  • Perform robustness checks including alternative specifications, autocorrelation controls, and cross-validation across datasets (WT103, WT2, PTB).

Experimental results

Research questions

  • RQ1What fraction of improvements in language model performance comes from algorithmic advances versus scaling of compute, data, and parameters?
  • RQ2How fast is algorithmic progress occurring in language model pre-training, measured as reductions in required compute for a fixed performance target?
  • RQ3What is the transformer’s contribution to compute efficiency relative to prior architectures?
  • RQ4How do model architecture, data quality, and training techniques influence observed progress over time?

Key findings

  • Median doubling time for effective compute is 8.4 months (95% CI 4.5–14.3 months).
  • Naively extrapolating suggests performance could have improved with ~22,000× more compute since 2014 if algorithmic progress continued as observed, though this extrapolation is cautioned.
  • Transformers yield a compute-equivalent gain with a median estimate of 7.2× (95% CI 3.3× to 45.7×) at frontier compute budgets, indicating substantial efficiency gains from the architecture.
  • Across model evolution pairs, compute scaling has become more important relative to algorithmic progress over time, consistent with a rising emphasis on scaling LLMs since 2019.
  • Shapley analysis suggests compute scaling has contributed more to performance gains than algorithmic progress since 2014, though transformers and algorithmic advances still play meaningful roles.

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.