Project P14

Replicating a paper: compute-optimal scaling laws

Do Chinchilla's conclusions about allocating compute between parameters and data hold at a small scale, and what makes a replication conclusive?

stages
8
duration
14 h
concepts
15
available in English
8 / 8
completed by you
0 of 8

Where it fits

Leads to

This completes the path.

Overview

Replicate Hoffmann et al.'s study of compute-optimal scaling laws with your own GPT and an 8 GB GPU budget. Extract the paper's claims and preregister predictions and success criteria before training. Build sweep infrastructure with explicit FLOP accounting, tune hyperparameters by model size, and apply the paper's three approaches: loss-curve envelopes, isoFLOP profiles, and parametric fitting with bootstrap uncertainty. Validate a preregistered extrapolation and write a replication report explaining discrepancies with Kaplan et al. and other published replications.

Why it matters

Replication gives you a way to understand a paper closely enough to contribute to its field. Scaling laws guide multimillion-euro decisions in industry. Replicating them at small scale develops the full research workflow: experimental design, compute accounting, curve fitting with uncertainty, extrapolation, and clear reporting. The final project puts those research skills into practice.

Stages 8

  1. 01Reading the paper and preregistering the replicationExtract scaling-law claims and preregister a feasible small-scale replication.Research100 min
  2. 02Sweep infrastructure and FLOP accountingBuild explicit compute accounting, persistent sweep infrastructure and duration-matched schedules. GPUResearch110 min
  3. 03Hyperparameters across scaleMeasure learning-rate transfer and its effect on scaling estimates. GPUResearch110 min
  4. 04First approach: the envelope of training curvesConstruct and evaluate a loss envelope from finite training curves. GPUResearch90 min
  5. 05Second approach: isoFLOP profilesFit isoFLOP profiles and propagate uncertainty into compute-optimal allocation. GPUResearch110 min
  6. 06Third approach: parametric fit with uncertaintyFit a parametric scaling surface and diagnose numerical and statistical uncertainty.Research110 min
  7. 07Validating with a preregistered extrapolationPreregister and evaluate an out-of-range scaling-law prediction. GPUResearch90 min
  8. 08Discrepancies and replication reportInvestigate discrepancies and prepare a reproducible replication report. GPUResearch120 min

Final deliverable

Produce a publishable replication

Write a replication report on compute-optimal scaling laws with preregistration, the three approaches, a validated extrapolation, and a reproducibility package. Then apply the same template to a second paper of your choice.

Check what you already know

  • Extract testable claims from a paper and write a replication plan with success criteria
  • Count training FLOPs for a transformer under an explicit convention and verify the count
  • Explain how the duration of a learning-rate schedule can bias scaling laws
  • Build isoFLOP profiles and estimate the best model size at each compute budget
  • Fit a parametric loss law with Huber loss and bootstrap intervals
  • Preregister an extrapolation and evaluate how well it predicts the outcome

References