atlas

Research map / Large language models / Language, safety and interpretability

Compute-Optimal LLMs Provably Generalize Better with Scale

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data

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.

Derives a fully empirical Freedman-type martingale concentration bound on the token-wise generalization gap of compute-optimal LLMs (Chinchilla scaling), showing the bound tightens with model scale on Pythia checkpoints.

Problem

Explaining why larger language models generalize better, i.e., why the token-wise generalization gap shrinks along the compute-optimal (Chinchilla) frontier, with non-vacuous, empirically evaluable bounds.

Approach

A new fully empirical Freedman-type martingale concentration inequality whose variance term is computed from the observed loss differences (replacing the population variance), combined with a prior-weighted union bound over quantized models, prediction smoothing, and a prequential-coding information bound that shows model information grows sublinearly with data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Scale up model size along the compute-optimal frontierPythia models · Pileloss variation Σ: 0.27 + 8337 N^{-0.54}Helped
Scale up model size along the compute-optimal frontierPythia models · Pilequantization gapHelped
Use the empirical Freedman inequality instead of the Azuma-based boundTokenwise generalization bound · Compute-optimal language modelscomplexity scaling: O(√C) to O(C)Helped
Use prequential coding complexity instead of quantization-based complexityGeneralization bound · Pythia model scalebound tightnessHurt
Scale up model size using prequential coding complexityGeneralization bound · Compute-optimal scalinggeneralization gap bound: O(D^{-β/2})Helped

Surprising findings

Limitations

Experimental setup

Datasets: The Pile

Benchmarks: The Pile (Pythia checkpoints, token-wise risk)

Metrics: generalization bound value (nats per token) empirical loss loss variation Sigma quantization gap

Baselines: Azuma-based token-wise bound (Lotfi et al.) GPTQ quantization

Builds on: Azuma's inequality Freedman's inequality prediction smoothing GPTQ QuIP Chinchilla scaling laws

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