A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Neural Scaling Laws

Research Depth 116 in the knowledge graph ☐ I know this ☆ Set as goal
767prerequisites beneath it
See this on the map →
Deep Learning TheorySample Complexity Bounds+1 more→
scaling-laws deep-learning sample-complexity compute neural-networks

Core Idea

Neural scaling laws describe how neural network performance improves predictably with three factors: model size (parameters), training data size (samples), and compute budget (FLOPs). Empirically, performance follows power-law relationships: loss scales as O(N-alpha) where N is the factor being scaled and alpha is typically 0.07-0.1. These laws are striking because they hold across diverse architectures (transformers, CNNs, RNNs), domains (vision, language, multimodal), and scales (millions to billions of parameters). Scaling laws enable predicting performance before training, allocating compute efficiently between model size and data, and understanding fundamental limits of deep learning.

How It's Best Learned

Fit a scaling curve yourself. Take final losses from a sweep of small models and fit L(N) = E + A·N−alpha on log-log axes, then refit without the constant E to see the curve bend. Next, do compute-optimal arithmetic: with C ≈ 6ND and both N and D growing roughly as C0.5, a 4× compute budget means about 2× parameters and 2× tokens.

Common Misconceptions

Explainer

Neural scaling laws, extensively documented by OpenAI researchers (particularly Kaplan et al. 2020, Hoffmann et al. 2022, and subsequent work), reveal that deep learning performance is not haphazard but follows predictable, mathematical relationships. The primary finding is that loss decreases as a power law in three factors: model size (N), data size (D), and compute budget (C).

The scaling laws are typically expressed as:

where alpha_N ≈ 0.07, alpha_D ≈ 0.10, alpha_C ≈ 0.16 (for language model pretraining). These exponents are remarkably consistent across different architectures and domains, suggesting they reflect fundamental properties of learning from data.

A key insight is the Chinchilla insight from Hoffmann et al. (2022), showing that optimal performance on a fixed compute budget comes from allocating roughly equal resources to model size and data diversity. This overturned previous practice of scaling model size much more aggressively than data size. The implication: don't train a model with 175B parameters on 300B tokens; instead, train a model with ~70B parameters on a larger and more diverse dataset. This principle has guided subsequent model development and explains why competitive models are increasingly data-efficient.

Theoretically, understanding scaling laws remains incomplete. Several frameworks provide partial explanations:

1. Statistical learning theory: Generalization bounds scale with model capacity and data size, consistent with power-law scaling in the overparameterized regime.

2. Renormalization group theory: Some researchers draw parallels to phase transitions and critical phenomena in physics, where observables scale as power laws near criticality.

3. Information-theoretic bounds: Bounds on mutual information between data and model parameters suggest power-law scaling of required samples.

4. Benign overfitting: In the overparameterized regime, models can achieve zero training error while generalizing, enabled by implicit regularization that suppresses memorization of noise.

However, none of these fully explains why the exponents are as large as they are (alpha_C ≈ 0.16 is relatively steep) or why they are so consistent across domains. The mechanism by which neural networks extract structure from data with such efficiency remains partially mysterious.

Practically, scaling laws enable several capabilities:

Limitations include: scaling laws may break down at very large scales (double descent or other regime changes), they assume distribution-independent worst-case complexity but real data has structure, domain-specific scaling exponents may differ from language models, and they do not account for inference cost, interpretability, or other downstream considerations.

The discovery of neural scaling laws is among the most important recent insights in deep learning, bridging empirical machine learning practice with theoretical understanding and enabling principled resource allocation for training increasingly capable models.

Practice Questions 4 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Linear Regression in Machine Learning → Neural Network Fundamentals → Backpropagation Algorithm → Multilayer Perceptrons (MLPs) → Activation Functions in Neural Networks → Vanishing Gradient Problem → Gradient Descent and Optimization → Gradient Boosting Machines → Support Vector Machines → Kernel Methods and the Kernel Trick → Kernel Theory and RKHS → Representer Theorem → Regularization Theory (Tikhonov, Spectral) → Implicit Regularization → Overparameterization Theory → Neural Scaling Laws

Longest path: 117 steps · 767 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.