Skip to main content
QUICK REVIEW

[Paper Review] Scaling Language Models: Methods, Analysis & Insights from Training Gopher

Jack W. Rae, Sebastian Borgeaud|arXiv (Cornell University)|Dec 8, 2021
Topic ModelingComputer Science242 citations
TL;DR

The paper analyzes scaling Transformer language models up to 280B parameters (Gopher) trained on MassiveText, evaluating on 152 tasks, and examines toxicity, bias, and safety implications of large-scale models.

ABSTRACT

Language modelling provides a step towards intelligent communication systems by harnessing large repositories of written human knowledge to better predict and understand the world. In this paper, we present an analysis of Transformer-based language model performance across a wide range of model scales -- from models with tens of millions of parameters up to a 280 billion parameter model called Gopher. These models are evaluated on 152 diverse tasks, achieving state-of-the-art performance across the majority. Gains from scale are largest in areas such as reading comprehension, fact-checking, and the identification of toxic language, but logical and mathematical reasoning see less benefit. We provide a holistic analysis of the training dataset and model's behaviour, covering the intersection of model scale with bias and toxicity. Finally we discuss the application of language models to AI safety and the mitigation of downstream harms.

Motivation & Objective

  • Motivate building large-scale language models by exploring how scale impacts performance across diverse tasks.
  • Describe the dataset, architecture, training regime, and infrastructure used to train Gopher and its family.
  • Characterize performance gains from scaling across reading, knowledge, and science domains.
  • Investigate toxicity, bias, and safety considerations as model size increases, including implications for downstream harms.

Proposed method

  • Use Transformer-based autoregressive models with RMSNorm and relative positional encodings.
  • Train six models ranging from 44M to 280B parameters on 300B tokens with a 2048 context window.
  • Train on MassiveText, a curated multi-source English-language dataset with quality filtering and deduplication.
  • Evaluate on 152 tasks spanning language modelling, reading comprehension, fact-checking, QA, common sense, MMLU, and BIG-bench.
  • Analyze toxicity via RealToxicityPrompts prompts and Perspective API, and assess bias and dialect representation.

Experimental results

Research questions

  • RQ1How does model scale (parameters and compute) impact performance across a broad set of NLP tasks?
  • RQ2Which task categories benefit most from scaling, and where does scale have limited effects, particularly in math and reasoning?
  • RQ3How does larger scale affect toxicity generation and toxicity classification capabilities?
  • RQ4What are the safety and bias implications of deploying very large language models like Gopher, and how can mitigations be designed?

Key findings

  • Gopher (280B) outperforms prior state-of-the-art models on about 81% of evaluated tasks across 152 benchmarks.
  • Scale yields substantial gains in knowledge-intensive tasks (e.g., reading comprehension, fact-checking) and in general knowledge, with smaller improvements in math/logic reasoning.
  • On RACE reading comprehension, Gopher approaches human performance on high-school level tasks and surpasses GPT-3 on middle-school tasks.
  • Large-scale models improve toxicity detection but generate more toxic outputs when prompted with toxic prompts, highlighting nuanced safety trade-offs.
  • Gopher’s performance improves relative to smaller Gopher models on most tasks, with notable gains in medicine, science, tech, social sciences, and humanities; some reasoning tasks show limited benefits from scaling.
  • Compared to SOTA baselines, Gopher often approaches or exceeds SOTA on many benchmarks but remains below human expert performance on complex domains.

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.