atlas

Research map / Large language models / Reasoning and chain of thought

Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Laws

ICML 2024 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Modifies Chinchilla scaling laws to include inference FLOPs and real-world dollar costs, finding inference-heavy deployments favor smaller, longer-trained models, and validates with 47 MPT-style models up to 10,000 tokens/parameter.

Problem

Chinchilla scaling laws optimize only training compute and ignore inference cost, so they can prescribe suboptimal parameter and token counts when models serve large inference demand.

Approach

Fix the Chinchilla parametric loss at a target quality and minimize total training plus lifetime inference FLOPs (or real-world cost with MFU and per-FLOP prices), solving numerically for optimal parameters and tokens; also refit Chinchilla coefficients on extreme token-ratio runs to show overestimated data benefits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase tokens per parameterMPT models from 150M to 6B parameters · Training sweep, up to 10,000 tokens per parameter for 150M modelstraining lossHelped
Increase tokens per parameterMPT models from 150M to 6B parameters · Evaluation GauntletGauntlet AverageHelped
Optimize model size and training tokens for total training and inference FLOPsChinchilla-style models · Compute-optimal configurations in the selected tableFLOP reduction: 9.1%; 2.6%; 8.5%; 16%; 12%Helped
Optimize model size and training tokens for real-world costs, including hardware utilizationChinchilla-style models · Cost-optimal configurations in the selected tableCost savings: 50%; 34%; 49%; 58%; 54%Helped
Fit scaling-law coefficients using only runs with no more than 100 tokens per parameter (ablation)Chinchilla parametric scaling law · Extreme token-per-parameter training regimeaccuracy of estimated loss improvement from additional training dataHurt
Include runs up to 250 tokens per parameter when fitting scaling-law coefficients (ablation)Chinchilla parametric scaling law · Extreme token-per-parameter training regimescaling-curve slope: 0.13; 0.16Mixed
Include runs up to 500 tokens per parameter when fitting scaling-law coefficients (ablation)Chinchilla parametric scaling law · Extreme token-per-parameter training regimescaling-curve slope: 0.13; 0.16Mixed
Fit scaling-law coefficients using all training data, including extreme-ratio runs (ablation)Chinchilla parametric scaling law · Extreme token-per-parameter training regimescaling-curve slope: 0.18; 0.24Helped

Surprising findings

Limitations

Experimental setup

Datasets: web text and code (Dataset consists of trillions of tokens) LMSYS-Chat (inference request statistics)

Benchmarks: Evaluation Gauntlet (MMLU, ARC, HellaSwag, GSM8k, SQuAD, BoolQ, and others)

Metrics: pre-training cross-entropy loss Gauntlet Average accuracy total FLOPs total dollar cost

Baselines: Chinchilla-style compute-optimal models

Builds on: Chinchilla scaling laws MPT Evaluation Gauntlet Lion optimizer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy