An open index of research

A status.lu publication

Artificial Intelligence

Scaling Laws for Neural Language Models

Jared Kaplan, Sam McCandlish, Tom Henighan · and 7 others (OpenAI / Johns Hopkins)

Published 23 January 2020 · arXiv · Preprint

Summary

This paper establishes empirical scaling laws showing that the cross-entropy loss of Transformer language models follows smooth power-law relationships with model size, dataset size, and the amount of training compute. The relationships hold across many orders of magnitude, while architectural details such as width and depth have comparatively minor effects. The work provided a quantitative framework for predicting model performance and allocating compute budgets.

Key findings

  • Test loss scales as a power law in model parameters, dataset size, and training compute, spanning more than seven orders of magnitude.
  • Within broad ranges, model shape (depth vs. width) matters far less than total parameter count.
  • Larger models are more sample-efficient, and for a fixed compute budget optimal training favors very large models (a conclusion later refined by Chinchilla).

Subjects & keywords

Cite this paper

APA

Jared Kaplan, Sam McCandlish, & Tom Henighan [and 7 others (OpenAI / Johns Hopkins)] (2020). Scaling Laws for Neural Language Models. arXiv. https://doi.org/10.48550/arXiv.2001.08361

BibTeX
@misc{kaplan2020scaling,
  author    = {Jared Kaplan and Sam McCandlish and Tom Henighan and {and 7 others (OpenAI / Johns Hopkins)}},
  title     = {Scaling Laws for Neural Language Models},
  journal   = {arXiv},
  year      = {2020},
  doi       = {10.48550/arXiv.2001.08361},
  url       = {https://arxiv.org/abs/2001.08361}
}

Related in Artificial Intelligence

AI2023

Segment Anything

Alexander Kirillov, Eric Mintun and Nikhila Ravi

This paper introduces the Segment Anything project: a promptable image segmentation task, the Segment Anything Model (SAM), and the SA-1B dataset. SAM combines an image encoder, a flexible prompt encoder (points, boxes, masks, text), and a fast mask decoder to produce valid segmentation masks from arbitrary prompts. Trained on over 1 billion masks across 11 million images, SAM shows strong zero-shot transfer to many segmentation tasks without additional training.

IEEE/CVF International Conference on Computer Vision (ICCV) Open access
AI2023

GPT-4 Technical Report

OpenAI

This technical report describes GPT-4, a large-scale multimodal Transformer model that accepts image and text inputs and produces text outputs. The report emphasizes that GPT-4 achieves human-level performance on a range of professional and academic benchmarks, and details infrastructure and optimization methods that allowed performance to be predicted from much smaller models. For competitive and safety reasons, the report withholds architecture, dataset, and training details.

arXiv Open access
AI2023

LLaMA: Open and Efficient Foundation Language Models

Hugo Touvron, Thibaut Lavril and Gautier Izacard

The paper presents LLaMA, a family of foundation language models ranging from 7B to 65B parameters trained exclusively on publicly available datasets. It argues that strong performance can be reached without proprietary data and at smaller parameter counts than prior models. LLaMA-13B outperforms the much larger GPT-3 175B on most benchmarks, and LLaMA-65B is competitive with the best contemporary models such as Chinchilla-70B and PaLM-540B.

arXiv preprint (arXiv:2302.13971) Open access