Summary / 摘要
EN: A careful review of scaling laws in deep learning — how test loss decays as a power law with model size , dataset size , and compute (). The post traces the history from early learning-curve work (Amari, Hestness, Rosenfeld) through Kaplan et al.’s influential laws and the Chinchilla correction, explains why the two disagree (small-model regime, embedding counting), surveys hypotheses for why power laws appear, and extends the picture into the data-limited regime where token repetition and overfitting matter. A closing section warns that scaling-law fitting is surprisingly sensitive to trivial procedural choices (parameter counting, loss precision, fit region).
ZH: 本文系统梳理了深度学习中的缩放定律(scaling laws)——测试损失 随模型规模 、数据规模 和算力 ()按幂律下降。文章回顾了早期学习曲线研究(Amari、Hestness、Rosenfeld),接着讲 Kaplan 等人的经典定律与 Chinchilla 的修正,并解释两者分歧的原因(小模型区间、是否计入 embedding 参数);随后讨论了幂律出现的多种假说;最后把图景扩展到数据有限区间——此时 token 重复与过拟合变得关键。结尾提醒:缩放定律的拟合对看似无关紧要的流程选择(参数计数方式、损失精度、拟合区间)异常敏感。
Key Takeaways / 核心要点
-
EN: Scaling laws describe how to allocate compute optimally between model size and data ; loss follows a power law that is linear on a log-log plot. ZH: 缩放定律的核心是如何在模型规模 与数据规模 之间最优分配算力;损失服从幂律,在双对数图上呈直线。
-
EN: Kaplan et al. (2020) found — model should grow faster than data, and training a big model and stopping early beats training a small model to convergence. ZH: Kaplan 等人 (2020) 得出 ——模型增长应快于数据,且”训大模型并提前停止”优于”把小模型训到收敛”。
-
EN: Chinchilla (Hoffmann et al. 2022) corrected this to — for every doubling of model size, double the training tokens. Chinchilla (70B, 1.4T tokens) beat Gopher (280B, 300B tokens) under the same compute budget, showing most 2022-era LLMs were undertrained. ZH: Chinchilla (Hoffmann 等, 2022) 修正为 ——模型规模翻倍时,训练 token 也应翻倍。在相同算力预算下,Chinchilla(70B 参数、1.4T token)全面超越 Gopher(280B 参数、300B token),说明 2022 年前后的多数大模型都训练不足。
-
EN: Kaplan and Chinchilla can be reconciled: Kaplan mostly fit small models where embeddings are a non-negligible fraction of parameters; the local exponent drifts from ~0.73 (small) toward 0.50 (large) as scale grows (Pearce & Song 2024). ZH: Kaplan 与 Chinchilla 可以调和:Kaplan 主要在小模型上拟合,此时 embedding 占参数比例不可忽略;随规模增大,局部指数 从约 0.73(小模型)逐渐收敛到 0.50(大模型)(Pearce & Song, 2024)。
-
EN: Chinchilla’s parametric fit is ; when , model size and tokens should scale equally. Closed-form optima exist under . ZH: Chinchilla 的参数化拟合为 ;当 时,模型规模与 token 数应等比增长。在 约束下可得到最优解的闭式表达。
-
EN: In the data-limited regime, repeated tokens lose value exponentially (Muennighoff et al. 2023); Lovelace et al. (2026) add an explicit overfitting penalty that grows with both repetition count and the capacity ratio. ZH: 在数据有限区间,重复 token 的价值指数衰减(Muennighoff 等, 2023);Lovelace 等 (2026) 加入显式过拟合惩罚项 ,其随重复次数和容量比同时增大。
-
EN: Fitting is fragile: rounding loss precision, small noise, or fitting only small models can wildly change the extrapolated prediction (demonstrated by a toy simulation and Besiroglu et al. 2024’s Chinchilla replication). ZH: 拟合很脆弱:损失精度的舍入、微小噪声、或仅在小模型上拟合,都可能让外推预测产生巨大偏差(玩具模拟与 Besiroglu 等 2024 年对 Chinchilla 的复现均印证了这一点)。
Symbols / 符号表
| Symbol | EN meaning | 中文含义 |
|---|---|---|
| Model size (parameter count) | 模型规模(参数量) | |
| Dataset size (token count) | 数据规模(token 数) | |
| Training compute in FLOPs, | 训练算力(FLOPs), | |
| Irreducible loss | 不可约损失 | |
| Test loss / prediction function | 测试损失 / 预测函数 | |
| Generalization error | 泛化误差 |
Extracted Notes / 提取笔记
- Under a fixed compute budget, model size and training tokens should scale together
- Scaling-law predictions are fragile to trivial fitting choices
- The Kaplan-Chinchilla exponent gap dissolves as scale grows
- Repeated tokens decay in value and larger models overfit them faster
- The power-law exponent is a property of the problem not the architecture
- Data quality can change compute efficiency more than token count