LLM Pretraining & Scaling Laws

Parent: LLM Models and APIs · researched 2026-05-31T21:38:54.141Z· 19 sources · 11 concepts · skill llm-pretraining-scaling-laws

PROVENANCE: This reference is part of the ai-agent-engineering hub.

Overview

LLM Pretraining & Scaling Laws

Scope boundary (read first)

1. Pretraining objectives — what loss is the model minimizing?

2. The pretraining data pipeline — curation, dedup, quality filtering

3. Data mixtures & domain weighting — how much of each source?

4. Tokenizer training & eval-set decontamination

5. Scaling laws I — Kaplan vs Chinchilla (compute-optimal allocation)

6. Scaling laws II — data-constrained & inference-aware (why Chinchilla is not the answer in 2026)

7. The compute budget — `C ≈ 6ND` and how to use it

8. Emergent abilities & the "mirage" debate

9. Learning-rate schedules at scale — cosine vs WSD, and the annealing phase

10. Continual & domain-adaptive pretraining

11. Evaluating a base (pre-instruct) model

Anti-patterns (the costly mistakes)

Troubleshooting

References (primary; 2024–2026 unless seminal)

Children

Frontier under this node: Base-model (pre-instruct) evaluation (perplexity, few-shot log-likelihood, lm-evaluation-harness), Continual & domain-adaptive pretraining (LR re-warm + re-decay + replay), Data mixtures & domain weighting (DoReMi Group-DRO proxy reweighting), Data-constrained scaling (Muennighoff, ≤4 epochs) & inference-aware / over-training (Sardana & Frankle), Emergent abilities & the mirage debate (Wei vs Schaeffer), Kaplan vs Chinchilla compute-optimal scaling (N∝C^0.5, ~20 tokens/param) & reconciliation, LR schedules at scale (cosine vs Warmup-Stable-Decay/WSD, MiniCPM) & data annealing, Pretraining data pipeline (web curation, MinHash/LSH dedup, quality filtering, FineWeb/FineWeb-Edu), Pretraining objectives (causal/autoregressive LM, masked LM, prefix-LM, FIM, UL2 mixture-of-denoisers), The C≈6ND compute budget (2N forward + 4N backward, MoE active-params, MFU), Tokenizer training (vocab size ~128K, fertility/parity) & eval-set decontamination

← the whole tree · 3D view· how to read this page